From: Ahmed Ossama (ahmed_ossama@rayatelecom.net)
Date: Thu Sep 15 2005 - 07:31:23 GMT-3
Dear All,
I am confused about some quality of service principles.
1st If I want to give ICMP traffic the higher priority ( for example), I
have 3550 switch, the ingress port is fast 0/2 and the egress port fast
0/1.
Shall I match the input packets with policy map then set the cos to 5
then using  wrr-queue bandwidth 1 30 30 30, wrr-queue cos-map 1 5
Configuration will be as follow:
interface FastEthernet0/1
 switchport access vlan 3
 switchport mode access
 no ip address
 wrr-queue bandwidth 1 30 30 30
 wrr-queue cos-map 1 5
 wrr-queue cos-map 2 1 2
 wrr-queue cos-map 3 0 3 4 6
 wrr-queue cos-map 4 7
 spanning-tree portfast
!
interface FastEthernet0/2
 switchport access vlan 3
 switchport mode access
 no ip address
 service-policy input cos
end
!
Switch#sh policy-map cos
 Policy Map cos
  class  cos
   set cos 5
Or I must use a dscp -to-cos map and at the ingress set a dscp values as
shown:
interface FastEthernet0/2
 switchport access vlan 3
 switchport mode access
 no ip address
 service-policy input cos
!
Switch#show policy-map cos
 Policy Map cos
  class  cos
   set ip dscp 5
!
mls qos map dscp-cos 45 to 5
Or the two solutions are valid.
Thanks ,
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:15 GMT-3