VLAN Commands 479
switchport customer vlan
Use the switchport customer vlan interface configuration command set the port’s VLAN when the
interface is in customer mode. Use the no form of this command to revert to default.
Syntax
•
switchport customer vlan
vlan-id
• no switchport customer vlan
vlan-id — VLAN ID of the customer
Default Configuration
No VLAN is configured.
Command Mode
Interface configuration (Ethernet, port-channel) mode.
User Guidelines
There are no user Guidelines for this command.
Example
The following example sets the port's VLAN when the interface is in customer mode.
switchport protected
The switchport protected Interface Configuration mode command overrides the FDB (Forwarding
Database)decision, and sends all the Unicast, Multicast and Broadcast traffic to an uplink port. Use the
no form of this command to disable overriding the FDB decision.
Syntax
•
switchport protected
{
ethernet
port
|
port-channel
port-channel-number
}
• no switchport protected
•
port
— Specifies the uplink port (Ethernet port).
•
port-channel-number
— Specifies the uplink port (Port-channel).
Default Configuration
The default configuration is disabled.
Console(config)# interface ethernet 1/e5
Console(config-if)# switchport customer vlan
vlan-id
book.book Page 479 Thursday, December 18, 2008 7:40 PM