Brocade Network OS Command Reference v4.1.0 User Manual
Page 1330

1292
Network OS Command Reference
53-1003115-01
switchport trunk native-vlan
2
switch(conf-if-te-178/0/9)# switchport trunk native-vlan 120
The following illustrates the use of the command in a Virtual Fabrics context:
•
Configure an interface as a switchport trunk and set the tagging of the native VLAN at the
interface level:
switch(config)# int te 2/0/1
switch(config-if-te-2/0/1)# switchport mode trunk
switch(config-if-te-2/0/1)# switchport trunk tag native-vlan
•
Change the native VLAN from the default of 1 to a classified VLAN (VLAN ID > 4095) and add
an optional C-TAG:
switch(config-if-te-2/0/1)# switchport trunk native-vlan 5000 ctag 50
•
Change the new native default VLAN to an 802.1Q VLAN (VLAN ID < 4096):
switch(config-if-te-2/0/1)# switchport trunk native-vlan 200
•
The interface must allow untagged packets for classified native VLANs without a C-TAG:
switch(config-if-te-2/0/1)# switchport trunk native-vlan 5000
%%Error: Cannot configure non-dot1q native-vlan without a ctag, when
native-vlan-tagging is enabled.
switch(config-if-te-2/0/1)# no switchport trunk tag native-vlan
switch(config-if-te-2/0/1)# switchport trunk native-vlan 5000
See Also
interface, transport-service, show vlan, switchport mode, switchport trunk allowed vlan
rspan-vlan, switchport trunk tag native-vlan