2 configuration commands, 1 macfilter, 2 macfilter addsrc – Fortinet 548B User Manual

Page 319

Advertising
background image

- 319 -

Default Setting

None

Command Mode

Privileged Exec

Display Message

MAC Address: Is the MAC Address of the static MAC filter entry.

VLAN ID: Is the VLAN ID of the static MAC filter entry.

Source Port(s): Indicates the source port filter set's slot and port(s).

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.

Advertising