EasyManua.ls Logo

Edge-Core ECS4620-28P - Page 315

Edge-Core ECS4620-28P
1260 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 9
| General Security Measures
Port Security
– 315 –
Example
The following example enables port security for port 5, and sets the response to a
security violation to issue a trap message:
Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap
Related Commands
show interfaces status (438)
shutdown (431)
mac-address-table static (517)
port security
mac-address-as-
permanent
Use this command to save the MAC addresses that port security has learned as
static entries.
Syntax
port security mac-address-as-permanent [interface interface]
interface - Specifies a port interface.
ethernet unit/port
unit - Unit identifier. (Range: 1-8)
port - Port number. (Range: 1-28/52)
Command Mode
Privileged Exec
Example
This example shows the switch saving the MAC addresses learned by port security
on ethernet port 1/3.
Console#port security mac-address-as-permanent interface ethernet 1/3
Console#
show port security This command displays port security status and the secure address count.
Syntax
show port security [interface interface]
interface - Specifies a port interface.
ethernet unit/port
unit - Unit identifier. (Range: 1-8)
port - Port number. (Range: 1-28/52)

Table of Contents

Related product manuals