Académique Documents
Professionnel Documents
Culture Documents
1
Section 1. Implement, Optimize and Troubleshooting Core IP Technologies............................................... 5
1.1 IS-IS FOR IPV4 TROUBLESHOOTING – AS9 ........................................................................................ 5
PROBLEM: ........................................................................................................................................... 5
SOLUTION: ............................................................................................................................................ 6
VALIDATION: ......................................................................................................................................... 7
1.2 IS-IS FOR IPV6 TROUBLESHOOTING – AS9 ........................................................................................ 7
PROBLEM: ............................................................................................................................................. 8
1.3 IS-IS FOR IPV4 TROUBLESHOOTING – AS1009 ................................................................................10
1.4 OSPF FOR IPV6 TROUBLESHOOTING – AS1009 ..............................................................................11
1.5 IS-IS LEVEL 1 FOR AS9 AND AS1009 ..............................................................................................13
1.6 OSPFV3 HELLO .............................................................................................................................15
1.7 IBGP IPV4 UNICAST T ROUBLESHOOTING ........................................................................................16
1.8 IBGP IPV6 UNICAST T ROUBLESHOOTING ........................................................................................24
1.9 E BGP IPV4 UNICAST T ROUBLESHOOTING ........................................................................................31
2
Section 4. Implement, Optimize and Troubleshooting L2 VPN Technologies...........................................142
4.1 PPP OVER MPLS .........................................................................................................................142
4.2 FRAME RELAY OVER L2TPV3 ........................................................................................................143
4.3 VPLS ..........................................................................................................................................146
Section 5. Useful Command Aliases ..........................................................................................................148
3
lo0
.0.16
XYZ Site 2
IS-IS L2 Second-level customer network
CCIE SP Lab1 IPv4 Diagram – first two octets 192.9.
E0/0 R16 E0/1
.146.16 .156.16
IOL125 IOL126
E0/2 E0/2
FR SW .145.14.145.15
R28 R24 R14 R15
S2/0
SW1 SW2
E0/2 E0/1 lo0 lo0 E0/1
.214.24
Vlan 104 .143.14 .0.14 .0.15 .157.15 VPN customer network
Second-level customer network R28 S2/3 vrf ABC AS112 OSPF Area 0 – first two octets 172.9.
lo0 lo1
– first two octets 192.9. R28 S2/1
Gi0/0/0/4
.0.17 vrf ABC .0.1 vrf ABC vrf ABC vrf ABC ABC Site 2
vrf ABC
G
lo0 i0
.143.3
vrf XYZ lo1 FR lo0 lo0 /0 lo1 lo1
Lo1 .0.9 lo0 .0.2 .0.2 / 0/ vrf ABC
.0.9 5 .0.3 .0.7
E0/0
.0.17 S2/0 .0.1
.157.7
E0/0 Gi0/0/0/0
Vrf XYZ E0/0 Gi0/0/0/0
.197.17 .19.9 12.1
E0/2 23.2 Gi0/0/0/0 FR
vrf ABC Gi0/0/0/2 Gi0/0/0/2 Gi0/0/0/2 .37.3 E0/2 S2/0
.179.17 S2/0
R17 E0/2 R9 19.1 R1 12.2 R2 23.3 R3 .37.7 R7 .217.21 R21
XYZ Site 3 .197.9
/3
Gi0/0/0/1
.34.3
E0/1
.35.3
E0/1 Gi0/0/0/1
/0/0
E0/1 Gi0/0/0/1 lo0 lo0
16.1 25.2 .78.7
.178.17 .109.9
Gi0
.0.3 .0.7 lo0
lo2 172.9.0.21
Core provider network
Gi0/0/0/1
lo0 lo0 lo0 lo0
E0/1 E0/1 .0.10 .0.6 E0/1
.34.4
lo0 E0/1 E0/2 .0.4 .0.8
.109.10 E0/1
.178.18 .0.18 .16.6
.25.5 .35.5 .78.8
E0/0
.45.5 Gi0/0/0/0
E0/0 E0/0 S2/0 S2/0 48.4
Gi0/0/0/2 E0/2
.108.18 .106.10 .56.6 .56.5 S2/0
Vrf XYZ 45.4 48.8
S2/0
E0/2 R18 vrf ABC R10 E0/2 R6 ppp R5 R8 223.22 R22
.189.18 E0/2 .106.6 R4 vrf ABC
.108.10
/0
/ 4 AS112 E0/0 lo2
/0
vrf ABC
Gi0/0/0/3
114.4
i0 vrf ABC vrf ABC .128.8 .0.88
G
lo1 lo1 (for Tunnel) lo0
.0.4 .0.8 172.9.0.22
OSPF Area 0 VPN customer network
lo0 lo0
E0/3 E0/1 .0.11 .0.12 E0/1 – first two octets 172.9.
Vlan 101 .114.11 .128.12
E0/2
ABC Site 1
E0/2
.112.11 .112.12
SW3
R20 R23 IOL127 R11 R12
vrf XYZ vrf XYZ
vrf XYZ lo0 E0/0 vrf XYZ
lo0 E0/0
lo0 lo1 .0.13 lo1
Service provider network 9.9.0.0 172.9.0.23 .113.11 .123.12
9.9.0.20 .0.11 .0.12
VPN customer network 172.9.0.0 E0/0
E0/1
Second-level customer 192.9.0.0 .113.13
.123.13 XYZ Site 1
All links subnet masks are /24
IS-IS L2
All loopbacks masks are /32 R13
Second-level customer network – first two octets 192.9.
4
Section 1. Implement, Optimize and Troubleshooting Core IP Technologies
IS-IS for IPv4 routing on the routers in AS9 has been pre-configured as shown in the Table 1.
All link subnets are /24, all loopbacks /32.
PROBLEM:
R2 and R4 cannot establish IS-IS neighbor relationship. Fix the problem to ensure that IS-IS works
properly. (Score: 2 points).
5
SOLUTION:
Warning: Configuration strings required to fulfill this particular task only are shown! All other string
that may persist in the configuration required for other tasks.
NB! All L1 routers in the same Area must have the same Net value – 47.0009. in this case
(IOS)log-adjacency-changes all/(IOS-XR)log adjacency changes – it is not required but very
helpful during configuration and troubleshooting. Logging of the IS-IS state changes is disabled by
default in both IOS and IOS-XR.
R2: R5:
router isis 1 router isis
net 47.0009.0000.0000.2222.00 net 47.0009.0000.0000.5555.00
log adjacency changes log-adjacency-changes all
address-family ipv4 unicast !
! interface Loopback0
interface Loopback0 ip address 9.9.0.5 255.255.255.255
address-family ipv4 unicast ip router isis
! !
! interface Ethernet0/0
interface GigabitEthernet0/0/0/0 description Link to R4 Gig 0/0/0/2
address-family ipv4 unicast ip address 9.9.45.5 255.255.255.0
! ip router isis
! !
interface GigabitEthernet0/0/0/1 interface Ethernet0/1
address-family ipv4 unicast description Link to R2 Gi0/0/0/1
! ip address 9.9.25.5 255.255.255.0
! ip router isis
!
interface Ethernet0/2
description Link to R3 Gi0/0/0/3
ip address 9.9.35.5 255.255.255.0
ip router isis
!
R3: R4:
router isis 1 router isis 1
net 47.0009.0000.0000.3333.00 net 47.0009.0000.0000.4444.00
log adjacency changes log adjacency changes
address-family ipv4 unicast address-family ipv4 unicast
!
! interface Loopback0
interface Loopback0 address-family ipv4 unicast
address-family ipv4 unicast !
! !
! interface GigabitEthernet0/0/0/0
interface GigabitEthernet0/0/0/0 address-family ipv4 unicast
address-family ipv4 unicast !
! !
! interface GigabitEthernet0/0/0/1
interface GigabitEthernet0/0/0/1 address-family ipv4 unicast
address-family ipv4 unicast !
! !
! interface GigabitEthernet0/0/0/2
interface GigabitEthernet0/0/0/2 address-family ipv4 unicast
address-family ipv4 unicast !
!
!
interface GigabitEthernet0/0/0/3
address-family ipv4 unicast
!
6
R7: R8:
router isis router isis
net 47.0009.0000.0000.7777.00 net 47.0009.0000.0000.8888.00
log-adjacency-changes all log-adjacency-changes all
! !
interface Loopback0 interface Loopback0
ip address 9.9.0.7 255.255.255.255 ip address 9.9.0.8 255.255.255.255
ip router isis ip router isis
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R8 E0/1 description Link to R7 E0/1
ip address 9.9.78.7 255.255.255.0 ip address 9.9.78.8 255.255.255.0
ip router isis ip router isis
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R3 Gi0/0/0/0 description Link to R4 Gi0/0/0/0
ip address 9.9.37.7 255.255.255.0 ip address 9.9.48.8 255.255.255.0
ip router isis ip router isis
! !
VALIDATION:
Tag null:
System Id Type Interface IP Address State Holdtime Circuit Id
R2 L1 Et0/1 9.9.25.2 UP 25 R5.03
R3 L1 Et0/2 9.9.35.3 UP 21 R5.04
R4 L1 Et0/0 9.9.45.4 UP 27 R5.02
IS-IS 1 neighbors:
System Id Interface SNPA State Holdtime Type IETF-NSF
R3 Gi0/0/0/0 0205.a986.18a6 Up 29 L1 Capable
R5 Gi0/0/0/1 aabb.cc00.6910 Up 8 L1 Capable
IS-IS for IPv6 routing on the routers in AS9 has been pre-configured as shown in the Table 2.
All link prefixes are /64 in length, all loopbacks - /128.
7
R5 47.0009. Loopback0 2002:9:9::5
47.0009. Ethernet0/0 2002:9:9:45.5
47.0009. Ethernet0/1 2002:9:9:25.5
47.0009. Ethernet0/2 2002:9:9:35.5
R7 47.0009. Loopback0 2002:9:9::7
47.0009. Ethernet0/1 2002:9:9:78::7
47.0009. Ethernet0/2 2002:9:9:37::7
R8 47.0009. Loopback0 2002:9:9::8
47.0009. Ethernet0/1 2002:9:9:78:8
47.0009. Ethernet0/2 2002:9:9:48::8
PROBLEM:
R5’s routing table should contain two equal paths to IPv6 network of 2002:9:9:78::/64, but there is
only one there. Fix the problem to ensure that IS-IS works properly. (Score: 2 points).
SOLUTION:
Warning: Configuration strings required to fulfill this particular task only are shown! All other string
that may persist in the configuration required for other tasks.
NB!
- The command metric-style wide in the address-family ipv4 unicast is required to make MPLS
traffic-engineering works
- By default IOS-XR runs in multiple-topology mode that means IS-IS SPF process runs separately
for IPv4 and IPv6; IOS runs in single-topology mode, so If you’d like to use IS-IS for both IPv4
and IPv6 routing you need to configure multiple-topology in IOS or single-topology in IOS-XR.
Please read carefully the task and preconfigured values in routers configurations. If
preconfigured value for IOS routers is multiple-topology please left IOS-XR configuration by
default. If IOS-XR routers contain preconfigured value single-topology please left IOS
configuration by default.
R2: R5:
router isis 1 ipv6 unicast-routing
net 47.0009.0000.0000.2222.00 ipv6 cef ! turned on automatically after
address-family ipv4 unicast previous command
metric-style wide !
! interface Loopback0
address-family ipv6 unicast ipv6 address 2002:9:9::5/128
single-topology ipv6 router isis
! !
interface Loopback0 interface Ethernet0/0
address-family ipv6 unicast description Link to R4 Gig 0/0/0/2
! ipv6 address 2002:9:9:45::5/64
! ipv6 router isis
interface GigabitEthernet0/0/0/0 !
address-family ipv6 unicast interface Ethernet0/1
! description Link to R2 Gi0/0/0/1
! ipv6 address 2002:9:9:25::5/64
interface GigabitEthernet0/0/0/1 ipv6 router isis
address-family ipv6 unicast !
! interface Ethernet0/2
! description Link to R3 Gi0/0/0/3
ipv6 address 2002:9:9:35::5/64
ipv6 router isis
8
R3: R4:
router isis 1 router isis 1
net 47.0009.0000.0000.3333.00 net 47.0009.0000.0000.4444.00
address-family ipv4 unicast address-family ipv4 unicast
metric-style wide metric-style wide
! !
address-family ipv6 unicast address-family ipv6 unicast
single-topology single-topology
! !
interface Loopback0 interface Loopback0
address-family ipv6 unicast address-family ipv6 unicast
! !
! !
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/0
address-family ipv6 unicast address-family ipv6 unicast
! !
! !
interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/1
address-family ipv6 unicast address-family ipv6 unicast
! !
! !
interface GigabitEthernet0/0/0/2 interface GigabitEthernet0/0/0/2
address-family ipv6 unicast address-family ipv6 unicast
! !
! !
interface GigabitEthernet0/0/0/3 !
address-family ipv6 unicast
!
!
!
R7: R8:
interface Loopback0 interface Loopback0
ipv6 address 2002:9:9::7/128 ipv6 address 2002:9:9::8/128
ipv6 router isis ipv6 router isis
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R8 E0/1 description Link to R7 E0/1
ipv6 address 2002:9:9:78::7/64 ipv6 address 2002:9:9:78::8/64
ipv6 router isis ipv6 router isis
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R3 Gi0/0/0/0 description Link to R4 Gi0/0/0/0
ipv6 address 2002:9:9:37::7/64 ipv6 address 2002:9:9:48::8/64
ipv6 router isis ipv6 router isis
! !
VALIDATION:
9
1.3 IS-IS FOR IPV4 TROUBLESHOOTING – AS1009
IS-IS for IPv4 routing on the routers in AS1009 has been pre-configured as shown in the Table 3.
All link subnets are /24, all loopbacks /32.
PROBLEM:
R10 should have CLNS neighborship with R9 of type L2 only. Fix the problem so that the
neighborship type to R9 will be L2 only.
SOLUTION:
Warning: Configuration strings required to fulfill this particular task only are shown! All other string
that may persist in the configuration required for other tasks.
R9: R10:
router isis router isis
net 47.0109.0000.0000.9999.00 net 47.0110.0000.0000.1010.00
is-type level-2-only is-type level-2-only
log-adjacency-changes all log-adjacency-changes all
! !
interface Loopback0 interface Loopback0
ip address 9.9.0.9 255.255.255.255 ip address 9.9.0.10 255.255.255.255
ip router isis ip router isis
! !
interface Ethernet0/0 interface Ethernet0/0
description Link to R1 Gi0/0/0/2 description Link to R6 E0/2
ip address 9.9.19.9 255.255.255.0 ip address 9.9.106.10 255.255.255.0
ip router isis ip router isis
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R10 E0/1 description Link to R9 E0/1
ip address 9.9.109.9 255.255.255.0 ip address 9.9.109.10 255.255.255.0
ip router isis ip router isis
! !
10
R1: R6:
router isis 1 router isis
is-type level-2-only net 47.0106.0000.0000.6666.00
net 47.0101.0000.0000.1111.00 is-type level-2-only
log adjacency changes log-adjacency-changes all
address-family ipv4 unicast !
! interface Loopback0
interface Loopback0 ip address 9.9.0.6 255.255.255.255
address-family ipv4 unicast ip router isis
! ip pim sparse-mode
! !
interface GigabitEthernet0/0/0/1 interface Ethernet0/1
address-family ipv4 unicast description Link to R1 Gi0/0/0/1
! ip address 9.9.16.6 255.255.255.0
! ip router isis
interface GigabitEthernet0/0/0/2 !
address-family ipv4 unicast interface Ethernet0/2
! description Link to R10 E0/0 via SW3 E1/1
! ip address 9.9.106.6 255.255.255.0
! ip router isis
!
VALIDATION:
Tag null:
System Id Type Interface IP Address State Holdtime Circuit Id
R20 L2 Mu1 9.9.120.20 UP 23 00
R6 L2 Et0/0 9.9.106.6 UP 23 R10.02
R9 L2 Et0/1 9.9.109.9 UP 25 R10.03
OSPFv3 for IPv6 routing on the routers in AS1009 has been pre-configured as shown in the Table 4.
All link prefixes are /64 in length, all loopbacks are /128.
PROBLEM:
R9 and R10 cannot establish OSPFv3 neighborship, fix the problem and ensure they can exchange
OSPF v3 update.
11
SOLUTION:
Warning: Configuration strings required to fulfill this particular task only are shown! All other string
that may persist in the configuration required for other tasks.
R9: R10:
ipv6 router ospf 1009 ipv6 router ospf 1009
router-id 9.9.0.9 router-id 9.9.0.10
! !
interface Loopback0 interface Loopback0
ipv6 address 2002:9:9::9/128 ipv6 address 2002:9:9::10/128
ipv6 ospf 1009 area 1009 ipv6 ospf 1009 area 1009
! !
interface Ethernet0/0 interface Ethernet0/0
description Link to R1 Gi0/0/0/2 description Link to R6 E0/2
ipv6 address 2002:9:9:19::9/64 ipv6 address 2002:9:9:106::10/64
ipv6 ospf 1009 area 1009 ipv6 ospf 1009 area 1009
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R10 E0/1 description Link to R9 E0/1
ipv6 address 2002:9:9:109::9/64 ipv6 address 2002:9:9:109::10/64
ipv6 ospf 1009 area 1009 ipv6 ospf 1009 area 1009
! !
R1: R6:
router ospfv3 1009 ipv6 router ospf 1009
area 0 router-id 9.9.0.6
interface Loopback0 !
passive interface Loopback0
! ipv6 address 2002:9:9::6/128
interface GigabitEthernet0/0/0/1 ipv6 ospf 1009 area 0
! !
! interface Ethernet0/1
area 1009 description Link to R1 Gi0/0/0/1
interface GigabitEthernet0/0/0/2 ipv6 address 2002:9:9:16::6/64
! ipv6 ospf 1009 area 0
! !
! interface Ethernet0/2
description Link to R10 E0/0 via SW3 E1/1
ipv6 address 2002:9:9:106::6/64
ipv6 ospf 1009 area 1009
!
VALIDATION:
12
1.5 IS-IS LEVEL 1 FOR AS9 AND AS1009
Configure IS-IS in the routers in AS9 and AS1009 (Refer to questions 1.1 and 1.3 for routers’ names,
interfaces and Areas’ specifications.
- Configure the routers’ interfaces in AS9 as IS-IS Level-1-only. Ensure that these subnets are
shown in the routing table as IS-IS routes and that you can ping the subnets under the IS-IS
domain from any of the routers via IPv4 and IPv6.
- Configure the routers’ interfaces in AS1009 as IS-IS Level-2-only. Ensure that these subnets are
shown in the routing table as IS-IS routes and that you can ping the subnets under the IS-IS
domain from any of the routers via IPv4.
SOLUTION:
Warning: Configuration strings required to fulfill this particular task only are shown! All other string
that may persist in the configuration required for other tasks.
This task can be solved by two methods: since all interfaces of IS-IS routers in the AS9 and
AS1009 should be in the L1 and L2 areas accordingly, and then command is-type level-1 or is-
type level-2 only in the routing process will be enough. Another method is to define the IS-IS
interface type on the interface level by the command isis circuit-type level-1 (IOS) or circuit-
type level-1 (IOS-XR). Please read the task wording and preconfigured IS-IS parameters precisely
to choose which method is the most appropriate for this case. Both methods are shown in the
tables below.
AS9:
R2: R5:
router isis 1 router isis
is-type-level-1 is-type level-1
! !
interface Loopback0 interface Loopback0
circuit-type level-1 isis circuit-type level-1
! !
! interface Ethernet0/0
interface GigabitEthernet0/0/0/0 description Link to R4 Gig 0/0/0/2
circuit-type level-1 isis circuit-type level-1
! !
! interface Ethernet0/1
interface GigabitEthernet0/0/0/1 description Link to R2 Gi0/0/0/1
circuit-type level-1 isis circuit-type level-1
!
! !
interface Ethernet0/2
description Link to R3 Gi0/0/0/3
isis circuit-type level-1
!
13
R3: R4:
router isis 1 router isis 1
is-type level-1 is-type level-1
! !
interface Loopback0 interface Loopback0
circuit-type level-1 circuit-type level-1
! !
! !
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/0
circuit-type level-1 circuit-type level-1
! !
! !
interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/1
circuit-type level-1 circuit-type level-1
! !
! !
interface GigabitEthernet0/0/0/2 interface GigabitEthernet0/0/0/2
circuit-type level-1 circuit-type level-1
! !
!
interface GigabitEthernet0/0/0/3
circuit-type level-1
!
R7: R8:
router isis router isis
is-type level-1 is-type level-1
! !
interface Loopback0 interface Loopback0
isis circuit-type level-1 isis circuit-type level-1
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R8 E0/1 description Link to R7 E0/1
isis circuit-type level-1 isis circuit-type level-1
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R3 Gi0/0/0/0 description Link to R4 Gi0/0/0/0
isis circuit-type level-1 isis circuit-type level-1
! !
AS1009:
R9: R10:
router isis router isis
is-type level-2-only is-type level-2-only
! !
interface Loopback0 interface Loopback0
isis circuit-type level-2-only isis circuit-type level-2-only
! !
interface Ethernet0/0 interface Ethernet0/0
description Link to R1 Gi0/0/0/2 description Link to R6 E0/2
isis circuit-type level-2-only isis circuit-type level-2-only
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R10 E0/1 description Link to R9 E0/1
isis circuit-type level-2-only isis circuit-type level-2-only
! !
R1: R6:
router isis 1 router isis
is-type level-2-only is-type level-2-only
! !
interface Loopback0 interface Loopback0
circuit-type level-2-only isis circuit-type level-2-only
! !
! interface Ethernet0/1
interface GigabitEthernet0/0/0/1 isis circuit-type level-2-only
circuit-type level-2-only !
! interface Ethernet0/2
! isis circuit-type level-2-only
interface GigabitEthernet0/0/0/2 !
circuit-type level-2-only
!
!
!
14
1.6 OSPFV3 HELLO
Configure OSPFv3 on routers in AS 1009 (Refer to Question 1.4 for router names, interfaces and
areas specification).
- Configure R1 and R6 so that OSPFv3 hello interval is 5 seconds on VLAN 18 (Link R1 Gi0/0/0/1 –
R6 E0/1 in our topology)
- Ensure that these subnets are shown in the routing table as OSPF routers and that you can ping
subnets in the OSPFv3 domain from any of the routers through IPv6 ???
SOLUTION:
R1: R6:
VALIDATION:
R6#sh ipv6 ospf interface e0/1
Ethernet0/1 is up, line protocol is up
Link Local Address FE80::A8BB:CCFF:FE00:6A10, Interface ID 3
Area 0, Process ID 1009, Instance ID 0, Router ID 9.9.0.6
Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 9.9.0.6, local address FE80::A8BB:CCFF:FE00:6A10
Backup Designated router (ID) 9.9.0.1, local address FE80::80:45FF:FE67:6EA9
Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
Hello due in 00:00:03
Graceful restart helper support enabled
Index 1/2/2, flood queue length 0
Next 0x0(0)/0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 6
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 9.9.0.1 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
15
1.7 IBGP IPV4 UNICAST TROUBLESHOOTING
R2, R3, R4, R5, R7 and R8 have been preconfigured to belong to AS9. R1, R6, R9, R10 have been
preconfigured to belong to AS 1009.
- R2 and R5 act as the route reflectors for iBGP IPv4 unicast within the AS9. iBGP IPv4 sessions
should NOT be established between R3, R4, R7 and R8.
- R1 and R6 act as the route reflectors for iBGP IPv4 unicast within the AS1009. An iBGP IPv4
session should not be established between R9 and R10.
- The interface Loopback0 address is used to establish iBGP IPv4 sessions.
- All routers Loopback0 networks are advertised as BGP IPv4 unicast updates.
/3
Gi0/0/0/1
.34.3
E0/1
.35.3
E0/1 Gi0/0/0/1 AS9 BGP RR
/0/0
.109.9 lo0 .78.7 lo0
16.1
Gi0 .0.3 .0.7
Gi0/0/0/1
GP
25.2
iBGP
GP
iB
iB
G
iB
P
iBGP
iBGP
AS9
iB
iBGP
GP
AS1009 P
iBG
lo0
.0.5
Gi0/0/0/1
iBGP
PROBLEM:
R7 doesn’t have R3 Loopback0 network in BGP IPv4 unicast table. Fix the problem and ensure that IPv4
unicasts are delivered properly within the corresponding AS.
16
SOLUTION:
AS9:
R2: - AS9 BGP IPv4 Unicast Route Reflector R5: - AS9 BGP IPv4 Unicast Route Reflector
router bgp 9 router bgp 9
bgp router-id 9.9.0.2 bgp router-id 9.9.0.5
address-family ipv4 unicast address-family ipv4 unicast
network 9.9.0.2/32 network 9.9.0.5/32
! !
neighbor 9.9.0.3 neighbor 9.9.0.3
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
route-reflector-client route-reflector-client
! !
neighbor 9.9.0.4 neighbor 9.9.0.4
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
route-reflector-client route-reflector-client
! !
! !
neighbor 9.9.0.5 ! Other route reflector neighbor 9.9.0.2 ! Other route reflector
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
! !
neighbor 9.9.0.7 neighbor 9.9.0.7
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
route-reflector-client route-reflector-client
! !
neighbor 9.9.0.8 neighbor 9.9.0.8
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
route-reflector-client route-reflector-client
! !
R3: R4:
router bgp 9 router bgp 9
bgp router-id 9.9.0.3 bgp router-id 9.9.0.4
address-family ipv4 unicast address-family ipv4 unicast
network 9.9.0.3/32 network 9.9.0.4/32
! !
neighbor 9.9.0.2 neighbor 9.9.0.2
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
! !
neighbor 9.9.0.5 neighbor 9.9.0.5
remote-as 9 remote-as 9
update-source Loopback0 update-source Loopback0
address-family ipv4 unicast address-family ipv4 unicast
! !
R7: R8:
router bgp 9 router bgp 9
bgp router-id 9.9.0.7 bgp router-id 9.9.0.8
bgp log-neighbor-changes bgp log-neighbor-changes
no bgp default ipv4-unicast no bgp default ipv4-unicast
neighbor 9.9.0.2 remote-as 9 neighbor 9.9.0.2 remote-as 9
neighbor 9.9.0.2 update-source Loopback0 neighbor 9.9.0.2 update-source Loopback0
neighbor 9.9.0.5 remote-as 9 neighbor 9.9.0.5 remote-as 9
neighbor 9.9.0.5 update-source Loopback0 neighbor 9.9.0.5 update-source Loopback0
! !
address-family ipv4 address-family ipv4
network 9.9.0.7 mask 255.255.255.255 network 9.9.0.8 mask 255.255.255.255
neighbor 9.9.0.2 activate neighbor 9.9.0.2 activate
neighbor 9.9.0.5 activate neighbor 9.9.0.5 activate
exit-address-family exit-address-family
! !
17
AS1009:
R9: R10:
R1: - AS1009 BGP IPv4 Unicast Route Reflector R6: - AS1009 BGP IPv4 Unicast Route Reflector
VALIDATION:
{----------------------------------------------------AS 9------------------------------------------------------}
R2:
18
RP/0/0/CPU0:R2#sh bgp ipv4 uni
R5:
R3:
19
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
9.9.0.2 0 9 3483 3458 26 0 0 2d09h 5
9.9.0.5 0 9 3821 3457 26 0 0 2d09h 5
R4:
20
R7:
R8:
21
{----------------------------------------------------AS 1009------------------------------------------------------}
R9:
R10:
22
R1: - AS 1009 iBGP IPv4 unicast Route Reflector
RP/0/0/CPU0:R1#sh bgp ipv4 uni summary
Fri Dec 14 01:39:18.089 MSK
BGP router identifier 9.9.0.1, local AS number 1009
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0xe0000000 RD version: 32
BGP main routing table version 32
BGP scan interval 60 secs
23
1.8 IBGP IPV6 UNICAST TROUBLESHOOTING
R2, R3, R4, R5, R7 and R8 have been preconfigured to belong to AS9. R1, R6, R9, R10 have been
preconfigured to belong to AS 1009.
- R5 acts as the route reflector for iBGP IPv6 unicast within the AS9. iBGP IPv6 sessions should
NOT be established between R2, R3, R4, R7 and R8.
- R6 acts as the route reflector for iBGP IPv6 unicast within the AS1009. An iBGP IPv4 session
should not be established between R1, R9 and R10.
- The interface Loopback0 address is used to establish iBGP IPv6 sessions.
- All routers Loopback0 networks are advertised as BGP IPv6 unicast updates.
lo0 lo0
::9 lo0 ::2
::1
E0/0 Gi0/0/0/2 Gi0/0/0/0
Gi0/0/0/0
:19::9 19::1 12::1
:23::2 Gi0/0/0/0
Gi0/0/0/2 Gi0/0/0/2 :37::3 E0/2 S2/0
R9 R1 :12::2 R2 :23::3 R3 :37::7 R7 R21
/3
Gi0/0/0/1
:34::3
E0/1
3
E0/1 Gi0/0/0/1
/0/0
:35::
:109::9 lo0 :78::7 lo0
16::1
Gi0
::3 ::7
Gi0/0/0/1
:25::2
GP
iBGP
iB
iBGP
iBGP
AS9
AS1009 P
iBG
lo0
::5
Gi0/0/0/1
iBGP
PROBLEM:
R1 Loopback0 network is not seen in R6, R9 and R10 BGP IPv6 unicast tables. Fix the problem and
ensure that R1 Loopback0 network is present in R6, R9 and R10 BGP IPv6 unicast tables.
SOLUTION:
AS9:
24
neighbor 2002:9:9::2 activate
neighbor 2002:9:9::2 route-reflector-client
neighbor 2002:9:9::3 activate
neighbor 2002:9:9::3 route-reflector-client
neighbor 2002:9:9::4 activate
neighbor 2002:9:9::4 route-reflector-client
neighbor 2002:9:9::7 activate
neighbor 2002:9:9::7 route-reflector-client
neighbor 2002:9:9::8 activate
neighbor 2002:9:9::8 route-reflector-client
exit-address-family
R3: R4:
AS1009:
R9: R10:
25
VALIDATION:
{----------------------------------------------------AS 9------------------------------------------------------}
R2:
26
R5# sh ip bgp ipv6 unicast
BGP table version is 14, local router ID is 9.9.0.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
R3:
R4:
RP/0/0/CPU0:R4#sh bgp ipv6 unicast summary
Mon Dec 17 15:45:10.464 MSK
BGP router identifier 9.9.0.4, local AS number 9
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0xe0800000 RD version: 18
BGP main routing table version 18
BGP scan interval 60 secs
27
R7:
R8:
R8# show bgp ipv6 unicast summary
28
{----------------------------------------------------AS 1009------------------------------------------------------}
R9:
R10:
29
R1:
30
1.9 EBGP IPV4 UNICAST TROUBLESHOOTING
Gi0/0/0/1
.34.3
E0/1
.35.3
.0.3 .0.7
Gi0/0/0/1
GP
25.2
iBGP
GP
iB
iB
G
iB
P
iBGP
iBGP
AS9
iB
iBGP
GP
AS1009 P
iBG
lo0
.0.5
Gi0/0/0/1
iBGP
SOLUTION:
R1: R2:
! !
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/2
description Link to R2 Gi0/0/0/0 description Link to R1 Gig0/0/0/0
cdp cdp
ipv4 address 9.9.12.1 255.255.255.0 ipv4 address 9.9.12.2 255.255.255.0
! !
router bgp 1009 router bgp 9
! !
neighbor 9.9.12.2 neighbor 9.9.12.1
remote-as 9 remote-as 1009
address-family ipv4 unicast address-family ipv4 unicast
route-policy default_policy_pass_all in route-policy default_policy_pass_all in
route-policy default_policy_pass_all out route-policy default_policy_pass_all out
! !
neighbor 9.9.0.6 neighbor 9.9.0.3
remote-as 1009 remote-as 9
address-family ipv4 unicast address-family ipv4 unicast
next-hop-self next-hop-self
31
! !
! neighbor 9.9.0.4
neighbor 9.9.0.9 remote-as 9
remote-as 1009 address-family ipv4 unicast
address-family ipv4 unicast next-hop-self
next-hop-self !
! neighbor 9.9.0.5
! remote-as 9
neighbor 9.9.0.10 address-family ipv4 unicast
remote-as 1009 next-hop-self
address-family ipv4 unicast !
next-hop-self neighbor 9.9.0.7
! remote-as 9
! address-family ipv4 unicast
next-hop-self
route-policy default_policy_pass_all !
pass neighbor 9.9.0.8
end-policy remote-as 9
! address-family ipv4 unicast
next-hop-self
!
route-policy default_policy_pass_all
pass
end-policy
!
R6: R5:
interface Serial2/0
description PPP Link to R5 S2/0
ip address 9.9.56.6 255.255.255.0 interface Serial2/0
encapsulation ppp description PPP link to R6 S2/0
serial restart-delay 0 ip address 9.9.56.5 255.255.255.0
! encapsulation ppp
router bgp 1009 serial restart-delay 0
neighbor 9.9.56.5 remote-as 9 !
neighbor 9.9.0.1 remote-as 1009 router bgp 9
neighbor 9.9.0.9 remote-as 1009 neighbor 9.9.56.6 remote-as 1009
neighbor 9.9.0.10 remote-as 1009 neighbor 9.9.0.1 remote-as 9
! neighbor 9.9.0.3 remote-as 9
address-family ipv4 neighbor 9.9.0.4 remote-as 9
neighbor 9.9.56.5 activate neighbor 9.9.0.7 remote-as 9
neighbor 9.9.0.1 next-hop-self neighbor 9.9.0.8 remote-as 9
neighbor 9.9.0.9 next-hop-self !
neighbor 9.9.0.10 next-hop-self address-family ipv4
neighbor 9.9.56.6 activate
! neighbor 9.9.0.1 next-hop-self
neighbor 9.9.0.3 next-hop-self
neighbor 9.9.0.4 next-hop-self
neighbor 9.9.0.7 next-hop-self
neighbor 9.9.0.8 next-hop-self
!
VALIDATION:
{----------------------------------------------------AS 9------------------------------------------------------}
R2:
R5:
R3:
R4:
R7:
R8:
{----------------------------------------------------AS 1009------------------------------------------------------}
R9:
33
R10:
R1:
R6:
R6#sh ip bgp ipv4 unicast | i 0 9
*> 9.9.0.2/32 9.9.56.5 0 9 i
* i 9.9.0.1 0 100 0 9 i
*> 9.9.0.3/32 9.9.56.5 0 9 i
* i 9.9.0.1 100 0 9 i
*> 9.9.0.4/32 9.9.56.5 0 9 i
* i 9.9.0.1 100 0 9 i
*> 9.9.0.5/32 9.9.56.5 0 0 9 i
* i 9.9.0.1 100 0 9 i
*> 9.9.0.7/32 9.9.56.5 0 9 i
* i 9.9.0.1 100 0 9 i
*> 9.9.0.8/32 9.9.56.5 0 9 i
* i 9.9.0.1 100 0 9 i
34
CCIE SP Lab1 eBGP IPv6 Unicast Diagram
R24 SW1
First octets of the all IPv6 addresses here are 2002:9:9
SW2
lo0 lo0
::9 lo0 ::2
::1
E0/0 Gi0/0/0/2 Gi0/0/0/0 Gi0/0/0/0
:19::9 19::1 12::1 :23::2 Gi0/0/0/0
Gi0/0/0/2 Gi0/0/0/2 :37::3 E0/2 S2/0
R9 R1 :12::2 R2 :23::3 R3 :37::7 R7 R21
/3
Gi0/0/0/1
:34::3
E0/1
3
E0/1 Gi0/0/0/1
/0/0
:35::
:109::9 16::1 lo0 :78::7 lo0
Gi0
::3 ::7
Gi0/0/0/1
:25::2
GP
iBGP
iB
iBGP
iBGP
AS9
AS1009 P
iBG
lo0
lo0
::5
Gi0/0/0/1
lo0 ::6 lo0 lo0
E0/1
:34::4
E0/1 ::10 E0/1
:16::6 E0/1 E0/2 ::4 ::8
:109::10 eBGP :78::8
iBGP :25::5 :35::5
Gi0/0/0/0
S2/0 S2/0 iBGP :48::4 E0/2
:56::6 :56::5 :48::8
R10 E0/0 E0/2
:106::10 :106::6
R6 ppp R5 E0/0 Gi0/0/0/2 R8 R22
:45::5 :45::4 R4
AS1009 BGP RR AS9 BGP RR
iBGP
SOLUTION:
R6: R5:
VALIDATION:
{----------------------------------------------------AS 9------------------------------------------------------}
R2:
RP/0/0/CPU0:R2#sh bgp ipv6 unicast | i 1009
Tue Dec 18 22:37:03.233 MSK
*>i2002:9:9::1/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::6/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::9/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::10/128 2002:9:9::5 0 100 0 1009 i
35
R5:
R3:
RP/0/0/CPU0:R3#sh bgp ipv6 unicast | i 1009
Tue Dec 18 22:40:06.121 MSK
*>i2002:9:9::1/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::6/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::9/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::10/128 2002:9:9::5 0 100 0 1009 i
R4:
R7:
R7# show ip bgp ipv6 unicast | i 1009
*>i2002:9:9::1/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::6/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::9/128 2002:9:9::5 0 100 0 1009 i
*>i2002:9:9::10/128 2002:9:9::5 0 100 0 1009 i
R8:
{----------------------------------------------------AS 1009------------------------------------------------------}
R9:
R9#show ip bgp ipv6 unicast | i 0 9
*>i2002:9:9::2/128 2002:9:9::6 0 100 0 9 i
*>i2002:9:9::3/128 2002:9:9::6 0 100 0 9 i
*>i2002:9:9::4/128 2002:9:9::6 0 100 0 9 i
*>i2002:9:9::5/128 2002:9:9::6 0 100 0 9 i
*>i2002:9:9::7/128 2002:9:9::6 0 100 0 9 i
*>i2002:9:9::8/128 2002:9:9::6 0 100 0 9 i
R10:
36
R1:
R6:
- Configure R5 to ensure that IPv4 traffic from AS9 destined to AS 1009 chooses R5 as primary exit
point and R2 as a backup exit point.
- Configure R6 to ensure that IPv4 traffic from AS9 destined to AS 1009 chooses R5 as primary exit
point and R2 as a backup exit point.
SOLUTION:
R5: R6:
ip as-path access-list 1 permit ^1009$ ip as-path access-list 1 permit ^9$
! !
route-map RM_FROM_R6 permit 10 route-map RM_FROM_R5 permit 10
match as-path 1 match as-path 1
set local-preference 200 set local-preference 200
route-map RM_FROM_R6 permit 20 route-map RM_FROM_R5 permit 20
! !
router bgp 9 router bgp 1009
! !
address-family ipv4 address-family ipv4
neighbor 9.9.56.6 route-map RM_FROM_R6 in neighbor 9.9.56.5 route-map RM_FROM_R5 in
VALIDATION:
NB! It makes sense to verify the paths to remote AS on the routers located as far as possible from the
AS9 and AS1009 ASBRs. In our topology they are R9 and R7.
{----------------------------------------------------AS 9------------------------------------------------------}
R7:
37
R7#sh ip bgp ipv4 unicast 9.9.0.9
{----------------------------------------------------AS 1009------------------------------------------------------}
R9:
- R2, R3, R4, R5, R7 and R8 have been enabled MPLS LDP in AS9 on the interfaces that are shown
in the Table 5.
38
Ethernet0/2
R7 Ethernet0/1
Ethernet0/2
R8 Ethernet0/1
Ethernet0/2
- R1, R6, R9, and R10 have been enabled MPLS LDP in AS1009 on the interfaces that are shown in
the Table 6.
- Any interfaces that are NOT listed in the tables 5 and 6 should NOT be MPLS enabled
PROBLEM:
There are NO successful LDP sessions between R7 and R8, R4 and R8. Fix the problem and make LDP
works properly.
SOLUTION:
NB!
- There is no explicit requirement to define the unique label range for each router, but it seriously
helps in MPLS LDP troubleshooting.
- Commands that were entered on the previous steps but required for better understanding are
highlighted in green
AS9:
R2: R5:
mpls label range table 0 26000 26999 mpls label range 5000 5999
! mpls label protocol ldp
mpls ldp mpls ldp router-id Loopback0 force
router-id 9.9.0.2 !
interface GigabitEthernet0/0/0/0 interface Ethernet0/0
! description Link to R4 Gig 0/0/0/2
interface GigabitEthernet0/0/0/1 mpls ip
! !
! interface Ethernet0/1
description Link to R2 Gi0/0/0/1
mpls ip
!
interface Ethernet0/2
description Link to R3 Gi0/0/0/3
mpls ip!
39
R3: R4:
mpls label range table 0 36000 36999 mpls label range table 0 46000 46999
mpls ldp mpls ldp
router-id 9.9.0.3 router-id 9.9.0.4
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/0
! !
interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/1
! !
interface GigabitEthernet0/0/0/2 interface GigabitEthernet0/0/0/2
! !
interface GigabitEthernet0/0/0/3 !
!
!
R7: R8:
mpls label range 7000 7999 mpls label range 8000 8999
mpls label protocol ldp mpls label protocol ldp
mpls ldp router-id Loopback0 force mpls ldp router-id Loopback0 force
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R8 E0/1 description Link to R7 E0/1
mpls ip mpls ip
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R3 Gi0/0/0/0 description Link to R4 Gi0/0/0/0
mpls ip mpls ip
!
AS1009:
R9: R10:
mpls label range 9000 9999 mpls label range 10000 10999
mpls label protocol ldp mpls label protocol ldp
mpls ldp router-id Loopback0 force mpls ldp router-id Loopback0 force
! !
interface Ethernet0/0 interface Ethernet0/0
description Link to R1 Gi0/0/0/2 description Link to R6 E0/2
mpls ip mpls ip
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R10 E0/1 description Link to R9 E0/1
mpls ip mpls ip
! !
R1: R5:
mpls label range table 0 16000 16999 mpls label range 5000 5999
! mpls label protocol ldp
mpls ldp mpls ldp router-id Loopback0 force
router-id 9.9.0.1 !
interface GigabitEthernet0/0/0/1 interface Ethernet0/0
! description Link to R4 Gig 0/0/0/2
interface GigabitEthernet0/0/0/2 mpls ip
! !
! interface Ethernet0/1
description Link to R2 Gi0/0/0/1
mpls ip
!
interface Ethernet0/2
description Link to R3 Gi0/0/0/3
mpls ip
!
40
VALIDATION:
{----------------------------------------------------AS 9------------------------------------------------------}
R2:
RP/0/0/CPU0:R2#sh mpls ldp nei | i 9.9.
R5:
R5#sh mpls ldp nei | i 9.9.
R3:
RP/0/0/CPU0:R3#sh mpls ldp neighbor | i 9.9.
R4:
RP/0/0/CPU0:R4#sh mpls ldp neighbor | i 9.9.
41
R7:
R7#sh mpls ldp neighbor | i 9.9.
R8:
R8#sh mpls ldp neighbor | i 9.9.
{----------------------------------------------------AS 1009------------------------------------------------------}
R9:
R9#sh mpls ldp neighbor | i 9.9.
R10:
R10#sh mpls ldp nei | i 9.9.
R1:
RP/0/0/CPU0:R1#sh mpls ldp neighbor | i 9.9.
42
R6:
R6#sh mpls ldp nei | i 9.9.
- Configure R2, R3, R4, R5, R7 and R8 to support MPLS traffic engineering.
- Set up MPLS TE Tunnel 82 on R8 to reach R2 via R4, R5, R3 and R2
- Set up MPLS TE Tunnel 28 on R2 to reach R8 via R3, R5, R4 and R8
- Ensure that traffic from R8 to the R2 Loopback2 interface chooses tunnel 82
- Ensure that traffic from R2 to the R8 Loopback2 interface chooses tunnel 28
- You are permitted to define static route on R8 and R2 to accomplish this task
- Configure R2, R3, R4, R5, R7 and R8 to support a maximum 25Mbit/s bandwidth reservation on
each subinterface.
- Set up MPLS TE Tunnel 82 with a bandwidth of 5 Mbit/s. Set up MPLS TE Tunnel 28 with a
bandwidth of 5 Mbit/s.
SOLUTION:
MPLS TE infrastructure
R2: R5:
router isis 1
address-family ipv4 unicast mpls traffic-eng tunnels
metric-style wide !
mpls traffic-eng level-1 router isis
mpls traffic-eng router-id Loopback0 metric-style wide
! mpls traffic-eng router-id Loopback0
mpls traffic-eng mpls traffic-eng level-1
interface GigabitEthernet0/0/0/0 !
! interface Ethernet0/0
interface GigabitEthernet0/0/0/1 description Link to R4 Gig 0/0/0/2
! mpls traffic-eng tunnels
! ip rsvp bandwidth 25000
rsvp !
interface GigabitEthernet0/0/0/0 interface Ethernet0/1
bandwidth 25000 description Link to R2 Gi0/0/0/1
! mpls traffic-eng tunnels
interface GigabitEthernet0/0/0/1 ip rsvp bandwidth 25000
bandwidth 25000 !
! interface Ethernet0/2
! description Link to R3 Gi0/0/0/3
mpls traffic-eng tunnels
ip rsvp bandwidth 25000
!
R3: R4:
router isis 1
address-family ipv4 unicast router isis 1
metric-style wide address-family ipv4 unicast
mpls traffic-eng level-1 metric-style wide
mpls traffic-eng level-1
43
mpls traffic-eng router-id Loopback0 mpls traffic-eng router-id Loopback0
! !
mpls traffic-eng mpls traffic-eng
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/0
! !
interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/1
! !
interface GigabitEthernet0/0/0/2 interface GigabitEthernet0/0/0/2
! !
interface GigabitEthernet0/0/0/3 !
! rsvp
interface GigabitEthernet0/0/0/0
! bandwidth 25000
rsvp !
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/1
bandwidth 25000 bandwidth 25000
! !
interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/2
bandwidth 25000 bandwidth 25000
! !
interface GigabitEthernet0/0/0/2 !
bandwidth 25000
!
interface GigabitEthernet0/0/0/3
bandwidth 25000
!
!
R7: R8:
mpls traffic-eng tunnels mpls traffic-eng tunnels
! !
router isis router isis
metric-style wide metric-style wide
mpls traffic-eng router-id Loopback0 mpls traffic-eng router-id Loopback0
mpls traffic-eng level-1 mpls traffic-eng level-1
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R8 E0/1 description Link to R7 E0/1
mpls traffic-eng tunnels mpls traffic-eng tunnels
ip rsvp bandwidth 25000 ip rsvp bandwidth 25000
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R3 Gi0/0/0/0 description Link to R4 Gi0/0/0/0
mpls traffic-eng tunnels mpls traffic-eng tunnels
ip rsvp bandwidth 25000 ip rsvp bandwidth 25000
! !
R8: R2:
! !
interface Tunnel82 interface tunnel-te28
description TE Tunnel from R8 to R2 bandwidth 5000
ip unnumbered Loopback0 ipv4 unnumbered Loopback0
tunnel mode mpls traffic-eng priority 7 7
tunnel destination 9.9.0.2 destination 9.9.0.8
tunnel mpls traffic-eng priority 7 7 path-option 10 explicit name TE-28
tunnel mpls traffic-eng bandwidth 5000 !
tunnel mpls traffic-eng path-option 10 explicit-path name TE-28
explicit name TE-82 index 10 next-address strict ipv4 unicast 9.9.0.3
! index 20 next-address strict ipv4 unicast 9.9.0.5
ip explicit-path name TE-82 enable index 30 next-address strict ipv4 unicast 9.9.0.4
next-address 9.9.0.4 index 40 next-address strict ipv4 unicast 9.9.0.8
next-address 9.9.0.5 !
next-address 9.9.0.3 router static
next-address 9.9.0.2 address-family ipv4 unicast
! 9.9.0.88/32 tunnel-te28
ip route 9.9.0.22 255.255.255.255 tunnel82 !
!
!
44
VALIDATION:
R8:
R8#sh int tun82
Tunnel82 is up, line protocol is up
Hardware is Tunnel
Description: TE Tunnel from R8 to R2
Interface is unnumbered. Using address of Loopback0 (9.9.0.8)
MTU 17936 bytes, BW 100 Kbit/sec, DLY 50000 usec,
reliability 255/255, txload 255/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 9.9.0.8, destination 9.9.0.2
Tunnel protocol/transport Label Switching
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input never, output 00:00:03, output hang never
Last clearing of "show interface" counters 05:03:44
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 30000 bits/sec, 35 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
10012 packets output, 1040384 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
InLabel : -
OutLabel : Ethernet0/2, 46011
Next Hop : 9.9.48.4
RSVP Signalling Info:
Src 9.9.0.8, Dst 9.9.0.2, Tun_Id 82, Tun_Instance 28
RSVP Path Info:
My Address: 9.9.48.8
Explicit Route: 9.9.48.4 9.9.45.4 9.9.45.5 9.9.35.5
9.9.35.3 9.9.23.3 9.9.23.2 9.9.0.2
Record Route: NONE
Tspec: ave rate=5000 kbits, burst=1000 bytes, peak rate=5000 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=5000 kbits, burst=1000 bytes, peak rate=5000 kbits
Shortest Unconstrained Path Info:
Path Weight: 30 (TE)
Explicit Route: 9.9.48.8 9.9.48.4 9.9.34.4 9.9.34.3
9.9.23.3 9.9.23.2 9.9.0.2
History:
Tunnel:
Time since created: 5 hours, 7 minutes
Time since path change: 5 hours, 2 minutes
Number of LSP IDs (Tun_Instances) used: 28
Current LSP: [ID: 28]
Uptime: 5 hours, 2 minutes
45
R8#traceroute 9.9.0.22
Type escape sequence to abort.
Tracing the route to 9.9.0.22
VRF info: (vrf in name/id, vrf out name/id)
1 9.9.48.4 6 msec 5 msec 6 msec
2 9.9.45.5 [MPLS: Label 5008 Exp 0] 5 msec 5 msec 5 msec
3 9.9.35.3 6 msec 7 msec 6 msec
4 9.9.23.2 4 msec * 5 msec
R2:
RP/0/0/CPU0:R2#sh int tunnel-te 28
Mon Dec 24 13:38:13.834 MSK
tunnel-te28 is up, line protocol is up
Interface state transitions: 1
Hardware is Tunnel-TE
Internet address is 9.9.0.2/32
MTU 1500 bytes, BW 5000 Kbit (Max: 5000 Kbit)
reliability 254/255, txload Unknown, rxload Unknown
Encapsulation TUNNEL, loopback not set,
Last input never, output 00:00:00
Last clearing of "show interface" counters never
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
0 packets input, 0 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 0 broadcast packets, 0 multicast packets
4046 packets output, 420264 bytes, 0 total output drops
Output 0 broadcast packets, 0 multicast packets
46
RP/0/0/CPU0:R2#traceroute 9.9.0.88
SOLUTION:
MPLS TE Tunnels 85 and 45
R8: R4:
! !
interface Tunnel85 interface tunnel-te45
ip unnumbered Loopback0 ipv4 unnumbered Loopback0
tunnel mode mpls traffic-eng destination 9.9.0.5
tunnel destination 9.9.0.5 path-option 10 explicit name B-TE-45
tunnel mpls traffic-eng path-option 10 dynamic !
tunnel mpls traffic-eng fast-reroute explicit-path name B-TE-45
! index 10 next-address strict ipv4 unicast 9.9.0.3
index 20 next-address strict ipv4 unicast 9.9.0.5
!
mpls traffic-eng
interface GigabitEthernet0/0/0/2
backup-path tunnel-te 45
!
!
VALIDATION:
47
R8#sh mpls traffic-eng tunnels tunnel 85
Name: R8_t85 (Tunnel85) Destination: 9.9.0.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type dynamic (Basis for Setup, path weight 20)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 [0] bw-based
auto-bw: disabled
Active Path Option Parameters:
State: dynamic path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Ethernet0/2, 46010
Next Hop : 9.9.48.4
RSVP Signalling Info:
Src 9.9.0.8, Dst 9.9.0.5, Tun_Id 85, Tun_Instance 28
RSVP Path Info:
My Address: 9.9.48.8
Explicit Route: 9.9.48.4 9.9.45.4 9.9.45.5 9.9.0.5
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: 9.9.0.4(46010) 9.9.48.4(46010)
9.9.0.5(3)
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 20 (TE)
Explicit Route: 9.9.48.8 9.9.48.4 9.9.45.4 9.9.45.5
9.9.0.5
History:
Tunnel:
Time since created: 5 hours, 33 minutes
Time since path change: 5 hours, 28 minutes
Number of LSP IDs (Tun_Instances) used: 28
Current LSP: [ID: 28]
Uptime: 5 hours, 28 minutes
R4:
RP/0/0/CPU0:R4#sh int gigabitEthernet 0/0/0/2
Mon Dec 24 14:16:00.424 MSK
GigabitEthernet0/0/0/2 is up, line protocol is up
Interface state transitions: 1
Hardware is GigabitEthernet, address is 02b7.b31a.3224 (bia 02b7.b31a.3224)
Description: Link to R5 E0/0
Internet address is 9.9.45.4/24
MTU 1514 bytes, BW 1000000 Kbit (Max: 1000000 Kbit)
reliability 41/255, txload 0/255, rxload 0/255
Encapsulation ARPA,
Full-duplex, 1000Mb/s, unknown, link type is force-up
output flow control is off, input flow control is off
Carrier delay (up) is 10 msec
loopback not set,
ARP type ARPA, ARP timeout 04:00:00
Last input 00:00:00, output 00:00:00
Last clearing of "show interface" counters never
5 minute input rate 0 bits/sec, 4530 packets/sec
5 minute output rate 6000 bits/sec, 72484 packets/sec
94113029 packets input, 1064087 bytes, 621039616 total input drops
0 drops for unrecognized upper-level protocol
Received 95708160 broadcast packets, 95176449 multicast packets
224382464 runts, 223319040 giants, 0 throttles, 0 parity
903910400 input errors, 113254656 CRC, 0 frame, 102620416 overrun, 0 ignored, 0 abort
1505808384 packets output, 17014784 bytes, 656334848 total output drops
Output 1531330560 broadcast packets, 1522823168 multicast packets
1829089280 output errors, 1641926656 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitions
Protection condition: Link between R4 (interface Gi0/0/0/2) and R5 (Ethernet 0/0) is DOWN
R4:
49
R8:
R8#sh mpls traffic-eng tunnels tunnel 85
Name: R8_t85 (Tunnel85) Destination: 9.9.0.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type dynamic (Basis for Setup, path weight 30)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 [0] bw-based
auto-bw: disabled
Active Path Option Parameters:
State: dynamic path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Ethernet0/1, 7020
Next Hop : 9.9.78.7
RSVP Signalling Info:
Src 9.9.0.8, Dst 9.9.0.5, Tun_Id 85, Tun_Instance 34
RSVP Path Info:
My Address: 9.9.78.8
Explicit Route: 9.9.78.7 9.9.37.7 9.9.37.3 9.9.35.3
9.9.35.5 9.9.0.5
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: 9.9.0.7(7020) 9.9.0.3(36023)
9.9.37.3(36023) 9.9.0.5(3)
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 30 (TE)
Explicit Route: 9.9.48.8 9.9.48.4 9.9.34.4 9.9.34.3
9.9.35.3 9.9.35.5 9.9.0.5
History:
Tunnel:
Time since created: 5 hours, 57 minutes
Time since path change: 5 minutes, 40 seconds
Number of LSP IDs (Tun_Instances) used: 34
Current LSP: [ID: 34]
Uptime: 5 minutes, 43 seconds
Selection: reoptimization
Prior LSP: [ID: 28]
ID: path option 10 [28]
Removal Trigger: re-route path error
Last Error: RSVP:: Path Error from 9.9.48.4: Notify: Tunnel locally repaired (flags 0)
50
1.15 IPV4 PIM-SM TROUBLESHOOTING
IPv4 multicast and PIM sparse mode have been configured in the service provider network AS9 and
AS 1009 as follows:
- The interfaces that are shown in the Tables 7 and 8 have been configured to PIM sparse mode
Router Interface
R2 Loopback0
GigabitEthernet0/0/0/0
GigabitEthernet0/0/0/1
R3 Loopback0
GigabitEthernet0/0/0/0
GigabitEthernet0/0/0/1
GigabitEthernet0/0/0/2
GigabitEthernet0/0/0/3
R4 Loopback0
GigabitEthernet0/0/0/0
GigabitEthernet0/0/0/1
GigabitEthernet0/0/0/2
R5 Loopback0
Ethernet0/0
Ethernet0/1
Ethernet0/2
Serial 2/0
R7 Loopback0
Ethernet0/1
Ethernet0/2
R8 Loopback0
Ethernet0/1
Ethernet0/2
Router Interface
R9 Loopback0
Ethernet0/0
Ethernet0/1
R10 Loopback0
Ethernet0/0
Ethernet0/1
R1 Loopback0
GigabitEthernet0/0/0/1
GigabitEthernet0/0/0/2
R6 Loopback0
Ethernet0/1
Ethernet0/2
Serial 2/0
51
- Interfaces are not listed in the table should not have PIM-SM enabled
PROBLEM:
- There is no PIM-SM neighboring adjacency between R3 and R4. Fix the problem and ensure that
R3 is the DR in the AS9 and R1 is the DR in the AS1009???
SOLUTION:
AS9:
R2: R5:
multicast-routing ip multicast-routing
address-family ipv4 !
interface Loopback0 interface Loopback0
enable ip pim sparse-mode
! !
interface GigabitEthernet0/0/0/0 interface Ethernet0/0
enable description Link to R4 Gig 0/0/0/2
! ip pim sparse-mode
interface GigabitEthernet0/0/0/1 !
enable interface Ethernet0/1
! description Link to R2 Gi0/0/0/1
! ip pim sparse-mode
! !
router pim interface Ethernet0/2
address-family ipv4 description Link to R3 Gi0/0/0/3
interface Loopback0 ip pim sparse-mode
enable !
! interface Serial2/0
interface GigabitEthernet0/0/0/0 description PPP link to R6 S2/0
enable ip pim sparse-mode
! !
interface GigabitEthernet0/0/0/1
enable
!
!
!
R3: R4:
multicast-routing multicast-routing
address-family ipv4 address-family ipv4
interface Loopback0 interface Loopback0
enable enable
! !
interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/0
enable enable
! !
interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/1
enable enable
! !
interface GigabitEthernet0/0/0/2 interface GigabitEthernet0/0/0/2
enable enable
! !
interface GigabitEthernet0/0/0/3 !
enable !
! router pim
! address-family ipv4
! interface Loopback0
router pim enable
address-family ipv4 !
rpf-vector interface GigabitEthernet0/0/0/0
interface Loopback0 enable
enable !
! interface GigabitEthernet0/0/0/1
interface GigabitEthernet0/0/0/0 enable
enable !
dr-priority 4294967295 interface GigabitEthernet0/0/0/2
! enable
interface GigabitEthernet0/0/0/1 !
enable !
dr-priority 4294967295 !
!
52
interface GigabitEthernet0/0/0/2
enable
dr-priority 4294967295
!
interface GigabitEthernet0/0/0/3
enable
dr-priority 4294967295
!
!
R7: R8:
ip multicast-routing ip multicast-routing
! !
interface Loopback0 interface Loopback0
ip pim sparse-mode ip pim sparse-mode
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R8 E0/1 description Link to R7 E0/1
ip pim sparse-mode ip pim sparse-mode
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R3 Gi0/0/0/0 description Link to R4 Gi0/0/0/0
ip pim sparse-mode ip pim sparse-mode
! !
AS1009:
R9: R10:
ip multicast-routing ip multicast-routing
! !
interface Loopback0 interface Loopback0
ip pim sparse-mode ip pim sparse-mode
! !
interface Ethernet0/0 interface Ethernet0/0
description Link to R1 Gi0/0/0/2 description Link to R6 E0/2
ip pim sparse-mode ip pim sparse-mode
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R10 E0/1 description Link to R9 E0/1
ip pim sparse-mode ip pim sparse-mode
! !
R1: R6:
multicast-routing ip multicast-routing
address-family ipv4 !
interface Loopback0 interface Loopback0
enable ip pim sparse-mode
! !
interface GigabitEthernet0/0/0/1 interface Ethernet0/1
enable description Link to R1 Gi0/0/0/1
! ip pim sparse-mode
interface GigabitEthernet0/0/0/2 !
enable interface Ethernet0/2
! description Link to R10 E0/0 via SW3 E1/1
! ip pim sparse-mode
! !
router pim interface Serial2/0
address-family ipv4 description PPP Link to R5 S2/0
interface Loopback0 ip pim sparse-mode
enable !
!
interface GigabitEthernet0/0/0/1
enable
dr-priority 4294967294
!
interface GigabitEthernet0/0/0/2
enable
dr-priority 4294967295
!
!
53
VALIDATION:
{--------------------------------------------- AS9----------------------------------------------------}
R2:
R5:
R5#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
9.9.45.4 Ethernet0/0 1d11h/00:01:20 v2 1 / G
9.9.25.2 Ethernet0/1 1d11h/00:01:37 v2 1 / G
9.9.35.3 Ethernet0/2 1d11h/00:01:27 v2 1 / G
9.9.56.6 Serial2/0 1d11h/00:01:28 v2 1 / S P G
R3:
R4:
54
R7:
R7#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
9.9.78.8 Ethernet0/1 2d04h/00:01:15 v2 1 / DR S P G
9.9.37.3 Ethernet0/2 2d04h/00:01:42 v2 1 / G
R8:
R8#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
9.9.78.7 Ethernet0/1 2d04h/00:01:19 v2 1 / S P G
9.9.48.4 Ethernet0/2 2d04h/00:01:38 v2 1 / G
{--------------------------------------------- AS1009----------------------------------------------------}
R9:
R9#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
9.9.19.1 Ethernet0/0 2d04h/00:01:24 v2 1 / G
9.9.109.10 Ethernet0/1 2d04h/00:01:29 v2 1 / DR S P G
R10:
R10#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
9.9.106.6 Ethernet0/0 2d04h/00:01:20 v2 1 / S P G
9.9.109.9 Ethernet0/1 2d04h/00:01:21 v2 1 / S P G
R1:
RP/0/0/CPU0:R1#sh pim ipv4 neighbor
Sat Dec 29 17:59:35.507 MSK
R5:
55
1.16 IPV4 PIM-SM RP
R2, R3, R4, R5, R7 and R8 are in the same multicast domain and use the R5 Loopback0 IPv4
address as the rendezvous point (RP).
Use the BSR method to distribute the RP within AS-9.
R1, R6, R9 and R10 are in the same multicast domain and use the R6 Loopback0 IPv4 address as
the rendezvous point (RP).
Use the BSR method to distribute RP within AS-1009.
RP information should not leak between the two domains AS-9 and AS-1009.
Multicast Group addresses have configured as shown in Table 9.
Ensure that routers within AS-9 can ping the group address within AS-9
Ensure that routers within AS-1009 can ping the group address within AS-1009
SOLUTION:
AS9:
R2: R5:
!
! interface Loopback0
router igmp ip pim igmp join-group 239.255.0.5
interface Loopback0 !
join-group 239.255.0.2 interface Serial2/0
! description PPP link to R6 S2/0
! ip pim bsr-border
!
ip pim bsr-candidate Loopback0 0
ip pim rp-candidate Loopback0
!
R3: R4:
! !
router igmp router igmp
interface Loopback0 interface Loopback0
join-group 239.255.0.3 join-group 239.255.0.4
! !
R7: R8:
interface Loopback0 interface Loopback0
ip pim igmp join-group 239.255.0.7 ip pim igmp join-group 239.255.0.8
! !
56
AS1009:
R9: R10:
! !
interface Loopback0 interface Loopback0
ip pim igmp join-group 239.255.0.9 ip pim igmp join-group 239.255.0.10
! !
R1: R6:
!
! interface Loopback0
router igmp ip pim igmp join-group 239.255.0.6
interface Loopback0 !
join-group 239.255.0.1 interface Serial2/0
! description PPP Link to R5 S2/0
! ip pim bsr-border
!
ip pim bsr-candidate Loopback0 0
ip pim rp-candidate Loopback0
!
VALIDATION:
{--------------------------------------------- AS9----------------------------------------------------}
R7:
R7#sh ip pim bsr-router
PIMv2 Bootstrap information
BSR address: 9.9.0.5 (?)
Uptime: 3d08h, BSR Priority: 0, Hash mask length: 0
Expires: 00:01:53
Group(s) 224.0.0.0/4
RP 9.9.0.5 (?), v2
Info source: 9.9.0.5 (?), via bootstrap, priority 0, holdtime 150
Uptime: 3d08h, expires: 00:02:02
R7#ping 239.255.0.2 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.2, timeout is 2 seconds:
R7#ping 239.255.0.5 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.5, timeout is 2 seconds:
Reply to request 0 from 9.9.0.5, 21 ms
Reply to request 0 from 9.9.0.5, 22 ms
Reply to request 0 from 9.9.0.5, 22 ms
57
R7#ping 239.255.0.7 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.7, timeout is 2 seconds:
R7#ping 239.255.0.8 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.8, timeout is 2 seconds:
Reply to request 0 from 9.9.0.8, 11 ms
R8:
R8#sh ip pim bsr-router
PIMv2 Bootstrap information
BSR address: 9.9.0.5 (?)
Uptime: 3d08h, BSR Priority: 0, Hash mask length: 0
Expires: 00:01:25
R8#sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 9.9.0.5 (?), v2
Info source: 9.9.0.5 (?), via bootstrap, priority 0, holdtime 150
Uptime: 3d08h, expires: 00:01:38
R8#ping 239.255.0.2 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.2, timeout is 2 seconds:
Reply to request 0 from 9.9.0.2, 23 ms
Reply to request 0 from 9.9.0.2, 24 ms
Reply to request 0 from 9.9.0.2, 24 ms
Reply to request 0 from 9.9.0.2, 24 ms
R8#ping 239.255.0.3 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.3, timeout is 2 seconds:
Reply to request 0 from 9.9.0.3, 37 ms
Reply to request 0 from 9.9.0.3, 37 ms
Reply to request 0 from 9.9.0.3, 37 ms
R8#ping 239.255.0.4 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.4, timeout is 2 seconds:
R8#ping 239.255.0.8 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.8, timeout is 2 seconds:
Reply to request 0 from 9.9.0.8, 6 ms
Reply to request 0 from 9.9.0.8, 33 ms
Reply to request 0 from 9.9.0.8, 6 ms
Reply to request 0 from 9.9.0.8, 6 ms
58
R3:
RP/0/0/CPU0:R3#ping 239.255.0.4 c 1
Tue Jan 29 00:55:24.378 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.4, timeout is 2 seconds:
Reply to request 0 from 9.9.0.4, 208 ms
RP/0/0/CPU0:R3#ping 239.255.0.5 c 1
Tue Jan 29 00:55:30.065 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.5, timeout is 2 seconds:
Reply to request 0 from 9.9.0.5, 469 ms
RP/0/0/CPU0:R3#ping 239.255.0.7 c 1
Tue Jan 29 00:57:06.255 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.7, timeout is 2 seconds:
Reply to request 0 from 9.9.0.7, 7 ms
RP/0/0/CPU0:R3#ping 239.255.0.8 c 1
Tue Jan 29 00:57:11.135 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.8, timeout is 2 seconds:
Reply to request 0 from 9.9.0.8, 2 ms
R4:
RP/0/0/CPU0:R4#sh pim bsr election
Tue Jan 29 01:45:22.396 MSK
PIM BSR Election State
Cand/Elect-State Uptime BS-Timer BSR C-BSR
No-Info/Accept-Pref 07:33:11 00:01:11 9.9.0.5 [0, 0] 0.0.0.0 [0, 0]
RP/0/0/CPU0:R4#ping 239.255.0.2 c 1
Tue Jan 29 00:59:27.779 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.2, timeout is 2 seconds:
Reply to request 0 from 9.9.0.2, 327 ms
RP/0/0/CPU0:R4#ping 239.255.0.3 c 1
Tue Jan 29 00:59:35.915 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.3, timeout is 2 seconds:
RP/0/0/CPU0:R4#ping 239.255.0.5 c 1
Tue Jan 29 00:59:47.539 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.5, timeout is 2 seconds:
Reply to request 0 from 9.9.0.5, 664 ms
RP/0/0/CPU0:R4#ping 239.255.0.7 c 1
Tue Jan 29 00:59:57.362 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.7, timeout is 2 seconds:
Reply to request 0 from 9.9.0.7, 5 ms
RP/0/0/CPU0:R4#ping 239.255.0.8 c 1
Tue Jan 29 01:00:03.730 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.8, timeout is 2 seconds:
Reply to request 0 from 9.9.0.8, 520 ms
R2:
RP/0/0/CPU0:R2#sh pim bsr election
Tue Jan 29 01:46:37.893 MSK
PIM BSR Election State
Cand/Elect-State Uptime BS-Timer BSR C-BSR
No-Info/Accept-Pref 07:34:27 00:01:58 9.9.0.5 [0, 0] 0.0.0.0 [0, 0]
RP/0/0/CPU0:R2#sh pim group-map
Tue Jan 29 01:46:49.653 MSK
IP PIM Group Mapping Table
(* indicates group mappings being used)
(+ indicates BSR group mappings active in MRIB)
Group Range Proto Client Groups RP address Info
224.0.1.39/32* DM perm 0 0.0.0.0
224.0.1.40/32* DM perm 1 0.0.0.0
224.0.0.0/24* NO perm 0 0.0.0.0
232.0.0.0/8* SSM config 0 0.0.0.0
224.0.0.0/4* SM bsr+ 1 9.9.0.5 RPF: Gi0/0/0/1,9.9.25.5
224.0.0.0/4 SM static 0 0.0.0.0 RPF: Null,0.0.0.0
RP/0/0/CPU0:R2#ping 239.255.0.2 c 1
Tue Jan 29 01:01:58.683 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.2, timeout is 2 seconds:
Reply to request 0 from 9.9.0.2, 11 ms
RP/0/0/CPU0:R2#ping 239.255.0.3 c 1
Tue Jan 29 01:02:04.863 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.3, timeout is 2 seconds:
Reply to request 0 from 9.9.0.3, 600 ms
60
RP/0/0/CPU0:R2#ping 239.255.0.4 c 1
Tue Jan 29 01:02:11.135 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.4, timeout is 2 seconds:
Reply to request 0 from 9.9.0.4, 358 ms
RP/0/0/CPU0:R2#ping 239.255.0.5 c 1
Tue Jan 29 01:02:16.791 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.5, timeout is 2 seconds:
Reply to request 0 from 9.9.0.5, 703 ms
RP/0/0/CPU0:R2#ping 239.255.0.7 c 1
Tue Jan 29 01:02:22.783 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.7, timeout is 2 seconds:
Reply to request 0 from 9.9.0.7, 697 ms
RP/0/0/CPU0:R2#ping 239.255.0.8 c 1
Tue Jan 29 01:02:28.718 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.8, timeout is 2 seconds:
R5:
R5#sh ip pim bsr-router
PIMv2 Bootstrap information
This system is the Bootstrap Router (BSR)
BSR address: 9.9.0.5 (?)
Uptime: 3d08h, BSR Priority: 0, Hash mask length: 0
Next bootstrap message in 00:00:35
Candidate RP: 9.9.0.5(Loopback0)
Holdtime 150 seconds
Advertisement interval 60 seconds
Next advertisement in 00:00:08
R5#sh ip pim rp mapping
PIM Group-to-RP Mappings
This system is a candidate RP (v2)
This system is the Bootstrap Router (v2)
Group(s) 224.0.0.0/4
RP 9.9.0.5 (?), v2
Info source: 9.9.0.5 (?), via bootstrap, priority 0, holdtime 150
Uptime: 3d08h, expires: 00:01:31
R5#ping 239.255.0.2 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.2, timeout is 2 seconds:
Reply to request 0 from 9.9.0.2, 12 ms
Reply to request 0 from 9.9.0.2, 53 ms
Reply to request 0 from 9.9.0.2, 52 ms
Reply to request 0 from 9.9.0.2, 52 ms
R5#ping 239.255.0.3 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.3, timeout is 2 seconds:
Reply to request 0 from 9.9.0.3, 6 ms
Reply to request 0 from 9.9.0.3, 36 ms
Reply to request 0 from 9.9.0.3, 36 ms
Reply to request 0 from 9.9.0.3, 35 ms
R5#ping 239.255.0.4 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.4, timeout is 2 seconds:
Reply to request 0 from 9.9.0.4, 40 ms
Reply to request 0 from 9.9.0.4, 41 ms
Reply to request 0 from 9.9.0.4, 40 ms
Reply to request 0 from 9.9.0.4, 40 ms
R5#ping 239.255.0.5 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.5, timeout is 2 seconds:
Reply to request 0 from 9.9.0.5, 11 ms
Reply to request 0 from 9.9.0.5, 11 ms
Reply to request 0 from 9.9.0.5, 11 ms
Reply to request 0 from 9.9.0.5, 11 ms
61
R5#ping 239.255.0.7 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.7, timeout is 2 seconds:
Reply to request 0 from 9.9.0.7, 18 ms
Reply to request 0 from 9.9.0.7, 42 ms
Reply to request 0 from 9.9.0.7, 39 ms
R5#ping 239.255.0.8 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.8, timeout is 2 seconds:
Reply to request 0 from 9.9.0.8, 14 ms
Reply to request 0 from 9.9.0.8, 37 ms
Reply to request 0 from 9.9.0.8, 34 ms
{--------------------------------------------- AS1009----------------------------------------------------}
R9:
R9#sh ip pim bsr-router
PIMv2 Bootstrap information
BSR address: 9.9.0.6 (?)
Uptime: 3d07h, BSR Priority: 0, Hash mask length: 0
Expires: 00:01:40
R9#sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 9.9.0.6 (?), v2
Info source: 9.9.0.6 (?), via bootstrap, priority 0, holdtime 150
Uptime: 3d07h, expires: 00:01:47
R9#ping 239.255.0.1 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.1, timeout is 2 seconds:
Reply to request 0 from 9.9.0.1, 19 ms
Reply to request 0 from 9.9.0.1, 49 ms
Reply to request 0 from 9.9.0.1, 30 ms
Reply to request 0 from 9.9.0.1, 30 ms
R9#ping 239.255.0.6 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.6, timeout is 2 seconds:
R10:
R10#sh ip pim bsr-router
PIMv2 Bootstrap information
BSR address: 9.9.0.6 (?)
Uptime: 3d08h, BSR Priority: 0, Hash mask length: 0
Expires: 00:01:17
R10#sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 9.9.0.6 (?), v2
Info source: 9.9.0.6 (?), via bootstrap, priority 0, holdtime 150
Uptime: 3d08h, expires: 00:01:32
62
R10#ping 239.255.0.1 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.1, timeout is 2 seconds:
R10#ping 239.255.0.9 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.9, timeout is 2 seconds:
Reply to request 0 from 9.9.0.9, 12 ms
Reply to request 0 from 9.9.0.9, 34 ms
Reply to request 0 from 9.9.0.9, 34 ms
R10#ping 239.255.0.10 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.10, timeout is 2 seconds:
R1:
RP/0/0/CPU0:R1#sh pim bsr election
Tue Jan 29 01:30:04.096 MSK
PIM BSR Election State
Cand/Elect-State Uptime BS-Timer BSR C-BSR
No-Info/Accept-Pref 07:17:56 00:01:22 9.9.0.6 [0, 0] 0.0.0.0 [0, 0]
RP/0/0/CPU0:R1#ping 239.255.0.1
Tue Jan 29 01:16:01.998 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.1, timeout is 2 seconds:
Reply to request 0 from 9.9.0.1, 11 ms
RP/0/0/CPU0:R1#ping 239.255.0.6
Tue Jan 29 01:16:07.384 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.6, timeout is 2 seconds:
Reply to request 0 from 9.9.0.6, 571 ms
RP/0/0/CPU0:R1#ping 239.255.0.9
Tue Jan 29 01:16:17.911 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.9, timeout is 2 seconds:
Reply to request 0 from 9.9.0.9, 4 ms
RP/0/0/CPU0:R1#ping 239.255.0.10
Tue Jan 29 01:16:28.735 MSK
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.10, timeout is 2 seconds:
63
R6:
R6#sh ip pim bsr-router
PIMv2 Bootstrap information
This system is the Bootstrap Router (BSR)
BSR address: 9.9.0.6 (?)
Uptime: 3d08h, BSR Priority: 0, Hash mask length: 0
Next bootstrap message in 00:00:04
Candidate RP: 9.9.0.6(Loopback0)
Holdtime 150 seconds
Advertisement interval 60 seconds
Next advertisement in 00:00:40
R6#ping 239.255.0.10 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.0.10, timeout is 2 seconds:
Reply to request 0 from 9.9.0.10, 1 ms
Reply to request 0 from 9.9.0.10, 1 ms
- Configure MSDP on R5 and R6. Use R5 and R6 Loopback0 interfaces to establish MSDP peering
- The RPs (R5 and R6) should inform each other when multicast sources become active in their
autonomous systems.
- Ensure that the routers in AS9 can ping multicast group address in AS 1009 using sources of
Loopback 0.
- Ensure that the routers in AS1009 can ping multicast group address in AS 9 using sources of
Loopback 0.
SOLUTION:
R5
R6:
ip msdp peer 9.9.0.5 connect-source Loopback0 remote-as 9
!
64
VALIDATION:
R5:
R5#sh ip msdp summary
MSDP Peer Status Summary
Peer Address AS State Uptime/ Reset SA Peer Name
Downtime Count Count
9.9.0.6 1009 Up 2d05h 0 0 ?
R6:
R6#sh ip msdp sum
MSDP Peer Status Summary
Peer Address AS State Uptime/ Reset SA Peer Name
Downtime Count Count
9.9.0.5 9 Up 2d05h 0 2 ?
- Configure R6 and R10 so, that MPLS LDP session between them is authenticated using MD5
algorithm.
- Use the password of “cisco “.
SOLUTION:
R6:
mpls ldp neighbor 9.9.0.10 password cisco
!
ip access-list standard ACL_LDP_R10
permit 9.9.0.10
!
mpls ldp password required for ACL_LDP_R10
R10:
mpls ldp neighbor 9.9.0.6 password cisco
!
ip access-list standard ACL_LDP_R6
permit 9.9.0.6
!
mpls ldp password required for ACL_LDP_R6
65
VALIDATION:
R6:
66
Section 2. Implement, Optimize and Troubleshooting Access/Edge
connection technologies
- Configure PPP Multilink between R10 and R20 on the interfaces Serial 2/0 and Serial 2/1, Refer
to CCIE SP Lab 1 IPv4 Diagram for details.
- Configure IS-IS between R10 and R20 on interfaces shown in the table 9
- Ensure that R20 has full IPv4 connectivity with the routers in the AS1009
SOLUTION:
R10: R20:
interface Serial2/0
interface Serial2/0 no ip address
no ip address encapsulation ppp
encapsulation ppp ppp multilink
ppp multilink ppp multilink group 1
ppp multilink group 1 serial restart-delay 0
serial restart-delay 0 !
! interface Serial2/1
interface Serial2/1 no ip address
no ip address encapsulation ppp
encapsulation ppp ppp multilink
ppp multilink ppp multilink group 1
ppp multilink group 1 serial restart-delay 0
serial restart-delay 0 !
! interface Multilink1
interface Multilink1 ip address 9.9.120.20 255.255.255.0
ip address 9.9.120.10 255.255.255.0 ip router isis
ip router isis no peer neighbor-route
no peer neighbor-route ppp multilink
ppp multilink ppp multilink group 1
ppp multilink group 1 isis circuit-type level-2-only
isis circuit-type level-2-only !
end interface Loopback0
! ip address 9.9.0.20 255.255.255.255
router isis ip router isis
net 47.0110.0000.0000.1010.00 isis circuit-type level-2-only
is-type level-2-only !
metric-style wide router isis
log-adjacency-changes all net 47.0120.0000.0000.0120.00
! is-type level-2-only
metric-style wide
log-adjacency-changes all
VALIDATION:
R20#sh ip route
R20#ping 9.9.0.9 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 9.9.0.9, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 20/20/20 ms
R20#ping 9.9.0.10 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 9.9.0.10, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 21/21/21 ms
68
Section 3. Implement, Optimize and Troubleshooting L3 VPN Technologies
Virtual and forwarding instances (VRFs) on R1, R2, R3, R4, R7, R8, R9, R10, R11, R12, R14, R15, R17 and
R18 have been configured as follows:
- VRF ABC Sites 1 (R4, R8) and 2 (R3, R7) uses the VRf name “ABC” (case sensitive) with route
distinguisher (RD) 9:9 and import and export route targets (RT) 9:9 for IPv4 and IPv6 address
families.
- VRF ABC Site 3 (R9, R10) uses the VRF name “ABC” (case sensitive) with route distinguisher (RD)
1009:9 and import and export route targets (RT) 1009:9 for IPv4 and IPv6 address families.
- VRF XYZ Site 1 (R11, R12) and 2 (R14, R15) uses the VRf name “XYZ” (case sensitive) with route
distinguisher (RD) 112:112 and import and export route targets (RT) 112:112 for IPv4 and IPv6
address families.
- VRF XYZ Site 3 (R17, R18) uses the VRf name “XYZ” (case sensitive) with route distinguisher (RD)
178:178 and import and export route targets (RT) 178:178 for IPv4 and IPv6 address families.
R2, R3, R4, R5, R7, R8 have been configured for iBGP VPNv4 within the AS9. R1, R6, R9, R10 have
been configured for iBGP VPNv4 within AS1009:
- R2 acts as a route reflector for iBGP VPNv4 unicast within AS9. An iBGP VPNv4 session should
not be established between R3, R4, R5, R7 and R8.
- R1 acts as a route reflector for iBGP VPNv4 unicast within AS1009. An iBGP VPNv4 session
should not be established between R6, R9 and R10.
- The interface Loopback0 address is used to establish iBGP VPNv4 sessions.
- The interface Loopback1 network should be announced via BGP in the VRF ABC IPv4 unicast
address family.
PROBLEM:
R7 does not have iBGP VPNv4 unicast updates from R2. Fix the problem and ensure that R7 has
iBGP VPNv4 unicast updates of other routers in AS9.
69
CCIE SP Lab1 iBGP VPNv4 Unicast Diagram
R24 SW1 SW2
/3
Gi0/0/0/1
.34.3
E0/1
.35.3
E0/1 Gi0/0/0/1 AS9 BGP RR
/0/0
.109.9 lo0 .78.7 lo0
16.1
Gi0
.0.3 .0.7
P
BG
Gi0/0/0/1
VP
4i
25.2 Nv
Nv
4
iB
VP
G
VPNv4 iBGP
VPNv4 iBGP
AS9
VP
AS1009
Nv
4 iB
GP
lo0
.0.5
Gi0/0/0/1
lo0 lo0 lo0 lo0
.0.10 E0/1 .0.6 E0/1
.34.4
E0/1 E0/2 .0.4 .0.8
.16.6 E0/1
.109.10
.25.5 .35.5 .78.8
Gi0/0/0/0
S2/0 S2/0 48.4 E0/2
.56.6 .56.5 48.8
R10 E0/0 E0/2 R6 ppp R5 E0/0 Gi0/0/0/2 R8 R22
.106.10 .106.6 .45.5 45.4 R4
SOLUTION:
AS9:
R3: R4:
vrf ABC
vrf ABC address-family ipv4 unicast
address-family ipv4 unicast import route-target
import route-target 9:9
9:9 !
! export route-target
export route-target 9:9
9:9 !
! !
! !
! router bgp 9
router bgp 9 !
! address-family vpnv4 unicast
address-family vpnv4 unicast !
! neighbor 9.9.0.2
neighbor 9.9.0.2 remote-as 9
remote-as 9 update-source Loopback0
update-source Loopback0 !
! address-family vpnv4 unicast
address-family vpnv4 unicast !
! !
! vrf ABC
vrf ABC rd 9:9
rd 9:9 address-family ipv4 unicast
address-family ipv4 unicast network 172.9.0.4/32
network 172.9.0.3/32 !
! !
! !
!
R7: R8:
vrf definition ABC
vrf definition ABC rd 9:9
rd 9:9 !
! address-family ipv4
address-family ipv4 mdt default 239.255.13.27
mdt default 239.255.13.27 route-target export 9:9
route-target export 9:9 route-target import 9:9
route-target import 9:9 exit-address-family
exit-address-family !
! router bgp 9
router bgp 9 neighbor 9.9.0.2 remote-as 9
neighbor 9.9.0.2 remote-as 9 neighbor 9.9.0.2 update-source Loopback0
neighbor 9.9.0.2 update-source Loopback0 !
! address-family vpnv4
address-family vpnv4 neighbor 9.9.0.2 activate
neighbor 9.9.0.2 activate neighbor 9.9.0.2 send-community extended
neighbor 9.9.0.2 send-community extended exit-address-family
exit-address-family !
! address-family ipv4 vrf ABC
address-family ipv4 vrf ABC network 172.9.0.8 mask 255.255.255.255
network 172.9.0.7 mask 255.255.255.255 !
!
71
AS1009:
R9: R10:
72
VALIDATION:
{---------------------------------------------------------AS9-------------------------------------------------}
R3:
R4:
R7:
73
BGP table version is 42, local router ID is 9.9.0.7
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
R8:
R8# sh ip bgp vpnv4 vrf ABC
{---------------------------------------------------------AS1009-------------------------------------------------}
R9:
R10:
74
BGP main routing table version 9
BGP scan interval 60 secs
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: 1009:9 (default for vrf ABC)
*> 172.9.0.1/32 0.0.0.0 0 32768 i
*>i172.9.0.9/32 9.9.0.9 0 100 0 i
*>i172.9.0.10/32 9.9.0.10 0 100 0 i
R2, R3 and R8 have been configured for iBGP VPNv6 within the AS9. R1 and R9 have been configured for
iBGP VPNv6 within AS1009:
- R2 estabslishes a direct iBGP VPNv6 sessions with R3 and R8. R2 acts as a route reflector for
iBGP VPNv6 address family in AS9. An iBGP VPNv6 session should not be established between
R3 and R8.
- R1 establishes a direct iBGP VPNv6 session with R9
- The interface Loopback0 address is used to establish iBGP VPNv6 sessions.
- The interface Loopback1 network should be announced via BGP in the VRF ABC IPv6 unicast
address family.
PROBLEM:
R7 does not have R8 Loopback1 network in BGP VPNv6 unicast table. Fix the problem and
ensure that R3 has BGP VPNv6 unicast updates of R8.
lo0 lo0
::9 lo0 AS9 VPNv6 BGP RR ::2
::1
E0/0 Gi0/0/0/2 Gi0/0/0/0
Gi0/0/0/0
:19::9 19::1 12::1
:23::2 Gi0/0/0/0
Gi0/0/0/2 Gi0/0/0/2 :37::3 E0/2 S2/0
R9 VPNv6 iBGP R1 :12::2 R2 :23::3 R3 :37::7 R7 R21
VPNv6 iBGP
/3
Gi0/0/0/1
:34::3
E0/1
3
E0/1 Gi0/0/0/1
/0/0
:35::
::3 ::7
Gi0/0/0/1
:25::2
VP
Nv
AS9
AS1009 6
iB
G
P
lo0
::5
Gi0/0/0/1
75
SOLUTION:
AS9:
vrf ABC
address-family ipv6 unicast
import route-target
9:9
!
export route-target
9:9
!
!
!
router bgp 9
!
address-family vpnv6 unicast
!
neighbor 9.9.0.3
remote-as 9
update-source Loopback0
!
address-family vpnv6 unicast
route-reflector-client
!
!
neighbor 9.9.0.8
remote-as 9
update-source Loopback0
!
address-family vpnv6 unicast
route-reflector-client
!
!
vrf ABC
rd 9:9
!
address-family ipv6 unicast
network 2002:172:9::2/128
!
!
!
vrf ABC
address-family ipv6 unicast
import route-target
9:9
!
export route-target
9:9
!
!
!
router bgp 9
!
address-family vpnv6 unicast
!
neighbor 9.9.0.2
remote-as 9
update-source Loopback0
!
address-family vpnv6 unicast
!
!
vrf ABC
rd 9:9
!
address-family ipv6 unicast
network 2002:172:9::3/128
!
76
R7: No VPNv6 configuration R8:
AS1009:
vrf ABC
address-family ipv6 unicast
import route-target
1009:9
!
export route-target
1009:9
!
!
!
router bgp 1009
!
address-family vpnv6 unicast
!
neighbor 9.9.0.9
remote-as 1009
update-source Loopback0
!
address-family vpnv6 unicast
!
!
vrf ABC
rd 1009:9
77
!
address-family ipv6 unicast
network 2002:172:9::1/128
!
!
VALIDATION:
{---------------------------------------------------------AS9-------------------------------------------------}
R2:
R3:
RP/0/0/CPU0:R3#sh bgp vpnv6 uni vrf ABC
R8:
78
{---------------------------------------------------------AS1009-------------------------------------------------}
R1:
RP/0/0/CPU0:R1#sh bgp vpnv6 uni vrf ABC
R8:
The ABC Company at Site 1 uses BGP IPv4 to connect to the service provider’s routers R4 and R8.
R11 and R12 locate in AS112.
- Interfaces that are not listed in the table are not permitted to enable OSPF.
The ABC Company at Site 2 uses BGP IPv4 to connect to the service provider’s routers R3 and R7.
R14 and R15 locate in AS112.
79
Table 11: OSPF interface in VRF ABC Site 2
- Interfaces that are not listed in the table are not permitted to enable OSPF
Ensure that routers of the ABC at Sites 1 and Site 2 can ping each other via IPv4.
Note! There is no explicit requirement to announce the link networks marked in red via BGP but
they are desired to make the full connectivity in VRF ABC.
lo0
.0.16
XYZ Site 2
IS-IS L2 Second-level customer network
R16 E0/1
– first two octets 192.9.
E0/0
.146.16 .156.16
E0/2 E0/2
.145.14.145.15
R14 R15
IPv4 eBGP
.143.3
lo1 lo1
.0.3 .0.7 vrf ABC
E0/0
.157.7
Gi0/0/0/0
.37.3 E0/2
R3 .37.7 R7
Gi0/0/0/1
.34.3
E0/1
lo0 .78.7 lo0
.0.3 .0.7
Core provider network
– first two octets 9.9.
AS9
IS-IS L1
Gi0/0/0/1
.0.4 .0.8
.78.8
Gi0/0/0/0
48.4 E0/2
48.8
R8
R4 vrf ABC
AS112 E0/0 lo2
vrf ABC
Gi0/0/0/3
114.4
IPv4 eBGP
R11 R12
vrf XYZ vrf XYZ
vrf XYZ lo0 E0/0 vrf XYZ
E0/0
lo1 .0.13 .123.12 lo1
.113.11
.0.11 .0.12
E0/1
E0/0
.113.13
.123.13 XYZ Site 1
IS-IS L2
R13
Second-level customer network – first two octets 192.9.
80
SOLUTION:
ABC Site 1:
R4: R11:
R8: R12:
interface Loopback1
vrf forwarding ABC interface Ethernet0/1
ip address 172.9.0.8 255.255.255.255 description Link to R8 E0/0
! ip address 172.9.128.12 255.255.255.0
interface Ethernet0/0 !
description Link to R12 E0/1 interface Loopback0
vrf forwarding ABC ip address 172.9.0.12 255.255.255.255
ip address 172.9.128.8 255.255.255.0 !
! interface Ethernet0/2
router bgp 9 description Link to R11 E0/2
! ip address 172.9.112.12 255.255.255.0
address-family ipv4 vrf ABC !
neighbor 172.9.128.12 remote-as 112 router bgp 112
neighbor 172.9.128.12 activate neighbor 172.9.128.8 remote-as 9
neighbor 172.9.128.12 as-override !
exit-address-family address-family ipv4
! network 172.9.128.0 mask 255.255.255.0
redistribute ospf 112
neighbor 172.9.128.8 activate
exit-address-family
!
!
router ospf 112
router-id 172.9.0.12
redistribute bgp 112 subnets
network 172.9.0.12 0.0.0.0 area 0
network 172.9.112.12 0.0.0.0 area 0
!
ABC Site 2:
R3: R14:
81
interface GigabitEthernet0/0/0/4 description Link to R3 Gi0/0/0/1
description Link to R14 E0/1 ip address 172.9.143.14 255.255.255.0
cdp !
vrf ABC interface Ethernet0/2
ipv4 address 172.9.143.3 255.255.255.0 description Link to R15 E0/2
! ip address 172.9.145.14 255.255.255.0
router bgp 9 !
! router ospf 112
vrf ABC router-id 172.9.0.14
rd 9:9 redistribute bgp 112 subnets
! network 172.9.0.14 0.0.0.0 area 0
neighbor 172.9.143.14 network 172.9.145.14 0.0.0.0 area 0
remote-as 112 !
address-family ipv4 unicast router bgp 112
route-policy default_policy_pass_all in neighbor 172.9.143.3 remote-as 9
route-policy default_policy_pass_all out !
as-override address-family ipv4
! network 172.9.143.0 mask 255.255.255.0
! redistribute ospf 112
neighbor 172.9.143.3 activate
exit-address-family
!
R7: R15:
VALIDATION:
R11:
R11#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.9.0.0/16 is variably subnetted, 17 subnets, 2 masks
B 172.9.0.2/32 [20/0] via 172.9.114.4, 01:09:55
B 172.9.0.3/32 [20/0] via 172.9.114.4, 01:09:55
B 172.9.0.4/32 [20/0] via 172.9.114.4, 01:09:55
B 172.9.0.7/32 [20/0] via 172.9.114.4, 01:09:55
B 172.9.0.8/32 [20/0] via 172.9.114.4, 01:09:55
C 172.9.0.11/32 is directly connected, Loopback0
O 172.9.0.12/32 [110/11] via 172.9.112.12, 1d05h, Ethernet0/2
B 172.9.0.14/32 [20/0] via 172.9.114.4, 00:08:53
B 172.9.0.15/32 [20/0] via 172.9.114.4, 00:20:09
C 172.9.112.0/24 is directly connected, Ethernet0/2
L 172.9.112.11/32 is directly connected, Ethernet0/2
C 172.9.114.0/24 is directly connected, Ethernet0/1
L 172.9.114.11/32 is directly connected, Ethernet0/1
B 172.9.128.0/24 [20/0] via 172.9.114.4, 01:09:55
B 172.9.143.0/24 [20/0] via 172.9.114.4, 00:20:09
B 172.9.145.0/24 [20/0] via 172.9.114.4, 00:20:09
B 172.9.157.0/24 [20/0] via 172.9.114.4, 00:20:09
82
R11#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R11#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R11#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 6/6/6 ms
R11#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R12:
R12#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
83
R14:
R14#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.9.0.0/16 is variably subnetted, 17 subnets, 2 masks
B 172.9.0.2/32 [20/0] via 172.9.143.3, 00:31:24
B 172.9.0.3/32 [20/0] via 172.9.143.3, 00:31:24
B 172.9.0.4/32 [20/0] via 172.9.143.3, 00:31:24
O 172.9.0.7/32 [110/21] via 172.9.145.15, 01:08:35, Ethernet0/2
B 172.9.0.8/32 [20/0] via 172.9.143.3, 00:31:24
B 172.9.0.11/32 [20/0] via 172.9.143.3, 00:31:24
B 172.9.0.12/32 [20/0] via 172.9.143.3, 00:31:24
C 172.9.0.14/32 is directly connected, Loopback0
O 172.9.0.15/32 [110/11] via 172.9.145.15, 1d05h, Ethernet0/2
B 172.9.112.0/24 [20/0] via 172.9.143.3, 00:31:24
B 172.9.114.0/24 [20/0] via 172.9.143.3, 00:31:24
B 172.9.128.0/24 [20/0] via 172.9.143.3, 00:31:24
C 172.9.143.0/24 is directly connected, Ethernet0/1
L 172.9.143.14/32 is directly connected, Ethernet0/1
C 172.9.145.0/24 is directly connected, Ethernet0/2
L 172.9.145.14/32 is directly connected, Ethernet0/2
O 172.9.157.0/24 [110/20] via 172.9.145.15, 01:08:35, Ethernet0/2
R14# ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R14# ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R14# ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R15:
R15#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
84
C 172.9.0.15/32 is directly connected, Loopback0
O E2 172.9.112.0/24 [110/1] via 172.9.145.14, 00:33:07, Ethernet0/2
O E2 172.9.114.0/24 [110/1] via 172.9.145.14, 00:33:07, Ethernet0/2
O E2 172.9.128.0/24 [110/1] via 172.9.145.14, 00:33:07, Ethernet0/2
O E2 172.9.143.0/24 [110/1] via 172.9.145.14, 1d05h, Ethernet0/2
C 172.9.145.0/24 is directly connected, Ethernet0/2
L 172.9.145.15/32 is directly connected, Ethernet0/2
C 172.9.157.0/24 is directly connected, Ethernet0/1
L 172.9.157.15/32 is directly connected, Ethernet0/1
R15#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R15#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 4/4/4 ms
R15#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R15#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
The ABC Company at Site1 uses BGP IPv6 for connection to the SP router R8. Router R12 is located in AS-
112.
Interfaces that are not listed in the table are not permitted to enable OSPFv3.
The ABC Company at Site2 uses EIGRP for connects to the SP router R3.
Configure an EIGRP IPv6 on R3, R14 and R15 on the interfaces that are shown in the Table 13.
Router Interface AS
R3 Loopback1 100
GE0/0/0/4 100
R14 Loopback0 100
E0/1 100
E0/2
R15 Loopback0 100
E0/2 100
85
Interfaces that are not listed in the table are not permitted to enable EIGRP.
Ensure that routers of ABC sites 1 and 2 can ping each over via IPv6.
E0/2 E0/2
:145::14:145::15
R14 R15
lo0
AS112lo0
E0/1 E0/1 VPN customer network
::14 ::15
:143::14 :157::15 – first eight octets
IPv6 EIGRP 2002:172:9:
Gi0/0/0/4
:143::3
lo1 lo1
::3 ::7 vrf ABC
E0/0
:157::7
Gi0/0/0/0
:37::3 E0/2
R3 :37::7 R7 R21
Gi0/0/0/1
:34::3
E0/1
lo0 :78::7 lo0
::3 ::7
Core provider network
– first eight octets
lo0 lo0
:34::4
E0/1
.0.4 :78::8 ::8
Gi0/0/0/0
:48::4 E0/2
:48::8
R8
R4 vrf ABC
AS112 E0/0
vrf ABC
Gi0/0/0/3
:114::4
::4 ::8
OSPFv3 Area 0 VPN customer network
lo0 lo0
::11 ::12 E0/1
– first eight octets
E0/1
:114::11 :128::12 2002:172:9:
E0/2
E0/2 ABC Site 1
:112::11 :112::12
R11 R12
vrf XYZ vrf XYZ
lo0 E0/0 vrf XYZ
E0/0
::13 :123::12 lo1
:113::11
::12
E0/1
E0/0
:113::13
:123::13 XYZ Site 1
IS-IS L2
R13
Second-level customer network – first eight octets 2002:192:9:
86
SOLUTION:
ABC Site 1:
R8: R12:
interface Loopback1 interface Loopback0
vrf forwarding ABC ipv6 address 2002:172:9::12/128
ipv6 address 2002:172:9::8/128 ipv6 ospf 112 area 0
! !
interface Ethernet0/0 interface Ethernet0/1
description Link to R12 E0/1 description Link to R8 E0/0
vrf forwarding ABC ipv6 address 2002:172:9:128::12/64
ipv6 address 2002:172:9:128::8/64 !
! interface Ethernet0/2
router bgp 9 description Link to R11 E0/2
! ipv6 address 2002:172:9:112::12/64
address-family ipv6 vrf ABC ipv6 ospf 112 area 0
network 2002:172:9::8/128 !
neighbor 2002:172:9:128::12 remote-as 112 ipv6 router ospf 112
neighbor 2002:172:9:128::12 activate router-id 172.9.0.12
neighbor 2002:172:9:128::12 as-override redistribute connected
exit-address-family redistribute bgp 112
! !
router bgp 112
!
address-family ipv6
redistribute connected
redistribute ospf 112
network 2002:172:9::12/128
neighbor 2002:172:9:128::8 activate
!
R11:
interface Loopback0
ipv6 address 2002:172:9::11/128
ipv6 ospf 112 area 0
!
interface Ethernet0/2
description Link to R12 E0/2
ipv6 address 2002:172:9:112::11/64
ipv6 ospf 112 area 0
!
ipv6 router ospf 112
router-id 172.9.0.11
!
ABC Site 2:
R3: R14:
interface Loopback1
vrf ABC ipv6 router eigrp 112
ipv6 address 2002:172:9::3/128 passive-interface Loopback0
! eigrp router-id 172.9.0.14
interface GigabitEthernet0/0/0/4 !
description Link to R14 E0/1 interface Loopback0
cdp ipv6 address 2002:172:9::14/128
vrf ABC ipv6 eigrp 112
ipv6 address 2002:172:9:143::3/64 !
! interface Ethernet0/1
router bgp 9 description Link to R3 Gi0/0/0/1
! ipv6 address 2002:172:9:143::14/64
vrf ABC ipv6 eigrp 112
! !
address-family ipv6 unicast interface Ethernet0/2
network 2002:172:9::3/128 description Link to R15 E0/2
redistribute eigrp 112 ipv6 address 2002:172:9:145::14/64
! ipv6 eigrp 112
87
router eigrp 112 !
vrf ABC
address-family ipv6
default-metric 100000 100 255 1 1500
autonomous-system 112
redistribute bgp 9
interface Loopback1
passive-interface
!
interface GigabitEthernet0/0/0/4
!
!
!
!
R15:
interface Loopback0
ipv6 address 2002:172:9::15/128
* ipv6 eigrp 112
!
interface Ethernet0/2
description Link to R14 E0/2
ipv6 address 2002:172:9:145::15/64
ipv6 eigrp 112
!
ipv6 router eigrp 112
passive-interface Loopback0
eigrp router-id 172.9.0.15
!
VALIDATION:
R11:
R11#sh ipv6 route
88
R11#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R11#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R11#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 12/12/12 ms
R11#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 12/12/12 ms
R12:
R14#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R14#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R14#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R15:
R15#sh ipv6 route
90
via FE80::A8BB:CCFF:FE00:7220, Ethernet0/2
D 2002:172:9::14/128 [90/409600]
via FE80::A8BB:CCFF:FE00:7220, Ethernet0/2
LC 2002:172:9::15/128 [0/0]
via Loopback0, receive
EX 2002:172:9:112::/64 [170/358400], tag 112
via FE80::A8BB:CCFF:FE00:7220, Ethernet0/2
EX 2002:172:9:128::/64 [170/358400], tag 112
via FE80::A8BB:CCFF:FE00:7220, Ethernet0/2
D 2002:172:9:143::/64 [90/307200]
via FE80::A8BB:CCFF:FE00:7220, Ethernet0/2
C 2002:172:9:145::/64 [0/0]
via Ethernet0/2, directly connected
L 2002:172:9:145::15/128 [0/0]
via Ethernet0/2, receive
L FF00::/8 [0/0]
via Null0, receive
R15#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 19/19/19 ms
R15#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R15#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 3/3/3 ms
R15#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R15#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
Router Interface AS
R9 Loopback1 100
E0/2 100
R10 Loopback1 100
E0/2 100
R17 Loopback0 100
E0/0 100
E0/1 100
R18 Loopback0 100
E0/0 100
E0/1 100
91
Interfaces that are not listed in the table are not permitted to enable EIGRP
Only the import RT method can be used to control VPNv4 route distribution.
Configure accordingly so that routers of ABC at Site 1, 2 and 3 can ping each over via IPv4.
You are permitted to define static route on R1 and R2.
Note: Configuration of the ABC Sites 1 and 2 have been done in task 3.3
SOLUTION:
ABC Site 3:
interface Ethernet0/2
description Link to R17 E0/0 interface Ethernet0/0
vrf forwarding ABC description Link to R9 E0/2
ip address 172.9.197.9 255.255.255.0 ip address 172.9.197.17 255.255.255.0
! !
interface Loopback1 interface Loopback0
vrf forwarding ABC ip address 172.9.0.17 255.255.255.255
ip address 172.9.0.9 255.255.255.255 !
! interface Ethernet0/1
router eigrp 100 description Link to R18 E0/1
! ip address 172.9.178.17 255.255.255.0
address-family ipv4 vrf ABC !
default-metric 100000 10 255 1 1500 router eigrp 100
redistribute bgp 1009 network 172.9.0.17 0.0.0.0
network 172.9.0.9 0.0.0.0 network 172.9.178.17 0.0.0.0
network 172.9.197.9 0.0.0.0 network 172.9.197.17 0.0.0.0
autonomous-system 100 !
exit-address-family
!
router bgp 1009
neighbor 9.9.0.1 remote-as 1009
neighbor 9.9.0.1 update-source Loopback0
!
address-family vpnv4
neighbor 9.9.0.1 activate
neighbor 9.9.0.1 send-community extended
exit-address-family
!
address-family ipv4 vrf ABC
network 172.9.0.9 mask 255.255.255.255
redistribute eigrp 100
exit-address-family
!
93
!
!
router static
address-family ipv4 unicast
9.9.12.1/32 GigabitEthernet0/0/0/2
!
!
route-policy default_policy_pass_all
pass
end-policy
!
VALIDATION:
Note: Addition of the static route to the far end of the link between R1 and R2 is extremely
important, overwise mpls forwarding table will have no label and no outgoing interface to the far end
of link connecting two ASBRs and moreover, all prefixes from the other AS will have no outgoing
interfaces too.
Please see what happened with mpls forwarding table on R1 with and without static route:
R11#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R11#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
95
R11#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R11#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 6
R11#ping 172.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 16/16/16 ms
R11#ping 172.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 10/10/10 ms
R12:
R12#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
R12#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R12#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R12#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 6/6/6 ms
96
R12#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R12#ping 172.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R12#ping 172.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R14:
R14#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.9.0.0/16 is variably subnetted, 25 subnets, 2 masks
B 172.9.0.1/32 [20/0] via 172.9.143.3, 22:42:53
B 172.9.0.2/32 [20/0] via 172.9.143.3, 22:50:22
B 172.9.0.3/32 [20/0] via 172.9.143.3, 4d01h
B 172.9.0.4/32 [20/0] via 172.9.143.3, 22:50:22
O 172.9.0.7/32 [110/21] via 172.9.145.15, 4d01h, Ethernet0/2
B 172.9.0.8/32 [20/0] via 172.9.143.3, 22:50:22
B 172.9.0.9/32 [20/0] via 172.9.143.3, 22:42:53
B 172.9.0.10/32 [20/0] via 172.9.143.3, 22:42:53
B 172.9.0.11/32 [20/0] via 172.9.143.3, 22:50:22
B 172.9.0.12/32 [20/0] via 172.9.143.3, 22:50:22
C 172.9.0.14/32 is directly connected, Loopback0
O 172.9.0.15/32 [110/11] via 172.9.145.15, 4d01h, Ethernet0/2
B 172.9.0.17/32 [20/0] via 172.9.143.3, 22:42:53
B 172.9.0.18/32 [20/0] via 172.9.143.3, 22:42:53
B 172.9.108.0/24 [20/0] via 172.9.143.3, 22:42:53
B 172.9.112.0/24 [20/0] via 172.9.143.3, 22:50:22
B 172.9.114.0/24 [20/0] via 172.9.143.3, 22:50:22
B 172.9.128.0/24 [20/0] via 172.9.143.3, 22:50:22
C 172.9.143.0/24 is directly connected, Ethernet0/1
L 172.9.143.14/32 is directly connected, Ethernet0/1
C 172.9.145.0/24 is directly connected, Ethernet0/2
L 172.9.145.14/32 is directly connected, Ethernet0/2
O 172.9.157.0/24 [110/20] via 172.9.145.15, 4d01h, Ethernet0/2
B 172.9.178.0/24 [20/0] via 172.9.143.3, 22:42:53
B 172.9.197.0/24 [20/0] via 172.9.143.3, 22:42:53
R14#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R14#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 4/4/4 ms
R14#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R14#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
97
R14#ping 172.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R14#ping 172.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R15:
R15#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
R17:
R17#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.9.0.0/16 is variably subnetted, 25 subnets, 2 masks
D EX 172.9.0.1/32 [170/284160] via 172.9.197.9, 22:58:50, Ethernet0/0
D EX 172.9.0.2/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.3/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.4/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.7/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.8/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D 172.9.0.9/32 [90/409600] via 172.9.197.9, 22:58:50, Ethernet0/0
D 172.9.0.10/32 [90/409600] via 172.9.197.9, 22:58:50, Ethernet0/0
D EX 172.9.0.11/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.12/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.14/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.0.15/32 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
C 172.9.0.17/32 is directly connected, Loopback0
D 172.9.0.18/32 [90/409600] via 172.9.178.18, 22:58:50, Ethernet0/1
D 172.9.108.0/24 [90/307200] via 172.9.197.9, 22:58:50, Ethernet0/0
[90/307200] via 172.9.178.18, 22:58:50, Ethernet0/1
D EX 172.9.112.0/24 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.114.0/24 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.128.0/24 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.143.0/24 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.145.0/24 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
D EX 172.9.157.0/24 [170/284160] via 172.9.197.9, 22:52:45, Ethernet0/0
C 172.9.178.0/24 is directly connected, Ethernet0/1
L 172.9.178.17/32 is directly connected, Ethernet0/1
C 172.9.197.0/24 is directly connected, Ethernet0/0
L 172.9.197.17/32 is directly connected, Ethernet0/0
R17#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 10/10/10 ms
R17#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 172.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R17#ping 172.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
99
R18:
R18#sh ip route
R18#ping 172.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 10/10/10 ms
R18#ping 172.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R18#ping 172.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R18#ping 172.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R18#ping 172.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R18#ping 172.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 172.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
100
3.6 INTER-AS VPNV6
Note: Configuration of the ABC Sites 1 and 2 has been done in task 3.4.
Congiguration changes made on previous steps 3.4 and 3.5 are highlighted in green, they are
mentioned to keep the understandability of the configuration.
SOLUTION:
ABC Site 3:
R9: R17:
exit-address-family
R18:
interface Ethernet0/1
description Link to R17 E0/1
ipv6 address 2002:172:9:178::18/64
!
interface Loopback0
ipv6 address 2002:172:9::18/128
!
router bgp 178
neighbor 2002:172:9:178::17 remote-as 178
!
address-family ipv6
101
network 2002:172:9::18/128
neighbor 2002:172:9:178::17 activate
exit-address-family
!
VALIDATION:
Note: Addition of the static route to the far end of the link between R1 and R2 is extremely
important, overwise mpls forwarding table will have no label and no outgoing interface to the far end
102
of link connecting two ASBRs and moreover, all prefixes from the other AS will have no outgoing
interfaces too.
ABC Site 1: (R11 and R12)
103
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9::15/128 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9::17/128 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9::18/128 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
C 2002:172:9:112::/64 [0/0]
via Ethernet0/2, directly connected
L 2002:172:9:112::11/128 [0/0]
via Ethernet0/2, receive
OE2 2002:172:9:128::/64 [110/20]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9:143::/64 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9:145::/64 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9:178::/64 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
OE2 2002:172:9:197::/64 [110/1]
via FE80::A8BB:CCFF:FE00:7020, Ethernet0/2
L FF00::/8 [0/0]
via Null0, receive
R11#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R11#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R11#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 13/13/13 ms
R11#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R11#ping 2002:172:9::17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R11#ping 2002:172:9::18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 6/6/6 ms
104
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
B 2002:172:9::15/128 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
B 2002:172:9::17/128 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
B 2002:172:9::18/128 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
C 2002:172:9:112::/64 [0/0]
via Ethernet0/2, directly connected
L 2002:172:9:112::12/128 [0/0]
via Ethernet0/2, receive
C 2002:172:9:128::/64 [0/0]
via Ethernet0/1, directly connected
L 2002:172:9:128::12/128 [0/0]
via Ethernet0/1, receive
B 2002:172:9:143::/64 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
B 2002:172:9:145::/64 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
B 2002:172:9:178::/64 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
B 2002:172:9:197::/64 [20/0]
via FE80::A8BB:CCFF:FE00:6C00, Ethernet0/1
L FF00::/8 [0/0]
via Null0, receive
R12#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R12#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R12#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R12#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 5/5/5 ms
R12#ping 2002:172:9::17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R12#ping 2002:172:9::18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
105
*>i2002:172:9::11/128 9.9.0.8 10 100 0 112 ?
*>i2002:172:9::12/128 9.9.0.8 0 100 0 112 i
*> 2002:172:9::14/128 fe80::a8bb:ccff:fe00:7210
130816 32768 ?
*> 2002:172:9::15/128 fe80::a8bb:ccff:fe00:7210
409856 32768 ?
*>i2002:172:9::17/128 9.9.0.2 100 0 1009 178 i
*>i2002:172:9::18/128 9.9.0.2 100 0 1009 178 i
*>i2002:172:9:112::/64
9.9.0.8 0 100 0 112 ?
*>i2002:172:9:128::/64
9.9.0.8 0 100 0 112 ?
*> 2002:172:9:143::/64
:: 0 32768 ?
*> 2002:172:9:145::/64
fe80::a8bb:ccff:fe00:7210
281856 32768 ?
*>i2002:172:9:178::/64
9.9.0.2 100 0 1009 178 i
*>i2002:172:9:197::/64
9.9.0.2 100 0 1009 178 i
Processed 17 prefixes, 17 paths
R15#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 15/15/15 ms
R15#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 4/4/4 ms
R15#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R15#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R15#ping 2002:172:9::17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R15#ping 2002:172:9::18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
107
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1009:9 (default for vrf ABC)
*>i2002:172:9::1/128
::FFFF:9.9.0.1 0 100 0 i
*>i2002:172:9::2/128
::FFFF:9.9.0.1 0 100 0 9 i
*>i2002:172:9::3/128
::FFFF:9.9.0.1 100 0 9 i
*>i2002:172:9::8/128
::FFFF:9.9.0.1 100 0 9 i
*> 2002:172:9::9/128
:: 0 32768 i
*>i2002:172:9::11/128
::FFFF:9.9.0.1 100 0 9 112 ?
*>i2002:172:9::12/128
::FFFF:9.9.0.1 100 0 9 112 i
*>i2002:172:9::14/128
::FFFF:9.9.0.1 100 0 9 ?
*>i2002:172:9::15/128
::FFFF:9.9.0.1 100 0 9 ?
*> 2002:172:9::17/128
2002:172:9:197::17
0 0 178 i
*> 2002:172:9::18/128
2002:172:9:197::17
0 178 i
*>i2002:172:9:112::/64
::FFFF:9.9.0.1 100 0 9 112 ?
*>i2002:172:9:128::/64
::FFFF:9.9.0.1 100 0 9 112 ?
*>i2002:172:9:143::/64
::FFFF:9.9.0.1 100 0 9 ?
*>i2002:172:9:145::/64
::FFFF:9.9.0.1 100 0 9 ?
*> 2002:172:9:178::/64
2002:172:9:197::17
0 0 178 i
r> 2002:172:9:197::/64
2002:172:9:197::17
0 0 178 i
108
L 2002:172:9:178::17/128 [0/0]
via Ethernet0/1, receive
C 2002:172:9:197::/64 [0/0]
via Ethernet0/0, directly connected
L 2002:172:9:197::17/128 [0/0]
via Ethernet0/0, receive
L FF00::/8 [0/0]
via Null0, receive
R17#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R17#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 2002:172:9::17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R17#ping 2002:172:9::18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
109
via Ethernet0/1, directly connected
L 2002:172:9:178::18/128 [0/0]
via Ethernet0/1, receive
B 2002:172:9:197::/64 [200/0]
via 2002:172:9:178::17
L FF00::/8 [0/0]
via Null0, receive
R17#ping 2002:172:9::11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 2002:172:9::12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 2002:172:9::14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R17#ping 2002:172:9::15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R17#ping 2002:172:9::17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
R17#ping 2002:172:9::18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 2002:172:9::18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 0/0/0 ms
VPN ABC Site1 and Site2 is one SP carrier (AS-112) that is distributed in two locations. It requests
support from the AS-9 SP carrier to provide MPLS VPNv4 service.
Configure R3, R4, R7, R8, R11, R12, R14 and R15 so that AS-112 is able to deliver MPLS VPNv4
service.
The XYZ Company at Site1 uses IS-IS for connection to the SP routers R11 and R12
The XYZ Company at Site2 uses IS-IS for connection to the SP routers R14 and R15
Configure IS-IS on the interfaces that are shown in this Table 15.
110
R16 47.0192.0016 Loopback0
47.0192.0016 E0/0
47.0192.0016 E0/1
SOLUTION:
interface Loopback0
ip address 192.9.0.13 255.255.255.255
ip router isis
!
interface Ethernet0/0
description Link R11 E0/0
ip address 192.9.113.13 255.255.255.0
ip router isis
!
interface Ethernet0/1
description Link to R12 E0/1
ip address 192.9.123.13 255.255.255.0
ip router isis
!
router isis
net 47.0192.0013.0000.0000.0013.00
is-type level-2-only
metric-style wide
log-adjacency-changes all
!
112
redistribute ospf 112 neighbor 172.9.0.11 send-community extended
neighbor 172.9.143.3 activate exit-address-family
neighbor 172.9.143.3 send-label !
exit-address-family address-family ipv4 vrf XYZ
! redistribute connected
! redistribute isis level-2
exit-address-family
!
interface Loopback0
ip address 192.9.0.16 255.255.255.255
ip router isis
!
interface Ethernet0/0
description Link to R14 E0/0
ip address 192.9.146.16 255.255.255.0
ip router isis
!
interface Ethernet0/1
description Link to R15 E0/0
ip address 192.9.156.16 255.255.255.0
ip router isis
!
router isis
net 47.0192.0016.0000.0000.0016.00
is-type level-2-only
metric-style wide
log-adjacency-changes all
!
R3: R4:
VALIDATION:
Note: Addition of the static route to the far end of the links between R3 and R14 and R4 and R11 is
extremely important, overwise mpls forwarding table will have no label and no outgoing interface to
the far end of links connecting CsC-PE and CsC-CE and moreover, all prefixes from the other AS will
have no outgoing interfaces too. It should be done on IOS-XR’s sides of these links (R3 and R4).
113
XYZ Site 1 (R11, R12, R13)
R11:
R11#sh ip bgp vpnv4 vrf XYZ
BGP table version is 46, local router ID is 172.9.0.11
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
R12 has no VPNv4 table, all VRF’s XYZ routes derived from IS-IS, there is no BGP VPNv4 session
between R12 and any other router from AS112.
R12#sh ip bgp vpnv4 vrf XYZ
---------------===========EMPTY===========----------------
R13:
R13#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.9.0.0/32 is subnetted, 6 subnets
i L2 192.9.0.11 [115/20] via 192.9.113.11, 1d19h, Ethernet0/0
i L2 192.9.0.12 [115/20] via 192.9.123.12, 1d19h, Ethernet0/1
C 192.9.0.13 is directly connected, Loopback0
i L2 192.9.0.14 [115/10] via 192.9.113.11, 1d08h, Ethernet0/0
i L2 192.9.0.15 [115/10] via 192.9.113.11, 1d15h, Ethernet0/0
i L2 192.9.0.16 [115/10] via 192.9.113.11, 1d08h, Ethernet0/0
192.9.113.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.9.113.0/24 is directly connected, Ethernet0/0
L 192.9.113.13/32 is directly connected, Ethernet0/0
192.9.123.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.9.123.0/24 is directly connected, Ethernet0/1
L 192.9.123.13/32 is directly connected, Ethernet0/1
i L2 192.9.146.0/24 [115/10] via 192.9.113.11, 1d08h, Ethernet0/0
i L2 192.9.156.0/24 [115/10] via 192.9.113.11, 1d15h, Ethernet0/0
115
R13#ping 192.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R13#ping 192.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R13#ping 192.9.0.13 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.13, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R13#ping 192.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R13#ping 192.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R13#ping 192.9.0.16 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.16, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 6/6/6 ms
R14:
R14 has no VPNv4 table, all VRF’s XYZ routes derived from IS-IS, there is no BGP VPNv4 session
between R14 and any other router from AS112.
R14#sh ip route vrf XYZ
116
R14#ping vrf XYZ 192.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R14#ping vrf XYZ 192.9.0.13 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.13, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R14#ping vrf XYZ 192.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R14#ping vrf XYZ 192.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R14#ping vrf XYZ 192.9.0.16 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.16, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R15:
R15#sh ip bgp vpnv4 vrf XYZ
BGP table version is 57, local router ID is 172.9.0.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
R16#sh ip route
R16#ping 192.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 7/7/7 ms
R16#ping 192.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R16#ping 192.9.0.13 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.13, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 6/6/6 ms
R16#ping 192.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R16#ping 192.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R16#ping 192.9.0.16 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.16, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R4: CsC-PE1
- With static route to the far end of the link between R4 and R11 via Gi0/0/0/3 in vrf ABC
118
ABC 0
46018 7020 172.9.0.7/32[V] 9.9.0.7 0
46019 8039 172.9.0.8/32[V] 9.9.0.8 0
46020 Pop 172.9.0.11/32[V] Gi0/0/0/3 172.9.114.11 950149
46021 8026 172.9.0.12/32[V] 9.9.0.8 0
46022 Pop 172.9.112.0/24[V] Gi0/0/0/3 172.9.114.11 0
46023 8002 172.9.128.0/24[V] 9.9.0.8 0
46024 36024 172.9.0.15/32[V] 9.9.0.3 312432
46025 36025 172.9.143.0/24[V] 9.9.0.3 0
46026 36026 172.9.145.0/24[V] 9.9.0.3 0
46027 36027 172.9.157.0/24[V] 9.9.0.3 0
46028 26040 172.9.0.1/32[V] 9.9.0.2 0
46029 26041 172.9.0.9/32[V] 9.9.0.2 0
46030 26042 172.9.0.10/32[V] 9.9.0.2 0
46031 26043 172.9.0.17/32[V] 9.9.0.2 965886
46032 26044 172.9.0.18/32[V] 9.9.0.2 0
46033 26045 172.9.108.0/24[V] 9.9.0.2 0
46034 26046 172.9.178.0/24[V] 9.9.0.2 0
46035 26047 172.9.197.0/24[V] 9.9.0.2 0
46036 Pop 172.9.114.11/32[V] Gi0/0/0/3 172.9.114.11 87495642
- Without static route to the far end of the link between R4 and R11 via Gi0/0/0/3 in vrf ABC
R3: CsC-PE2
- With static route to the far end of the link between R3 and R14 via Gi0/0/0/4 in vrf ABC
RP/0/0/CPU0:R3#sh mpls forwarding vrf ABC
Sun Jan 20 11:53:31.589 MSK
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
36012 26019 172.9.0.2/32[V] 9.9.0.2 0
36013 Aggregate ABC: Per-VRF Aggr[V] \
ABC 1560
36014 7020 172.9.0.7/32[V] 9.9.0.7 0
36015 8039 172.9.0.8/32[V] 9.9.0.8 0
36016 46020 172.9.0.11/32[V] 9.9.0.4 309428
36017 8026 172.9.0.12/32[V] 9.9.0.8 208
36018 46022 172.9.112.0/24[V] 9.9.0.4 0
36019 8002 172.9.128.0/24[V] 9.9.0.8 208
36020 Aggregate ABC: Per-VRF Aggr[V] \
ABC 1248
36021 46013 172.9.114.0/24[V] 9.9.0.4 520
36022 Pop 172.9.0.14/32[V] Gi0/0/0/4 172.9.143.14 0
36023 46017 172.9.0.4/32[V] 9.9.0.4 0
36024 14000 172.9.0.15/32[V] Gi0/0/0/4 172.9.143.14 296839
36025 Aggregate No ID Gi0/0/0/4 172.9.143.3 0
36026 Pop 172.9.145.0/24[V] Gi0/0/0/4 172.9.143.14 0
119
36027 14001 172.9.157.0/24[V] Gi0/0/0/4 172.9.143.14 0
36028 Unlabelled 2002:172:9::14/128[V] \
Gi0/0/0/4 fe80::a8bb:ccff:fe00:7210 \
300
36029 26040 172.9.0.1/32[V] 9.9.0.2 0
36030 Unlabelled 2002:172:9:145::/64[V] \
Gi0/0/0/4 fe80::a8bb:ccff:fe00:7210 \
700
36031 Unlabelled 2002:172:9::15/128[V] \
Gi0/0/0/4 fe80::a8bb:ccff:fe00:7210 \
300
36032 26041 172.9.0.9/32[V] 9.9.0.2 0
36033 26042 172.9.0.10/32[V] 9.9.0.2 0
36034 26043 172.9.0.17/32[V] 9.9.0.2 0
36035 26044 172.9.0.18/32[V] 9.9.0.2 0
36036 26045 172.9.108.0/24[V] 9.9.0.2 0
36037 26046 172.9.178.0/24[V] 9.9.0.2 0
36038 26047 172.9.197.0/24[V] 9.9.0.2 0
36039 Pop 172.9.143.14/32[V] Gi0/0/0/4 172.9.143.14 6567576
- Without static route to the far end of the link between R3 and R14 via Gi0/0/0/4 in vrf ABC
RP/0/0/CPU0:R3#sh mpls forwarding vrf ABC
Configure R9, R10, R17 and R18 so that AS178 is able to deliver MPLS VPNv4 service.
The XYZ Company at Site3 uses OSPF for connection to the SP routers R17 and R18
Configure OSPF on the interfaces that are shown in this table.
SOLUTION:
121
R19: AS178 CE
interface Loopback0
ip address 192.9.0.19 255.255.255.255
!
interface Ethernet0/0
description Link to R17 e0/2
ip address 192.9.179.19 255.255.255.0
!
interface Ethernet0/1
description Link to R18 e0/2
ip address 192.9.189.19 255.255.255.0
!
router ospf 178
router-id 192.9.0.19
passive-interface Loopback0
network 192.9.0.19 0.0.0.0 area 0
network 192.9.179.19 0.0.0.0 area 0
network 192.9.189.19 0.0.0.0 area 0
Note: Connection between AS1009 and AS178 is done using LDP+IGP, so no BGP configuration
required for it.
122
VALIDATION:
123
R18: XYZ Site 3 AS178 PE2
R18#sh ip bgp vpnv4 vrf XYZ
R18 has no VPNv4 table, all VRF’s XYZ routes derived from OSPF, there is no BGP VPNv4 session
between R18 and any other router from AS112.
R18#sh ip route vrf XYZ
Routing Table: XYZ
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.9.0.0/32 is subnetted, 9 subnets
O E2 192.9.0.11 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.0.12 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.0.13 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.0.14 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.0.15 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.0.16 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O 192.9.0.17 [110/21] via 192.9.189.19, 01:52:31, Ethernet0/2
C 192.9.0.18 is directly connected, Loopback1
O 192.9.0.19 [110/11] via 192.9.189.19, 01:52:31, Ethernet0/2
O E2 192.9.113.0/24 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.123.0/24 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.146.0/24 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O E2 192.9.156.0/24 [110/1] via 192.9.189.19, 01:22:46, Ethernet0/2
O 192.9.179.0/24 [110/20] via 192.9.189.19, 01:52:31, Ethernet0/2
192.9.189.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.9.189.0/24 is directly connected, Ethernet0/2
L 192.9.189.18/32 is directly connected, Ethernet0/2
R18#ping vrf XYZ 192.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 10/10/10 ms
R19#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.9.0.0/32 is subnetted, 9 subnets
O E2 192.9.0.11 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.0.12 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.0.13 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.0.14 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.0.15 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.0.16 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O 192.9.0.17 [110/11] via 192.9.179.17, 01:57:52, Ethernet0/0
O 192.9.0.18 [110/11] via 192.9.189.18, 01:57:37, Ethernet0/1
C 192.9.0.19 is directly connected, Loopback0
O E2 192.9.113.0/24 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.123.0/24 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.146.0/24 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
O E2 192.9.156.0/24 [110/1] via 192.9.179.17, 01:27:51, Ethernet0/0
192.9.179.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.9.179.0/24 is directly connected, Ethernet0/0
L 192.9.179.19/32 is directly connected, Ethernet0/0
192.9.189.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.9.189.0/24 is directly connected, Ethernet0/1
L 192.9.189.19/32 is directly connected, Ethernet0/1
R19#ping 192.9.0.11 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.11, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R19#ping 192.9.0.12 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.12, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 10/10/10 ms
R19#ping 192.9.0.13 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.13, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 11/11/11 ms
R19#ping 192.9.0.14 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.14, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 11/11/11 ms
R19#ping 192.9.0.15 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.15, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R19#ping 192.9.0.16 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.16, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R19#ping 192.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R19#ping 192.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.18, timeout is 2 seconds:
!
125
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
R19#ping 192.9.0.19 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.19, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 1/1/1 ms
Note: Connectivity between XYZ Site 1 and 2 were checked in step 3.7
Note: R12 has no VPNv4 BGP table since there is no VPNv4 sessions with any other routers
126
Gateway of last resort is not set
R13#ping 192.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R13#ping 192.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 10/10/10 ms
127
R13#ping 192.9.0.19 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.19, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
Note: Connectivity between XYZ Site 1 and 2 were checked in step 3.7
Note: R14 has no VPNv4 BGP table since there is no VPNv4 sessions with any other routers
R14#sh ip route vrf XYZ
Routing Table: XYZ
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.9.0.0/32 is subnetted, 9 subnets
i L2 192.9.0.11 [115/20] via 192.9.146.16, 02:31:25, Ethernet0/0
i L2 192.9.0.12 [115/20] via 192.9.146.16, 02:31:25, Ethernet0/0
i L2 192.9.0.13 [115/20] via 192.9.146.16, 02:31:25, Ethernet0/0
C 192.9.0.14 is directly connected, Loopback1
i L2 192.9.0.15 [115/30] via 192.9.146.16, 1d11h, Ethernet0/0
i L2 192.9.0.16 [115/20] via 192.9.146.16, 1d11h, Ethernet0/0
i L2 192.9.0.17 [115/20] via 192.9.146.16, 01:50:05, Ethernet0/0
i L2 192.9.0.18 [115/20] via 192.9.146.16, 01:50:05, Ethernet0/0
i L2 192.9.0.19 [115/20] via 192.9.146.16, 01:50:05, Ethernet0/0
i L2 192.9.113.0/24 [115/20] via 192.9.146.16, 02:31:25, Ethernet0/0
i L2 192.9.123.0/24 [115/20] via 192.9.146.16, 02:31:25, Ethernet0/0
192.9.146.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.9.146.0/24 is directly connected, Ethernet0/0
L 192.9.146.14/32 is directly connected, Ethernet0/0
i L2 192.9.156.0/24 [115/20] via 192.9.146.16, 1d11h, Ethernet0/0
i L2 192.9.179.0/24 [115/20] via 192.9.146.16, 01:50:05, Ethernet0/0
i L2 192.9.189.0/24 [115/20] via 192.9.146.16, 01:50:05, Ethernet0/0
R14#ping vrf XYZ 192.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
Note: Connectivity between XYZ Site 1 and 2 were checked in step 3.7
128
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 112:112 (default for vrf XYZ)
*>i192.9.0.11/32 172.9.0.11 0 100 0 ?
*>i192.9.0.12/32 172.9.0.11 30 100 0 ?
*>i192.9.0.13/32 172.9.0.11 20 100 0 ?
*> 192.9.0.14/32 192.9.156.16 30 32768 ?
*> 192.9.0.15/32 0.0.0.0 0 32768 ?
*> 192.9.0.16/32 192.9.156.16 20 32768 ?
*>i192.9.0.17/32 172.9.0.17 0 100 0 178 ?
*>i192.9.0.18/32 172.9.0.17 21 100 0 178 ?
*>i192.9.0.19/32 172.9.0.17 11 100 0 178 ?
*>i192.9.113.0 172.9.0.11 0 100 0 ?
*>i192.9.123.0 172.9.0.11 20 100 0 ?
*> 192.9.146.0 192.9.156.16 20 32768 ?
*> 192.9.156.0 0.0.0.0 0 32768 ?
Network Next Hop Metric LocPrf Weight Path
*>i192.9.179.0 172.9.0.17 0 100 0 178 ?
*>i192.9.189.0 172.9.0.17 20 100 0 178 ?
R15# ping vrf XYZ 192.9.0.17 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.17, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
R15# ping vrf XYZ 192.9.0.18 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.18, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms
R15# ping vrf XYZ 192.9.0.19 r 1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 192.9.0.19, timeout is 2 seconds:
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 9/9/9 ms
Note: Connectivity between XYZ Site 1 and 2 were checked in step 3.7
129
R16#ping 192.9.0.18
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.9.0.18, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/7/8 ms
R16#ping 192.9.0.19
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.9.0.19, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/7/8 ms
Note: Connectivity between XYZ Site 1 and 2 were checked in step 3.7
The routers in VPN ABC Site1 and Site2 have been configured PIM-SM on the interfaces shown in the
Table 16.
Router Interface
R4 Loopback1
GE0/0/0/3
R8 Loopback1
E0/0
R11 Loopback0
E0/1
E0/2
R12 Loopback0
E0/1
E0/2
R3 Loopback1
GE0/0/0/4
R7 Loopback1
E0/0
R14 Loopback0
E0/1
E0/2
R15 Loopback0
E0/1
E0/2
Statically define the IPv4 address of interface Loopback0 on R11 as the RP.
Multicast group addresses have been configured on Loopback0 of R11, R12, R14 and R15 (see
Table 17 for details).
130
Configure R3, R4, R7, and R8 so that they support Multicast VPN. Use the 239.255.13.27 address
for vrf ABC mdt default group address.
Ensure that R11, R12, R14 and R15 can ping these group addresses.
SOLUTION:
R3: R4:
multicast-routing multicast-routing
address-family ipv4 address-family ipv4
! !
mdt source Loopback0 mdt source Loopback0
! !
vrf ABC vrf ABC
address-family ipv4 address-family ipv4
interface Loopback1 interface Loopback1
enable enable
! !
interface GigabitEthernet0/0/0/4 interface GigabitEthernet0/0/0/3
enable enable
! !
mdt default ipv4 239.255.13.27 mdt default ipv4 239.255.13.27
! !
! !
! !
router pim router pim
! !
vrf ABC vrf ABC
address-family ipv4 address-family ipv4
rp-address 172.9.0.11 rp-address 172.9.0.11
interface Loopback1 interface Loopback1
enable enable
! !
interface GigabitEthernet0/0/0/4 interface GigabitEthernet0/0/0/3
enable enable
! !
! !
! !
! !
R7: R8:
131
AS9 CEs: (R11, R12, R14, R15)
R11: R12:
ip multicast-routing ip multicast-routing
! !
interface Loopback0 interface Loopback0
ip address 172.9.0.11 255.255.255.255 ip address 172.9.0.12 255.255.255.255
ip igmp join-group 239.255.172.11 ip pim sparse-mode
ip pim sparse-mode ip igmp join-group 239.255.172.12
! !
interface Ethernet0/1 interface Ethernet0/1
description Link to R4 Gi0/0/0/3 description Link to R8 E0/0
ip address 172.9.114.11 255.255.255.0 ip address 172.9.128.12 255.255.255.0
ip pim sparse-mode ip pim sparse-mode
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R12 E0/2 description Link to R11 E0/2
ip address 172.9.112.11 255.255.255.0 ip address 172.9.112.12 255.255.255.0
ip pim sparse-mode ip pim sparse-mode
! !
! ip pim rp-address 172.9.0.11
ip pim rp-address 172.9.0.11 !
!
R14: R15:
ip multicast-routing
! ip multicast-routing
interface Loopback0 !
ip address 172.9.0.14 255.255.255.255 interface Loopback0
ip pim sparse-mode ip address 172.9.0.15 255.255.255.255
ip igmp join-group 239.255.172.14 ip pim sparse-mode
! ip igmp join-group 239.255.172.15
interface Ethernet0/1 !
description Link to R3 Gi0/0/0/1 interface Ethernet0/1
ip address 172.9.143.14 255.255.255.0 description Link to R7 E0/0
ip pim sparse-mode ip address 172.9.157.15 255.255.255.0
! ip pim sparse-mode
interface Ethernet0/2 !
description Link to R15 E0/2 interface Ethernet0/2
ip address 172.9.145.14 255.255.255.0 description Link to R14 E0/2
ip pim sparse-mode ip address 172.9.145.15 255.255.255.0
! ip pim sparse-mode
ip pim rp-address 172.9.0.11 !
! ip pim rp-address 172.9.0.11
!
VALIDATION:
R11:
R11#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.9.114.4 Ethernet0/1 1d10h/00:01:27 v2 1 / G
172.9.112.12 Ethernet0/2 1d10h/00:01:39 v2 1 / DR S P G
R11#ping 239.255.172.11
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.11, timeout is 2 seconds:
132
R11#ping 239.255.172.14
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.14, timeout is 2 seconds:
Reply to request 0 from 172.9.0.14, 1 ms
Reply to request 0 from 172.9.0.14, 1 ms
R11#ping 239.255.172.15
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.15, timeout is 2 seconds:
R12:
R12#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.9.128.8 Ethernet0/1 1d10h/00:01:31 v2 1 / S P G
172.9.112.11 Ethernet0/2 1d10h/00:01:30 v2 1 / S P G
R12#ping 239.255.172.11
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.11, timeout is 2 seconds:
R12#ping 239.255.172.14
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.14, timeout is 2 seconds:
Reply to request 0 from 172.9.0.14, 1 ms
Reply to request 0 from 172.9.0.14, 1 ms
R12#ping 239.255.172.15
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.15, timeout is 2 seconds:
Reply to request 0 from 172.9.0.15, 1 ms
Reply to request 0 from 172.9.0.15, 1 ms
R14:
R14#sh ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.9.143.3 Ethernet0/1 1d10h/00:01:39 v2 1 / G
172.9.145.15 Ethernet0/2 1d10h/00:01:25 v2 1 / DR S P G
R14#ping 239.255.172.11
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.11, timeout is 2 seconds:
Reply to request 0 from 172.9.0.11, 1 ms
R14#ping 239.255.172.12
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.12, timeout is 2 seconds:
Reply to request 0 from 172.9.0.12, 1 ms
Reply to request 0 from 172.9.0.12, 1 ms
R14#ping 239.255.172.14
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.14, timeout is 2 seconds:
133
Sending 1, 100-byte ICMP Echos to 239.255.172.15, timeout is 2 seconds:
R15#ping 239.255.172.11
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.11, timeout is 2 seconds:
Reply to request 0 from 172.9.0.11, 1 ms
R15#ping 239.255.172.12
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.12, timeout is 2 seconds:
Reply to request 0 from 172.9.0.12, 1 ms
Reply to request 0 from 172.9.0.12, 1 ms
R15#ping 239.255.172.14
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.14, timeout is 2 seconds:
Reply to request 0 from 172.9.0.14, 1 ms
Reply to request 0 from 172.9.0.14, 1 ms
R15#ping 239.255.172.15
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.255.172.15, timeout is 2 seconds:
R5 act as RR for iBGP IPv4 MDT within AS-9. An iBGP MDT session should NOT be established
between R2, R3, R4, R7 and R8.
R6 act as RR for iBGP IPv4 MDT within AS-1009. An iBGP MDT session should NOT be established
between R1, R9 and R10.
The IPv4 addresses of interface Loopback0 is used to establish BGP ipv4 MDT sessions.
Establish eBGP IPv4 MDT session between R5 and R6.
Ensure that R1, R6, R9 and R10 have the information about PE source and the default MDT
group of R3, R4, R7 and R8.
SOLUTION:
R3: R4:
vrf ABC vrf ABC
address-family ipv4 unicast address-family ipv4 unicast
import route-target import route-target
9:9 9:9
1009:9 1009:9
! !
export route-target export route-target
9:9 9:9
! !
134
! !
address-family ipv6 unicast !
import route-target router bgp 9
9:9 !
1009:9 address-family ipv4 mdt
! !
export route-target neighbor 9.9.0.5 ! AS9 Route Reflector
9:9 remote-as 9
! update-source Loopback0
! !
! address-family ipv4 mdt
router bgp 9 !
! !
address-family ipv4 mdt router bgp 9
! !
neighbor 9.9.0.5 ! AS9 Route Reflector address-family ipv4 mdt
remote-as 9 !
update-source Loopback0 neighbor 9.9.0.5 ! AS9 Route Reflector
! remote-as 9
address-family ipv4 mdt update-source Loopback0
! !
! address-family ipv4 mdt
multicast-routing !
address-family ipv4 !
! multicast-routing
mdt source Loopback0 address-family ipv4
! !
vrf ABC mdt source Loopback0
address-family ipv4 !
interface Loopback1 vrf ABC
enable address-family ipv4
! interface Loopback1
interface GigabitEthernet0/0/0/4 enable
enable !
! interface GigabitEthernet0/0/0/3
mdt default ipv4 239.255.13.27 enable
! !
! mdt default ipv4 239.255.13.27
! !
router pim !
address-family ipv4 !
rpf-vector router pim
! address-family ipv4
vrf ABC rpf-vector
address-family ipv4 !
rp-address 172.9.0.11 vrf ABC
interface Loopback1 address-family ipv4
enable rp-address 172.9.0.11
! interface Loopback1
interface GigabitEthernet0/0/0/4 enable
enable !
! interface GigabitEthernet0/0/0/3
! enable
! !
! !
!
!
R7: R8:
R5:
router bgp 9
!
neighbor 9.9.0.3 remote-as 9
neighbor 9.9.0.3 update-source Loopback0
neighbor 9.9.0.4 remote-as 9
neighbor 9.9.0.4 update-source Loopback0
neighbor 9.9.0.7 remote-as 9
neighbor 9.9.0.7 update-source Loopback0
neighbor 9.9.0.8 remote-as 9
neighbor 9.9.0.8 update-source Loopback0
neighbor 9.9.56.6 remote-as 1009
!
address-family ipv4 mdt
neighbor 9.9.0.3 activate
neighbor 9.9.0.3 route-reflector-client
neighbor 9.9.0.3 next-hop-self
neighbor 9.9.0.4 activate
neighbor 9.9.0.4 route-reflector-client
neighbor 9.9.0.4 next-hop-self
neighbor 9.9.0.7 activate
neighbor 9.9.0.7 route-reflector-client
neighbor 9.9.0.7 next-hop-self
neighbor 9.9.0.8 activate
neighbor 9.9.0.8 route-reflector-client
neighbor 9.9.0.8 next-hop-self
neighbor 9.9.56.6 activate
neighbor 9.9.56.6 send-community extended
exit-address-family
R9: R10:
vrf definition ABC vrf definition ABC
rd 1009:9 rd 1009:9
! !
address-family ipv4 address-family ipv4
mdt default 239.255.13.27 mdt default 239.255.13.27
exit-address-family exit-address-family
! !
ip multicast-routing vrf ABC ip multicast-routing vrf ABC
ip multicast rpf proxy vector ip multicast rpf proxy vector
ip multicast vrf ABC rpf proxy rd vector ip multicast vrf ABC rpf proxy rd vector
! !
interface Loopback1 interface Loopback1
vrf forwarding ABC vrf forwarding ABC
ip address 172.9.0.9 255.255.255.255 ip address 172.9.0.10 255.255.255.255
ip pim sparse-mode ip pim sparse-mode
! !
interface Ethernet0/2 interface Ethernet0/2
description Link to R17 E0/0 description Link to R18 E0/0
vrf forwarding ABC vrf forwarding ABC
ip address 172.9.197.9 255.255.255.0 ip address 172.9.108.10 255.255.255.0
ip pim sparse-mode ip pim sparse-mode
! !
router bgp 1009 router bgp 1009
! !
neighbor 9.9.0.6 remote-as 1009 ! AS1009 RR neighbor 9.9.0.6 remote-as 1009 ! AS1009 RR
neighbor 9.9.0.6 update-source Loopback0 neighbor 9.9.0.6 update-source Loopback0
! !
address-family ipv4 mdt address-family ipv4 mdt
neighbor 9.9.0.6 activate neighbor 9.9.0.6 activate
136
neighbor 9.9.0.6 send-community extended neighbor 9.9.0.6 send-community extended
exit-address-family exit-address-family
! !
ip pim vrf ABC rp-address 172.9.0.11 ip pim vrf ABC rp-address 172.9.0.11
! !
R1: R6:
router bgp 1009
vrf ABC !
address-family ipv4 unicast neighbor 9.9.0.1 remote-as 1009
import route-target neighbor 9.9.0.1 update-source Loopback0
9:9 neighbor 9.9.0.9 remote-as 1009
1009:9 neighbor 9.9.0.9 update-source Loopback0
! neighbor 9.9.0.10 remote-as 1009
export route-target neighbor 9.9.0.10 update-source Loopback0
1009:9 neighbor 9.9.56.5 remote-as 9
! !
! address-family ipv4 mdt
address-family ipv6 unicast neighbor 9.9.0.1 activate
import route-target neighbor 9.9.0.1 route-reflector-client
9:9 neighbor 9.9.0.1 next-hop-self
1009:9 neighbor 9.9.0.9 activate
! neighbor 9.9.0.9 route-reflector-client
export route-target neighbor 9.9.0.9 next-hop-self
1009:9 neighbor 9.9.0.10 activate
! neighbor 9.9.0.10 route-reflector-client
! neighbor 9.9.0.10 next-hop-self
! neighbor 9.9.56.5 activate
router bgp 1009 neighbor 9.9.56.5 send-community extended
! exit-address-family
address-family ipv4 mdt !
!
neighbor 9.9.0.6 ! AS1009 RR
remote-as 1009
update-source Loopback0
!
address-family ipv4 mdt
!
!
!
multicast-routing
address-family ipv4
!
mdt source Loopback0
!
vrf ABC
address-family ipv4
interface Loopback1
enable
!
mdt default ipv4 239.255.13.27
!
!
!
router pim
address-family ipv4
rpf-vector
!
vrf ABC
address-family ipv4
rp-address 172.9.0.11
interface Loopback1
!
!
!
VALIDATION:
{----------------------------------------------AS9---------------------------------------------}
R7:
R7#sh ip pim vrf ABC neighbor
In the real lab environment it is also required to check the reachability of the VRF’s ABC multicast
groups via ping.
R7#ping vrf ABC 239.255.172.11
R7#ping vrf ABC 239.255.172.12
R8:
R8#sh ip pim vrf ABC neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
P - Proxy Capable, S - State Refresh Capable, G - GenID Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
172.9.128.12 Ethernet0/0 2d08h/00:01:17 v2 1 / DR S P G
9.9.0.10 Tunnel1 02:16:27/00:01:31 v2 1 / DR S P G
9.9.0.9 Tunnel1 02:16:28/00:01:34 v2 1 / S P G
9.9.0.1 Tunnel1 02:17:22/00:01:28 v2 1 / G
9.9.0.3 Tunnel1 2d08h/00:01:33 v2 1 / G
9.9.0.4 Tunnel1 2d08h/00:01:19 v2 1 / G
9.9.0.7 Tunnel1 2d08h/00:01:36 v2 1 / S P G
R8#sh bgp ipv4 mdt all
BGP table version is 33, local router ID is 9.9.0.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
138
R3:
RP/0/0/CPU0:R3#sh pim vrf ABC neighbor
Wed Jan 23 23:29:51.600 MSK
PIM neighbors in VRF ABC
R4:
RP/0/0/CPU0:R4#sh pim vrf ABC neighbor
Wed Jan 23 23:43:44.121 MSK
139
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 9:9
*>i9.9.0.3/96 9.9.0.3 100 0 i
*> 9.9.0.4/96 0.0.0.0 0 i
*>i9.9.0.7/96 9.9.0.7 0 100 0 ?
*>i9.9.0.8/96 9.9.0.8 0 100 0 ?
Route Distinguisher: 1009:9
*>i9.9.0.1/96 9.9.0.5 0 100 0 1009 i
*>i9.9.0.9/96 9.9.0.5 0 100 0 1009 ?
*>i9.9.0.10/96 9.9.0.5 0 100 0 1009 ?
Processed 7 prefixes, 7 paths
{----------------------------------------------AS1009---------------------------------------------}
R9:
R9#sh ip pim vrf ABC neighbor
R10:
R1:
141
Section 4. Implement, Optimize and Troubleshooting L2 VPN Technologies
R22 and R23 would like to establish PPP connection through AS-9 (see Diagram #1 for details)
Configure R5 and R8 to support PPP over MPLS
Configure OSPF on the interfaces that are shown in this table
Ensure that R22 and R23 have the OSPF routes and can ping each over via IPv4.
SOLUTION:
R22: R23:
R8: R5:
142
VALIDATION:
R22:
R22#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
R22#ping 172.9.0.23
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.9.0.23, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 45/48/63 ms
R8:
R5:
R5#sh xconnect int s2/1
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP pri ac Se2/1(PPP) UP mpls 9.9.0.8:100 UP
R21 and R24 are connected to the SP using Frame-Relay. (See Diagrams #1 and #3 for details).
Configure L2TPv3 on R7 and R9 to support Frame Relay tunneling.
Configure RIPv2 and RIPng on the interfaces that are shown in this table.
Router Interface
R21 Loopback0
S2/0
R24 Loopback0
S2/0
Ensure that R21 and R24 have full IPv4 and IPv6 connectivity.
143
SOLUTION:
R7: R9:
R21: R24:
interface Loopback0
interface Loopback0 ip address 172.9.0.24 255.255.255.255
ip address 172.9.0.21 255.255.255.255 ipv6 address 2002:172:9::24/128
ipv6 address 2002:172:9::21/128 ipv6 rip RIP enable
ipv6 rip RIP enable !
! interface Serial2/0
interface Serial2/0 description FR Link to R9 S2/0 via R28 S2/3
description FR Link to R9 S2/0 via R28 S2/3 ip address 172.9.214.24 255.255.255.0
ip address 172.9.214.21 255.255.255.0 encapsulation frame-relay
encapsulation frame-relay ipv6 address 2002:172:9:214::24/64
ipv6 address 2002:172:9:214::21/64 ipv6 rip RIP enable
ipv6 rip RIP enable serial restart-delay 0
serial restart-delay 0 frame-relay map ipv6 FE80::A8BB:CCFF:FE00:7900
frame-relay map ipv6 FE80::A8BB:CCFF:FE00:7C00 249 broadcast ! R21 (remote) Link-Local Address
217 broadcast ! R24 (remote) Link-Local Address frame-relay map ipv6 2002:172:9:214::21 249
frame-relay map ipv6 2002:172:9:214::24 217 broadcast
broadcast frame-relay map ip 172.9.214.21 249 broadcast
frame-relay map ip 172.9.214.24 217 broadcast no frame-relay inverse-arp
no frame-relay inverse-arp !
! router rip
router rip version 2
version 2 passive-interface default
passive-interface default no passive-interface Serial2/0
no passive-interface Serial2/0 network 172.9.0.0
network 172.9.0.0 no auto-summary
no auto-summary !
! ipv6 router rip RIP
ipv6 router rip RIP !
!
NB! Frame-relay map to remote Link-Local address is important, overwise remote loopback will not be
reachable via IPv6 ping.
VALIDATION:
R9:
R9#show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Se2/0:924(FR DLCI) UP l2tp 9.9.0.7:10 UP
144
R7:
R7#sh xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Se2/0:721(FR DLCI) UP l2tp 9.9.0.9:10 UP
R21:
R21#sh ip route rip
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.9.0.0/16 is variably subnetted, 4 subnets, 2 masks
R 172.9.0.24/32 [120/1] via 172.9.214.24, 00:00:00, Serial2/0
R24:
R24#sh ip route rip
4.3 VPLS
SOLUTION:
R3: R4:
interface GigabitEthernet0/0/0/4
interface GigabitEthernet0/0/0/5 description L2 Link to SW3 E0/3
description L2 Link to SW2 E0/2 cdp
cdp l2transport
l2transport !
! !
! l2vpn
l2vpn pw-class AToM
pw-class AToM encapsulation mpls
encapsulation mpls !
! !
! bridge group VPLS
bridge group VPLS bridge-domain VLAN101
bridge-domain VLAN101 interface GigabitEthernet0/0/0/4
interface GigabitEthernet0/0/0/5 !
! vfi 101
vfi 101 neighbor 9.9.0.3 pw-id 101
neighbor 9.9.0.4 pw-id 101 pw-class AToM
pw-class AToM !
! !
! !
! !
! !
!
SW2: SW3:
VALIDATION:
146
R3:
RP/0/0/CPU0:R3#sh l2vpn bridge-domain
Fri Jan 25 01:42:50.523 MSK
Legend: pp = Partially Programmed.
Bridge group: VPLS, bridge-domain: VLAN101, id: 0, state: up, ShgId: 0, MSTi: 0
Aging: 300 s, MAC limit: 4000, Action: none, Notification: syslog
Filter MAC addresses: 0
ACs: 1 (1 up), VFIs: 1, PWs: 1 (1 up), PBBs: 0 (0 up)
List of ACs:
Gi0/0/0/5, state: up, Static MAC addresses: 0
List of Access PWs:
List of VFIs:
VFI 101 (up)
Neighbor 9.9.0.4 pw-id 101, state: up, Static MAC addresses: 0
R4:
SW3:
SW3#sh spanning-tree vlan 101 | i root
This bridge is the root
147
Section 5. Useful Command Aliases
One of the main factors which slowing down the Lab passing process is the differences between typing
of the same commands in IOS and IOS-XR. Commands do the same for IOS and IOS-XR both but syntax is
different, so you need to be very concentrating on which platform type you issued each specific
command.
- You can create the same alias in both IOS and IOS-XR for commands that do the same but have
different syntax.
- Speed up the typing process using aliases of 3 or 4 characters instead of commands of 3 – 6
words and special symbols like |, ^, etc.
-
Please see below the list of suggested command aliases that were used during writing this document:
IOS IOS-XR
Show Running Configuration
alias configure dsri do sh run | s router isis alias sri sh run router isis (*)
alias exec sri sh run | s router isis
alias configure dsrb do sh run | s router bgp alias srb show run router bgp
alias exec srb sh run | s router bgp
alias configure dsro do sh run | s router ospf alias sri sh run router ospf
alias exec sro sh run | s router ospf
alias configure dsri6 do sh run | s ipv6 router isis (*) shows isis configuration for IPv4 and IPv6
alias exec sri6 sh run | s ipv6 router isis address families in the same time
alias configure dsro6 do sh run | s ipv6 router ospf alias sro6 sh run router ospfv3
alias exec sro6 sh run | s ipv6 router ospf
alias srbv sh run router bgp 9 vrf ABC
alias exec sb4 sh ip bgp ipv4 unicast alias sb4s sh bgp ipv4 unicast summary
alias configure dsb4 sh ip bgp ipv4 unicast
alias exec sb6s sh ip bgp ipv6 unicast summary alias sb6 sh bgp ipv6 unicast
alias configure dsb6s sh ip bgp ipv6 unicast summary
alias exec sb6 sh ip bgp ipv6 unicast alias sb6s sh bgp ipv6 unicast summary
alias configure dsb6 sh ip bgp ipv6 unicast
148