beautypg.com

Displaying port settings, Displaying port settings 4, Show port-security interface command 2 – Allied Telesis AT-8100 Series User Manual

Page 1044

background image

Chapter 69: MAC Address-based Port Security

1044

Displaying Port Settings

There are two commands that display information about the MAC
address-based port security on the ports on the switch. The one that you
are likely to use the most often is the SHOW PORT-SECURITY
INTERFACE command in the Privileged Exec mode. It displays all the
possible information. Here is the format of the command:

show port-security interface

port

This example displays the settings for port 2:

awplus# show port-security interface port1.0.2

An example is shown in Figure 184.

Figure 184. SHOW PORT-SECURITY INTERFACE Command

The fields are defined in Table 111 on page 1050.

If you are interested in viewing just the number of packets the ports have
discarded because they had invalid source MAC addresses, you can use
the SHOW PORT-SECURITY INTRUSTION INTERFACE command.
Here is the format of the command:

show port-security intrusion interface

port

This example displays the number of discarded packets on port 17:

awplus# show port-security intrusion interface port1.0.17

Port Security Configuration - Port1.0.2
----------------------------------------------
Security Enabled

: YES

Port Status

: ENABLED

Violation Mode

: PROTECT

Aging

: NO

Maximum MAC Addresses

: 0

Current Learned Addresses : 0
Lock Status

: UNLOCKED

Security Violation Count

: 0