Port Security - Dell Networking 2024 Reference Manual

Hide thumbs Also See for Networking 2024:
Table of Contents

Advertisement

Example
The following example adds a permanent static MAC-layer station source
address c2f3.220a.12f4 to the MAC address table.
console(config)# mac address-table static c2f3.220a.12f4 vlan 4 interface
gigabitethernet6/0/1

port security

Use the port security command in Interface Configuration mode to disable
the learning of new addresses on an interface. To enable new address learning,
use the no form of the port security command.
Syntax
port security [discard]
no port security
discard — Discards frames with unlearned source addresses. This is the
default if no option is indicated.
Default Configuration
Disabled
No port security
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet,
fortygigabitethernet) mode, Interface Range mode, Port-Channel Range
mode
User Guidelines
When port security is enabled on an interface, all dynamic entries learned up
to that point are flushed, and new entries can be learned only to the limit set
by the port security max command. The default limit is 100 dynamic MAC
addresses.
Example
In this example, frame forwarding is enabled without learning, and with traps
sent every 100 seconds on port gi1/0/1.
284
Address Table Commands

Advertisement

Table of Contents
loading

Table of Contents