D-Link Unified Switch CLI Command Reference
You can configure the following combinations:
•
Unicast MAC and source port (max = 20)
•
Multicast MAC and source port (max = 20)
•
Multicast MAC and destination port (only) (max = 256)
•
Multicast MAC and source ports and destination ports (max = 20)
Format
macfilter <macaddr> <vlanid>
Mode
Global Config
no macfilter
This command removes all filtering restrictions and the static MAC filter entry for the MAC address <macaddr> on the VLAN
<vlanid>. The <macaddr> parameter must be specified as a 6-byte hexadecimal number in the format of
b1:b2:b3:b4:b5:b6.
The <vlanid> parameter must identify a valid VLAN.
Format
no macfilter <macaddr> <vlanid>
Mode
Global Config
macfilter adddest
Use this command to add the interface to the destination filter set for the MAC filter with the given <macaddr> and VLAN of
<vlanid>. The <macaddr> parameter must be specified as a 6-byte hexadecimal number in the format of
b1:b2:b3:b4:b5:b6. The <vlanid> parameter must identify a valid VLAN.
Note: Configuring a destination port list is only valid for multicast MAC addresses.
Format
macfilter adddest <macaddr>
Mode
Interface Config
no macfilter adddest
This command removes a port from the destination filter set for the MAC filter with the given <macaddr> and VLAN of
<vlanid>. The <macaddr> parameter must be specified as a 6-byte hexadecimal number in the format of
b1:b2:b3:b4:b5:b6. The <vlanid> parameter must identify a valid VLAN.
Format
no macfilter adddest <macaddr>
Mode
Interface Config
© 2009 D-Link Corporation. All Rights Reserved
96