644 Configuring Access Control Lists
PBR is to route non-matching traffic or traffic which is addressed to a non-
connected interface normally.
2
Create a route-map and add match/set rules to the route-map:
route-map Redirect_to_3_3_3_3 permit 100
match ip address Match-ip-1_1_1_2-to-2_2_2_2
set ip next-hop 3.3.3.3
exit
3
Assign the route-map to VLAN routing interface 10:
interface vlan 10
ip policy route-map Redirect_to_3_3_3_3
exit
Traffic matching ACL
Match-ip-1_1_1_2-to-2_2_2_2
is now policy-routed to
VLAN interface 30 when an interface in VLAN 30 is connected via policy
Redirect_to_3_3_3_3
. Counters are incremented in the “show route-map”
command indicating that traffic is being policy routed.
console(config)#show route-map Redirect_to_3_3_3_3
route-map "Redirect_to_3_3_3_3" permit 10
Match clauses:
ip address (access-lists) : match-subnet-1_1_1_X
Set clauses:
ip next-hop 3.3.3.3
Policy routing matches: 19922869 packets, 1275063872 bytes