set ip precedence

From: sarwats@rogers.com
Date: Sat Dec 20 2003 - 20:25:49 GMT-3


In an exercise I needed to Configure Hub (router-a) in such a way if it receives any packets from its network back, it should send to spoke (router-b) with IP precedence of 5 but not to the other spoke (router-c).

I used CBWFQ using following command
router-a(config)#ip cef

router-a(config)#class-map CLASS1
        (config-cmap)#match access-group 100
        (config)#policy-map MYPOLICY
        (config-pmap)#class CLASS1
        (config-pmap-c)#set ip precedence 5
        (config)#access-list 100 permit ip 10.10.10.0 0.0.0.255 any
        (config)#map-class frame-relay FRAME-CLASS
        (config-map-class)#service-policy output MYPOLICY
        
        (config)#interface serial 0
          (config-if)#frame-relay traffic-shaping
          (config-if)#frame-relay interface-dlci 111 (connecting to router-b)
              (config-fr-dlci)#class FRAME-CLASS

Please advise if I am doing this properly or any other better solution is available.
Thanks
Sarwat



This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:43 GMT-3