R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
78
Displaying and maintaining DHCP snooping
Task Command Remarks
Display DHCP snooping entries.
display dhcp-snooping [ ip ip-address ]
[ | { begin | exclude | include }
regular-expression ]
Available in any view.
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. (In standalone
mode.)
display dhcp-snooping packet statistics
[ slot slot-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display DHCP packet statistics on the
DHCP snooping device. (In IRF mode.)
display dhcp-snooping packet statistics
[ chassis chassis-number slot slot-number ]
[ | { 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 the 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. (In standalone
mode.)
reset dhcp-snooping packet statistics
[ slot slot-number ]
Available in user
view.
Clear DHCP packet statistics on the
DHCP snooping device. (In IRF mode.)
reset dhcp-snooping packet statistics
[ chassis chassis-number slot slot-number ]
Available in user
view.
DHCP snooping configuration example
Network requirements
As shown in Figure 34, perform configuration on Router 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 to record clients' IP-MAC bindings by reading DHCP-REQUEST messages and
DHCP-ACK messages received from the trusted port.