11 port security, 12 port security routed secure-address, Syntax – PLANET WGSD-1022 User Manual

Page 143: Default configuration, Command mode, User guidelines, Example

Advertising
background image

5.4.11 port security

The port security interface configuration command locks the port. By locking the port, new addresses

are not learned on the port. To enable new address learning, use the no form of the port security

command.

Syntax

port security [forward | discard | discard-shutdown] [trap seconds]

no port security

ƒ forward — Forwards frames with unlearned source addresses, but does not learn the address.

ƒ discard — Discards frames with unlearned source addresses. This is the default if no option is

indicated.

ƒ discard-shutdown — Discards frames with unlearned source addresses. The port is also shut

down.

ƒ trap Seconds — Sends SNMP traps and defines the minimal amount of time in seconds between

two consecutive traps. (Range: 1 - 1,000,000)

Default Configuration

Disabled - No port security

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

In this example, frame forwarding is enabled without learning, and with traps sent every 100 seconds on

port e18.

console (config)# interface ethernet e18

console (config-if)# port security forward trap 100

5.4.12 port security routed secure-address

The port security routed secure-address interface configuration command adds MAC-layer secure

addresses to a routed port. Use the no form of this command to delete the MAC addresses.

Advertising