26
BGP/MPLS VPN configuration V1.1

11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

Embed Size (px)

Citation preview

Page 1: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN configuration

V1.1

Page 2: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

Objectives

Know configuration of BGP/MPLS VPN

Page 3: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

Contents

BGP/MPLS VPN Configuration BGP/MPLS VPN Configuration Example

Page 4: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN configuration--PE(1)

1. Create VRF and configure related parameter;

2. Add interface to VRF;

PE(config)# ip vrf vrf-namePE(config-vrf)# rd route-distinguisher PE(config-vrf)# route-target import extended-community PE(config-vrf)# route-target export extended-community

PE(config-if)# ip vrf forwarding vrf-name

Page 5: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(2)

3. Define VRF route between PE and CE

For different dynamic routing protocols, configurations are different on PE, the current version support RIP,OSPF,IS-IS,BGP and static route.

Page 6: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(3)

CE and PE run RIPUnder address-family ipv4 vrf mode of RIP, use network command to define interface connected with CE and redistribute BGP to RIP.

PE(config)# router ripPE(config-router)# address-family ipv4 vrf vrf-namePE(config-router-af)# network x.x.x.x m.m.m.mPE(config-router-af)# redistribute connectedPE(config-router-af)# redistribute bgp-int

Page 7: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(4)

CE and PE run OSPFStart OSPF VPN process by router ospf command;Define interface connected to CE under this process by using network command, and redistribute BGP to OSPF

PE(config)# router ospf process-id vrf vrf-namePE(config-router)# network x.x.x.x m.m.m.m area xPE(config-router)# redistribute bgp_int

Page 8: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(5)

CE and PE run IS-IS protocolstart IS-IS VPN process on PE by command router isis,redistributeBGP under this process

PE(config)# router isis vrf vrf-namePE(config-router)# system-id x.x.xPE(config-router)# area yyPE(config-router)# redistribute protocol bgp level-2

Page 9: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(6)

CE and PE run BGPFor BGP ,only need to define CE counterpart under address-family ipv4 vrf address mode of BGP

PE(config)# router bgp as-number PE(config-router)# address-family ipv4 vrf test1PE(config-router-af)# neighbor x.x.x.x remote-as xPE(config-router-af)# exit-address-family

Page 10: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(7)

CE and PE run static routeIt is required to configure vpn route for defined vrf to run static route.

PE(config)# ip route vrf vrf-name x.x.x.x m.m.m.m next-hop

Page 11: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN basic configuration--PE(8)

4. configure MPBGPConfigure PE counterpart under BGP route configuration mode

PE(config-router)# neighbor x.x.x.x remote-as

Activate PE counterpart under BGP address configuration mode

For different VRF, redistribute the route to MBGP

PE(config-router)# address-family vpnv4PE(config-router-af)# neighbor x.x.x.x activate

PE(config-router)# address-family ipv4 vrf vrf-namePE(config-router-af)# redistribute connected

Page 12: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

Contents

BGP/MPLS VPN Configuration BGP/MPLS VPN Configuration Example

Page 13: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN Configuration Example(1)

CE1

PE1 P PE2

CE2

Fei_1/1 Fei_3/2Fei_1/2175.0.0.1

Fei_2/1175.0.0.2

Fei_2/2176.0.0.1

Fei_3/1176.0.0.2

CE1 and CE2 are in the same VPN,fei_1/2 address of CE1 is 10.1.1.254/24,fei _1/2 address of CE2 is 10.2.1.254/24,configure VPN to make sure that CE1 and CE2 can learn routes of each other.CE1 and PE1 use static route,CE2 and PE2 use OSPF. PE and P use OSPF.

10.1.0.1

10.1.0.2

10.1.1.254/24

10.2.0.2

Fei_1/110.2.0.1

10.2.1.254/24Fei_1/2

Fei_1/1

Fei_1/2

1.1.1.1/32 1.1.1.3/32

Page 14: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN Configuration Example(2)

CE1 configuration:

CE1(config)# interface fei_1/1CE1(config-if)# ip address 10.1.0.1 255.255.255.252CE1(config)# interface fei_1/2CE1(config-if)# ip address 10.1.1.254 255.255.255.0CE1(config)# ip route 10.2.0.0 255.255.0.0 10.1.0.2

