VLAN Commands

Default Configuration

If the port is added to a VLAN without specifying tagged or untagged, the default setting is tagged.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

This command enables changing the egress rule (for example from tagged to untagged) without first removing the VLAN from the list.

Example

The following example adds VLANs 2, 5, and 6 to the allowed list of Ethernet port 1.

Console(config)# interface ethernet ext.1

Console(config-if)#switchport general allowed vlan add 2,5-6tagged

switchport general pvid

The switchport general pvid Interface Configuration mode command configures the PVID when the interface is in general mode. To return to the default configuration, use the no form of this command.

Syntax

switchport general pvid vlan-idno switchport general pvid

Parameters

vlan-id— Specifies the PVID (Port VLAN ID).

Default Configuration

If the default VLAN is enabled, PVID = 1. Otherwise, PVID=4095.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

364Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

Page 380
Image 380
Intel SBCEGBESW10 CLI manual Switchport general pvid, Vlan-id- Specifies the Pvid Port Vlan ID