beautypg.com

Switchport trunk native vlan, Switchport general allowed vlan – Allied Telesis AT-S95 CLI (AT-8000GS Series) User Manual

Page 350

background image

Page 350

Allied Telesis
AT-8000GS Command Line Interface User’s Guide

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 Ethernet port 1/g16.

switchport trunk native vlan

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

Syntax

switchport trunk native vlan vlan-id

no switchport trunk native vlan

Parameters

vlan-id— Specifies the ID of the native VLAN.

Default Configuration

VID=1.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

The command adds the port as a member in the VLAN. If the port is already a member in the VLAN (not as a
native), it should be first removed from the VLAN.

Example

The following example configures VLAN number 123 as the native VLAN when Ethernet port 1/g16 is in trunk
mode.

switchport general allowed vlan

The switchport general allowed vlan Interface Configuration mode command adds or removes VLANs from a
general port.

Syntax

switchport general allowed vlan add vlan-list [tagged | untagged]

switchport general allowed vlan remove vlan-list

console(config)# interface ethernet 1/g16

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

console(config)# interface ethernet 1/g16

console(config-if)# switchport trunk native vlan 123