User Manual

AT8402 Switching Commands
Page 2 - 59 AT8402 CLI Reference Manual
2.14.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.
Format
macfilter addsrc <macaddr> <vlanid>
Mode Interface Config
2.14.2.1 no macfilter addsrc
This command removes a port from 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.
Format
no macfilter addsrc <macaddr> <vlanid>
Mode Interface Config
2.14.3 macfilter addsrc all
This command adds all interfaces to the source filter set for the MAC filter with the
MAC address of
<macaddr> and <vlanid>. You must specify the <macaddr>
parameter 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
macfilter addsrc all <macaddr> <vlanid>
Mode Global Config
2.14.3.1 no macfilter addsrc all
This command removes all interfaces to the source filter set for the MAC filter with the
MAC address of
<macaddr> and VLAN of <vlanid>. You must specify the <macaddr>
parameter 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 addsrc all <macaddr> <vlanid>
Mode Global Config
2.14.4 show mac-address-table static
This command displays the Static MAC Filtering information for all Static MAC
Filters. If you select
<all>, all the Static MAC Filters in the system are displayed. If
you supply a value for
<macaddr>, you must also enter a value for <vlanid>, and the
system displays Static MAC Filter information only for that MAC address and VLAN.
Format
show mac-address-table static {<macaddr> <vlanid> | all}
Mode Privileged EXEC
MAC Address The MAC Address of the static MAC filter entry.
VLAN ID The VLAN ID of the static MAC filter entry.