11-14-2007 07:10 AM - edited 03-05-2019 07:25 PM
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.
11-14-2007 03:26 PM
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.
11-15-2007 04:39 AM
THANK YOU
I will check it.
Danny.
11-14-2007 04:57 PM
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.
11-15-2007 04:41 AM
THANK YOU.
I will check it.
Is'nt ToS bits (3 bits) different from DSCP bits (8 bits)?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide