- 319 -
7.16.2 Configuration Commands
7.16.2.1 macfilter
This command adds a static MAC filter entry for the MAC address <macaddr> on the VLAN <vlanid>. The
value of the <macaddr> parameter is a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6.
The restricted MAC Addresses are: 00:00:00:00:00:00, 01:80:C2:00:00:00 to 01:80:C2:00:00:0F,
01:80:C2:00:00:20 to 01:80:C2:00:00:21, and FF:FF:FF:FF:FF:FF. The <vlanid> parameter must identify
a valid VLAN. You can create up to 100 static MAC filters.
Syntax
macfilter <macaddr> <1-3965>
no macfilter <macaddr> <1-3965>
<macaddr> - Specified a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6.
no - This command removes all filtering restrictions and the static MAC filter entry for the MAC
address <macaddr> on the VLAN <vlanid>.
Default Setting
None
Command Mode
Global Config
7.16.2.2 macfilter addsrc
This command adds the interface to the source filter set for the MAC filter with the MAC address of
<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.
Syntax
macfilter addsrc <macaddr> <1-3965>
no macfilter addsrc <macaddr> <1-3965>
<macaddr> - Specified a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6.
no - This command removes a port from the source filter set for the MAC filter with the MAC address
of <macaddr> and VLAN of <vlanid>.
Default Setting
None
Command Mode