show ipv4 source-lockdown

Syntax

show ipv4 source-lockdown [binding [interface| ip| mac| vlan< vlan id >] | interface] [vsx-peer]

Description

Shows summary or detailed IPv4 source lockdown information. When entered without parameters, summary status information for all interfaces (ports) in the binding database is shown.

Command context

Operator (>) or Manager (#)

Parameters

绑定

Specifies that detailed lockdown binding record information is to be displayed. The binding database record can be identified by any one ofinterface(port),ip,mac, orvlan.

interface

Specifies the client interface (port). When entered without the绑定parameter, the summary status information is displayed for the specified interface.

ip

Specifies the client IPv4 unicast address.

mac

Specifies the client MAC address.

vlan< vlan id >

Specifies the ID of an existing VLAN on which the client is connected. Range: 1 to 4094.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

运营商或管理员或local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

On the 6400 Switch Series, interface identification differs.

Showing the summary status information for all interfaces in the binding database:

switch#show ipv4 source-lockdownINTERFACE LOCKDOWN HW-STATUS --------- -------- --------- 1/1/1 Yes Yes 1/1/2 Yes No lag112 Yes Yes

Showing the summary status information for the specified interface in the binding database:

switch#show ipv4 source-lockdown interface 1/1/2INTERFACE LOCKDOWN HW-STATUS --------- -------- --------- 1/1/2 Yes No

Showing the detailed binding record and related information for all interfaces in the binding database:

switch#show ipv4 source-lockdown bindingInterface Name : 1/1/1 VLAN Id : 2000 MAC Address : 00:50:56:96:e4:cf IP Address : 192.168.142.113 Time Remaining : static Lockdown Status : Yes Hardware Status : Yes Hardware Error Reason : -- Interface Name : 1/1/2 VLAN Id : 100 MAC Address : 00:50:56:96:04:4d IP Address : 120.168.43.52 Time Remaining : 115 seconds Lockdown Status : Yes Hardware Status : No Hardware Error Reason : Resource unavailable Interface Name : lag112 VLAN Id : 12 MAC Address : 00:50:56:96:d8:3d IP Address : 120.168.76.182 Time Remaining : static Lockdown Status : Yes Hardware Status : Yes Hardware Error Reason : --

Showing the detailed binding record and related information for interface 1/1/2:

switch#show ipv4 source-lockdown binding interface 1/1/2Interface Name : 1/1/2 VLAN Id : 100 MAC Address : 00:50:56:96:04:4d IP Address : 120.168.43.52 Time Remaining : 115 seconds Lockdown Status : Yes Hardware Status : No Hardware Error Reason : Resource unavailable

Showing the detailed binding record and related information for interface lag112 (identified in this example command by the IP address):

switch#show ipv4 source-lockdown binding ip 120.168.76.182Interface Name : lag112 VLAN Id : 12 MAC Address : 00:50:56:96:d8:3d IP Address : 120.168.76.182 Time Remaining : static Lockdown Status : Yes Hardware Status : Yes Hardware Error Reason : --

Showing the detailed binding record and related information for interface 1/1/1 (identified in this example command by the MAC address):

switch#show ipv4 source-lockdown binding mac 00:50:56:96:e4:cfInterface Name : 1/1/1 VLAN Id : 2000 MAC Address : 00:50:56:96:e4:cf IP Address : 192.168.142.113 Time Remaining : static Lockdown Status : Yes Hardware Status : Yes Hardware Error Reason : --

Showing the detailed binding record and related information for interface 1/1/2 (identified in this example command by the VLAN):

switch#show ipv4 source-lockdown binding vlan 100Interface Name : 1/1/2 VLAN Id : 100 MAC Address : 00:50:56:96:04:4d IP Address : 120.168.43.52 Time Remaining : 115 seconds Lockdown Status : Yes Hardware Status : No Hardware Error Reason : Resource unavailable