Configuration Guide User guide
908 FastIron Configuration Guide
53-1002494-02
Dynamic MAC-based VLAN
Dynamic MAC-based VLAN configuration example
The following example shows a MAC-based VLAN configuration.
Brocade#show run
Current configuration:
ver 04.0.00b122T7e1
fan-threshold mp speed-3 35 100
module 1 fls-24-port-copper-base-module
module 4 fls-xfp-1-port-10g-module
vlan 1 by port
untagged ethe 0/1/10
mac-vlan-permit ethe 0/1/1 to 0/1/3
no spanning-tree
vlan 2 by port
untagged ethe 0/1/24
mac-vlan-permit ethe 0/1/1 to 0/1/3
no spanning-tree
vlan 222 name RESTRICTED_MBV by port
untagged ethe 0/1/4
mac-vlan-permit ethe 0/1/1 to 0/1/3
vlan 666 name RESTRICTED_MAC_AUTH by port
untagged ethe 0/1/20
mac-vlan-permit ethe 0/1/1 to 0/1/3
spanning-tree 802-1w
vlan 4000 name DEFAULT-VLAN by port
vlan 4004 by port
mac-auth mac-vlan max-mac-entries
<num of entries>
The maximum number of allowed and denied
MAC addresses (static and dynamic) that can be
learned on a port. The default is 2.
interface
mac-auth mac-vlan <mac-addr>
vlan <vlan id> priority <0-7>
Adds a static MAC-VLAN mapping to the
MAC-based VLAN table (for static hosts)
interface
clear table-mac-vlan Clears the contents of the authenticated MAC
address table
global
clear table-mac-vlan ethernet <port> Clears all MAC-based VLAN mapping on a port global
show table-mac-vlan Displays information about allowed and denied
MAC addresses on ports with MAC-based VLAN
enabled.
global
show table-mac-vlan allowed-mac Displays MAC addresses that have been
successfully authenticated
global
show table-mac-vlan denied-mac Displays MAC addresses for which
authentication failed
global
show table-mac-vlan detailed Displays detailed MAC-VLAN settings and
classified MAC addresses for a port with the
feature enabled
global
show table-mac-vlan <mac-address> Displays status and details for a specific MAC
address
global
show table-mac-vlan ethernet <port> Displays all MAC addresses allowed or denied
on a specific port
global
TABLE 155 CLI commands for MAC-based VLANs (Continued)
CLI command Description CLI level