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
---------+------+------+------+-----------+-----------------+-----+---------+
SW1#sh vlan brief
bridge 1 is running on rstp vlan-bridge
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 0000.0000.0001 1 300
1 5 xe21 0000.0000.0005 1 300
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 ce2/2
Rx Policy Discards: 454522965
Rx EGR Port Unavail: 454522967
Last modified date: 07-13-2023