[j-nsp] bgp path

Umar Ahmed Umar.Ahmed at vanco.co.uk
Fri Jan 4 19:02:00 EST 2008


Sorry yet again I seem to be lacking my brain - what I meant to say was
in the example I posted I had a reject statement at the end so that I
would only be exporting any of my aggregate routes with the prepend.
This was a copy of one of my policies just to illustrate the prepend.
Sorry for any confusion, its late in the Uk and my brain has decided to
divide by zero :)


regards,

 

Umar Ahmed

JNCIE-M # 281, JNCIP # 434, FNCNE

 
-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Umar Ahmed
Sent: 04 January 2008 23:56
To: Dan Farrell; juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] bgp path

Hi Dan - sorry that was me being a total muppet ;)  This was an error as
I was copying pasting between policies to hide my IP address details
etc... You are absolutely correct the then accept at the end is not
needed because default BGP policy is to accept all other routes (learnt
via bgp only of course) 


regards,

 

Umar Ahmed

JNCIE-M # 281, JNCIP # 434, FNCNE

 

-----Original Message-----
From: Dan Farrell [mailto:danno at appliedi.net]
Sent: 04 January 2008 17:06
To: Umar Ahmed; juniper-nsp at puck.nether.net
Subject: RE: [j-nsp] bgp path

As a newcomer to JUNOS I'm stumbling a little on the policy
configurations (in particular for prepending.) This really seems to
spell it out better than the Juniper reference.

One question- The 'then accept;' statement after term 2 ... is it
necessary? If so, what is it doing that wouldn't happen if it was gone?


Thanks,

danno

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Umar Ahmed
Sent: Thursday, January 03, 2008 10:06 AM
To: Erol KAHRAMAN; juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] bgp path

An example :

 policy-statement prepend {
    term 1 {
        from protocol aggregate;
        then {
            as-path-prepend "1234 1234 1234";
            accept;
        }
    }
    term 2 {
        then reject;
    }
    then accept;
}

In this case im matching an aggregate route, then apply this policy
outbound on your peer :

bgp {
    log-updown;
    group Peer-1 {
        type external;
        export prepend;
        neighbor x.x.x.x 
            peer-as 123456;
        }
    }


Any questions, give me a shout.

regards,

 

Umar Ahmed

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Erol KAHRAMAN
Sent: 03 January 2008 13:41
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] bgp path

Hi guys,

How can i show one path more far with bgp. I need to repead my AS in my
advertisement for this.


--
Erol KAHRAMAN
System Network Administrator
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


**********************************************************************
Any opinions expressed in the e-mail are those of the individual and not
necessarily the company. This e-mail and any files transmitted with it
are confidential and solely for the use of the intended recipient. If
you are not the intended recipient or the person responsible for
delivering it to the intended recipient, be advised that you have
received this e-mail in error and that any dissemination, distribution,
copying or use is strictly prohibited.

If you have received this e-mail in error, or if you are concerned with
the content of this e-mail please e-mail to:
e-security.support at vanco.info

The contents of an attachment to this e-mail may contain software
viruses which could damage your own computer system. Whilst the sender
has taken every reasonable precaution to minimise this risk, we can not
accept liability for any damage which you sustain as a result of
software viruses. You should carry out your own virus checks before
opening this e-mail or any attachments to this e-mail. 

This e-mail was sent from Vanco UK Limited a company registered in
England under number 2296733 and whose registered office is Units 1&2,
Great West Plaza, Riverbank Way, Brentford, TW8 9RE, UK

Please consider the environment before printing this e-mail.
********************************************************************** 

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


**********************************************************************
Any opinions expressed in the e-mail are those of the individual and not
necessarily the company. This e-mail and any files transmitted with it
are confidential and solely for the use of the intended recipient. If
you are not the intended recipient or the person responsible for
delivering it to the intended recipient, be advised that you have
received this e-mail in error and that any dissemination, distribution,
copying or use is strictly prohibited.

If you have received this e-mail in error, or if you are concerned with
the content of this e-mail please e-mail to:
e-security.support at vanco.info

The contents of an attachment to this e-mail may contain software
viruses which could damage your own computer system. Whilst the sender
has taken every reasonable precaution to minimise this risk, we can not
accept liability for any damage which you sustain as a result of
software viruses. You should carry out your own virus checks before
opening this e-mail or any attachments to this e-mail. 

This e-mail was sent from Vanco UK Limited a company registered in
England under number 2296733 and whose registered office is Units 1&2,
Great West Plaza, Riverbank Way, Brentford, TW8 9RE, UK

Please consider the environment before printing this e-mail.
********************************************************************** 

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


**********************************************************************
Any opinions expressed in the e-mail are those of the individual and not necessarily the company. This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering it to the intended recipient, be advised that you have received this e-mail in error and that any dissemination, distribution, copying or use is strictly prohibited.

If you have received this e-mail in error, or if you are concerned with the content of this e-mail please e-mail to: e-security.support at vanco.info

The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst the sender has taken every reasonable precaution to minimise this risk, we can not accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening this e-mail or any attachments to this e-mail. 

This e-mail was sent from Vanco UK Limited a company registered in England under number 2296733 and whose registered office is Units 1&2, Great West Plaza, Riverbank Way, Brentford, TW8 9RE, UK

Please consider the environment before printing this e-mail.
********************************************************************** 



More information about the juniper-nsp mailing list