User Manual

[Parameter]
mac-addr : hhhh.hhhh.hhhh (h is hexadecimal)
Applicable MAC address
ifname : Name of LAN/SFP port or logical interface
Applicable interface
vlan-id : <1-4094>
Applicable VLAN ID
inst : <1-15>
Applicable MST instance ID
[Input mode]
priviledged EXEC mode
[Description]
Deletes a dynamic entry from the MAC address table.
If a keyword is specified, only the entries that match the applicable conditions are deleted.
If no keyword is specified, all dynamic entries are deleted.
[Example]
Delete the dynamic entry whose MAC address is 00a0.de11.2233.
SWP1#clear mac-address-table dynamic address 00a0.de11.2233
11.4.4 Set static entry
[Syntax]
mac-address-table static mac-addr action ifname [vlan vlan-id]
no mac-address-table static mac-addr action ifname [vlan vlan-id]
[Keyword]
vlan : Specifies the VLAN ID
[Parameter]
mac-addr : hhhh.hhhh.hhhh (h is hexadecimal)
Applicable MAC address
action : Action applied to frames addressed to mac-addr
Setting value Description
forward Forward
discard Discard
ifname : Name of LAN/SFP port or logical interface
Applicable interface
vlan-id : <1-4094>
Applicable VLAN ID
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Registers a static entry in the MAC address table.
If action is specified as "forward," received frames that match the specified MAC address and VLAN ID are forwarded to the
specified interface.
If action is specified as "discard," received frames that match the specified MAC address and VLAN ID are discarded.
152 | Command Reference | L2 switching function