Displaying port security information

Displaying port security information

You can display the following information about the MAC port security feature:

The port security settings for an individual port or for all the ports on a specified module

The secure MAC addresses configured on the device

Port security statistics for an interface or for a module

Displaying port security settings

You can display the port security settings for an individual port or for all the ports on a specified module. For example, to display the port security settings for port 7/11, enter the following command.

Brocade# show port security ethernet 1/1/7

 

Port Security Violation Shutdown-Time

Age-Time Max-MAC

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

---------

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

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

1/1/7 disabled

shutdown

10

10

1

Syntax: show port security ethernet port

Specify the port variable in stack-unit/slotnum/portnumformat.

TABLE 40

Output from the show port security ethernet command

 

 

 

Field

 

Description

 

 

 

Port

 

The slot and port number of the interface.

 

 

 

Security

 

Whether the port security feature has been enabled on the interface.

 

 

 

Violation

 

The action to be undertaken when a security violation occurs, either “shutdown” or

 

 

“restrict”.

 

 

Shutdown-Time

The number of seconds a port is shut down following a security violation, if the port is set to

 

 

“shutdown” when a violation occurs.

 

 

 

Age-Time

 

The amount of time, in minutes, MAC addresses learned on the port will remain secure.

 

 

 

Max-MAC

 

The maximum number of secure MAC addresses that can be learned on the interface.

 

 

 

Displaying the secure MAC addresses

To list the secure MAC addresses configured on the device, enter the following command.

Brocade# show port security mac

 

Shutdown/Time-Left

Port

Num-Addr Secure-Src-Addr Resource Age-Left

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

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

1/1/7

1

0000.0018.747c

Local

10

no

Syntax: show port security mac

Table 41 describes the output from the show port security mac command.

208

Brocade ICX 6650 Security Configuration Guide

 

53-1002601-01

Page 228
Image 228
Brocade Communications Systems 6650 manual Displaying port security information, Displaying port security settings