DXS-1210 Series Smart Managed Switch CLI Reference Guide
140
,
(Optional)Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No spacesare allowed before and
after the comma.
-
(Optional)Specifies a range of interfaces. No spacesare allowed before
and after the hyphen.
drop
Specifies to drop the frames that are sent by or sent to the specified
MAC address on the specified VLAN.
all
Specifies to remove all static MAC address entries.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
For a unicast MAC address entry, only one interface can be specified. For a multicast MAC address
entry, multiple interfaces can be specified. To delete a unicast MAC address entry, there is no need to
specify the interface ID. To delete a multicast MAC address entry, if an interface ID is specified, only
this interface will be removed. Otherwise, the entire multicast MAC entry will be removed. The option
drop can only be specified for a unicast MAC address entry.
Example
This example shows how to add the static address C2:F3:22:0A:12:F4 to the MAC address table. It
also specifies that when any packet received on VLAN 4 that has a destination MAC address of
C2:F3:22:0A:12:F4 will be forwarded to the Ethernet interface 1/0/1.
Switch# configure terminal
Switch(config)#mac-address-table static C2:F3:22:0A:12:F4 vlan 4 interface eth1/0/1
Switch(config)#
This example shows how to add the static address C2:F3:22:0A:22:33 to the MAC address table. It
also specifies that when any packet received on VLAN 4 that has a destination MAC address of
C2:F3:22:0A:22:33 will be forwarded to port-channel 2.
Switch# configure terminal
Switch(config)#interface range eth1/0/5-6
Switch(config-if-range)# channel-group 2 mode on
Switch(config-if-range)# exit
Switch(config)# mac-address-table static C2:F3:22:0A:22:33 vlan 4 interface port-
channel2
Switch(config)#
19-6
multicast filtering-mode
This command is used to configure the handling method for multicast packets for a VLAN. Use the no
form of this command to revert to the default setting.
multicast filtering-mode {forward-all | forward-unregistered | filter-unregistered}
no multicast filtering-mode
Parameters