A SERVICE OF

logo

C122-E003-02EN 8-77
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
Resets this setting for a member of the native vlan to the default value
(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
Resets the native vlan id of a port-channel port to the default value
(6) Error Messages
% Incomplete command.
Cause: Incomplete command input
Action: Enter the command string correctly.
switchport native vlan <vlan-id>
no switchport native vlan
Switch(config-if)# switchport native vlan 3
Switch(config-if)#
Switch(config)# interface port-channel 1
Switch(config-if)# no switchport native vlan
Switch(config-if)#