Hi folks,

How do ya’ll do the below in Junos?
On a core router send EF traffic via one LSP and BE via other LSP.

CR1:
class-map type traffic match-any PBTS_C-MAP_EF
  match mpls experimental topmost 5
end-class-map
!
policy-map type pbr PBTS_P-MAP
 class type traffic PBTS_C-MAP_EF
   set forward-class 5
 class type traffic class-default
end-policy-map
!
interface Te0/0/0/0
  description ingress-mpls-interface
  service-policy type pbr input PBTS-PMAP
!
interface tunnel-te501
  forward-class 5


In Junos I found out that except static route only policy can set LSP next hop 
(either via "install-nexthop lsp" or via  "cos-next-hop-map" ). But the policy 
is applied to FIB so I can match only on route properties rather than on actual 
packet properties.
And with FW filter I can match exp 5 but can't set next-hop.
Do I understand my options correctly or am I missing something.

On a PE I guess I could use the policy to match all other PE's NHs and then set 
LSP (so that i won't loop packets coming to me to the LSP) - complex.
Or I could use FW filter and the ("then VRF" + vrf statically routed to LSP) 
trick -which obviously does not scale.

I'll appreciate any pointers.

adam









        Adam Vitkovsky
        IP Engineer

T:      0333 006 5936
E:      adam.vitkov...@gamma.co.uk
W:      www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of 
this email are confidential to the ordinary user of the email address to which 
it was addressed. This email is not intended to create any legal relationship. 
No one else may place any reliance upon it, or copy or forward all or any of it 
in any form (unless otherwise notified). If you receive this email in error, 
please accept our apologies, we would be obliged if you would telephone our 
postmaster on +44 (0) 808 178 9652 or email postmas...@gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with 
limited liability, with registered number 04340834, and whose registered office 
is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at 
Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.
---------------------------------------------------------------------------------------
 This email has been scanned for email related threats and delivered safely by 
Mimecast.
 For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to