Show port security – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual
Page 247
Brocade 6910 Ethernet Access Switch Configuration Guide
191
53-1002651-02
10
Port Security
•
To configure the maximum number of address entries which can be learned on a port, specify
the maximum number of dynamic addresses allowed. The switch will learn up to the maximum
number of allowed address pairs
command. When the port has reached the maximum number of MAC
addresses, the port will stop learning new addresses. The MAC addresses already in the
address table will be retained and will not be aged out.
•
If port security is enabled, and the maximum number of allowed addresses are set to a
non-zero value, any device not in the address table that attempts to use the port will be
prevented from accessing the switch.
•
If a port is disabled due to a security violation, it must be manually re-enabled using the
no
command.
•
A secure port has the following restrictions:
•
Cannot be connected to a network interconnection device.
•
Cannot be a trunk port.
Example
The following example enables port security for port 5, and sets the response to a security violation
to issue a trap message:
Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap
Related Commands
show port security
This command displays port security status and the secure address count.
Syntax
show port security [interface interface]
interface - Specifies a port interface.
ethernet unit/port
unit - This is unit 1.
port - Port number. (Range: 1-12)
Command Mode
Privileged Exec
Example
This example shows the port security settings and number of secure addresses for all ports.
Console#show port security
Global Port Security Parameters
Secure MAC Aging Mode : Disabled