3com S7906E 참조 가이드

다운로드
페이지 2327
 
4-8 
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 the dhcp-snooping trust command to configure a port as a trusted port. 
Use the undo dhcp-snooping trust command to restore the default state of a port. 
All ports are untrusted by default. 
Related commands: display dhcp-snooping trust
Examples 
# Specify GigabitEthernet 2/0/1 as a trusted port and enable it to record the IP-to-MAC bindings of 
clients. 
<Sysname> system-view 
[Sysname] interface gigabitethernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] dhcp-snooping trust 
display dhcp-snooping 
Syntax 
display dhcp-snooping [ ip ip-address ] 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
ip  ip-address: Displays the DHCP snooping IP-to-MAC binding corresponding to the specified IP 
address. 
Description 
Use the display dhcp-snooping command to display the IP-to-MAC bindings recorded by the DHCP 
snooping device. 
Related commands: dhcp-snooping
 
 
Using the display dhcp-snooping command displays IP-to-MAC bindings that are present both in the 
DHCP-ACK and DHCP-REQUEST messages.