The Adtran community holiday season is starting next week! The holiday period will span from December 21, 2024 to January 6, 2025. During this time, responses to feedback form submissions may be delayed. If you are encountering product issues, you can reach out to Adtran support at any time.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

"Cannot add 'match vlan 2' to a map applied to a non VLAN interface."

Consider a 3120 router with

switchport 0/1 = default and used for computers. and

switchport 0/2 = vlan2. Only VOIP phones are on vlan2 . I wish to establish QOS by vlan tag not DSCP value.

In the GUI, I try changing a QOS map from DSCP packet matching to VLAN ID " I get the above error in the title of this post.

This is what I'm trying to do. Is this config valid?

interface eth 0/1

! Comcast upload speed

  traffic-shape rate 10000000

qos policy out VOIP

qos map  VOIP 10

! Only phones on vlan 2

  match vlan 2

  priority unlimited

interface switchport 0/1

  no shutdown

!

interface switchport 0/5

  no shutdown

  switchport access vlan 2

  switchport voice vlan 2

Tags (4)
0 Kudos
1 Reply
Anonymous
Not applicable

Re: "Cannot add 'match vlan 2' to a map applied to a non VLAN interface."

Thanks for posting your question on the forum! I moved your question to the NetVanta 3100 discussion space so that other users looking for help could view it as well.

What you are trying to do is valid, but since ethernet 0/1 is a layer 3 IP interface, it is unable to match by VLAN. The best way to accomplish this is to create an inbound QoS map and apply it to VLAN 2. In this QoS map you would tag the VLAN 2 traffic with a DSCP value. Then you would match that DSCP value on the QoS map you have assigned to your WAN interface.

You can find a similar example in this guide: Configuring QoS in AOS‌ Specifically, you will want to look at example #4.

Let us know if you have any questions.

Thanks,

Noor