!! IOS XR Configuration 5.2.2
!! Last configuration change at Tue Jul 21 11:17:09 2015 by juniper
!
hostname 00-PE4
telnet vrf default ipv4 server max-servers 10
line console
exec-timeout 0 0
session-timeout 0
!
line default
exec-timeout 0 0
session-timeout 0
!
vty-pool default 0 10 line-template default
interface Loopback0
ipv4 address 172.16.2.22 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
ipv4 address 10.255.0.24 255.255.0.0
!
interface GigabitEthernet0/0/0/0
ipv4 address 10.0.0.3 255.255.255.254
!
interface GigabitEthernet0/0/0/1
ipv4 address 10.0.0.8 255.255.255.254
!
interface GigabitEthernet0/0/0/2
ipv4 address 10.0.0.10 255.255.255.254
!
route-policy PL-LOCAL-LOOPBACK
if destination in (172.16.2.22/32) then
pass
endif
end-policy
!
router static
address-family ipv4 unicast
10.0.0.2/32 GigabitEthernet0/0/0/0
10.0.0.9/32 GigabitEthernet0/0/0/1
10.0.0.11/32 GigabitEthernet0/0/0/2
!
!
router bgp 65202
mpls activate
interface GigabitEthernet0/0/0/0
interface GigabitEthernet0/0/0/1
interface GigabitEthernet0/0/0/2
!
bgp unsafe-ebgp-policy
address-family ipv4 unicast
redistribute connected route-policy PL-LOCAL-LOOPBACK
allocate-label all
!
neighbor 10.0.0.2
remote-as 65302
update-source GigabitEthernet0/0/0/0
address-family ipv4 labeled-unicast
send-community-ebgp
!
!
neighbor 10.0.0.9
remote-as 65101
update-source GigabitEthernet0/0/0/1
address-family ipv4 labeled-unicast
send-community-ebgp
!
!
neighbor 10.0.0.11
remote-as 65102
update-source GigabitEthernet0/0/0/2
address-family ipv4 labeled-unicast
send-community-ebgp
!
!
!
mpls oam
!
mpls ldp
!
ssh server v2
end
L2 @ 2 – BGP-LU in Datacenter
Advertisements