cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3150
Views
15
Helpful
5
Replies

can not set route-map on interface vlan in non default vrf on 3750

Denis Reshetov
Level 1
Level 1

Can not set route map on interface vlan. which in non default vrf on Cisco 3750.

IOS c3750-ipservicesk9-mz.122-55.SE.bin

sdm prefer route in enable

ip vrf users
rd 200:0
route-target export 200:0
route-target import 200:0

interface Vlan201
description Users 1
ip vrf forwarding users
ip address 10.31.76.1 255.255.252.0
ip helper-address 10.31.4.57

route-map fromuser permit 10
match ip address fromuser
set ip next-hop 10.31.128.155

When I enter "ip policy route-map fromuser" to interface Vlan 201 I heve the message:

% Remove VRF configuration from interface Vlan201 first

vrf
5 Replies 5

I'm no VRF ot PBR expert, but let me see your ACL for the PBR and the interface VLAN 202 please.

I'm sorry, I've made a mistake.

The right message is:

When I enter "ip policy route-map fromuser" to interface Vlan 201 I heve the message:

% Remove VRF configuration from interface Vlan201 first

does that help?
Otherwise I will shut up first from my side

The VRF Selection Using Policy Based Routing feature can coexist with the VRF Selection Based on Source IP address feature on the same router, but these features cannot be configured together on the same interface. This is designed behavior to prevent VRF table selection conflicts that could occur if these features were misconfigured together

http://www.cisco.com/en/US/docs/ios/12_2s/feature/guide/fs_pbrsv.html

Hi,

"

VRF and PBR are mutually exclusive on a switch  interface. You cannot enable VRF when PBR is enabled on an interface.  The reverse is also true, you cannot enable PBR when VRF is enabled on  an interface. "

Taken from http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_58_se/configuration/guide/swiprout.html#wp1228588

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

It's a pity

Review Cisco Networking for a $25 gift card