Display Dhcp-Snooping - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

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 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.
After enabling DHCP snooping, you need to specify the ports connected to the valid DHCP servers as
trusted to ensure that DHCP clients can obtain valid IP addresses.
Related commands: display dhcp-snooping trust.
Examples
# Specify GigabiEthernet 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-GigabiEthernet1/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 entries corresponding to the specified IP address.
Description
Use the display dhcp-snooping command to display DHCP snooping entries.
Only the DHCP snooping entries containing IP-to-MAC bindings that are present both in the
DHCP-ACK and DHCP-REQUEST messages are displayed by using the display dhcp-snooping
command.
7-8

Advertisement

Table of Contents
loading

Table of Contents