RE: cos field in the frame

From: Braychuck Vitaliy (Vitaliy.Braychuck@incom.ua)
Date: Thu Feb 05 2009 - 05:45:24 ARST


Hi, Sadiq.

        Fa0/0 gi1/0/2 gig1/0/23
[router2]------------------[switch2]--------------------[bsd-box]
        .2 173.1.0.0/24 .254

On router2:

Rack1R2#sh run | s ip sla
ip sla monitor 20
 type jitter dest-ipaddr 173.1.0.254 dest-port 2542 source-ipaddr 173.1.0.2 source-port 2222 control disable num-packets 1
 timeout 0
 frequency 3
ip sla monitor schedule 20 life forever start-time now

Rack1R2#sh run class-map
!
class-map match-all SLA2
 match access-group name SLA2
!
end

Rack1R2#sh run policy-map
!
policy-map T1
class SLA2
  set cos 4
!
End

Rack1R2#sh ip access-lists SLA2
Extended IP access list SLA2
    10 permit udp host 173.1.0.2 eq 2222 host 173.1.0.254 eq 2542 (23290 matches)

Rack1R2#sh policy-map interface fa0/0.126
 FastEthernet0/0.126

  Service-policy output: T1

    Class-map: SLA2 (match-all)
      19816 packets, 1545648 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group name SLA2
      QoS Set
        cos 4
          Packets marked 19816

    Class-map: class-default (match-any)
      6076 packets, 593956 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any

On the switch (as I said before mls qos is enabled globally):

Rack1SW2#sh run interf gig1/0/2
!
interface GigabitEthernet1/0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 mls qos trust cos
 spanning-tree portfast
end

Kindly,
Vitalii Braichuk

---

From: Sadiq Yakasai [mailto:sadiqtanko@gmail.com] Sent: Wednesday, February 04, 2009 6:31 PM To: bRAJ^UK wITALIJ Cc: ccielab@groupstudy.com Subject: Re: cos field in the frame

How about some config on the switch and router? How do you know you are sending frames from the router with a cos of 4?

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:10 ARST