xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
933
Chapter 80
Port Security
Commands
config port_security ports
[<portlist> | all] [{admin_state [enable | disable] | max_learning_addr
<max_lock_no 0-3328> | lock_address_mode [permanent | deleteontimeout |
deleteonreset]}(1) | {vlan [<vlan_name 32> | vlanid <vidlist>] max_learning_addr
[<max_lock_no 0-3328> | no_limit]}(1)]
config port_security system max_learning_addr
[<max_lock_no 1-3328> | no_limit]
config port_security vlan
[<vlan_name 32> | vlanid <vidlist>] max_learning_addr [<max_lock_no
0-3328> | no_limit]
delete port_security_entry
[vlan <vlan_name 32> | vlanid <vlanid 1-4094>] mac_address
<macaddr>
clear port_security_entry
{ports [<portlist> | all] | {[vlan <vlan_name 32> | vlanid <vidlist>]}}
show port_security_entry
{ports {<portlist>} {[vlan <vlan_name 32> | vlanid <vidlist>]}}
show port_security
{ports {<portlist>} {[vlan <vlan_name 32> | vlanid <vidlist>]}}
config port_security log state
[enable | disable]
config port_security trap state
[enable | disable]
80-1
config port_security ports
Description
This command is used to set the port’s state, maximum supported MAC address entries, the
default entry type, and set the maximum port-security entries that can be learned with a specific
VLAN on a specific port. There are four levels of limitations on the learned entry number, for the
entire system, for a port, for a VLAN, and for specific VLAN on a port. If any limitation is exceeded,
the new entry will be discarded.
Format
config port_security ports [<portlist> | all] [{admin_state [enable | disable] |
max_learning_addr <max_lock_no 0-3328> | lock_address_mode [permanent |
deleteontimeout | deleteonreset]}(1) | {vlan [<vlan_name 32> | vlanid <vidlist>]
max_learning_addr [<max_lock_no 0-3328> | no_limit]}(1)]
Parameters
<portlist>
- Enter a range of ports to be configured.
all
- Specifies that all ports will be configured.
admin_state
- Allow the port security to be enabled or disabled for the ports specified in the port
list. The default setting is disabled.
enable
- Enable port security for the ports specified in the port list.
disable
- Disable port security for the ports specified in the port list.
max_learning_addr
- Specifies the maximum of MAC address entries that can be learned on
this port. If the value is set to 0, it means that no user can get authorized by the port security
function on this port. If the setting is smaller than the number of current learned entries on the
port, the command will be rejected. The default value is 32.
<max_lock_no 0-3328>
- Enter the value between 0 and 3328.
lock_address_mode
- Indicate locking address mode. The default mode is deleteonreset.
permanent
- The address will never be deleted unless the user removes it manually or the
Содержание xStack
Страница 1: ......
Страница 161: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 156 DGS 3620 28SC admin ...
Страница 503: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 498 DGS 3620 28SC admin ...
Страница 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Страница 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Страница 888: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 883 DGS 3620 28SC admin ...
Страница 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Страница 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...