Three samples of trusting voip ip-precedence

From: Tom Young (gitsyoung@yahoo.co.jp)
Date: Thu Jul 08 2004 - 05:40:56 GMT-3


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



This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:11:49 GMT-3