2-323
Cisco Catalyst Blade Switch 3030 Command Reference
78-17262-01
Chapter 2 Cisco
Catalyst
Blade Switch 3030 Cisco IOS Commands
show ip dhcp snooping binding
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 Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9810 dhcp-snooping 20 GigabitEthernet0/1
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 Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9788 dhcp-snooping 20 GigabitEthernet0/2
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
gigabitethernet0/2
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
00:30:94:C2:EF:35 10.1.2.151 290 dhcp-snooping 20 GigabitEthernet0/2
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 Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9747 dhcp-snooping 20 GigabitEthernet0/1
00:00:00:00:00:02 10.1.2.151 65 dhcp-snooping 20 GigabitEthernet0/2
Total number of bindings: 2
Table 2-21
describes the fields in the
show ip dhcp snooping binding
command output:
Related Commands
Table 2-21
show ip dhcp snooping binding Command Output
Field
Description
MacAddress
Client hardware MAC address
IpAddress
Client IP address assigned from the DHCP server
Lease(sec)
Remaining lease time for the IP address
Type
Binding type
VLAN
VLAN number of the client interface
Interface
Interface that connects to the DHCP client host
Total number of bindings
Total number of bindings configured on the switch
Note
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.
Command
Description
show ip dhcp snooping
Displays the DHCP snooping configuration.