CE1(config)# interface fei_1/1CE1(config-if)# ip address 10.1.0.1 255.255.255.252CE1(config)# interface fei_1/2CE1(config-if)# ip address 10.1.1.254 255.255.255.0CE1(config)# ip route 10.2.0.0 255.255.0.0 10.1.0.2

Page 15: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN Configuration Example(3)PE1 configuration:

PE1(config)# ip vrf vpn_a //configure a VPN instance,vpn_aPE1(config-vrf)# rd 100:1 //define rd of VRF,it must be configuredPE1(config-vrf)# route-target import 100:1 //create VRF related route-targetPE1(config-vrf)# route-target export 100:1PE1(config)# interface loopback1PE1(config-if)# ip address 1.1.1.1 255.255.255.255PE1(config)# interface fei_1/2PE1(config-if)# ip address 175.0.0.1 255.255.255.252PE1(config-if)# mpls ipPE1(config)# interface fei_1/1PE1(config-if)# ip vrf forwarding vpn_a //configure interface of VRFPE1(config-if)# ip address 10.1.0.2 255.255.255.252PE1(config)# router ospf 1 //configure public network routing protocolPE1(config-router)# network 1.1.1.1 0.0.0.0 area 0.0.0.0PE1(config-router)# network 175.0.0.0 0.0.0.3 area 0.0.0.0PE1(config)# router bgp 100PE1(config-router)# neighbor 1.1.1.3 remote-as 100 //define IBGP neighbor PE2PE1(config-router)# neighbor 1.1.1.3 activate PE1(config-router)# neighbor 1.1.1.3 update-source loopback1PE1(config-router)# address-family ipv4 vrf vpn_a //enter vrf address configuration modePE1(config-router-af)# redistribute static PE1(config-router-af)# redistribute connectedPE1(config-router)# address-family vpnv4 //enter vpn4 address configuration modePE1(config-router-af)# neighbor 1.1.1.3 activate //activate neighborPE1(config)# mpls ipPE1(config)# ip route vrf vpn_a 10.1.0.0 255.255.0.0 10.1.0.1 //configure static route of vrf

PE1(config)# ip vrf vpn_a //configure a VPN instance,vpn_aPE1(config-vrf)# rd 100:1 //define rd of VRF,it must be configuredPE1(config-vrf)# route-target import 100:1 //create VRF related route-targetPE1(config-vrf)# route-target export 100:1PE1(config)# interface loopback1PE1(config-if)# ip address 1.1.1.1 255.255.255.255PE1(config)# interface fei_1/2PE1(config-if)# ip address 175.0.0.1 255.255.255.252PE1(config-if)# mpls ipPE1(config)# interface fei_1/1PE1(config-if)# ip vrf forwarding vpn_a //configure interface of VRFPE1(config-if)# ip address 10.1.0.2 255.255.255.252PE1(config)# router ospf 1 //configure public network routing protocolPE1(config-router)# network 1.1.1.1 0.0.0.0 area 0.0.0.0PE1(config-router)# network 175.0.0.0 0.0.0.3 area 0.0.0.0PE1(config)# router bgp 100PE1(config-router)# neighbor 1.1.1.3 remote-as 100 //define IBGP neighbor PE2PE1(config-router)# neighbor 1.1.1.3 activate PE1(config-router)# neighbor 1.1.1.3 update-source loopback1PE1(config-router)# address-family ipv4 vrf vpn_a //enter vrf address configuration modePE1(config-router-af)# redistribute static PE1(config-router-af)# redistribute connectedPE1(config-router)# address-family vpnv4 //enter vpn4 address configuration modePE1(config-router-af)# neighbor 1.1.1.3 activate //activate neighborPE1(config)# mpls ipPE1(config)# ip route vrf vpn_a 10.1.0.0 255.255.0.0 10.1.0.1 //configure static route of vrf

Page 16: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN Configuration Example(4)

P configuration:P(config)# interface fei_2/1P(config-if)# ip address 175.0.0.2 255.255.255.252P(config-if)# mpls ipP(config)# interface fei_2/2P(config-if)# ip address 176.0.0.1 255.255.255.252P(config-if)# mpls ipP(config)# router ospf 1P(config-router)# network 175.0.0.0 0.0.0.3 area 0.0.0.0P(config-router)# network 176.0.0.0 0.0.0.3 area 0.0.0.0P(config)# mpls ip

