![D-Link xStack DGS-3400 Series Cli Manual Download Page 32](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433032.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
28
D G S – 3 4 2 6 : 5 # c o n f i g p o r t _ s e c u r i t y p o r t s 1 : 1 – 1 : 5 a d m i n _ s t a t e e n a b l e
m a x _ l e a r n i n g _ a d d r 5 l o c k _ a d d r e s s _ m o d e D e l e t e O n R e s e t
C o m m a n d : c o n f i g p o r t _ s e c u r i t y p o r t s 1 : 1 – 1 : 5 a d m i n _ s t a t e e n a b l e m a x _ l e a r n i n g _ a d d r
5 l o c k _ a d d r e s s _ m o d e D e l e t e O n R e s e t
S u c c e s s .
D G S – 3 4 2 6 : 5 #
delete port_security_entry
Purpose
Used to delete a port security entry by MAC address, port number and VLAN ID.
Syntax
delete port_security_entry_vlan_name <vlan_name 32> port <port> mac_address
<macaddr>
Description
This command is used to delete a single, previously learned port security entry by port,
VLAN name, and MAC address. This command will only take effect if the lock address
mode set using the
config port_security ports
command is set as permanent or delete
on reset.
Parameters
vlan name <vlan_name 32>
– Enter the corresponding VLAN name of the port to delete.
port <port>
– Enter the port number which has learned the previously entered MAC
address. The port is specified by listing the lowest switch number and the beginning port
number on that switch, separated by a colon. For example, 1:3 specifies switch number
1, port 3. 2:4 specifies switch number 2, port 4.
mac_address <macaddr>
– Enter the corresponding MAC address, previously learned
by the port, to delete.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a port security entry:
D G S – 3 4 2 6 : 5 # d e l e t e p o r t _ s e c u r i t y _ e n t r y v l a n _ n a m e d e f a u l t p o r t 1 : 6 m a c _ a d d r e s s
0 0 – 0 1 – 3 0 – 1 0 – 2 C – C 7
C o m m a n d : d e l e t e p o r t _ s e c u r i t y _ e n t r y v l a n _ n a m e d e f a u l t p o r t 1 : 6 m a c _ a d d r e s s 0 0 –
0 1 – 3 0 – 1 0 – 2 C – C 7
S u c c e s s .
D G S – 3 4 2 6 : 5 #