Displaying port security settings, Displaying the secure mac addresses – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 1031

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

997

53-1003053-01

Displaying port security information

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 11, enter the following
command.

Syntax: show port security ethernet <portnum>.

The <portnum> parameter is a valid port number.

Displaying the secure MAC addresses

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

Syntax: show port security mac

This command displays the following information.

TABLE 154

Output from the show port security command

This field...

Displays...

Port

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

TABLE 155

Output from the show port security mac command

This field...

Displays...

Port

The port number of the interface.

Num-Addr

The number of MAC addresses secured on this interface.

Secure-Src-Addr

The secure MAC address.

Resource

Whether the address was secured using a local or global resource.Refer to

“Local and global resources”

on page 991 for more information.

Age-Left

The number of minutes the MAC address will remain secure.

Shutdown/Time-Left

Whether the interface has been shut down due to a security violation and the
number of seconds before it is enabled again.

TurboIron#show port security e 11

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

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

11 disabled shutdown 10 10 1

TurboIron#show port security mac

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

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

11 1 0000.0018.747c Local 10 no

Advertising