Skip to content

Instantly share code, notes, and snippets.

@rohitthakur2590
Created March 16, 2021 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohitthakur2590/8b05a0c57152c2c296a99df17fb58b89 to your computer and use it in GitHub Desktop.
Save rohitthakur2590/8b05a0c57152c2c296a99df17fb58b89 to your computer and use it in GitHub Desktop.
Junos appliance BGP config in xml format
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="urn:uuid:0cadb4e8-5bba-47f4-986e-72906227007f">
<configuration changed-seconds="1590139550" changed-localtime="2020-05-22 09:25:50 UTC">
<version>18.4R1-S2.4</version>
<protocols>
<bgp>
<precision-timers />
<advertise-from-main-vpn-tables />
<holddown-all-stale-labels />
<description>This is configured with Junos_bgp resource module</description>
<accept-remote-nexthop />
<preference>2</preference>
<hold-time>5</hold-time>
<advertise-inactive />
<no-advertise-peer-as />
<no-aggregator-id />
<out-delay>10</out-delay>
<log-updown />
<damping />
<bgp-error-tolerance>
<malformed-route-limit>20000000</malformed-route-limit>
</bgp-error-tolerance>
<authentication-algorithm>md5</authentication-algorithm>
<remove-private />
<no-client-reflect />
<include-mp-next-hop />
<bmp>
<monitor>disable</monitor>
<route-monitoring>
<none />
</route-monitoring>
</bmp>
<advertise-bgp-static>
<policy>static-to-bgp</policy>
</advertise-bgp-static>
<add-path-display-ipv4-address />
<bfd-liveness-detection>
<version>automatic</version>
<minimum-receive-interval>4</minimum-receive-interval>
<multiplier>10</multiplier>
<no-adaptation />
<transmit-interval>
<minimum-interval>2</minimum-interval>
</transmit-interval>
<detection-time>
<threshold>300000</threshold>
</detection-time>
</bfd-liveness-detection>
<egress-te-sid-stats />
<group>
<name>internal</name>
<out-delay>8</out-delay>
</group>
<group>
<name>external</name>
<out-delay>9</out-delay>
</group>
<group>
<name>inboun</name>
<type>internal</type>
</group>
<group>
<name>ibgp</name>
<type>internal</type>
<local-address>10.2.2.2</local-address>
<export>static-to-bgp</export>
<neighbor>
<name>10.1.1.1</name>
</neighbor>
</group>
</bgp>
<ospf3>
<area>
<name>0.0.0.100</name>
<stub>
<default-metric>200</default-metric>
</stub>
<interface>
<name>so-0/0/0.0</name>
<metric>5</metric>
<priority>3</priority>
</interface>
</area>
</ospf3>
</protocols>
<routing-options>
<static>
<route>
<name>172.16.17.0/24</name>
<discard />
</route>
</static>
<router-id>10.200.16.75</router-id>
<autonomous-system>
<as-number>65432</as-number>
</autonomous-system>
</routing-options>
</configuration>
</rpc-reply>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment