ECS2020 Series CLI Reference Guide R04
215
Configure static MAC bindings
Use the command below to configure the MAC addresses binded to specified ports and VLANs.
mac-address static mac-address vlan vlan-id interface gigabitEthernet port-id
no mac-address static mac-address vlan vlan-id interface gigabitEthernet port-id
Null
Global configuration mode
When a MAC address is binded to a designated port as a static address, it
will not have an aging time associated to it and thus not expire as a dynamic
MAC address would.
ECS2020-10P(config)#
mac-address static 0001.7A55.E7D2 vlan 1
interfaces GigabitEthernet 0/1
ECS2020-10P(config)# no mac-address static 0001.7A55.E7D2 vlan 1
MAC address drop
Use the command below to set a MAC address to be filtered out of a specified VLAN, then PDUs with
the MAC address can not be forwarded through the VLAN on the switch. Use the no form of the
command to delete the configuration.
mac-address static mac-address vlan vlan-id drop
no mac-address static mac-address vlan vlan-id drop
Null
Parameter
Parameter
Description
mac-address
Specifies the MAC address to be binded.
vlan-id
Specifies the VLAN ID to bind the MAC address to.
port-id
Specifies the port number to bind the MAC address
to.
Command
Command
Description
show mac-address static
Displays the static mac-
addresses comfigured in the
switch.
Parameter
Parameter
Description
drop
The MAC address to filter.
Default
Default
Mode
Usage
Example