CLI ReferenceInterface Configuration Commands MAC Address Configuration Commands
mac-address-table filtering
Use this command to configure the filtering MAC address. Use the no form of the command to remove
the filtering address.
mac-address-table filtering mac-address vlan vlan-id [source | destination]
no mac-address-table filtering mac-address vlan vlan-id
VLAN ID. Its range depends on
the switch.
Filter the frame according to
the source MAC address only.
Filter the frame according to
the destination MAC address
only.
No filtering address is configured by default.
When configuring this command without the source or destination
specified, the frame received in the specified VLAN, which has the
same source/destination MAC address with the specified MAC
address, will be filtered.
Global configuration mode.
The filtering MAC address shall not be a multicast address. Use
show mac-address-table filtering to display the filtering MAC
addresses.
Ruijie(config)# mac-address-table filtering 00d0f8000000 vlan 1
clear
mac-address-table
filtering
Clear the filtering MAC
address.
show
mac-address-table
filtering
Show the filtering MAC
address.