Solved

BGP Juniper Route advertisement

Posted on 2009-07-11
4
671 Views
Last Modified: 2012-08-14
Hi,
I want to know that in Juniper routers, is it required to advertise networks when configuring BGP?
In Cisco routers we use the network command to tell which route to advertise. Is that required in Juniper routers as well? Can someone please tell me what the configuration would be in Juniper router for that?  
0
Comment
Question by:shwaqar82
4 Comments
 
LVL 5

Expert Comment

by:JanSc
ID: 24833616
Yes, always nescesary to advertise networks.

In Juniper OS: set vrouter trust-vr protocol bgp network x.x.x.x/y check z.z.z.z/y
where z.z.z.z/y is IP of subnet/interface connected to BGP cloud, and x.x.x.x/y is internal network to be advertised.
Can also be done trough web interface (interfaces/routing sector) z.z.z.z is your virtual interface in BGP
0
 

Author Comment

by:shwaqar82
ID: 24835944
I believe the command you just told is ScreenOS command not JUNOS....I am working on JUNOS actually
0
 
LVL 4

Accepted Solution

by:
szfeco earned 500 total points
ID: 25954841
with Junos you can create an export policy and export directly connected networks or any other networks.

Like this:
set policy-options policy-statement my_policy term direct-to-bgp from protocol direct
set policy-options policy-statement my_policy term direct-to-bgp then accept
set policy-options policy-statement my_policy term default then reject

set protocols bgp group my_group neighbor 1.1.1.1 export my_export_policy

it will advertise the directly connected networks.

HTH,
szfeco
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Application timeout question 2 37
SBS Server 2011 does not recognize a PC as being Online 8 50
Fiber optic multimode cable issue 6 32
Cisco switch suggestion 5 51
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question