DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
430
44-3 switchport port-security mac-address
This command is used to configure the secure address table. Use the no form of the command to delete the configured
address or sticky address of this interface.
switchport port-security [{mac-address <
mac-address
> [vlan <
vlan-id
>] | mac-address sticky [<
mac-address
>
[vlan <
vlan-id
>]]}] [maximum <
value 1-12288
>]
no switchport port-security [{mac-address <
mac-address
> [vlan <
vlan-id
>] | mac-address sticky [<
mac-
address
> [vlan <
vlan-id
>]]}] [maximum]
Parameters
Example
This example shows how to configure the aging time and type for the manually
configured secure address and automatically learnt addresses on interface
tenGigabitEthernet 1/0/1.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#switchport port-security aging time 8
DXS-3600-32S(config-if)#switchport port-security aging type absolute
DXS-3600-32S(config-if)#switchport port-security aging static
DXS-3600-32S(config-if)#
Example
This example shows how to apply the aging time only for automatically learnt secure
MAC addresses for interface tenGigabitEthernet 1/0/1.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#no switchport port-security aging static
DXS-3600-32S(config-if)#
Example
This example shows how to recover the port security aging time type for interface
tenGigabitEthernet 1/0/1.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#no switchport port-security aging type
DXS-3600-32S(config-if)#
Example
This example shows how to disable the port security aging time for interface
tenGigabitEthernet 1/0/1.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#no switchport port-security aging time
DXS-3600-32S(config-if)#
mac-address
mac-address
Specifies to set the secure MAC address of the port.
mac-address sticky
mac-
address
Specifies to set secure sticky MAC address of the port. These addresses can be
dynamically learned or manually configured.
vlan
vlan-id
Specifies, except an access port, the VLAN ID and the MAC address. If no VLAN ID
is specified, the native VLAN is used.
maximum
Specifies to set the maximum number of the addresses in the secure address table.
The range is from 1 to 12288.
Default
Not set any secure MAC address.
The default of maximum is 128.
The default of sticky address is disabled.
Command Mode
Interface Configuration Mode.
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...