cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
870
Views
0
Helpful
4
Replies

How to keep ToS in a 2950/2955 switch

danny4569
Level 1
Level 1

Hi.

I have a device which sends voice over IP packets marked with ToS only (ToS=3).

All packets pass through a 2955 switch.

From the configuration guide i see that the switch supports only CoS and DSCP.

How can I forward the Voice packets and still keep the ToS field?

At the edge of my LAN I have a modem/router that can read only the ToS field and I am concerned that the modem wont be able to prefer the voice over the data.

4 Replies 4

colin.mccrory
Level 1
Level 1

Hi,

You can configure the switch port to trust a setting in the IP header (TOS or DSCP) using the following commands.

1. Under the interface, configure:

auto qos voip trust

This will setup switch for all relevant QOS settings. You will notice all the QOS settings now appear under the global config.

2. Go back under the interface and configure:

mls qos trust dscp.

3. Do this for all ports required making sure you also enable QOS on any uplinks.

Example:

!

interface FastEthernet0/2

mls qos trust dscp

auto qos voip trust

spanning-tree portfast

!

This will trust your TOS settings and present them to the router.

http://www.cisco.com/en/US/partner/docs/switches/lan/catalyst2950/software/release/12.1_22_ea2/configuration/guide/swqos.html

THANK YOU

I will check it.

Danny.

Pavel Bykov
Level 5
Level 5

Please understand: ToS is field in IP packet, and is now a DSCP.

Therefore (field wise) ToS = DSCP and on the switch you should allow TRUST DSCP, which will enable passing of ToS field unchanged.

Hope this helps.

THANK YOU.

I will check it.

Is'nt ToS bits (3 bits) different from DSCP bits (8 bits)?

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: