R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

71
Task Command Remarks
Display Option 82 configuration
information on the DHCP snooping
device.
display dhcp-snooping information { all |
interface interface-type
interface-number } [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display DHCP packet statistics on the
DHCP snooping device.
display dhcp-snooping packet statistics
[ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display information about trusted ports.
display dhcp-snooping trust [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display information about DHCP
snooping entry file.
display dhcp-snooping binding database
[ | { begin | exclude | include }
regular-expression ]
Available in any view.
Clear DHCP snooping entries. reset dhcp-snooping { all | ip ip-address }
Available in user
view.
Clear DHCP packet statistics on the
DHCP snooping device.
reset dhcp-snooping packet statistics
Available in user
view.
DHCP snooping configuration example
Network requirements
As shown in Figure 32, perform configuration on Switch B to achieve the following purposes:
The port connected to the DHCP server can forward responses from the server, but the other ports
cannot forward responses from any DHCP server.
Configure Router B to record clients' IP-MAC bindings by reading DHCP-REQUEST messages and
DHCP-ACK messages received from the trusted port.
Figure 32 Network diagram
Configuration procedure
# Enable DHCP snooping.