Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP Technical References

Page of 742
   
2-319
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter  2      CGESM Switch Cisco IOS Commands
show ip dhcp snooping binding
show ip dhcp snooping binding
Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding 
database and configuration information for all interfaces on a switch.
show ip dhcp snooping binding [ip-address] [mac-address] [interface interface-id] [vlan vlan-id
{begin | exclude | includeexpression]
Syntax Description
Command Modes
User EXEC
Command History
Usage Guidelines
The show ip dhcp snooping binding command output shows the dynamically configured bindings. 
If DHCP snooping is enabled and an interface changes to the down state, the switch does not delete the 
statically configured bindings.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output 
do not appear, but the lines that contain Output appear.
Examples
This example shows how to display the DHCP snooping binding entries for a switch:
Switch> show ip dhcp snooping binding
MacAddress          IpAddress        Lease(sec)  Type           VLAN  Interface
------------------  ---------------  ----------  -------------  ----  --------------------
01:02:03:04:05:06   10.1.2.150       9837        dhcp-snooping  20    GigabitEthernet0/1
00:D0:B7:1B:35:DE   10.1.2.151       237         dhcp-snooping  20    GigabitEthernet0/2
Total number of bindings: 2
ip-address
(Optional) Specify the binding entry IP address.
mac-address
(Optional) Specify the binding entry MAC address.
interface interface-id
(Optional) Specify the binding input interface.
vlan vlan-id
(Optional) Specify the binding entry VLAN.
| begin
Display begins with the line that matches the expression.
| exclude
Display excludes lines that match the expression.
| include
Display includes lines that match the specified expression.
expression
Expression in the output to use as a reference point.
Release
Modification
12.2(25)SE1
This command was introduced.