Security Commands
334
ProSAFE M7100 Managed Switches
show ip dhcp snooping binding
Use this command to display the DHCP Snooping binding entries. To restrict the output, use the
following options:
• Static: Restrict the output based on static entries.
• Dynamic: Restrict the output based on DCHP snooping.
• Int
erface: Restrict the output based on a specific interface.
•
VLAN: Restrict the output based on VLAN.
The f
ollowing shows example CLI display output for the command.
(switch) #show ip dhcp snooping binding
Total number of bindings: 2
MAC Address IP Address VLAN Interface Type Lease (Secs)
------------------ ------------ ---- --------- ---- ------------
00:02:B3:06:60:80 210.1.1.3 10 0/1 86400
00:0F:FE:00:13:04 210.1.1.4 10 0/1 86400
show ip dhcp snooping database
Use this command to display the DHCP Snooping configuration related to the database
persistency.
Format show ip dhcp snooping binding [{static | dynamic}] [interface
<slot/port> | vlan <vlan id>]
Mode • Privileged EXEC
• User EXEC
Term Definition
MAC Address Displays the MAC address for the binding that was added. The MAC address is the key to the
binding database.
IP Addr
ess Displays the valid IP address for the binding rule.
VLAN The VLAN for the binding rule.
Interface The interface to add a binding into the DHCP snooping interface.
Type Binding type; statically configured from the CLI or dynamically learned.
Lease (sec) The remaining lease time for the entry.
Format show ip dhcp snooping database
Mode • P
rivileged EXEC
• User EXEC