beautypg.com

11 port security, 12 port security routed secure-address, Command mode – Planet Technology WGSW-48040 User Manual

Page 166: User guidelines, Example, Syntax, Default configuration

background image

User’s Manual of WGSW-24020/WGSW-48040

-16

Command Mode

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

Example

In this example, the bridge tables are cleared.

console# clear bridge

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

This manual is related to the following products: