01-13-2011 09:44 PM
Hi
I have problem with transition my network to mpls, PBR doesnt work after I enter the command BGP neighbour send-label.
my configs:
interface Vlanxxx
mtu 1560
ip address 1.1.1.1 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip pim sparse-mode
ip policy route-map PBR
load-interval 30
mpls bgp forwarding
mpls label protocol ldp
mpls ip
!
ip access-list extended PRIVATE-NETS-1
permit ip 10.0.0.0 0.255.255.255 2.2.2.2 0.0.1.255
permit ip 3.3.3.3 0.0.31.255 4.4.4.4 0.0.1.255
!
route-map PBR permit 25
match ip address PRIVATE-NETS-1
set ip next-hop 5.5.5.5
Anybody know this problem? Thx.
Solved! Go to Solution.
01-15-2011 03:13 PM
Hi Elena,
there is not enough info to answer this question.
To which BGP neighbor do you send label? Is it reachable via which interface?
A blind guess would be that traffic received on the first vlan comes in labeled therefore cannot match the IP ACL.
But you need to tell us which type of traffic comes in, if IP or MPLS.
Cheers,
Riccardo
01-17-2011 11:06 PM
Hi Elena,
Policy based routing (PBR) is not supported for MPLS labeled traffic. The labels prevent the IP lookup to occur.
PBR is supported on VRF interfaces for the IP traffic that comes in through that interface. The support for this
started with CSCdu70318. Perhaps you could move the PBR to a preceeding router, where the traffic is still IP traffic
and not yet labeled?
Best regards,
Luc
01-13-2011 10:00 PM
Hi Elena,
pease add 'set mpls-label' statement under PBR route-map.
01-13-2011 10:43 PM
interface where this traffic should go not running mpls, traffic doesnt have mpls tags
interface Vlanxxx
ip address 5.5.5.6 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip pim sparse-mode
load-interval 30
end
01-14-2011 12:19 AM
nice catch, didn't noticed that.
01-15-2011 03:13 PM
Hi Elena,
there is not enough info to answer this question.
To which BGP neighbor do you send label? Is it reachable via which interface?
A blind guess would be that traffic received on the first vlan comes in labeled therefore cannot match the IP ACL.
But you need to tell us which type of traffic comes in, if IP or MPLS.
Cheers,
Riccardo
01-17-2011 03:25 AM
mpls labels come in via interface
interface Vlanxxx
mtu 1560
ip address 1.1.1.1 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip pim sparse-mode
ip policy route-map PBR
load-interval 30
mpls bgp forwarding
mpls label protocol ldp
mpls ip
!
and interface
interface Vlanxxx
ip address 5.5.5.6 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip pim sparse-mode
load-interval 30
end
doesnt run mpls
how i can change ip routing info with "IP" PBR in mpls-labeled traffic in this case?
01-17-2011 11:06 PM
Hi Elena,
Policy based routing (PBR) is not supported for MPLS labeled traffic. The labels prevent the IP lookup to occur.
PBR is supported on VRF interfaces for the IP traffic that comes in through that interface. The support for this
started with CSCdu70318. Perhaps you could move the PBR to a preceeding router, where the traffic is still IP traffic
and not yet labeled?
Best regards,
Luc
01-18-2011 12:04 AM
Thanks for ur reply, Luc
I think u r right, and i ll try to adapt my network for this feature
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: