QTECH(config-if-ethernet-0/0/1)#switchport trunk allowed vlan 3,4,70-150
2.1.18 switchport trunk native vlan
Use switchport trunk native vlan command to configure the default vlan-id (pvid)
of trunk port. Use no switchport trunk native vlan command to restore the default
vlan-id.
switchport trunk native vlan vlan-id
no switchport trunk native
【Parameter】
vlan-id ranges from 1 to 4094
【Default】
Default vlan-id is 1
【Command configuration mode】
Interface configuration mode
【Usage】
Only trunk port can use this command, errors may occur when using this
2-23