344 VLAN Commandsw w w . d e l l . c o m | s u p p o r t . d e l l . c o m ExampleThe following example shows how to add VLANs 2 and 5 to 8 to the allowed list of g8.switchport trunk native vlanThe switchport trunk native vlan Interface Configuration mode command defines the port as amember of the specified VLAN, and the VLAN ID as the "port default VLAN ID (PVID)". Toconfigure the default VLAN ID, use the no form of this command.Syntaxswitchport trunk native vlan vlan-idno switchport trunk native vlan• vlan-id—Valid VLAN ID of the native VLAN.Default ConfigurationIf default VLAN is enabled, then the VID=1, otherwise VID = 4095.Command ModeInterface Configuration (Ethernet, port-channel) modeUser Guidelines• This command has the following consequences: incoming untagged frames are assigned tothis VLAN and outgoing traffic in this VLAN on this port is sent untagged (despite thenormal situation where traffic sent from a trunk-mode port is all tagged).• The command adds the port as a member in the VLAN. If the port is already a member in theVLAN (not as a native), it should be first removed from the VLAN.ExampleThe following example g8, in trunk mode, is configured to use VLAN number 123 as the "native"VLAN.switchport general allowed vlanThe switchport general allowed vlan Interface Configuration mode command adds or removesVLANs from a general port.Console (config)# interface ethernet g8Console (config-if)# switchport trunk allowed vlan add 2,5-8Console (config)# interface ethernet g8Console (config-if)# switchport trunk native vlan 123