From: Harald Mayr (haraldmayr@yahoo.de)
Date: Thu Jul 15 2004 - 08:14:22 GMT-3
Hello Group,
I have a 3550 here running a 12.1(19)EA1a image. I want to configure one
of its FastEthernet ports as a dot1Q trunk towards an IP Phone.
There should be separate VLANs for Voice and Data traffic.
What I want to do now is to assign CoS value of 1 to the Voice traffic.
The solution I tried on an access port (access-list, match within a
class-map, set the CoS value in a policy map and apply it to the
interface) won't work here. What I get is an error message like this:
Cat2(config-if)#service-policy in VOICE
QoS: match class-map must follow match vlan in class-map VOICE.
QoS: Policy map VOICE failed vlan check
Service Policy attachment failed
Cat2(config-if)#
03:27:23: %QM-4-MATCH_NOT_SUPPORTED: Match type is not supported in
classmap VOICE
What I can configure, however, is this:
!
mls qos
!
class-map match-all MATCHIP
match access-group 100
class-map match-all VOICE
match vlan 666
match class-map MATCHIP
!
policy-map VOICE
class VOICE
set cos 1
!
interface FastEthernet0/7
switchport access vlan 2
switchport trunk encapsulation dot1q
switchport trunk native vlan 2
switchport trunk allowed vlan 2,666,1002-1005
switchport mode trunk
switchport voice vlan 666
no ip address
service-policy input VOICE
spanning-tree portfast trunk
!
access-list 100 permit ip any any
!
Would this be an acceptable solution? Do I have to set "mls qos trust
cos" on the Interface?
Any help is appreciated!
kind regards,
Harald
This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:11:56 GMT-3