Dell 34XX Switch User Manual


 
240 Configuring Switch Information
www.dell.com | support.dell.com
The
Port Security Table
contains the additional following fields:
Unit No.
— Specifies the stacking unit for which locked port information is displayed.
Copy Parameters from
— Copies parameters to the selected unit number.
Configuring Locked Port Security with CLI Commands
The following table summarizes the equivalent CLI commands for configuring Locked Port
security as displayed in the Port Security page.
The following is an example of the CLI commands:
Table 7-64. Port Security CLI Commands
CLI Command Description
shutdown
Disables interfaces.
set interface active
{
ethernet
interface
|
port-channel
port-
channel-number
}
Reactivates an interface that is shutdown due to
port security reasons.
port security learning
{disabled | dynamic}
Defines the locked port type.
port security max
max-addr
Specifies the number of MAC address that
can be learned on the port.
port security
[
forward
|
discard
|
discard-shutdown
]
[
trap
seconds
]
Locks learning of new addresses on an interface.
show ports security
{
ethernet
interface
|
port-channel
port-
channel-number
}
Displays port lock status.
console # show ports security
Port Status Action Trap Frequency Counter
----- ------- ------- ------- --------- --------
1/e1 locked Discard Enable 100 88
1/e2 locked Discard,
Shutdown
Disable
1/e3 Unlocked - - - -