Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-857
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
show dhcp-snooping bindings
show dhcp-snooping bindings
To display DHCP bindings learned from DHCP snooping, use the show dhcp-snooping bindings
command.
show dhcp-snooping bindings [ip_addr] [mac_addr] [vlan vlan] [port mod/port]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines The show dhcp-snooping bindings command displays DHCP bindings gathered through DHCP
snooping. If you do not enter any arguments or keywords, all DHCP bindings are displayed.
Examples This example shows how to display DHCP binding information using a VLAN number:
Console> show dhcp-snooping bindings vlan 10
MacAddress IpAddress Lease(sec) VLAN Port
------------------ --------------- ---------- ---- -----
00-01-7b-9b-05-3f 192.168.80.221 86377 10 1/8
Console>
This example shows how to display DHCP binding information using a port number:
Console> show dhcp-snooping bindings port 3/96
MAC Address IP Address Lease(sec) VLAN Port
------------------ --------------- ---------- ---- -----------------
00-aa-06-02-00-03 192.168.80.3 86382 810 3/96
00-aa-06-02-00-09 192.168.80.9 86383 810 3/96
00-aa-06-02-00-06 192.168.80.6 86382 810 3/96
00-aa-06-02-00-05 192.168.80.5 86382 810 3/96
00-aa-06-02-00-07 192.168.80.7 86382 810 3/96
00-aa-06-02-00-0a 192.168.80.10 86383 810 3/96
00-aa-06-02-00-02 192.168.80.2 86382 810 3/96
00-aa-06-02-00-08 192.168.80.8 86382 810 3/96
00-aa-06-02-00-04 192.168.80.4 86382 810 3/96
00-aa-06-02-00-01 192.168.80.1 86381 810 3/96
Console>
ip_addr (Optional) IP address.
mac_addr (Optional) MAC address.
vlan vlan (Optional) Specifies the VLAN.
port mod/port (Optional) Specifies the module number and the port on the module.