beautypg.com

Displaying port settings 2, Figure 179. show port-security interface command 2, Displaying port settings – Allied Telesis AT-FS970M Series User Manual

Page 1022

background image

Chapter 67: MAC Address-based Port Security

1022

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 179.

Figure 179. SHOW PORT-SECURITY INTERFACE Command

The fields are defined in Table 109 on page 1028.

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