Specifications
show ip dhcp snooping binding
274
show ip dhcp snooping binding
Displays information about the DHCP snooping binding database.
Syntax
show ip dhcp snooping binding[ip <IP address>][mac <MAC>][vlan <VLAN ID>] [port <Port#
list>][channel-group-number <Channel group# list>] [{static|dynamic}]
Input mode
User mode and administrator mode
Parameters
ip <IP address>
Displays the entries for the specified IP address.
mac <MAC>
Displays the entries for the specified MAC address.
vlan <VLAN ID>
Displays the entries for the specified VLAN interface.
For <VLAN ID>, specify the VLAN ID set by the
ip dhcp snooping vlan command.
port <Port# list>
Displays information about the DHCP snooping binding database for the ports
specified in list format.
For details about how to specify <Port# list> and the specifiable range of values, see
Specifiable values for parameters.
channel-group-number <Channel group# list>
Displays information about the DHCP snooping binding database for the channel
groups specified in list format in the specified link aggregation. For details about how
to specify <Channel group# list>, see Specifiable values for parameters.
{static|dynamic}
static
Displays the static entries.
dynamic
Displays the dynamic entries.
Note on setting parameters
This command can display only information relevant to the condition applied by a
parameter that has been set. If the parameter has not been set, information is
displayed with no condition applied. If multiple parameters are specified, the
information that meets all the specified conditions is displayed (if the
port or
channel-group-number parameter is specified, information that meets any of the
conditions is displayed).
Example
Figure 19-2 Displaying the DHCP snooping binding database information
> show ip dhcp snooping binding
Date 2008/11/13 13:09:31 UTC
Agent URL: flash
Last succeeded time: 2008/11/13 13:07:34 UTC