Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

BGP Juniper Route advertisement

Posted on 2009-07-11
4
Medium Priority
?
696 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
3 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

824 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