Command Line Interface
864 1553-KDU 137 365 Uen D 2006-06-16
Example
The following example shows how to prevent port 1 from being added to
VLAN 3:
7.17.12 mac-address
This command configures the MAC address of a VLAN. Use the no form to reset
the MAC address to the default setting.
Syntax
mac-address <mac-address>
no mac-address
• mac-address - MAC address of the selected VLAN.
(Format examples: 00-01-02-03-0d-0e or 000102030d0e)
Default Setting
MAC address of the ECN330-switch.
Command Mode
Interface Configuration (VLAN)
Command Usage
• It may be necessary to configure a unique MAC address for a VLAN to
ensure proper operation of service provider applications, or to simplify
troubleshooting.
• After configuring a MAC address for a VLAN, all Layer 3 traffic
originating from this VLAN will use the specified MAC address.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#