OcNOS-SP : Layer 2 Guide : Layer 2 Configuration Guide : Disabling Native VLAN Configuration on Trunk mode : Configuring Disable-Native-VLAN on Trunk mode
Configuring Disable-Native-VLAN on Trunk mode
SW1
SW1(config)#interface xe21
Enter interface configuration mode for xe21
SW1(config-if)#switchport mode trunk disable-native-vlan
Configure disable native VLAN on trunk mode
SW1(config-if)#exit
Exit from interface mode
SW1(config)#commit
Commit the candidate configuration to the running configuration
 
Validation
After configuring disable-native-vlan, show vlan brief output we can see that xe21 interface is having port type as tagged (t).
SW1#show bridge
bridge 1 is running on mstp
Ageout time is global and if something is configured for vxlan then it will be a
ffected here also
Bridge CVLAN SVLAN BVLAN Port MAC Address FWD Time-out
---------+------+------+------+-----------+-----------------+-----+---------+
1 1 xe21 0010.9400.0001 1 300
 
SW1SW1#show vlan brief
Bridge VLAN ID Name State H/W Status Member ports
(u)-Untagged, (t)-Tagged
======= ======= ================ ======= ========== ==========================
1 1 default ACTIVE Success xe21(t) xe6(u)
1 2 VLAN0002 ACTIVE Success xe21(t) xe6(t)
1 3 VLAN0003 ACTIVE Success xe21(t) xe6(t)
1 4 VLAN0004 ACTIVE Success xe21(t) xe6(t)
1 5 VLAN0005 ACTIVE Success xe21(t) xe6(t)
1 6 VLAN0006 ACTIVE Success xe21(t) xe6(t)
1 7 VLAN0007 ACTIVE Success xe21(t) xe6(t)
1 8 VLAN0008 ACTIVE Success xe21(t) xe6(t)
1 9 VLAN0009 ACTIVE Success xe21(t) xe6(t)
1 10 VLAN0010 ACTIVE Success xe21(t) xe6(t)
 
SW1#show interface counters rate mbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx mbps | Rx pps | Tx mbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
Xe21 864.88 844613 0.00 0
Xe6 0.00 0 0.00 0
 
SW1#show interface counters drop-stats
Interface xe21
Rx Policy Discards: 454522965
Rx EGR Port Unavail: 454522967
Last modified date: 10/12/2023