GSWB 8.2 Configuration Definition Commands

(1)Synopsis

Specifies the VLAN ID for receiving traffic without tags for operation of an interface in VLAN Trunk mode

switchport native vlan <vlan-id>

Resets this setting for a member of the native vlan to the default value no switchport native vlan

(2)Options

z<vlan-id>

Specifies the native vlan id of the VLAN to be allocated to traffic without tags when the interface is in 802.1Q VLAN Trunk mode.

(3)Command mode

Interface

(4)See also switchport mode

switchport allowed vlan

(5)Examples

Sets the native vlan id of a port in Trunk mode to VLAN3

Switch(config-if)# switchport native vlan 3

Switch(config-if)#

• Resets the native vlan id of a port-channel port to the default value

Switch(config)# interface port-channel 1

Switch(config-if)# no switchport native vlan

Switch(config-if)#

(6)Error Messages

% Incomplete command.

Cause: Incomplete command input

Action: Enter the command string correctly.

C122-E003-02EN

8-77