P(config)# interface fei_2/1P(config-if)# ip address 175.0.0.2 255.255.255.252P(config-if)# mpls ipP(config)# interface fei_2/2P(config-if)# ip address 176.0.0.1 255.255.255.252P(config-if)# mpls ipP(config)# router ospf 1P(config-router)# network 175.0.0.0 0.0.0.3 area 0.0.0.0P(config-router)# network 176.0.0.0 0.0.0.3 area 0.0.0.0P(config)# mpls ip

Page 17: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN Configuration Example(5)PE2 configuration:

PE2(config)# ip vrf vpn_aPE2(config-vrf)# rd 100:1PE2(config-vrf)# route-target import 100:1PE2(config-vrf)# route-target export 100:1PE2(config)# interface fei_3/2PE2(config-if)# ip vrf forwarding vpn_aPE2(config-if)# ip address 10.2.0.2 255.255.255.252PE2(config)# interface loopback1PE2(config-if)# ip address 1.1.1.3 255.255.255.255PE2(config)# interface fei_3/1PE2(config-if)# ip address 176.0.0.2 255.255.255.252PE2(config-if)# mpls ipPE2(config)# router ospf 2 vrf vpn_aPE2(config-router)# network 10.2.0.0 0.0.0.3 area 0.0.0.0PE2(config-router)# redistribute bgp-intPE2(config)# router ospf 1PE2(config-router)# network 1.1.1.3 0.0.0.0 area 0.0.0.0PE2(config-router)# network 176.0.0.0 0.0.0.3 area 0.0.0.0

PE2(config)# ip vrf vpn_aPE2(config-vrf)# rd 100:1PE2(config-vrf)# route-target import 100:1PE2(config-vrf)# route-target export 100:1PE2(config)# interface fei_3/2PE2(config-if)# ip vrf forwarding vpn_aPE2(config-if)# ip address 10.2.0.2 255.255.255.252PE2(config)# interface loopback1PE2(config-if)# ip address 1.1.1.3 255.255.255.255PE2(config)# interface fei_3/1PE2(config-if)# ip address 176.0.0.2 255.255.255.252PE2(config-if)# mpls ipPE2(config)# router ospf 2 vrf vpn_aPE2(config-router)# network 10.2.0.0 0.0.0.3 area 0.0.0.0PE2(config-router)# redistribute bgp-intPE2(config)# router ospf 1PE2(config-router)# network 1.1.1.3 0.0.0.0 area 0.0.0.0PE2(config-router)# network 176.0.0.0 0.0.0.3 area 0.0.0.0

PE2(config)# router bgp 100PE2(config-router)# neighbor 1.1.1.1 remote-as 100PE2(config-router)# neighbor 1.1.1.1 activatePE2(config-router)# neighbor 1.1.1.1 update-source loopback1 PE2(config-router)# address-family ipv4 vrf vpn_aPE2(config-router-af)# redistribute ospf-intPE2(config-router-af)# redistribute connectedPE2(config-router)# address-family vpnv4PE2(config-router-af)# neighbor 1.1.1.1 activatePE2(config)# mpls ip

PE2(config)# router bgp 100PE2(config-router)# neighbor 1.1.1.1 remote-as 100PE2(config-router)# neighbor 1.1.1.1 activatePE2(config-router)# neighbor 1.1.1.1 update-source loopback1PE2(config-router)# address-family ipv4 vrf vpn_aPE2(config-router-af)# redistribute ospf-intPE2(config-router-af)# redistribute connectedPE2(config-router)# address-family vpnv4PE2(config-router-af)# neighbor 1.1.1.1 activatePE2(config)# mpls ip

Page 18: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN Configuration Example(6)

CE2 configuration:

CE2(config)# interface fei_1/1CE2(config-if)# ip address 10.2.0.1 255.255.255.252CE2(config)# interface fei_1/2CE2(config-if)# ip address 10.2.1.254 255.255.255.0CE2(config)# router ospf 1CE2(config-router)# network 10.2.0.0 0.0.0.3 area 0.0.0.0CE2(config-router)# network 10.2.1.0 0.0.0.255 area 0.0.0.0

