Port Security - Cisco SPS2024 Reference Manual

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

Address Table Commands

port security

port security
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
The port security Interface Configuration mode command locks the port to block
unknown traffic and prevent the port from learning new addresses. To restore
defaults, use the no form of this command.
Syntax
port security [forward | discard | discard-shutdown] [trap
no port security
Parameters
forward — Forwards packets with unlearned source addresses, but does
not learn the address.
discard — Discards packets with unlearned source addresses. This is the
default if no option is indicated.
discard-shutdown — Discards packets with unlearned source addresses.
The port is also shut down.
seconds
— Sends SNMP traps and defines the minimum amount of time in
seconds between consecutive traps. (Range: 1-1000000)
max — Maximum number of addresses that can be learned on the interface.
(Range: 1-128)
Default Configuration
This setting is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
5
seconds
]
85

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents