Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://www.juniper.net/documentation/us/en/software/session-smart-router/docs/config_bgp/#peering-with-non-128t-routers




BGPoSVR
BGP to end router

show config running authority router Lanner1 routing default-instance routing-protocol bgp

Code Block
title
BGP config
BGPoverSVR
collapsetrue
admin@node1.conductor# show config running authority router Lanner1 routing default-instance routing-protocol bgp

config

    authority

        router  Lanner1
            name     Lanner1
            
routing  default-instance
                type              default-instance
                
routing-protocol  bgp
                    type            bgp
                    local-as        65101
                    router-id       192.168.111.1

                    neighbor        192.168.111.2
                        neighbor-address  192.168.111.2
                        neighbor-as       65102
                        
transport
                            
local-address
                                routing-interface  loopback0
                            exit
                        exit
                        
multihop
                            ttl  
5
128 <<<<<<<<<<<<<<<<<<<<<<<<<< Becareful here >>>>>>>>>>>>
                        exit
                        
address-family    ipv4-unicast
                            afi-safi       ipv4-unicast
                            next-hop-self  true
                        exit
                    exit


BGP to end router

show config running authority router Lanner1 routing default-instance routing-protocol bgp


Code Block
titleBGP config
collapsetrue
admin@node1.conductor# show config running authority router Lanner1 routing default-instance routing-protocol bgp

config
    authority
        router  Lanner1
            name     Lanner1
            routing  default-instance
                type              default-instance
                routing-protocol  bgp
                    type            bgp
                    local-as        65101
                    router-id       192.168.111.1

                    neighbor        10.100.11.2
                        neighbor-address  10.100.11.2
                        neighbor-as       65111
                        
transport

                            local-address
                                node       node1
                                interface  lan5-vlan11
                            exit
                        exit

                        address-family    ipv4-unicast
                            afi-safi  ipv4-unicast
                        exit
                    exit
                exit
            exit
        exit
    exit
exit

admin@node1.conductor#


SRX BGP config


Code Block
titleSRX virtual-routing BGP
collapsetrue
[edit routing-instances vr-11]
root@srx3200#

[edit routing-instances vr-11]
root@srx3200# show
protocols {
    bgp {
        group eBGP {
            peer-as 65101;
            neighbor 10.100.11.1;
        }
        local-as 65111;
    }
}
interface ge-0/0/3.11;
interface lo0.11;
instance-type virtual-router;
routing-options {
    router-id 10.100.110.1;
    autonomous-system 65111;
    static {
        route 0.0.0.0/0 next-hop 10.100.11.1;
    }
}