Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-628
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2    Catalyst 3750-X and 3560-X Cisco IOS Commands
show ip source binding
show ip source binding
Use the show ip source binding user EXEC command to display the IP source bindings on the switch.
show ip source binding [ip-address] [mac-address] [dhcp-snooping | static] [interface 
interface-id] [vlan vlan-id] [ | {begin | exclude | includeexpression]
Note
This command is available only if your switch is running the IP services feature set.
Syntax Description
Command Modes
User EXEC 
Command History
Usage Guidelines
The show ip source binding command output shows the dynamically and statically configured bindings 
in the DHCP snooping binding database. Use the show ip dhcp snooping binding privileged EXEC 
command to display only the dynamically 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 is an example of output from the show ip source binding command:
Switch> show ip source binding
MacAddress          IpAddress        Lease(sec)  Type           VLAN  Interface
--------------      ---------------  ----------  -------------  ----  --------------------
00:00:00:0A:00:0B   11.0.0.1         infinite    static         10    GigabitEthernet1/0/1
00:00:00:0A:00:0A   11.0.0.2         10000       dhcp-snooping  10    GigabitEthernet1/0/1
ip-address
(Optional) Display IP source bindings for a specific IP address.
mac-address
(Optional) Display IP source bindings for a specific MAC address.
dhcp-snooping
(Optional) Display IP source bindings that were learned by DHCP 
snooping.
static
(Optional) Display static IP source bindings.
interface interface-id
(Optional) Display IP source bindings on a specific interface.
vlan vlan-id
(Optional) Display IP source bindings on a specific VLAN.
| begin
(Optional) Display begins with the line that matches the expression.
| exclude
(Optional) Display excludes lines that match the expression.
| include
(Optional) Display includes lines that match the specified expression.
expression
Expression in the output to use as a reference point.
Release
Modification
12.2(53)SE2
This command was introduced.