From: Scott Morris (swm@emanon.com)
Date: Thu Jul 15 2004 - 12:10:20 GMT-3
I think that using the 'mls qos' command set would be a MUCH more sane way
of handling the situation. Look at the override features here and you'll
find a quicker way to reset things.
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, CISSP,
JNCIP, et al.
IPExpert CCIE Program Manager
IPExpert Sr. Technical Instructor
swm@emanon.com/smorris@ipexpert.net
http://www.ipexpert.net
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Harald Mayr
Sent: Thursday, July 15, 2004 7:14 AM
To: GroupStudy
Subject: QoS: Setting CoS on dot1Q Trunk to IP-Phone
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