Configuring Port Security - Dell PowerEdge M420 Configuration Manual

Dell powerconnect m8024-k user's configuration guide
Hide thumbs Also See for PowerEdge M420:
Table of Contents

Advertisement

Configuring Port Security

Beginning in Privileged EXEC mode, use the following commands to enable
port security on an interface to limit the number of source MAC addresses
that can be learned.
Command
configure
interface
interface
port security [discard]
seconds
[trap
]
port security max
addr
CTRL + Z
show ports security
interface
[
]
show ports security
interface
addresses [
Purpose
Enter Global Configuration mode.
Enter interface configuration mode for the specified
interface. The
and number, for example gigabitethernet 1/0/3.
You can also specify a range of interfaces with the interface
range command, for example, interface range
gigabitethernet 1/0/8-12 configures interfaces 8, 9, 10, 11,
and 12.
Enable port security on the port. This prevents the switch
from learning new addresses on this port after the
maximum number of addresses has been learned.
• discard — Discards frames with unlearned source
addresses. This is the default if no option is indicated.
seconds
• trap
minimal amount of time in seconds between two
consecutive traps. (Range: 1–1000000)
max-
Set the maximum number of MAC addresses that can be
learned on the port while port security is enabled.
Exit to Privileged EXEC mode.
View port security settings on all interfaces or the specified
interface.
View the current MAC addresses that have been learned
]
on all ports or the specified port.
Configuring 802.1X and Port-Based Security
interface
variable includes the interface type
— Sends SNMP traps and defines the
533

Advertisement

Table of Contents
loading

Table of Contents