Zte ZXR10 8900 Series User Manual page 55

10 gigabit routing switch
Hide thumbs Also See for ZXR10 8900 Series:
Table of Contents

Advertisement

PE2(config)#interface loopback1
PE2(config-if)#ip address 1.1.1.3 255.255.255.255
PE2(config-if)#exit
PE2(config)#interface fei_2/1
PE2(config-if)#ip vrf forwarding vpn_a
PE2(config-if)#ip address 10.2.0.2 255.255.255.252
PE2(config-if)#exit
PE2(config)#interface fei_0/1
PE2(config-if)#ip address 176.0.0.2 255.255.255.252
PE2(config-if)#mpls ip
PE2(config-if)#exit
PE2(config)#mpls ip
PE2(config)#router bgp 100
PE2(config-router)#neighbor 1.1.1.1 remote-as 100
PE2(config-router)#neighbor 1.1.1.1 activate
PE2(config-router)#neighbor 1.1.1.1 update-source loopback1
PE2(config-router)#address-family ipv4 vrf vpn_a
PE2(config-router-af)#redistribute ospf-int
PE2(config-router-af)#redistribute connected
PE2(config-router-af)#exit
PE2(config-router)#address-family vpnv4
PE2(config-router-af)#neighbor 1.1.1.1 activate
PE2(config-router-af)#exit
PE2(config-router)#exit
PE2(config)#router ospf 1
PE2(config-router)#network 1.1.1.3 0.0.0.0 area 0
PE2(config-router)#network 176.0.0.0 0.0.0.3 area 0
PE2(config-router)#exit
PE2(config)#router ospf 2 vrf vpn_a
PE2(config-router)#network 10.2.0.0 0.0.0.3 area 0
PE2(config-router)#redistribute bgp-int
Configuration on CE2:
CE2(config)#interface fei_1/1
CE2(config-if)#ip address 10.2.0.1 255.255.255.252
CE2(config-if)#exit
CE2(config)#interface fei_1/2
CE2(config-if)#ip address 10.2.1.254 255.255.255.0
CE2(config-if)#exit
CE2(config)#router ospf 1
CE2(config-router)#network 10.2.0.0 0.0.0.3 area 0
CE2(config-router)#network 10.2.1.0 0.0.0.255 area 0
CE1 can ping to the LAN connecting to CE2 successfully, as shown
below.
CE1#ping 10.2.1.254
sending 5,100-byte ICMP echos to 10.2.1.254,timeout is 2 seconds.
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/0/0
PE1 can ping to the LAN connecting to CE1 successfully, as shown
below.
PE1#ping vrf vpn_a 10.1.1.254
sending 5,100-byte ICMP echos to 10.1.1.254,timeout is 2 seconds.
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/0/0 ms.
PE1 can telnet to PE1, as shown below.
PE1#telnet 10.1.0.1 vrf vpn_a
VRF table on PE1 is shown below.
PE1#show ip route vrf vpn_a
IPv4 Routing Table:
Dest
Mask
10.1.0.0
255.255.255.252
10.1.0.2
255.255.255.255
10.1.1.0
255.255.255.0
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS L3VPN Configuration
Gw
Interface Owner
10.1.0.2
vlan20
direct
10.1.0.2
vlan20
address
10.1.0.1
vlan20
bgp
pri
metric
0
0
0
0
20
0
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents