Check DHCP information on S series switches

2

Method to check DHCP information on S series switches:
- Run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check address allocation in interface address pool mode.
- Run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check address allocation in global address pool mode.
- Run the display dhcp server database command to check the names and directories of files in which DHCP data is saved.
- Run the display nat-policy template [ template-name ] command to check the configuration of the DHCP Option template.
- Run the display dhcp relay { all | interface interface-type interface-number } command to check DHCP server or DHCP server group information on the interface configured with the DHCP relay function.
- Run the display dhcp server group [ group-name ] command to check the configuration of the DHCP server group.
- Run the display dhcp client command to check information about DHCP clients.
- Run the display dhcp server statistics command to check statistics on received and sent DHCP packet by the switch used as the DHCP server.
- Run the display dhcp relay statistics command to check statistics on received and sent DHCP packet by the switch used as the DHCP relay agent.
- Run the display dhcp client statistics [ interface interface-type interface-number ] command to check statistics on received and sent DHCP packet by the switch used as the DHCP client.
- Run the display dhcp statistics command to check statistics on received and sent DHCP packet by the switch.

Other related questions:
Check DHCP IP address lease on S series switch
On S series switches except S1700 switches, you can view the lease of IP addresses in an address pool as follows: - If an interface address pool is used, run the display ip pool interface interface-pool-name [ start-ip-address [ end-ip-address ] ] command. - If a global address pool is used, run the display ip pool name ip-pool-name [ start-ip-address [ end-ip-address ] ] command. The Lease field in the command output indicates the lease of IP addresses.

DHCP packet checksum check on S series switch
After the dhcp enable command is executed in the system view of S series switches, the switch checks the checksum of all passing DHCP packets as well as IP and UDP checksums.

Check OSPF neighbor information on S series switches
You can run the display ospf peer command on an S series switch with OSPF configured to check whether the OSPF neighbor status is normal. For example: [HUAWEI] display ospf peer OSPF Process 1 with Router ID 10.1.1.2 Neighbors Area 0.0.0.0 interface 10.1.1.2(Vlanif100)'s neighbors Router ID: 10.1.1.1 Address: 10.1.1.1 GR State: Normal GR State: Normal State: Full Mode:Nbr is Slave Priority: 1 DR: 10.1.1.2 BDR: 10.1.1.1 MTU: 0 Dead timer due in 35 sec Retrans timer interval: 5 Neighbor is up for 00:00:05 Authentication Sequence: [ 0 ] Note: If Full is displayed in State, LSDB synchronization has been completed and the two switches have set up the full adjacency relationship.

Check IP addresses dynamically allocated to clients
On S series switches except S1700 switches, you can view IP addresses that have been dynamically assigned to users as follows: - If an interface address pool is used, run the display ip pool interface interface-pool-name used command. - If a global address pool is used, run the display ip pool name ip-pool-name used command. You can obtain the IP address used by each user according to the mapping between IP addresses and MAC addresses in the command output.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top