VLAN Commands

Parameters

add vlan-list— List of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.

remove vlan-list— List of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.

Default Configuration

This command has no default configuration.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

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

Console(config)# interface ethernet ext.1

console(config-if)#switchport trunk allowed vlan add 1-2,5-6

switchport trunk native vlan

The switchport trunk native vlan Interface Configuration mode command defines the native VLAN when the interface is in trunk mode. To return to the default configuration, use the no form of this command.

Syntax

switchport trunk native vlan vlan-idno switchport trunk native vlan

Parameters

vlan-id Specifies the ID of the native VLAN.

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

Page 378
Image 378
Intel SBCEGBESW10 CLI manual Switchport trunk native vlan, Vlan-id- Specifies the ID of the native Vlan