https://www.juniper.net/documentation/us/en/software/session-smart-router/docs/config_bgp/#peering-with-non-128t-routers
|
|
---|
BGPoSVR | show config running authority router Lanner1 routing default-instance routing-protocol bgp
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 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
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#
|
Service |
admin@node1.Lanner1# show config running authority service to-vrf11-10-100-11-0
config
authority
service to-vrf11-10-100-11-0
name to-vrf11-10-100-11-0
security internal
address 10.100.11.0/24
access-policy customer1
source customer1
exit
service-policy mpls_then_mgmt_Lanners
exit
exit
exit
|
service route |
admin@node1.Lanner1# show config running authority router Lanner1 service-route SR-to-vrf11-10-100-11-0
config
authority
router Lanner1
name Lanner1
service-route SR-to-vrf11-10-100-11-0
name SR-to-vrf11-10-100-11-0
service-name to-vrf11-10-100-11-0
next-hop node1 lan5-netif-vlan11
node-name node1
interface lan5-netif-vlan11
exit
exit
exit
exit
exit
|
SRX BGP config |
[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;
}
}
|
|
|