beautypg.com

8 show port-security, 9 show port-security address – Accton Technology ES4626 User Manual

Page 216

background image

216

Example

Set the violation mode of port 1 to shutdown

Switch(Config)#interface Ethernet 1/1

Switch(Config-Ethernet1/1)#port-security violation shutdown

6.5.1.3.8 show port-security

Command: show port-security

Function:

Display the secure MAC addresses of the port.

Command mode:

Admin Mode

Parameter:

stands for the port to be displayed.

Usage Guide:

This command displays the secure port MAC address information, if no

port is specified, secure MAC addresses of all ports are displayed. The following is an

example:

Switch#

show port-security interface ethernet 1/3

Ethernet1/3 Security Mac Address Table

--------------------------------------------------------------------------------------------------

Vlan Mac Address Type Ports

1 0000.0000.1111 SecureConfigured Ethernet1/3

--------------------------------------------------------------------------------------------------

Total Addresses : 1

Displayed information

Explanation

Vlan

The VLAN ID for the secure MAC Address

Mac Address

Secure MAC address

Type

Secure MAC address type

Ports

The port that the secure MAC address

belongs to

Total Addresses

Current secure MAC address number in

the system.

6.5.1.3.9 show port-security address

Command: show port-security address [interface ]

Function:

Display the secure MAC addresses of the port.

Command mode:

Admin Mode

Parameter:

stands for the port to be displayed.

Usage Guide:

This command displays the secure port MAC address information, if no

port is specified, secure MAC addresses of all ports are displayed. The following is an

example:

Switch#

show port-security address interface ethernet 1/3

This manual is related to the following products: