Configuring a native VLAN on a trunk port

Ensure that reserved VLANs are not used.

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
    device(config)# 
  2. Enter the interface ethernet command to configure the interface mode.
    device(config)# interface ethernet 0/1
    
  3. Enter the switchport command to set the interface as switchport.
    device(conf-if-eth-0/1)# switchport
    
  4. Enter the switchport trunk native-vlan command to set native VLAN characteristics to access and specify a VLAN.
    device(conf-if-eth-0/1)# switchport trunk native-vlan 300
    

This example removes the configured native VLAN on the Ethernet interface.

device# configure terminal
device(config)# interface ethernet 0/1
device(conf-if-eth-0/1)# no switchport trunk native-vlan 300