Chapter 18 6PE Configuration
PE2(config-if-loopback5)#exit
PE2(config)#mpls ldp instance 1
PE2(config-ldp-1)#interface gei-1/1
PE2(config-ldp-1-if-gei-1/1)#discovery transport-address interface
PE2(config-ldp-1-if-gei-1/1)#exit
PE2(config-ldp-1)#router-id loopback1
PE2(config-ldp-1)#exit
PE2(config)#router ospf 1
PE2(config-ospf-1)#router-id 2.2.2.2
PE2(config-ospf-1)#network 56.41.10.0 0.0.0.255 area 0.0.0.0
PE2(config-ospf-1)#network 2.2.2.2 0.0.0.0 area 0.0.0.0
PE2(config-ospf-1)#exit
PE2(config)#router bgp 100
PE2(config-bgp)#no synchronization
PE2(config-bgp)#neighbor 1.1.1.1 remote-as 100
PE2(config-bgp)#neighbor 1.1.1.1 activate
PE2(config-bgp)#neighbor 1.1.1.1 update-source loopback1
PE2(config-bgp)#address-family ipv6
PE2(config-bgp-af-ipv6)#neighbor 1.1.1.1 activate
PE2(config-bgp-af-ipv6)#neighbor 1.1.1.1 send-label
PE2(config-bgp-af-ipv6)#network 2352::/64
PE2(config-bgp-af-ipv6)#redistribute connected
PE2(config-bgp-af-ipv6)#end
Configuration Verification
Run the commands
show running-config ospf
and
show running-config bgp
to check the
OSPF and BGP configurations on each router.
Check the configurations on PE1:
PE1#show running-config ospfv2
!<ospfv2>
router ospf 1
router-id 1.1.1.1
network 56.41.10.0 0.0.0.255 area 0.0.0.0
network 1.1.1.1 0.0.0.0 area 0.0.0.0
$
!</ospfv2>
PE1#show running-config bgp
!<route-bgp>
router bgp 100
synchronization disable
18-5
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential