[c-nsp] PBR on a VRF interface?

Brandon Price brandon at sterling.net
Mon Jan 26 15:32:51 EST 2009


Just trying to setup a simple next hop PBR on an interface in a VRF and I get the following output:

% Policy Based Routing is NOT supported for VRF interfaces
% IP-Policy can be used ONLY for marking (set/clear DF bit) on VRF interfaces

Is this a version of code problem I'm having?

IOS (tm) 7200 Software (C7200-IS-M), Version 12.2(40), RELEASE SOFTWARE (fc1)
c7200-is-mz.122-40.bin


What gives?


Router#show route-map CUSTA2
route-map CUSTA2, permit, sequence 10
  Match clauses:
    ip address (access-lists): 191 
  Set clauses:
    ip next-hop 172.16.1.194
  Policy routing matches: 0 packets, 0 bytes


Router#show access-list 191
Extended IP access list 191
    permit ip 10.1.1.0 0.0.0.255 10.28.2.0 0.0.0.255
Router#


Router#show run int gi4/0.37
Building configuration...

Current configuration : 130 bytes
!
interface GigabitEthernet4/0.37
 encapsulation dot1Q 37
 ip vrf forwarding CUSTA
 ip address 172.16.1.198 255.255.255.252
end

Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet4/0.37
Router(config-subif)#ip policy route-map CUSTA2
% Policy Based Routing is NOT supported for VRF interfaces
% IP-Policy can be used ONLY for marking (set/clear DF bit) on VRF interfaces
Router(config-subif)#end
Router#




Brandon Price
Network Engineer  |  Sterling Communications, Inc.
503.968.8908 x248 | 503.270.5285 fax | www.sterling.net
Voice | Internet | Fax | CoLocation
Learn more | www.sterling.net/video




More information about the cisco-nsp mailing list