Solved

BGP Juniper Route advertisement

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
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.

758 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

22 Experts available now in Live!

Get 1:1 Help Now