265
7.4.2.1
CLI Configurations
Node
Command
Description
enable
show port-security
This command displays the current port security
configurations.
enable
configure terminal
This command changes the node to configure node.
configure interface IFNAME
This command enters the interface configure node.
interface
port-security mac-
address sticky
MACADDR vlan
<1-4094>
This command configures a sticky MAC with a
VLAN on the specific port.
interface
no port-security
mac-address sticky
MACADDR vlan
<1-4094>
This command removes a sticky MAC with a VLAN
for the specific port from the MAC table.
interface
port-security mac-
address sticky
This command enables the stick function on the
specific port.
interface
no port-security
mac-address sticky
This command disables the stick function on the
specific port.
config
interface range
gigabitethernet1/0/
PORTLISTS
This command enters the if-range configure node.
if-range
port-security mac-
address sticky
This command enables the stick function on the
specific ports.
if-range
no port-security
mac-address sticky
This command disables the stick function on the
specific ports.
The procedures to enable port security with sticky MAC addresses on a port:
To enable the global Port-Security.
L2SWITCH(config)#port-security enable
To select the port you want to configure.
L2SWITCH(config)#interface gigabitethernet1/0/5
To enable the port Port-Security.
L2SWITCH(config-if)#port-security enable
To enable the sticky on the port.
L2SWITCH(config-if)#port-security mac-address sticky
Summary of Contents for NGI-M08C4POE8-2
Page 1: ......
Page 197: ...197 Clear Clear the statistics of the valn ...
Page 298: ...298 9 2 2 Web Configurations ...