Labs Summary :
- MPLS backbone using IS-IS as IGP
- PE-CE using EIGRP routing protocol
- MP-iBGP runs on PE1 and PE2 and using ASN 65000
Config CE1:
!hostname CE1
!
interface Loopback0
ip address 10.1.2.2 255.255.255.255
!
interface FastEthernet0/0
description To PC1
ip address 192.168.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
description To PE1
ip address 172.16.1.2 255.255.255.252
duplex auto
speed auto
!
router eigrp 100
network 10.1.2.2 0.0.0.0
network 172.16.1.0 0.0.0.3
network 192.168.0.0
no auto-summary
!
Config PE1:
!hostname PE1
!
ip vrf Client_A
rd 65000:1
route-target export 65000:1
route-target import 65000:1
!
mpls ldp router-id Loopback0
!
interface Loopback0
ip address 10.1.1.1 255.255.255.255
ip router isis
!
interface Loopback1
ip address 10.1.2.1 255.255.255.255
ip router isis
!
interface FastEthernet0/0
description To CE1
ip vrf forwarding Client_A
ip address 172.16.1.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.2.1 255.255.255.252
ip router isis
duplex auto
speed auto
mpls ip
!
router eigrp 65000
auto-summary
!
address-family ipv4 vrf Client_A
redistribute bgp 65000 metric 1000 100 255 1 1500
network 172.16.1.0 0.0.0.3
no auto-summary
autonomous-system 100
exit-address-family
!
router isis
net 00.0001.ca02.06a4.0006.00
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.1.1.3 remote-as 65000
neighbor 10.1.1.3 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 10.1.1.3 activate
neighbor 10.1.1.3 send-community extended
exit-address-family
!
address-family ipv4 vrf Client_A
redistribute eigrp 100
no auto-summary
no synchronization
exit-address-family
!
Config P:
!hostname P
!
interface Loopback0
ip address 10.1.1.2 255.255.255.255
ip router isis
!
interface FastEthernet0/0
description To PE1
ip address 172.16.2.2 255.255.255.252
ip router isis
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
description To PE2
ip address 172.16.3.2 255.255.255.252
ip router isis
duplex auto
speed auto
mpls ip
!
router isis
net 00.0001.ca03.06a4.0008.00
!
Config PE2:
!hostname PE2
!
ip vrf Client_A
rd 65000:1
route-target export 65000:1
route-target import 65000:1
!
mpls ldp router-id Loopback0
!
interface Loopback0
ip address 10.1.1.3 255.255.255.255
ip router isis
!
interface Loopback1
ip address 10.1.2.3 255.255.255.255
ip router isis
!
interface FastEthernet0/0
description To P
ip address 172.16.3.1 255.255.255.252
ip router isis
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
description To CE2
ip vrf forwarding Client_A
ip address 172.16.4.1 255.255.255.252
duplex auto
speed auto
!
router eigrp 65000
auto-summary
!
address-family ipv4 vrf Client_A
redistribute bgp 65000 metric 1000 100 255 1 1500
network 172.16.4.0 0.0.0.3
no auto-summary
autonomous-system 100
exit-address-family
!
router isis
net 00.0001.ca04.06a4.0008.00
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.1.1.1 remote-as 65000
neighbor 10.1.1.1 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 10.1.1.1 activate
neighbor 10.1.1.1 send-community extended
exit-address-family
!
address-family ipv4 vrf Client_A
redistribute eigrp 100
no auto-summary
no synchronization
exit-address-family
!
Config CE2:
hostname CE2
!
interface Loopback0
ip address 10.1.2.4 255.255.255.255
!
interface FastEthernet0/0
description To PE2
ip address 172.16.4.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
description To PC2
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute connected
network 172.16.4.0 0.0.0.3
auto-summary
!
Verify IGP between PE and P router:
Router PE1:
PE1#show clns is-neighbors
System Id Interface State Type Priority Circuit Id Format
P Fa0/1 Up L1L2 64/64 P.02 Phase V
PE1#show isis neighbors
System Id Type Interface IP Address State Holdtime Circuit Id
P L1 Fa0/1 172.16.2.2 UP 7 P.02
P L2 Fa0/1 172.16.2.2 UP 8 P.02
PE1#show ip route isis
172.16.0.0/30 is subnetted, 2 subnets
i L1 172.16.3.0 [115/20] via 172.16.2.2, FastEthernet0/1
10.0.0.0/32 is subnetted, 5 subnets
i L1 10.1.1.2 [115/20] via 172.16.2.2, FastEthernet0/1
i L1 10.1.1.3 [115/30] via 172.16.2.2, FastEthernet0/1
i L1 10.1.2.3 [115/30] via 172.16.2.2, FastEthernet0/1
Router P:
P#show clns is-neighborsSystem Id Interface State Type Priority Circuit Id Format
PE1 Fa0/0 Up L1L2 64/64 P.02 Phase V
PE2 Fa0/1 Up L1L2 64/64 PE2.03 Phase V
P#show isis neighbors
System Id Type Interface IP Address State Holdtime Circuit Id
PE1 L1 Fa0/0 172.16.2.1 UP 21 P.02
PE1 L2 Fa0/0 172.16.2.1 UP 26 P.02
PE2 L1 Fa0/1 172.16.3.1 UP 8 PE2.03
PE2 L2 Fa0/1 172.16.3.1 UP 6 PE2.03
P#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 2 subnets
C 172.16.2.0 is directly connected, FastEthernet0/0
C 172.16.3.0 is directly connected, FastEthernet0/1
10.0.0.0/32 is subnetted, 5 subnets
i L1 10.1.2.1 [115/20] via 172.16.2.1, FastEthernet0/0
C 10.1.1.2 is directly connected, Loopback0
i L1 10.1.1.3 [115/20] via 172.16.3.1, FastEthernet0/1
i L1 10.1.2.3 [115/20] via 172.16.3.1, FastEthernet0/1
i L1 10.1.1.1 [115/20] via 172.16.2.1, FastEthernet0/0
Router PE2:
PE2#show clns neighborsSystem Id Interface SNPA State Holdtime Type Protocol
P Fa0/0 ca03.04c4.0006 Up 27 L1L2 IS-IS
PE2#show isis neighbors
System Id Type Interface IP Address State Holdtime Circuit Id
P L1 Fa0/0 172.16.3.2 UP 22 PE2.03
P L2 Fa0/0 172.16.3.2 UP 27 PE2.03
PE2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 2 subnets
i L1 172.16.2.0 [115/20] via 172.16.3.2, FastEthernet0/0
C 172.16.3.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 5 subnets
i L1 10.1.2.1 [115/30] via 172.16.3.2, FastEthernet0/0
i L1 10.1.1.2 [115/20] via 172.16.3.2, FastEthernet0/0
C 10.1.1.3 is directly connected, Loopback0
C 10.1.2.3 is directly connected, Loopback1
i L1 10.1.1.1 [115/30] via 172.16.3.2, FastEthernet0/0
Verify MPLS ldp neighbor status on PE and P
PE1#show mpls ldp neighbor
Peer LDP Ident: 10.1.1.2:0; Local LDP Ident 10.1.1.1:0
TCP connection: 10.1.1.2.23598 - 10.1.1.1.646
State: Oper; Msgs sent/rcvd: 63/62; Downstream
Up time: 00:46:17
LDP discovery sources:
FastEthernet0/1, Src IP addr: 172.16.2.2
Addresses bound to peer LDP Ident:
172.16.2.2 10.1.1.2 172.16.3.2
P#show mpls ldp neighbor
Peer LDP Ident: 10.1.1.1:0; Local LDP Ident 10.1.1.2:0
TCP connection: 10.1.1.1.646 - 10.1.1.2.23598
State: Oper; Msgs sent/rcvd: 62/64; Downstream
Up time: 00:46:53
LDP discovery sources:
FastEthernet0/0, Src IP addr: 172.16.2.1
Addresses bound to peer LDP Ident:
172.16.2.1 10.1.1.1 10.1.2.1
Peer LDP Ident: 10.1.1.3:0; Local LDP Ident 10.1.1.2:0
TCP connection: 10.1.1.3.19809 - 10.1.1.2.646
State: Oper; Msgs sent/rcvd: 64/62; Downstream
Up time: 00:46:50
LDP discovery sources:
FastEthernet0/1, Src IP addr: 172.16.3.1
Addresses bound to peer LDP Ident:
172.16.3.1 10.1.1.3 10.1.2.3
PE2#show mpls ldp neighbor
Peer LDP Ident: 10.1.1.2:0; Local LDP Ident 10.1.1.3:0
TCP connection: 10.1.1.2.646 - 10.1.1.3.19809
State: Oper; Msgs sent/rcvd: 1189/1190; Downstream
Up time: 17:13:42
LDP discovery sources:
FastEthernet0/0, Src IP addr: 172.16.3.2
Addresses bound to peer LDP Ident:
172.16.2.2 10.1.1.2 172.16.3.2
BGP router identifier 10.1.2.1, local AS number 65000
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.3 4 65000 1057 1057 1 0 0 17:28:21 0
PE1#show ip bgp vpnv4 vrf Client_A
BGP table version is 13, local router ID is 10.1.2.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:1 (default for vrf Client_A)
*> 10.1.2.2/32 172.16.1.2 156160 32768 ?
*>i10.1.2.4/32 10.1.1.3 156160 100 0 ?
*> 172.16.1.0/30 0.0.0.0 0 32768 ?
*>i172.16.4.0/30 10.1.1.3 0 100 0 ?
*> 192.168.0.0 172.16.1.2 30720 32768 ?
*>i192.168.4.0 10.1.1.3 30720 100 0 ?
BGP router identifier 10.1.2.3, local AS number 65000
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.1 4 65000 1059 1059 1 0 0 17:30:01 0
PE2#show ip bgp vpnv4 vrf Client_A
BGP table version is 13, local router ID is 10.1.2.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:1 (default for vrf Client_A)
*>i10.1.2.2/32 10.1.1.1 156160 100 0 ?
*> 10.1.2.4/32 172.16.4.2 156160 32768 ?
*>i172.16.1.0/30 10.1.1.1 0 100 0 ?
*> 172.16.4.0/30 0.0.0.0 0 32768 ?
*>i192.168.0.0 10.1.1.1 30720 100 0 ?
*> 192.168.4.0 172.16.4.2 30720 32768 ?
PE2#show mpls ldp neighbor
Peer LDP Ident: 10.1.1.2:0; Local LDP Ident 10.1.1.3:0
TCP connection: 10.1.1.2.646 - 10.1.1.3.19809
State: Oper; Msgs sent/rcvd: 1189/1190; Downstream
Up time: 17:13:42
LDP discovery sources:
FastEthernet0/0, Src IP addr: 172.16.3.2
Addresses bound to peer LDP Ident:
172.16.2.2 10.1.1.2 172.16.3.2
Verify MP-BGP between PE1 and PE2
PE1:
PE1#show ip bgp summaryBGP router identifier 10.1.2.1, local AS number 65000
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.3 4 65000 1057 1057 1 0 0 17:28:21 0
PE1#show ip bgp vpnv4 vrf Client_A
BGP table version is 13, local router ID is 10.1.2.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:1 (default for vrf Client_A)
*> 10.1.2.2/32 172.16.1.2 156160 32768 ?
*>i10.1.2.4/32 10.1.1.3 156160 100 0 ?
*> 172.16.1.0/30 0.0.0.0 0 32768 ?
*>i172.16.4.0/30 10.1.1.3 0 100 0 ?
*> 192.168.0.0 172.16.1.2 30720 32768 ?
*>i192.168.4.0 10.1.1.3 30720 100 0 ?
PE2:
PE2#show ip bgp summaryBGP router identifier 10.1.2.3, local AS number 65000
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.1 4 65000 1059 1059 1 0 0 17:30:01 0
PE2#show ip bgp vpnv4 vrf Client_A
BGP table version is 13, local router ID is 10.1.2.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65000:1 (default for vrf Client_A)
*>i10.1.2.2/32 10.1.1.1 156160 100 0 ?
*> 10.1.2.4/32 172.16.4.2 156160 32768 ?
*>i172.16.1.0/30 10.1.1.1 0 100 0 ?
*> 172.16.4.0/30 0.0.0.0 0 32768 ?
*>i192.168.0.0 10.1.1.1 30720 100 0 ?
*> 192.168.4.0 172.16.4.2 30720 32768 ?
Verify EIGRP routing between PE-CE
PE1:
PE1#show ip eigrp vrf Client_A neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.1.2 Fa0/0 13 17:25:56 23 200 0 3
PE1#show ip route vrf Client_A eigrp
10.0.0.0/32 is subnetted, 2 subnets
D 10.1.2.2 [90/156160] via 172.16.1.2, 17:25:58, FastEthernet0/0
D 192.168.0.0/24 [90/30720] via 172.16.1.2, 17:25:58, FastEthernet0/0
CE1:
CE1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.1.1 Fa0/1 14 17:31:26 19 200 0 4
CE1#show ip route eigrp
172.16.0.0/30 is subnetted, 2 subnets
D 172.16.4.0 [90/30720] via 172.16.1.1, 17:30:59, FastEthernet0/1
D EX 192.168.4.0/24 [170/33280] via 172.16.1.1, 17:30:59, FastEthernet0/1
10.0.0.0/32 is subnetted, 2 subnets
D EX 10.1.2.4 [170/158720] via 172.16.1.1, 17:30:59, FastEthernet0/1
PE2:
PE2#show ip eigrp vrf Client_A neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.4.2 Fa0/1 14 17:41:09 42 252 0 3
PE2#show ip route vrf Client_A eigrp
D EX 192.168.4.0/24 [170/30720] via 172.16.4.2, 17:41:10, FastEthernet0/1
10.0.0.0/32 is subnetted, 2 subnets
D EX 10.1.2.4 [170/156160] via 172.16.4.2, 17:41:10, FastEthernet0/1
CE2:
CE2#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.4.1 Fa0/0 14 17:42:00 677 4062 0 4
CE2#show ip route eigrp
172.16.0.0/30 is subnetted, 2 subnets
D 172.16.1.0 [90/30720] via 172.16.4.1, 17:41:14, FastEthernet0/0
10.0.0.0/32 is subnetted, 2 subnets
D 10.1.2.2 [90/158720] via 172.16.4.1, 17:41:14, FastEthernet0/0
D 192.168.0.0/24 [90/33280] via 172.16.4.1, 17:41:14, FastEthernet0/0
Finally, Test ping & traceroute from PC1 to PC2 or vice versa.
PC1#ping 192.168.4.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.4.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/25/28 ms
PC1#traceroute 192.168.4.10
Type escape sequence to abort.
Tracing the route to 192.168.4.10
1 192.168.0.1 508 msec 28 msec 40 msec
2 172.16.1.1 24 msec 44 msec 36 msec
3 172.16.2.2 44 msec 68 msec 16 msec
4 172.16.4.1 52 msec 56 msec 16 msec
5 172.16.4.2 52 msec 96 msec 12 msec
6 192.168.4.10 52 msec 48 msec *

No comments:
Post a Comment