CLI Examples
The following are examples of the commands used in the Port Security feature.
Example #1: show port security
(Netgear Switch) #show port-security ?
<cr>
all
<unit/slot/port>
dynamic
static
violation
(Netgear Switch) #show port-security
Port Security Administration Mode: Enabled
Example #2: show port security on a specific interface
(Netgear Switch) #show port-security 1/0/10
Admin
Intf
Mode
----
--------
1/0/10
Disabled
Example #3: (Config) port security
(Netgear Switch) (Config) #port-security ?
<cr>
Press Enter to execute the command.
(Netgear Switch) (Config) #port-security
Port Security
NETGEAR 7000 Series Managed Switch Administration Guide Version 6.0
Press Enter to execute the command.
Display port-security information for all interfaces.
Enter interface in unit/slot/port format.
Display dynamically locked MAC addresses.
Display statically locked MAC addresses.
Display the source MAC address of the last packet that
was discarded on a locked port.
Dynamic
Static
Limit
Limit
-------
------
600
20
v1.0, Jan 2007
Violation
Trap Mode
---------
Disabled
13-3