456 VLAN CommandsCommand ModeInterface Configuration (Ethernet, port-channel) mode.User Guidelines• This command has the following consequences: incoming untagged frames are assigned to this VLANand outgoing traffic in this VLAN on this port is sent untagged (despite the normal situation wheretraffic 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 the VLAN(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 removes VLANsfrom a general port.Syntax• switchport general allowed vlan add vlan-list [tagged | untagged]• switchport general allowed vlan remove vlan-list• add vlan-list — List of VLAN IDs to add. Separate non consecutive VLAN IDs with a comma andno spaces. A hyphen designates a range of IDs.• remove vlan-list — List of VLAN IDs to remove. Separate non consecutive VLAN IDs with acomma and no spaces. A hyphen designates a range of IDs.• tagged — Sets the port to transmit tagged packets for the VLANs. If the port is added to a VLANwithout specifying tagged or untagged the default is tagged.• untagged — Sets the port to transmit untagged packets for the VLANs.Default ConfigurationThis command has no default configuration.Command ModeInterface Configuration (Ethernet, port-channel) mode.Console (config)# interface ethernet g8Console (config-if)# switchport trunk native vlan 1235400_CLI.book Page 456 Wednesday, December 17, 2008 4:33 PM