Configuring Port Security (Cli) - Dell PowerConnect 8024 User Configuration Manual

Hide thumbs Also See for PowerConnect 8024:
Table of Contents

Advertisement

Configuring Port Security (CLI)

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 [
510
Configuring Port and System Security
Purpose
Enter Global Configuration mode.
Enter interface configuration mode for the specified
interface. The
and number, for example tengigabitethernet 1/0/3.
You can also specify a range of interfaces with the interface
range command, for example, interface range
tengigabitethernet 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.
interface
variable includes the interface type
— Sends SNMP traps and defines the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents