Displaying And Maintaining Dhcp Snooping - H3C S5120-SI Series Configuration Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

To do...
Configure
user-defined
Option 82
You can enable DHCP snooping to support Option 82 on Layer 2 Ethernet interfaces and Layer 2
aggregation interfaces only.
If a Layer 2 Ethernet interface is added to an aggregation group, enabling DHCP snooping to
support Option 82 on the interface will not take effect. After the interface quits the aggregation
group, the configuration will be effective.
If the handling strategy of the DHCP-snooping-enabled device is configured as replace, you need
to configure a padding format for Option 82. If the handling strategy is keep or drop, you need not
configure any padding format.
If the Option 82 is padded with the device name (sysname) of a node, the device name must
contain no spaces. Otherwise, the DHCP-snooping-enabled device will drop the message.

Displaying and Maintaining DHCP Snooping

Display DHCP snooping entries
Display Option 82 configuration
information on the DHCP snooping
device
Display DHCP packet statistics on the
DHCP snooping device
Display information about trusted ports
Configure the
code type for the
remote ID
sub-option
Configure the
padding content
for the circuit ID
sub-option
Configure the
padding content
for the remote ID
sub-option
To do...
Use the command...
dhcp-snooping information
remote-id format-type { ascii | hex }
dhcp-snooping information [ vlan
vlan-id ] circuit-id string circuit-id
dhcp-snooping information [ vlan
vlan-id ] remote-id string { remote-id
| sysname }
Use the command...
display dhcp-snooping [ ip
ip-address ]
display dhcp-snooping
information { all | interface
interface-type interface-number }
display dhcp-snooping packet
statistics
display dhcp-snooping trust
3-6
Remarks
Optional
hex by default.
The code type
configuration
applies to
non-user-defined
Option 82 only.
Optional
By default, the
padding content
depends on the
padding format of
Option 82.
Optional
By default, the
padding content
depends on the
padding format of
Option 82.
Remarks
Available in any view
Available in any view
Available in any view
Available in any view

Advertisement

Chapters

Table of Contents
loading

Table of Contents