Displaying and maintaining dhcp snooping – H3C Technologies H3C S12500 Series Switches User Manual

Page 96

Advertising
background image

82

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type interface-number

N/A

3.

Enable DHCP-REQUEST

message check.

dhcp-snooping check request-message

Disabled by default.

NOTE:

You can enable DHCP-REQUEST message check only on Layer 2 Ethernet interfaces and Layer 2
aggregate interfaces.

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 DHCP snooping entry file
information.

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.

Advertising