User Manual
If this command is executed with the "no" syntax, the static entry is deleted from the MAC address table.
If "vlan" is omitted, VLAN #1 is specified.
[Note]
If action is specified as "discard," a multicast MAC address cannot be specified as mac-addr.
The following MAC addresses cannot be specified as mac-addr.
• 0180.c200.0000
~0180.c200.000f
• 0180.c200.0020~0180.c200.002f
[Example]
Specify that frames addressed to 00a0.de11.2233 are forwarded to LAN port #2.
SWP1(config)#mac-address-table static 00a0.de11.2233 forward ge2
11.4.5 Clear multicast entries
[Syntax]
clear mac-address-table multicast
clear mac-address-table multicast adress mac-addr
clear mac-address-table multicast vlan vlan-id
clear mac-address-table multicast interface ifname [instance inst]
[Keyword]
address : Specifies the multicast MAC address
vlan : Specifies the VLAN ID
interface : Specifies the interface
instance : Specifies the MST instance.
[Parameter]
mac-addr : hhhh.hhhh.hhhh (h is hexadecimal)
Applicable multicast 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]
Delete a multicast 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 multicast entries are deleted.
[Example]
Delete the multicast entry whose MAC address is 0100.5e00.0001.
SWP1#clear mac-address-table multicast address 0100.5e00.0001
11.4.6 Show MAC address table
[Syntax]
show mac-address-table
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
Command Reference | L2 switching function | 153