Specifications

Table Of Contents
set vrf
MP-423
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Examples The following example shows a route-map sequence that selects and sets a VRF based on match criteria
defined in three different access lists. (The access list configuration is not shown in this example.) If the
route map falls through and a match does not occur, the packet will be dropped if the destination is local.
route-map PBR-VRF-Selection permit 10
match ip address 40
set vrf VRF1
!
route-map PBR-VRF-Selection permit 20
match ip address 50
set vrf VRF2
!
route-map PBR-VRF-Selection permit 30
match ip address 60
set vrf VRF3
Related Commands Command Description
access-list (IP standard) Defines a standard IP access list.
debug ip policy Displays IP policy routing packet activity.
ip policy route-map Identifies a route map to use for policy routing on an interface.
ip vrf Configures a VRF routing table.
ip vrf receive Inserts the IP address of an interface as a connected route entry in a
V
RF routing table.
match ip address Distributes any routes that have a destination network number
ad
dress that is permitted by a standard or extended access list, or
performs policy routing on packets.
match length Bases policy routing on the Level 3 length of a packet.
route-map Defines the conditions for redistributing routes from one routing
pr
otocol into another, or enables policy routing.
set default interface Indicates where to output packets that p
ass a match clause of a route
map for policy routing and have no explicit route to the destination.
set interface Indicates where to forward packets that p
ass a match clause of a route
map for policy routing.
set ip default next-hop Indicates where to output packets that p
ass a match clause of a route
map for policy routing and for which the Cisco IOS software has no
e
xplicit route to a destination.
set ip next-hop Indicates where to output packets that p
ass a match clause of a route
map for policy routing.