33 lines
835 B
Text
33 lines
835 B
Text
|
!debug bgp nht
|
||
|
!debug bgp zebra
|
||
|
!debug bgp labelpool
|
||
|
router bgp 65500
|
||
|
bgp router-id 192.0.2.2
|
||
|
no bgp ebgp-requires-policy
|
||
|
no bgp enforce-first-as
|
||
|
neighbor 192.0.2.100 remote-as 65500
|
||
|
neighbor 192.0.2.100 update-source lo
|
||
|
neighbor 192.168.0.100 remote-as 65500
|
||
|
neighbor 192.168.1.200 remote-as 65502
|
||
|
address-family ipv4 unicast
|
||
|
no neighbor 192.168.0.100 activate
|
||
|
no neighbor 192.168.1.200 activate
|
||
|
network 192.0.2.2/32
|
||
|
exit-address-family
|
||
|
address-family ipv4 labeled-unicast
|
||
|
neighbor 192.168.0.100 activate
|
||
|
exit-address-family
|
||
|
address-family ipv4 vpn
|
||
|
neighbor 192.0.2.100 activate
|
||
|
neighbor 192.0.2.100 next-hop-self
|
||
|
neighbor 192.168.1.200 activate
|
||
|
exit-address-family
|
||
|
!
|
||
|
interface r2-eth1
|
||
|
mpls bgp forwarding
|
||
|
mpls bgp l3vpn-multi-domain-switching
|
||
|
!
|
||
|
interface r2-eth0
|
||
|
mpls bgp l3vpn-multi-domain-switching
|
||
|
!
|