Dhcp-Snooping Trust - HP 6125G Command Reference Manual

Layer 3 - ip services command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

strategy append command is the primary device and a device configured with some other strategy is a
secondary device.
After you use the string user-string option to configure sub-option 9, the device uses the ASCII code type
to pad the characters into sub-option 9 in the order that they are configured. When the total length of all
sub-options reaches 255, the device stops padding automatically.
The sub-option 9 content configured only applies to the VLAN that is specified by the vlan vlan-id option.
If no VLAN ID is specified, the sub-option 9 content applies to all VLANs. A VLAN prefers its own
sub-option 9 content over the one configured for all VLANs.
Related commands: dhcp-snooping information format, dhcp-snooping information strategy, and
display dhcp-snooping information.
Examples
# Configure the user-defined sub-option 9 as group001.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dhcp-snooping information sub-option 9 string group001

dhcp-snooping trust

Syntax
dhcp-snooping trust [ no-user-binding ]
undo dhcp-snooping trust
View
Layer 2 Ethernet port view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
no-user-binding: Specifies the port not to record the clients' IP-to-MAC bindings in DHCP requests it
receives. The command without this keyword records the IP-to-MAC bindings of clients.
Description
Use dhcp-snooping trust to configure a port as a trusted port.
Use undo dhcp-snooping trust to restore the default state of a port.
All ports are untrusted by default.
After enabling DHCP snooping, you need to specify the ports connected to the valid DHCP servers as
trusted to make sure that DHCP clients can obtain valid IP addresses.
Related commands: display dhcp-snooping trust.
Examples
# Specify GigabitEthernet 1/0/1 as a trusted port and enable it to record the IP-to-MAC bindings of
clients.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dhcp-snooping trust
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents