R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

91
Related commands
dhcp-snooping information format
dhcp-snooping information strategy
display dhcp-snooping information
dhcp-snooping trust
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.
Syntax
dhcp-snooping trust [ no-user-binding ]
undo dhcp-snooping trust
Default
All ports are untrusted.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, WLAN-BSS interface view
Default command level
2: System level
Parameters
no-user-binding: Specifies the port to not record the clients' IP-to-MAC bindings in received DHCP
requests. If this keyword is not specified, the port records the IP-to-MAC bindings for clients.
Usage guidelines
After you enable DHCP snooping, you need to specify the ports connected to the authorized DHCP
servers as trusted ports to make sure that DHCP clients can obtain valid IP addresses.
The following matrix shows the command in different views and hardware compatibility:
Hardware
Command in Layer 2 aggregate
interface vie
w
Command in WLAN-BSS interface
vie
w
MSR900 No Yes
MSR93X No
Yes (Supported by the JG512A,
JG519A and JG597A)
MSR20-1X No Yes
MSR20 No Yes
MSR30 Yes Yes
MSR50 Yes Yes
MSR1000 Yes Yes
Examples
# Specify Ethernet 1/1 as a trusted port and enable it to record the IP-to-MAC bindings of clients.
<Sysname> system-view
[Sysname] interface ethernet 1/1