Users Guide

Table Of Contents
ip ip-address reachablility vrf vrf-name
OS10(conf-track-200)#
OS10(conf-track-200)# ip 1.1.1.1 reachability vrf red
OS10(conf-track-200)#exit
3. Configure the route-map.
route-map route-map-name
OS10(config-route-map)#
OS10(config-route-map)# match ip address acl1
4. Set the track ID configured in step 1 to the route-map.
set ip vrf vrf-name nexy-hop next-hop-address track-id track-id-number
OS10(config-route-map)# set ip vrf red next-hop 1.1.1.1 track-id 200
5. Apply the route-map to the interface where traffic is ingressing on the VRF instance.
interface interface-type
ip policy route-map route-map-name
OS10(config)# interface vlan 40
OS10(conf-if-vl-40)#
OS10(conf-if-vl-40)# ip policy route-map test
OS10(conf-if-vl-40)# show configuration
!
NOTE:
Ensure you configure next-hop IP address tracking and PBR next-hop with the same VRF instance. For next-hop
reachability in the same VRF instance, you must configure both PBR per VRF and object tracking. Missing either the
next-hop IP address tracking or PBR next-hop configuration in a VRF instance results in an erroneous configuration.
However, the system does not display an error message indicating problems in the configuration.
Use PBR to permit and block specific traffic
This section explains how to permit specific traffic through an interface using PBR.
Configure the interface
1. Create a VLAN interface.
OS10(Config)# interface vlan999
2. Enable the interface.
OS10(Conf-if-999)# no shutdown
3. Enter an IP address to the interface.
OS10(Conf-if-999)# ip address 10.99.0.251/16
Define the PBR parameters
Create an ACL and define what should be enabled for PBR processing.
ip access-list TEST-ACL
seq 10 permit tcp any any eq 80
seq 20 permit tcp any any eq 443
seq 30 permit tcp any any eq 21
seq 40 permit icmp any any
Create an ACL and define what should be excluded from PBR processing.
ip access-list TEST-ACL-DENY
seq 10 permit tcp 10.99.0.0/16 10.0.0.0/8 eq 80
seq 20 permit tcp 10.99.0.0/16 10.0.0.0/8 eq 443
1006
Layer 3