cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
680
Views
12
Helpful
5
Replies

CoS on Serial interface - 1841

Benjamin Waldon
Level 1
Level 1

Hello,

I have a question.

We recently deployed a solution that involves VoIP. The VoIP isn't a cisco solution, but we are using a Cisco 1841. We are configuring QoS on the router. ISP says that we need to tag voice traffic with Class of Service 4.

This is my policy map:

policy-map voice_cos

class voice_cos

set cos 4

priority percent 60

However, when I went to apply the service-policy output voice_cos command to the serial interface, it said this:

Router(config-if)#service-policy output voice_cos

Process 'set' action associated with class-map voice_cos failed:

Set cos supported only with IEEE 802.1Q/ISL interfaces

So, my question is, can I not set a CoS on a serial interface?

It's my understanding that I need to set CoS on the serial interface so that routers later down the line knows to prioritize the traffic. I know that there are other ways of marking traffic - such as DSCP, but the ISP specifically said that it should have Class of Service 4.

Any suggestions or feedback would be appreciated.

I attached the config. 192.168.2.240 is my internal VOIP PBX. The pbx is hybrid. Internal phones talk to it trough traditional lines. It talks to ISP through VoIP.

Thanks,

Ben

5 Replies 5

Lucien Avramov
Level 10
Level 10

You can not set CoS on a ppp serial interface.

Check this document:

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/mlppp_over_serial_ps6350_TSD_Products_Configuration_Guide_Chapter.html

You could however set the CoS on the switchports, so outgoing traffic to the serial interface will have a cos value already.

Thanks, That is helpful.

But, it won't take the :service-policy inbound voice_cos" command on the fa port.

I just reread you comment, maybe your suggesting on the switch itself? I guess that would work too. Thanks.

"But, it won't take the :service-policy inbound voice_cos" command on the fa port. "

It won't if the policy contains queuing configuration commands, e.g. priority, bandwidth. Inbound policies are more restricted in their support of command configuration.

Joseph W. Doherty
Hall of Fame
Hall of Fame

"It's my understanding that I need to set CoS on the serial interface so that routers later down the line knows to prioritize the traffic. I know that there are other ways of marking traffic - such as DSCP, but the ISP specifically said that it should have Class of Service 4."

It would be best to confirm what your ISP meant by a "Class of Service 4" marking. They might have meant a DSCP class selector 4 (DSCP CS4) or an IP Precedence 4 marking. (They might have also meant a particular "class of service" within their QoS framework, which might use a marking, usually DSCP, unique to it.) Both DSCP CS4 and IP Prec 4 are L3 IP header markings.

As the error message indicates, "Set cos supported only with IEEE 802.1Q/ISL interfaces ", the cos your attempting to use only exists in L2 Ethernet frames with VLAN tags.

PS:

If you are in fact dealing with a vendor class of services, you should find out from the vendor what all it does. For instance how much bandwidth is guaranteed per class and what happens if you oversubscribe the class bandwidth, etc.

This is really helpful. Thanks

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card