Cisco Catalyst 3560-X Command Reference Manual page 644

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

show ip dhcp snooping binding
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-612
Downloaded from
www.Manualslib.com
This example shows how to display the DHCP snooping binding entries for a specific IP address:
Switch> show ip dhcp snooping binding 10.1.2.150
MacAddress
IpAddress
------------------
---------------
01:02:03:04:05:06
10.1.2.150
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries for a specific MAC address:
Switch> show ip dhcp snooping binding 0102.0304.0506
MacAddress
IpAddress
------------------
---------------
01:02:03:04:05:06
10.1.2.150
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries on a port:
Switch> show ip dhcp snooping binding interface gigabitethernet2/0/2
MacAddress
IpAddress
------------------
---------------
00:30:94:C2:EF:35
10.1.2.151
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries on VLAN 20:
Switch> show ip dhcp snooping binding vlan 20
MacAddress
IpAddress
------------------
---------------
01:02:03:04:05:06
10.1.2.150
00:00:00:00:00:02
10.1.2.151
Total number of bindings: 2
Table 2-35
describes the fields in the show ip dhcp snooping binding command output:
Table 2-35
show ip dhcp snooping binding Command Output
Field
MacAddress
IpAddress
Lease(sec)
Type
VLAN
Interface
Total number of bindings
Command
ip dhcp snooping binding
show ip dhcp snooping
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Lease(sec)
Type
----------
-------------
9810
dhcp-snooping
Lease(sec)
Type
----------
-------------
9788
dhcp-snooping
Lease(sec)
Type
----------
-------------
290
dhcp-snooping
Lease(sec)
Type
----------
-------------
9747
dhcp-snooping
65
dhcp-snooping
Description
Client hardware MAC address
Client IP address assigned from the DHCP server
Remaining lease time for the IP address
Binding type
VLAN number of the client interface
Interface that connects to the DHCP client host
Total number of bindings configured on the switch
The command output might not show the total number of
Note
bindings. For example, if 200 bindings are configured on the
switch and you stop the display before all the bindings appear, the
total number does not change.
Description
Configures the DHCP snooping binding database
Displays the DHCP snooping configuration.
VLAN
Interface
----
--------------------
20
GigabitEthernet2/0/1
VLAN
Interface
----
--------------------
20
GigabitEthernet2/0/2
VLAN
Interface
----
--------------------
20
GigabitEthernet2/0/2
VLAN
Interface
----
--------------------
20
GigabitEthernet2/0/1
20
GigabitEthernet2/0/2
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents