December 2001
Intermediate to advanced
608 pages
25h 14m
English
ip policy route-map — interface
ip policy route-mapmapno ip policy route-mapmap
Policy routing
None
This command enables policy routing for an interface. In brief,
policy routing means using criteria other than the shortest path (as
computed by a routing protocol) for route selection. The
map parameter is the name of a route map
that specifies the routing policy. The map applies only to traffic
arriving on the interface.
The following configuration applies the route map
map1 to packets arriving on the
serial1 interface. This route map selects packets
that match access list 101 and sends them to the router at 10.1.1.1
for further routing, regardless of other information in the routing
table.
access-list 101 permit ip 10.1.5.0 0.0.0.255 any ! interface serial 1 ip policy route-map map1 ! route-map map1 match ip address 101 set ip next-hop 10.1.1.1
Read now
Unlock full access