CE2(config)# interface fei_1/1CE2(config-if)# ip address 10.2.0.1 255.255.255.252CE2(config)# interface fei_1/2CE2(config-if)# ip address 10.2.1.254 255.255.255.0CE2(config)# router ospf 1CE2(config-router)# network 10.2.0.0 0.0.0.3 area 0.0.0.0CE2(config-router)# network 10.2.1.0 0.0.0.255 area 0.0.0.0

Page 19: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(1)

Show CE1 route table

CE1# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.255.252 10.1.0.1 fei_1/1 direct 0 010.1.0.1 255.255.255.255 10.1.0.1 fei_1/1 address 0 010.1.1.0 255.255.255.0 10.1.1.254 fei_1/2 direct 0 010.1.1.254 255.255.255.0 10.1.1.254 fei_1/2 address 0 010.2.0.0 255.255.0.0 10.1.0.2 fei_1/1 static 1 0

CE1# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.255.252 10.1.0.1 fei_1/1 direct 0 010.1.0.1 255.255.255.255 10.1.0.1 fei_1/1 address 0 010.1.1.0 255.255.255.0 10.1.1.254 fei_1/2 direct 0 010.1.1.254 255.255.255.0 10.1.1.254 fei_1/2 address 0 010.2.0.0 255.255.0.0 10.1.0.2 fei_1/1 static 1 0

Page 20: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(2)Show PE1 vrf label table and route table

PE1#show ip route vrf vpn_a //show VRF route tableIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.0.0 10.1.0.1 fei_1/1 static 1 010.1.0.0 255.255.255.252 10.1.0.2 fei_1/1 direct 0 010.1.0.2 255.255.255.255 10.1.0.2 fei_1/1 address 0 010.2.0.0 255.255.255.252 1.1.1.3 fei_1/2 bgp 200 010.2.0.2 255.255.255.255 1.1.1.3 fei_1/2 bgp 200 010.2.1.0 255.255.255.0 1.1.1.3 fei_1/2 bgp 200 0

PE1#show ip route vrf vpn_a //show VRF route tableIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.0.0 10.1.0.1 fei_1/1 static 1 010.1.0.0 255.255.255.252 10.1.0.2 fei_1/1 direct 0 010.1.0.2 255.255.255.255 10.1.0.2 fei_1/1 address 0 010.2.0.0 255.255.255.252 1.1.1.3 fei_1/2 bgp 200 010.2.0.2 255.255.255.255 1.1.1.3 fei_1/2 bgp 200 010.2.1.0 255.255.255.0 1.1.1.3 fei_1/2 bgp 200 0

PE1#show ip protocol routing vrf vpn_a //show VRF label table (inner label)Routes of vpn:status codes: *valid, >best

Dest NextHop Intag Outtag RtPrf Protocol*> 10.1.0.0/16 10.1.0.1 18 notag 1 static*> 10.1.0.0/30 10.1.0.2 17 notag 0 connected*> 10.1.0.2/32 10.1.0.2 16 notag 0 connected*> 10.2.0.0/30 1.1.1.3 21 17 200 bgp-int*> 10.2.0.2/32 1.1.1.3 22 16 200 bgp-int*> 10.2.1.0/24 1.1.1.3 23 19 200 bgp-int

PE1#show ip protocol routing vrf vpn_a //show VRF label table (inner label)Routes of vpn:status codes: *valid, >best

Dest NextHop Intag Outtag RtPrf Protocol*> 10.1.0.0/16 10.1.0.1 18 notag 1 static*> 10.1.0.0/30 10.1.0.2 17 notag 0 connected*> 10.1.0.2/32 10.1.0.2 16 notag 0 connected*> 10.2.0.0/30 1.1.1.3 21 17 200 bgp-int*> 10.2.0.2/32 1.1.1.3 22 16 200 bgp-int*> 10.2.1.0/24 1.1.1.3 23 19 200 bgp-int

Page 21: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(3)

Show PE1 global route table and label table

PE1#show ip route //show global route tableIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric1.1.1.1 255.255.255.255 1.1.1.1 loopback1 address 0 01.1.1.3 255.255.255.255 175.0.0.2 fei_1/2 ospf 110 12175.0.0.0 255.255.255.252 175.0.0.1 fei_1/2 direct 0 0 175.0.0.1 255.255.255.255 175.0.0.1 fei_1/2 address 0 0176.0.0.0 255.255.255.252 175.0.0.2 fei_1/2 ospf 110 11

