beautypg.com

2 show port-security, 3 switchport port-security, Show port – PLANET WGSW-52040 User Manual

Page 226: Security, Switchport port

background image

12-225

12.2 show port-security

Command:

show port-security [interface <interface-id>] [address | vlan]

Function:

Show port-security configuration.

Parameter:

interface-id:Show port-security configuration of the interface.

address: Show the secure address of the interface.

vlan: Show the maximum number of each VLAN configured on trunk/hybrid interface.

Default:

None.

Command Mode:

Any modes

Usage Guide:

None.

Example:

Show all secure MACs on the interfaces.

Switch# show port-security address interface ethernet 1/1

12.3 switchport port-security

Command:

switchport port-security

no switchport port-security

Function:

Configure port-security function for the interface, the no command disables port-security.

Parameter:

None.

Default: