beautypg.com

Displaying port security information, Displaying port security settings, Displaying the secure mac addresses – Brocade FastIron Ethernet Switch Security Configuration Guide User Manual

Page 224

background image

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 7/11

Port Security Violation Shutdown-Time Age-Time Max-MAC

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

7/11 disabled shutdown 10 10 1

Syntax: show port security ethernet port

Output from the show port security ethernet command

TABLE 21

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.

device#show port security mac

Port Num-Addr Secure-Src-Addr Resource Age-Left Shutdown/Time-Left

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

7/11 1 0000.018.747c Local

10 no

Syntax: show port security mac

The following table describes the output from the show port security mac command.

Displaying port security information

224

FastIron Ethernet Switch Security Configuration Guide

53-1003088-03