From: Bob Sinclair (bsinclair@netmasterclass.net)
Date: Thu Jul 08 2004 - 10:11:12 GMT-3
Tom,
I don't think sample 1 will do what you want. The auto qos voip trust
command trusts CoS, not IP Precedence. It also changes the CoS-DSCP map to
map CoS 3 to DSCP 26 (AF31) and CoS 5 to DSCP 46 (EF). In addition it sets
up a priority queue and changes the wrr-queue cos-map on the port. Lots of
stuff that helps voice, but not related directly to IP Precedence.
Sample 2 looks like the simplest and most direct way to do what you want.
Remember to enable mls qos globally.
BTW, it seems strange to enable voice vlan on an uplink (gig) port. Can you
say more about how that fits in to your needs? I thought it was intended
for access ports connected to an IP phone.
HTH,
Bob Sinclair
CCIE #10427, CISSP, MCSE
www.netmasterclass.net
----- Original Message -----
From: "Tom Young" <gitsyoung@yahoo.co.jp>
To: <ccielab@groupstudy.com>
Sent: Thursday, July 08, 2004 4:40 AM
Subject: Three samples of trusting voip ip-precedence
> Hi, group
>
> I config the voice vlan , and want the voice interface
> trust the ip-precendece setting of incoming voip packet.
> There are three sample I worte below, how about the
> difference between them? Which one is the best solution ?
>
> Thanks alot
>
> sample 1
> Switch(config)# interface gigabitethernet0/1
> Switch(config-if)# auto qos voip trust
>
> sample 2
> Switch(config)# interface gigabitethernet0/1
> Switch(config-if)# mls qos trust ip-precedence
>
> sample 3
> Switch(config)# policy-map policy1
> Switch(config-pmap)# class class1 <---class1 was
> defined as internal ip segment.
> Switch(config-pmap-c)# trust ip-precedence
> Switch(config)# interface gigabitethernet0/1
> Switch(config)# policy-map input policy1
>
>
> __________________________________________________
> Do You Yahoo!?
> http://bb.yahoo.co.jp/
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:11:49 GMT-3