Hi, We use "ip local policy route-map xyz" to apply a route-map to traffic that is originated locally on the router. The route-map is like any normal one with a match statement (using ACL), then a set statement.
regards, Tony. >________________________________ > From: Anton Kapela <[email protected]> >To: Ivan <[email protected]> >Cc: cisco-nsp <[email protected]> >Sent: Tuesday, 25 September 2012 10:07 PM >Subject: Re: [c-nsp] QoS and Router Originated Traffic > >Kind of out-dated, but useful reading: > >http://www.cisco.com/en/US/tech/tk543/tk544/technologies_tech_note09186a0080094612.shtml > >-Tk > >On Sep 17, 2012, at 5:21 AM, Ivan <[email protected]> wrote: > >> Hi, >> >> I have a requirement to ensure all traffic across certain links have >> particular CoS markings. Applying QoS polices on the links works but >> doesn't capture router originated traffic - BGP, ARP, IPv6 ND etc. >> >> As a potential solution I have tested using IPv4 and IPv6 PBR to force >> router traffic via lo0 >> >> route-map LP permit 10 >> set interface Loopback0 >> >> ip local policy route-map LP >> ipv6 local policy route-map LP >> >> and have set a QoS policy on lo0 >> >> interface Loopback0 >> service-policy input LOOP0-IN >> >> this sets a qos-group which is matched the outgoing non-loopback interface >> and sets CoS as required. >> >> As far as I can tell it works pretty well but I have a few questions >> >> 1) I don't think this works for ARP. I tried to match protocol arp using >> the loopback0 policy but >> >> router(config-if)#service-policy input LOOP0-IN >> 'match protocol arp' is not supported on input service-policy >> >> is there anyway to set the CoS value for ARP traffic from the router, >> ideally only on some interfaces? >> >> 2) Is this configuration going to kill my router - maybe I am forcing some >> process switching? >> >> Thanks >> >> Ivan > _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
