D-Link DGS-3212SR Command Line Interface Reference Manual page 42

12-port gigabit layer 2 stackable switch
Hide thumbs Also See for DGS-3212SR:
Table of Contents

Advertisement

config port_security ports
Restrictions
Example usage:
To configure the port security:
DGS-3212SR:4#config port_security ports 1:1-1:5 admin_state enable
max_learning_addr 5 lock_address_mode DeleteOnReset
Command: config port_security ports 1:1-1:5 admin_state enable
max_learning_addr 5 lock_address_mode DeleteOnReset
Success
DGS-3212SR:4#
show port_security
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To display the port security configuration:
DGS-3212SR Layer 3 Gigabit Switch
number of MAC addresses dynamically listed in the FDB for the
ports.
lock_address_mode [Permanent | DeleteOnTimeout |
DeleteOnReset] – Delete FDB dynamic entries for the ports on
timeout of the FDB (see Forwarding Database Commands).
Specify DeleteOnReset to delete all FDB entries, including static
entries upon system reset or rebooting. Entering the Permanent
parameter will permanently set the MAC address in the switch's
memory until deleted by the user.
Only administrator-level users can issue this command.
Used to display the current port security configuration.
show port_security {ports <portlist>}
This command is used to display port security information of the
switch ports. The information displayed includes port security admin
state, maximum number of learning address and lock mode.
<portlist> − Specifies a range of ports to be viewed. The port list is
specified by listing the lowest switch number and the beginning port
number on that switch, separated by a colon. Then the highest switch
number, and the highest port number of the range (also separated by
a colon) are specified. The beginning and end of the port list range
are separated by a dash. For example, 1:3 specifies switch number
1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of
the ports between switch 1, port 3 and switch 2, port 4 − in numerical
order.
None.
30

Advertisement

Table of Contents
loading

Table of Contents