Configuring vlan-based static mac entries, Enabling port-based vlans, Configuring vlan-based – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 293: Static mac entries, Command syntax
Brocade TurboIron 24X Series Configuration Guide
259
53-1003053-01
Configuring VLAN-based static MAC entries
Syntax: [no] static-mac-address <mac-addr> ethernet <portnum> ethernet <portnum> ethernet
<portnum> …. [priority <num>]
or
Syntax: [no] static-mac-address <mac-addr> ethernet<portnum> to ethernet <portnum> [priority
<num>]
The <portnum> parameter is a valid port number.
The priority <num> is optional and can be a value from 0 – 7 (0 is lowest priority and 7 is highest
priority). The default priority is 0.
NOTE
The location of the static-mac-address command in the CLI depends on whether you configure
port-based VLANs on the device. If the device does not have more than one port-based VLAN (VLAN
1, which is the default VLAN that contains all the ports), the static-mac-address command is at the
global CONFIG level of the CLI. If the device has more than one port-based VLAN, then the
static-mac-address command is not available at the global CONFIG level. In this case, the command
is available at the configuration level for each port-based VLAN.
Configuring VLAN-based static MAC entries
You can configure a VLAN to drop packets that have a particular source or destination MAC
address.
You can configure a maximum of 2048 static MAC address drop entries on a device.
Use the CLI command show running-config to view the static MAC address drop entries currently
configured on the device.
Command syntax
To configure a VLAN to drop packets with a source or destination MAC address of 0000.0063.67FF,
enter the following commands.
TurboIron(config)#vlan 2
TurboIron(config-vlan-2)#static-mac-address 0000.0063.67FF drop
Syntax: [no] static-mac-address <mac-addr> drop
Use the no form of the command to remove the static MAC address drop configuration.
Enabling port-based VLANs
When using the CLI, port and protocol-based VLANs are created by entering one of the following
commands at the global CONFIG level of the CLI.
To create a port-based VLAN, enter commands such as the following.
TurboIron(config)#vlan 222 by port
TurboIron(config)#vlan 222 name Mktg
Syntax: vlan <num> by port
Syntax: vlan <num> name <string>