Dhcp Troubleshooting; Monitor And Debug Command List - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

DCS-3950 series Ethernet switch manual
Switch(Config)#ip dhcp pool A
Switch(dhcp-A-config)#network-address 10.16.1.0 24
Switch(dhcp-A-config)#lease 3
Switch(dhcp-A-config)#default-route 10.16.1.200 10.16.1.201
Switch(dhcp-A-config)#dns-server 10.16.1.202
Switch(dhcp-A-config)#netbios-name-server 10.16.1.209
Switch(dhcp-A-config)#netbios-node-type H-node
Switch(dhcp-A-config)#exit
Switch(Config)#ip dhcp excluded-address 10.16.1.200 10.16.1.210
Switch(Config)#ip dhcp pool B
Switch(dhcp-B-config)#network-address 10.16.2.0 24
Switch(dhcp-B-config)#lease 1
Switch(dhcp-B-config)#default-route 10.16.2.200 10.16.2.201
Switch(dhcp-B-config)#dns-server 10.16.2.202
Switch(dhcp-B-config)#option 72 ip 10.16.2.209
Switch(dhcp-config)#exit
Switch(Config)#ip dhcp excluded-address 10.16.2.200 10.16.2.210
Switch(Config)#ip dhcp pool A1
Switch(dhcp-A1config)#host 10.16.1.210
Switch(dhcp-A1-config)#hardware-address 0003.2223.dcab
Switch(dhcp-A1-config)#
client-name management
Switch(dhcp-A1-config)#exit
Usage Guide: When a DHCP/BootP client is connected to a VLAN1 port of the switch, the
client can only get its address from 10.16.1.0/24 instead of 10.16.2.0/24. This is because
the broadcast packet from the client will be requesting the IP address in the same
segment of the VLAN interface after VLAN interface forwarding, and the VLAN interface IP
address is 10.16.1.2/24, therefore the IP address assigned to the client will belong to
10.16.1.0/24.
If the DHCP/BootP client wants to have an address in 10.16.2.0/24, the gateway
forwarding broadcast packets of the client must belong to 10.16.2.0/24. The connectivity
between the client gateway and the switch must be ensured for the client to get an IP
address from the 10.16.2.0/24 address pool.

18.3 DHCP Troubleshooting

18.3.1 Monitor and Debug Command List

18.3.1.1 clear ip dhcp binding
Command:clear ip dhcp binding {<address> | all }
Function: Delete the specified IP address-hardware address binding record or all IP
address-hardware address binding records.
313

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents