[j-nsp] JUNOS POLICY question

Harshit Kumar harshit@juniper.net
Wed, 2 Oct 2002 12:21:42 -0700


This is a multi-part message in MIME format.

------_=_NextPart_001_01C26A48.F0C7D260
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

You can use qualified-next-hop statement. You can refer to this
documentation for syntax.
=20
http://www.juniper.net/techpubs/software/junos54/swconfig54-routing/html
/routing-tables-config6.html
=20
--harshit
=20

	-----Original Message-----
	From: jnpr cisco [mailto:junocisco@yahoo.com]=20
	Sent: Wednesday, October 02, 2002 2:55 AM
	To: Harshit Kumar
	Subject: RE: [j-nsp] JUNOS POLICY question
=09
=09

	Thanx for replying harshit,=20

	any ways i worked around that issue,=20

	how ever, =20

	i need to know how can we load balance on static route to
0.0.0.0 with two next-hops.=20

	it would be gr8 if u can help me with that,=20

	thanx again,=20

	rgds,=20

	 Harshit Kumar wrote:=20

		What is ur IBGP config ?

			-----Original Message-----
			From: jnpr cisco [mailto:junocisco@yahoo.com]=20
			Sent: Saturday, September 28, 2002 5:53 AM
			To: juniper-nsp@puck.nether.net
			Subject: [j-nsp] JUNOS POLICY question
		=09
		=09
			This is regarding policy routing in JunOS,
		=09
			we have applied=20
		=09
			term T1 {
			    from {
			        protocol bgp;
			        route-filter 0.0.0.0/2 orlonger;
			    }
			    then {
			        local-preference 80;
			        accept;
			    }
			}
			term T3 {
			    from protocol bgp;
			    then {
			        local-preference 90;
			    }
		=09
		=09
			AND since then! , i can see two routes one with
90 local preference, which is recieved from another IBGP neigbour, and
the one with 80 Local Preference. How ever, when this router is
advertising the routes it does'nt advertise the routes with 80
local-pref , even though Advertise-inactive flag is enabled.=20
		=09
			could any one advise on why this ro! uter is not
advertising the routes with Local-Pref of 80.=20
		=09
			thanx,
		=09
		=09

		=09
		=09
  _____ =20

			Do you Yahoo!?
			New DSL Internet Access
<http://rd.yahoo.com/evt=3D1207/*http://sbc.yahoo.com/>  from SBC & =
Yahoo!

=09
=09
  _____ =20

	Do you Yahoo!?
	New DSL Internet Access
<http://rd.yahoo.com/evt=3D1207/*http://sbc.yahoo.com/>  from SBC & =
Yahoo!


------_=_NextPart_001_01C26A48.F0C7D260
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2>You can use qualified-next-hop<SPAN class=3D855151919-02102002> =
statement.=20
You can refer to this</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D855151919-02102002>documentation for=20
syntax.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN=20
class=3D855151919-02102002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV=
>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D855151919-02102002><A=20
href=3D"http://www.juniper.net/techpubs/software/junos54/swconfig54-routi=
ng/html/routing-tables-config6.html">http://www.juniper.net/techpubs/soft=
ware/junos54/swconfig54-routing/html/routing-tables-config6.html</A></SPA=
N></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN=20
class=3D855151919-02102002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV=
>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN=20
class=3D855151919-02102002>--harshit</SPAN></FONT></FONT></FONT></SPAN></=
DIV>
<DIV><SPAN class=3D174271719-02102002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN=20
class=3D855151919-02102002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV=
>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> jnpr =
cisco=20
  [mailto:junocisco@yahoo.com] <BR><B>Sent:</B> Wednesday, October 02, =
2002 2:55=20
  AM<BR><B>To:</B> Harshit Kumar<BR><B>Subject:</B> RE: [j-nsp] JUNOS =
POLICY=20
  question<BR><BR></FONT></DIV>
  <P>Thanx for replying harshit,=20
  <P>any ways i worked around that issue,=20
  <P>how ever,&nbsp;=20
  <P>i need to know how can we load balance on static route to 0.0.0.0 =
with two=20
  next-hops.=20
  <P>it would be gr8 if u can help me with that,=20
  <P>=20
  <P>thanx again,=20
  <P>rgds,=20
  <P>=20
  <P>=20
  <P>&nbsp;<B><I>Harshit Kumar <HARSHIT@JUNIPER.NET></I></B>wrote:=20
  <BLOCKQUOTE=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px =
solid">
    <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
    <DIV>
    <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN =
class=3D165464106-02102002><FONT=20
    face=3DArial color=3D#0000ff>What is ur IBGP config=20
    ?</FONT></SPAN></FONT></FONT></DIV></DIV>
    <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
      face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
jnpr cisco=20
      [mailto:junocisco@yahoo.com] <BR><B>Sent:</B> Saturday, September =
28, 2002=20
      5:53 AM<BR><B>To:</B> =
juniper-nsp@puck.nether.net<BR><B>Subject:</B>=20
      [j-nsp] JUNOS POLICY question<BR><BR></FONT></DIV>This is =
regarding policy=20
      routing in JunOS,<BR><BR>we have applied <BR><BR>term T1=20
      {<BR>&nbsp;&nbsp;&nbsp; from=20
      {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protocol=20
      bgp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route-filter =
0.0.0.0/2=20
      orlonger;<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; then=20
      {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local-preference=20
      80;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      accept;<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR>term T3 =
{<BR>&nbsp;&nbsp;&nbsp;=20
      from protocol bgp;<BR>&nbsp;&nbsp;&nbsp; then=20
      {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local-preference=20
      90;<BR>&nbsp;&nbsp;&nbsp; }<BR><BR><BR>AND since then! , i can see =
two=20
      routes one with 90 local preference, which is recieved from =
another IBGP=20
      neigbour, and the one with 80 Local Preference. How ever, when =
this router=20
      is advertising the routes it does'nt advertise the routes with 80=20
      local-pref , even though Advertise-inactive flag is enabled. =
<BR><BR>could=20
      any one advise on why this ro! uter is not advertising the routes =
with=20
      Local-Pref of 80. <BR><BR>thanx,<BR><BR>
      <P><BR>
      <HR SIZE=3D1>
      Do you Yahoo!?<BR>New <A=20
      href=3D"http://rd.yahoo.com/evt=3D1207/*http://sbc.yahoo.com/">DSL =
Internet=20
      Access</A> from SBC &amp; Yahoo!</A></BLOCKQUOTE></BLOCKQUOTE>
  <P><BR>
  <HR SIZE=3D1>
  Do you Yahoo!?<BR>New <A=20
  href=3D"http://rd.yahoo.com/evt=3D1207/*http://sbc.yahoo.com/">DSL =
Internet=20
  Access</A> from SBC &amp; Yahoo!</A></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C26A48.F0C7D260--