CEF doesn't have the AS Path, since the routing table doesn't have the AS Path--the as path filters in a route map are only designed for use with filtering BGP updates, not for use in policy based routing. Using PBR, the only things you can filter on are what you see when you do a show ip route, basically.
But, I'm curious why you don't just set the local preference on the routes learned across vlan1 so they are always preferred over the routes learned from other vlans? The only real reason to use policy based routing is if you can't route the traffic correctly using just the destination address. It sounds like you can do this routing with just the destination address?
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...