PE1#show ip route //show global route tableIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric1.1.1.1 255.255.255.255 1.1.1.1 loopback1 address 0 01.1.1.3 255.255.255.255 175.0.0.2 fei_1/2 ospf 110 12175.0.0.0 255.255.255.252 175.0.0.1 fei_1/2 direct 0 0 175.0.0.1 255.255.255.255 175.0.0.1 fei_1/2 address 0 0176.0.0.0 255.255.255.252 175.0.0.2 fei_1/2 ospf 110 11

PE1#show mpls forwarding-table //show global label table(outside label)Mpls Ldp Forwarding-table:InLabel OutLabel Dest Pfxlen Interface NextHop20 16 1.1.1.3 32 fei_3/1 175.0.0.219 Pop tag 176.0.0.0 30 fei_3/1 175.0.0.2

PE1#show mpls forwarding-table //show global label table(outside label)Mpls Ldp Forwarding-table:InLabel OutLabel Dest Pfxlen Interface NextHop20 16 1.1.1.3 32 fei_3/1 175.0.0.219 Pop tag 176.0.0.0 30 fei_3/1 175.0.0.2

Page 22: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(4)

Show P route table and label table

P# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric1.1.1.1 255.255.255.255 175.0.0.1 fei_1/1 ospf 110 111.1.1.3 255.255.255.255 176.0.0.2 fei_3/1 ospf 110 2175.0.0.0 255.255.255.252 175.0.0.2 fei_1/1 direct 0 0175.0.0.2 255.255.255.255 175.0.0.2 fei_1/1 address 0 0176.0.0.0 255.255.255.252 176.0.0.1 fei_3/1 direct 0 0176.0.0.1 255.255.255.255 176.0.0.1 fei_3/1 address 0 0

P# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric1.1.1.1 255.255.255.255 175.0.0.1 fei_1/1 ospf 110 111.1.1.3 255.255.255.255 176.0.0.2 fei_3/1 ospf 110 2175.0.0.0 255.255.255.252 175.0.0.2 fei_1/1 direct 0 0175.0.0.2 255.255.255.255 175.0.0.2 fei_1/1 address 0 0176.0.0.0 255.255.255.252 176.0.0.1 fei_3/1 direct 0 0176.0.0.1 255.255.255.255 176.0.0.1 fei_3/1 address 0 0

P# show mpls forwarding-tableMpls Ldp Forwarding-table:InLabel OutLabel Dest Pfxlen Interface NextHop17 Pop tag 1.1.1.1 32 fei_1/1 175.0.0.116 Pop tag 1.1.1.3 32 fei_3/1 176.0.0.2

P# show mpls forwarding-tableMpls Ldp Forwarding-table:InLabel OutLabel Dest Pfxlen Interface NextHop17 Pop tag 1.1.1.1 32 fei_1/1 175.0.0.116 Pop tag 1.1.1.3 32 fei_3/1 176.0.0.2

Page 23: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(5)

Show PE2 vrf route table and label table

PE2#show ip protocol routing vrf vpn_aRoutes of vpn:status codes: *valid, >best

Dest NextHop Intag Outtag RtPrf Protocol*> 10.1.0.0/16 1.1.1.1 22 18 200 bgp-int*> 10.1.0.0/30 1.1.1.1 23 17 200 bgp-int*> 10.1.0.2/32 1.1.1.1 24 16 200 bgp-int*> 10.2.0.0/30 10.2.0.2 17 notag 0 connected* 10.2.0.0/30 10.2.0.0 18 notag 110 ospf*> 10.2.0.2/32 10.2.0.2 16 notag 0 connected*> 10.2.1.0/24 10.2.0.1 19 notag 110 ospf

PE2#show ip protocol routing vrf vpn_aRoutes of vpn:status codes: *valid, >best

Dest NextHop Intag Outtag RtPrf Protocol*> 10.1.0.0/16 1.1.1.1 22 18 200 bgp-int*> 10.1.0.0/30 1.1.1.1 23 17 200 bgp-int*> 10.1.0.2/32 1.1.1.1 24 16 200 bgp-int*> 10.2.0.0/30 10.2.0.2 17 notag 0 connected* 10.2.0.0/30 10.2.0.0 18 notag 110 ospf*> 10.2.0.2/32 10.2.0.2 16 notag 0 connected*> 10.2.1.0/24 10.2.0.1 19 notag 110 ospf

