OcNOS-SP : Layer 2 Guide : Layer 2 Configuration Guide : Disabling Native VLAN Configuration : Configuring acceptable-frame-type vlan-tagged on ingress interface
Configuring acceptable-frame-type vlan-tagged on ingress interface
SW1
 
SW1(config)#interface xe21
Enter interface configuration mode for xe21
SW1(config-if)# switchport mode hybrid acceptable-frame-type vlan-tagged
Configure acceptable-frame-type vlan-tagged
SW1(config-if)#exit
Exit from interface mode
SW1(config)#commit
Commit the candidate configuration to the running configuration
 
Validation
After configuring acceptable-frame-type vlan-tagged, In the show bridge o/p we can see that un-tagged traffic is dropped (.0003 mac entry is not present), and traffic also getting dropped for that specific stream.
Now on show vlan brief output we can see that xe21 interface is having port type as tagged (t).
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#sh int counters rate mbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx mbps | Rx pps | Tx mbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
ce53 0.00 0 0.00 0
xe6 0.00 0 1971.13 164480
xe8 0.00 0 0.00 0
xe9 0.00 0 0.00 0
xe21 2960.64 246720 0.00 0
 
SW1#sh vlan brief
Bridge VLAN ID Name State H/W Status Member ports
(u)-Untagged, (t)-Tagged
======= ======= ================ ======= ========== ==========================
1 1 default ACTIVE Success xe6(u) xe21(t)
1 2 VLAN0002 ACTIVE Success xe6(t) xe21(t)
1 3 VLAN0003 ACTIVE Success xe6(t) xe21(t)
1 4 VLAN0004 ACTIVE Success xe6(t) xe21(t)
1 5 VLAN0005 ACTIVE Success xe6(t) xe21(t)
1 6 VLAN0006 ACTIVE Success xe6(t) xe21(t)
1 7 VLAN0007 ACTIVE Success xe6(t) xe21(t)
1 8 VLAN0008 ACTIVE Success xe6(t) xe21(t)
1 9 VLAN0009 ACTIVE Success xe6(t) xe21(t)
1 10 VLAN0010 ACTIVE Success xe6(t) xe21(t)
Last modified date: 10/12/2023