Configuration Guide User guide

914 FastIron Configuration Guide
53-1002494-02
MAC-based VLAN configuration
6. To remove and disable the MAC-based VLAN configuration.
Brocade(config)#interface e 0/1/1
Brocade(config-if-e1000-0/1/1)#no mac-auth mac-vlan
Configuring MAC-based VLAN for a dynamic host
Follow the steps given below to configure MAC-based VLAN for a dynamic host.
1. Enable multi-device port authentication globally using the following command.
Brocade(config)#mac-authentication enable
2. Add each port on which you want MAC-based VLAN enabled as mac-vlan-permit for a specific
VLAN.
Brocade(config)#vlan 10 by port
Brocade(config-vlan-10)#mac-vlan-permit ethernet 0/1/1 to 0/1/6
3. Enable MAC-based VLAN on the port.
Brocade(config)#interface e 0/1/1
Brocade(config-if-e1000-0/1/1)#mac-authentication mac-vlan enable
4. Disable MAC-based VLAN on the port.
Brocade(config)#interface e 0/1/1
Brocade(config-if-e1000-0/1/1)#mac-auth mac-vlan disable
5. Remove and disable the MAC-based VLAN configuration.
Brocade(config)#interface e 0/1/1
Brocade(config-if-e1000-0/1/1)#no mac-auth mac-vlan
Configuring dynamic MAC-based VLAN
To globally enable MAC-based VLAN globally (for all MAC-based VLAN ports), enter the following
commands.
Brocade(config)#mac-authentication enable
Brocade(config)#mac-authentication mac-vlan-dyn-activation
To configure Dynamic MAC-based VLAN to add a specific port to a specific VLAN, enter commands
similar to the following.
Brocade(config)#vlan 10
Brocade(config-vlan-10)#mac-vlan-permit e 0/1/35
Syntax: mac-vlan-permit ethernet <stack-unit/slotnum/portnum>
To disable Dynamic MAC-based VLAN, enter the following command.
Brocade(config)#no mac-authentication mac-vlan-dyn-activation
NOTE
If static Mac-Based VLAN is configured on a port, the port will be added only to the VLAN table for
which the static MAC-based VLAN configuration exists.