PE2#show ip route vrf vpn_aIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.0.0 1.1.1.1 fei_3/1 bgp 200 010.1.0.0 255.255.255.252 1.1.1.1 fei_3/1 bgp 200 010.2.0.0 255.255.255.252 10.2.0.2 fei_3/2 direct 0 010.2.0.2 255.255.255.255 10.2.0.2 fei_3/2 address 0 010.2.1.0 255.255.255.0 10.2.0.1 fei_3/2 ospf 110 11

PE2#show ip route vrf vpn_aIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.0.0 1.1.1.1 fei_3/1 bgp 200 010.1.0.0 255.255.255.252 1.1.1.1 fei_3/1 bgp 200 010.2.0.0 255.255.255.252 10.2.0.2 fei_3/2 direct 0 010.2.0.2 255.255.255.255 10.2.0.2 fei_3/2 address 0 010.2.1.0 255.255.255.0 10.2.0.1 fei_3/2 ospf 110 11

Page 24: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(6)

Show PE2 global route table and label table

PE2# show mpls forwarding-tableMpls Ldp Forwarding-table:InLabel OutLabel Dest Pfxlen Interface NextHop21 17 1.1.1.1 32 fei_1/1 176.0.0.120 Pop tag 175.0.0.0 30 fei_1/1 176.0.0.1

PE2# show mpls forwarding-tableMpls Ldp Forwarding-table:InLabel OutLabel Dest Pfxlen Interface NextHop21 17 1.1.1.1 32 fei_1/1 176.0.0.120 Pop tag 175.0.0.0 30 fei_1/1 176.0.0.1

PE2# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric1.1.1.1 255.255.255.255 176.0.0.1 fei_3/1 ospf 110 31.1.1.3 255.255.255.255 1.1.1.3 loopback1 address 0 0175.0.0.0 255.255.255.252 176.0.0.1 fei_3/1 ospf 110 2176.0.0.0 255.255.255.252 176.0.0.2 fei_3/1 direct 0 0176.0.0.2 255.255.255.255 176.0.0.2 fei_3/1 address 0 0

PE2# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric1.1.1.1 255.255.255.255 176.0.0.1 fei_3/1 ospf 110 31.1.1.3 255.255.255.255 1.1.1.3 loopback1 address 0 0175.0.0.0 255.255.255.252 176.0.0.1 fei_3/1 ospf 110 2176.0.0.0 255.255.255.252 176.0.0.2 fei_3/1 direct 0 0176.0.0.2 255.255.255.255 176.0.0.2 fei_3/1 address 0 0

Page 25: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26

BGP/MPLS VPN maintainence(7)

Show CE2 route table

CE2# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.255.252 10.2.0.2 fei_1/1 ospf 110 110.1.0.0 255.255.0.0 10.2.0.2 fei_1/1 ospf 110 110.1.0.2 255.255.255.255 10.2.0.2 fei_1/1 ospf 110 110.2.0.0 255.255.255.252 10.2.0.1 fei_1/1 direct 0 010.2.0.1 255.255.255.255 10.2.0.1 fei_1/1 address 0 010.2.1.0 255.255.255.0 10.2.1.254 fei_1/2 direct 0 010.2.1.254 255.255.255.255 10.2.1.254 fei_1/2 address 0 0

CE2# show ip routeIPv4 Routing Table:Dest Mask Gw Interface Owner pri metric10.1.0.0 255.255.255.252 10.2.0.2 fei_1/1 ospf 110 110.1.0.0 255.255.0.0 10.2.0.2 fei_1/1 ospf 110 110.1.0.2 255.255.255.255 10.2.0.2 fei_1/1 ospf 110 110.2.0.0 255.255.255.252 10.2.0.1 fei_1/1 direct 0 010.2.0.1 255.255.255.255 10.2.0.1 fei_1/1 address 0 010.2.1.0 255.255.255.0 10.2.1.254 fei_1/2 direct 0 010.2.1.254 255.255.255.255 10.2.1.254 fei_1/2 address 0 0

Page 26: 11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26