Solved

BGP Juniper Route advertisement

Posted on 2009-07-11
4
668 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now