D-Link DGS-3224TGR Command Line Interface Reference Manual page 76

Layer 2 gigabit ethernet switch
Hide thumbs Also See for DGS-3224TGR:
Table of Contents

Advertisement

config port_security
Only administrator-level users can issue this command.
Restrictions
Example Usage:
To config port security:
DGS-3224TGR:4#config port_security ports 1-6 admin_state enable
max_learning_addr 10 lock_address_mode Permanent
Command: config port_security ports 1-6 admin_state enable
max_learning_addr 10 lock_address_mode Permanent
Success.
DGS-3224TGR:4#
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> mac_address <macaddr> port
<port>
Description
This command is used to delete a port security entry by MAC address, port number, and
VLAN ID.
<vlan_name> − The vlan name the port belongs to.
Parameters
mac_address − The MAC address to be deleted which was learned by the port.
port − The port number which has learned the MAC address.
Restrictions
Only administrator-level users can issue this command.
Example Usage:
To delete a default route from the routing table:
DGS-3224TGR:4#delete port_security_entry vlan_name default
mac_address 00-01-30-10-2C-C7 port 6
Command: delete port_security_entry vlan_name default mac_address 00-
01-30-10-2C-C7 port 6
Success.
DGS-3224TGR:4#
clear port_security_entry
Purpose
Used to clear the MAC entries learned from the specified port(s) for the port security function.
Syntax
clear port_security_entry port <portlist>
Description
Used to clear the MAC entries learned from the specified port(s) for the port security function.
<portlist> − A range of ports to be configured.
Parameters
Only administrator-level users can issue this command.
Restrictions
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
72

Advertisement

Table of Contents
loading

Table of Contents