265
SIGNAMAX LLC • www.signamax.eu
This command only takes effect to the MAC addresses configured via the MAC rule and
the IP rule. For the addresses learned via the MAX rule, as long as the configured aging
time is not 0 the addresses are aged.
no port-security active-address
This command deletes the specified MAC address of a port.
no port-security active-address
{
all
|
configured
|
learned
}
Syntax
Description
All
To delete all MAC addresses
configured
To delete all MAC addresses except the MAX rule
learned
To delete the MAC addresses learned by the MAX rule
no port-security all
This command deletes all related configurations for port security of a port.
no port-security all
[Default status] none
Applying Port Security Example
Switch Port 0/7 connects to the user network. It is required that the host with MAC
address 0005.5de4.0e25 is permitted to access at any time, the host with MAC address
001f.c627.3823 is forbid to access at any time. Besides, at most 100 hosts can access the
port.
The switch configuration is as follows:
Command
Description
switch(config)#port 0/7
To enter the port
switch (config-port-0/7)#port-security enable
To enable the port security
switch (config-port-0/7)#port-security permit mac-address 0005.5de4.0e25
To permit the host 0005.5de4.0e25
to communicate
switch (config-port-0/7)#port-security deny mac-address 001f.c627.3823
To refuse the host 001f.c627.3823
to communicate
switch (config-port-0/7)#port-security maximum 100
To permit 100 hosts to be
connected
switch (config-port-0/7)#exit
To exit the port
Summary of Contents for 065-7434
Page 1: ...24 Port 10 100 L3 Switch Model 065 7434 Configuration Guide Revision A1 ...
Page 245: ...245 SIGNAMAX LLC www signamax eu Application Example Example of configuring DHCP Snooping ...
Page 302: ...302 SIGNAMAX LLC www signamax eu Default status no switching interface ...
Page 368: ......
Page 655: ...287 SIGNAMAX LLC www signamax eu Sub VLAN members in the system ...