Chapter 24: General Security Measures
Port Security
– 821 –
E
XAMPLE
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
R
ELATED
C
OMMANDS
mac-address-table static (1014)
port security
mac-address-as-
permanent
Use this command to save the MAC addresses that port security has
learned as static entries.
S
YNTAX
port security mac-address-as-permanent
[
interface interface
]
interface
- Specifies a port interface.
ethernet
unit
/
port
unit
- This is unit 1.
port
- Port number. (Range: 1-52)
C
OMMAND
M
ODE
Privileged Exec
E
XAMPLE
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.
S
YNTAX
show port security
[
interface interface
]
interface
- Specifies a port interface.
ethernet
unit
/
port
unit
- This is unit 1.
port
- Port number. (Range: 1-52)
C
OMMAND
M
ODE
Privileged Exec
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...