Show Ip Dhcp Snooping Binding - Cisco Catalyst 3750 Command Reference Manual

Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
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
------------------
01:02:03:04:05:06
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
------------------
01:02:03:04:05:06
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
------------------
00:30:94:C2:EF:35
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
------------------
01:02:03:04:05:06
00:00:00:00:00:02
Total number of bindings: 2
Table 2-24
Table 2-24 show ip dhcp snooping binding Command Output
Field
MacAddress
IpAddress
Lease(sec)
Type
VLAN
Interface
Total number of bindings
Related Commands
Command
ip dhcp snooping binding
show ip dhcp snooping
78-16181-03
IpAddress
---------------
10.1.2.150
IpAddress
---------------
10.1.2.150
IpAddress
---------------
10.1.2.151
IpAddress
---------------
10.1.2.150
10.1.2.151
describes the fields in the show ip dhcp snooping binding command output:
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
Note
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
The command output might not show the total number of
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.
Catalyst 3750 Switch Command Reference

show ip dhcp snooping binding

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
2-375

Advertisement

Table of Contents
loading

Table of Contents