![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650154.webp)
7-14
Using Passwords, Port Security, and Authorized IP Managers To Protect Against Unauthorized Access
Configuring and Monitoring Port Security
Usi
ng P
a
sswo
rds,
P
o
rt
Se
c
u
rity,
a
n
d
A
u
th
o
riz
e
d
IP
CLI: Displaying Current Port Security Settings
The CLI uses the same command to provide two types of port security listings:
■
All ports on the switch with their Learn Mode and (alarm) Action
■
Only the specified ports with their Learn Mode, Address Limit, (alarm)
Action, and Authorized Addresses
Using the CLI To Display Port Security Settings.
Syntax:
show port-security
show port-security
<port number>
show port-security [<
port number
>-<
port number
]. . .[,<
port number
>]
Without port parameters,
show port-security
displays Operating Control settings
for all ports on a switch. For example:
Figure 7-4. Example Port Security Listing (Ports 7 and 8 Show the Default Setting)
With port numbers included in the command,
show port-security
displays Learn
Mode, Address Limit, (alarm) Action, and Authorized Addresses for the spec-
ified ports on a switch. The following example lists the full port security
configuration for a single port:
SMC6624M(config)# show port-security
Port Security
Port Learn Mode | Action
---- ---------- + ------------------------
1
Static
| Send Alarm, Disable Port
2
Static
| Send Alarm, Disable Port
3
Static
| Send Alarm
4
Static
| Send Alarm
5
Static
| Send Alarm
6
Static
| Send Alarm
7
Continuous | None
8
Continuous | None