< Home

Verifying the DHCP Snooping Configuration

Prerequisites

All configurations of DHCP snooping basic functions are complete.

Procedure

  • Check the configuration and running information of DHCP snooping.

    • Run the display dhcp snooping configuration [ vlan vlan-id | interface interface-type interface-number | bridge-domain bd-id ] command to view the DHCP snooping configuration.

    • Run the display dhcp snooping [ interface interface-type interface-number | vlan vlan-id | bridge-domain bd-id ] command to view DHCP snooping running information.

  • Check the DHCP snooping binding table.

    • Run the display dhcp snooping user-bind { { interface interface-type interface-number | ip-address ip-address | mac-address mac-address | vlan vlan-id | bridge-domain bd-id } * | all } [ verbose ] command to check the DHCP snooping binding table.

    • Run the display dhcpv6 snooping user-bind { { interface interface-type interface-number | ipv6-address { ipv6-address | all } | mac-address mac-address | vlan vlan-id } * | all } [ verbose ] command to check the DHCPv6 snooping binding table.

    • Run the display dhcpv6 snooping user-bind ipv6-prefix { prefix/prefix-length | all } [ verbose ] command to check the IPv6 prefix binding table.

  • Run the display dhcp snooping statistics command to check statistics on the received DHCP messages.
  • Run the display dhcpv6 snooping statistics command to view DHCPv6 snooping statistics.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic