NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

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>

Press Enter to execute the command.

all

Display port-security information for all interfaces.

<unit/slot/port>

Enter interface in unit/slot/port format.

dynamic

Display dynamically locked MAC addresses.

static

Display statically locked MAC addresses.

violation

Display the source MAC address of the last packet that

 

was discarded on a locked port.

(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

Intf

Admin

Dynamic

Static

Violation

Mode

Limit

Limit

Trap Mode

----

--------

-------

------

---------

1/0/10

Disabled

600

20

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

13-3

v1.0, May 2008

Page 137
Image 137
NETGEAR 7000 Series manual Example #1 show port security, Example #2 show port security on a specific interface