DGS-3212SR Layer 3 Gigabit Switch
config port_security ports
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.
Restrictions
Only administrator-level users can issue this command.
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
Used to display the current port security configuration.
Syntax
show port_security {ports <portlist>}
Description
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.
Parameters
<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.
Restrictions
None.
Example usage:
To display the port security configuration:
30
Содержание DGS-3212SR
Страница 2: ......
Страница 4: ......
Страница 12: ......
Страница 24: ...DGS 3212SR Layer 3 Gigabit Switch Enter Displays the next line or table entry 12 ...
Страница 113: ...DGS 3212SR Layer 3 Gigabit Switch To view the IP forwarding database table 101 ...
Страница 260: ...DGS 3212SR Layer 3 Gigabit Switch 248 ...
Страница 263: ...DGS 3212SR Layer 3 Gigabit Switch 251 ...