Cisco DHCP SERVER: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 13: | Zeile 13: | ||
debug ip dhcp server packet | debug ip dhcp server packet | ||
terminal monitor | terminal monitor | ||
| + | |||
| + | =Show DHCP Servers we know about= | ||
| + | show dhcp server | ||
| + | DHCP server: ANY (255.255.255.255) | ||
| + | Leases: 0 | ||
| + | Offers: 0 Requests: 0 Acks : 0 Naks: 0 | ||
| + | Declines: 0 Releases: 0 Query: 0 Bad: 0 | ||
| + | =Ip Bindings= | ||
| + | show ip dhcp binding | ||
| + | Bindings from all pools not associated with VRF: | ||
| + | IP address Client-ID/ Lease expiration Type | ||
| + | Hardware address/ | ||
| + | User name | ||
| + | 172.24.67.11 0160.eb69.962d.a5 Mar 01 2002 01:01 AM Automatic | ||
| + | |||
| + | =Links= | ||
| + | *http://www.cisco.com/c/en/us/td/docs/ios/12_2/ip/configuration/guide/fipr_c/1cfdhcp.html#wp1001014 | ||
Aktuelle Version vom 21. Januar 2016, 14:50 Uhr
Konfiguration
configure terminal (config)#ip dhcp excluded-address 172.24.67.1 172.24.67.10 (config)#ip dhcp pool my-dhcppool (dhcp-config)#network 172.24.67.0 255.255.255.0 (dhcp-config)#dns-server 192.168.240.200 (dhcp-config)#default-router 172.24.67.1 (config)#exit
Debugging
debug ip dhcp server packet terminal monitor
Show DHCP Servers we know about
show dhcp server DHCP server: ANY (255.255.255.255) Leases: 0 Offers: 0 Requests: 0 Acks : 0 Naks: 0 Declines: 0 Releases: 0 Query: 0 Bad: 0
Ip Bindings
show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
172.24.67.11 0160.eb69.962d.a5 Mar 01 2002 01:01 AM Automatic