Tuesday, December 15, 2009

Implementing Internet Access via Central Site VRF providing Rdundancy Failover for Internet Traffic LAB



Config Guidelines
****************************************************************************************
ISP AS 64513
VRF used CEA
rd 6413:1
rt 64513:100
IGP in ISP AS is ISIS. Loopbacks in Level-1 and PE1,PE2 & PE3 in Area 1 with Level-2 Core Links
PE-CE Routing Protocol EBGP
Internet Access Is connected vis CE2A (Secondary) and CE1A(Primary).
CE1A has IGP OSPF which has a default route from Internet_2 and Injecting a Default-Route towards ISP.
CE1A is sending default-route via default-originate to PE1 which is further redistributed via MP-iBGP to
PE2 & PE3 and in turn CE2A & CE3A.
CE2A has a defaut route from Internet_1 and Injecting a default-route towards ISP.
CE2A is sending default-route via redistribution to PE2. CE2A is sending routes with community
string 64514:90 receiving which provider is setting Local Pref for the routes to 90 and hence making the
default-route via CE2A less preferrale as compared to CE1A. The default-route is further redistributed via MP-iBGP
to PE1 & PE3 and in turn CE1A & CE3A.
Preferred Internet Path is via CE1A Normally and via CE2A when PE1-CE1A Link down.
172.16.100.1/24 is configured on both Internet_1 & Internet_2 Lo0 to simulate Internet Traffic Effect.
Internet_1 AS 64516
Internet_2 AS 64515
Customer AS 64514
****************************************************************************************
Internet_2#sh running-config
Building configuration...
Current configuration : 1463 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Internet_2
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 172.16.100.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 172.16.1.2 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router bgp 64515
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
neighbor 172.16.1.1 remote-as 64514
neighbor 172.16.1.1 description <>
neighbor 172.16.1.1 default-originate
neighbor 172.16.1.1 soft-reconfiguration inbound
no auto-summary
!
ip http server
!
!
!
!
route-map Local permit 10
match interface Serial1/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
Internet_2#
Internet_2#
CE11A#sh running-config
Building configuration...
Current configuration : 1617 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE11A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.11.1 255.255.255.255
!
interface FastEthernet0/0
ip address 10.0.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 172.16.1.1 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router ospf 100
log-adjacency-changes
redistribute connected subnets route-map Local
redistribute bgp 64514 subnets
network 10.0.1.0 0.0.0.255 area 0
default-information originate always
!
router bgp 64514
no synchronization
bgp log-neighbor-changes
redistribute ospf 100 match internal external 2
neighbor 172.16.1.2 remote-as 64515
neighbor 172.16.1.2 description <>
neighbor 172.16.1.2 soft-reconfiguration inbound
no auto-summary
!
ip http server
!
!
!
!
route-map Local permit 10
match interface Loopback0 Serial1/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
CE11A#
CE1A#sh running-config
Building configuration...
Current configuration : 1668 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE1A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.10.1 255.255.255.255
!
interface FastEthernet0/0
description <>
ip address 10.0.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 192.168.1.1 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router ospf 100
log-adjacency-changes
redistribute connected subnets route-map Local
redistribute bgp 64514 subnets
network 10.0.1.0 0.0.0.255 area 0
!
router bgp 64514
no synchronization
bgp log-neighbor-changes
redistribute ospf 100 match internal external 2
neighbor 192.168.1.2 remote-as 64513
neighbor 192.168.1.2 default-originate
neighbor 192.168.1.2 allowas-in 5
neighbor 192.168.1.2 soft-reconfiguration inbound
no auto-summary
!
ip http server
!
!
!
!
route-map Local permit 10
match interface Loopback0 FastEthernet0/0 Serial1/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
CE1A#
PE1#sh running-config
Building configuration...
Current configuration : 2945 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ip vrf CEA
description <>
rd 64513:1
route-target export 64513:100
route-target import 64513:100
!
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 192.168.100.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip vrf forwarding CEA
ip address 192.168.1.2 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
description <>
ip address 192.168.10.1 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
no dce-terminal-timing-enable
isis circuit-type level-2-only
!
interface Serial1/2
description <>
ip address 192.168.10.5 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
no dce-terminal-timing-enable
isis circuit-type level-2-only
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router isis
net 49.0001.1111.2222.3333.00
!
router bgp 64513
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 192.168.1.1 remote-as 64514
neighbor 192.168.1.1 description <>
neighbor 192.168.100.2 remote-as 64513
neighbor 192.168.100.2 description <>
neighbor 192.168.100.2 update-source Loopback0
neighbor 192.168.100.3 remote-as 64513
neighbor 192.168.100.3 description <>
neighbor 192.168.100.3 update-source Loopback0
!
address-family ipv4
neighbor 192.168.1.1 activate
neighbor 192.168.100.2 activate
neighbor 192.168.100.2 next-hop-self
neighbor 192.168.100.2 soft-reconfiguration inbound
neighbor 192.168.100.3 activate
neighbor 192.168.100.3 next-hop-self
neighbor 192.168.100.3 soft-reconfiguration inbound
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 192.168.100.2 activate
neighbor 192.168.100.2 send-community extended
neighbor 192.168.100.3 activate
neighbor 192.168.100.3 send-community extended
exit-address-family
!
address-family ipv4 vrf CEA
redistribute connected
neighbor 192.168.1.1 remote-as 64514
neighbor 192.168.1.1 activate
neighbor 192.168.1.1 send-community extended
neighbor 192.168.1.1 soft-reconfiguration inbound
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
PE1#
PE3#sh running-config
Building configuration...
Current configuration : 2884 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE3
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ip vrf CEA
description <>
rd 64513:1
route-target export 64513:100
route-target import 64513:100
!
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 192.168.100.3 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 182.168.10.10 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
no dce-terminal-timing-enable
isis circuit-type level-2-only
!
interface Serial1/1
description <>
ip address 192.168.10.6 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
no dce-terminal-timing-enable
isis circuit-type level-2-only
!
interface Serial1/2
description <>
ip vrf forwarding CEA
ip address 192.168.1.9 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router isis
net 49.0001.3333.2222.1111.00
!
router bgp 64513
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.1.10 remote-as 64514
neighbor 192.168.1.10 description <>
neighbor 192.168.100.1 remote-as 64513
neighbor 192.168.100.1 description <>
neighbor 192.168.100.1 update-source Loopback0
neighbor 192.168.100.2 remote-as 64513
neighbor 192.168.100.2 description <>
neighbor 192.168.100.2 update-source Loopback0
!
address-family ipv4
neighbor 192.168.100.1 activate
neighbor 192.168.100.1 next-hop-self
neighbor 192.168.100.1 soft-reconfiguration inbound
neighbor 192.168.100.2 activate
neighbor 192.168.100.2 next-hop-self
neighbor 192.168.100.2 soft-reconfiguration inbound
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 192.168.100.1 activate
neighbor 192.168.100.1 send-community extended
neighbor 192.168.100.2 activate
neighbor 192.168.100.2 send-community extended
exit-address-family
!
address-family ipv4 vrf CEA
redistribute connected
neighbor 192.168.1.10 remote-as 64514
neighbor 192.168.1.10 activate
neighbor 192.168.1.10 send-community extended
neighbor 192.168.1.10 soft-reconfiguration inbound
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
PE3#
CE3A#sh running-config
Building configuration...
Current configuration : 1449 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE3A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.30.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 192.168.1.10 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router bgp 64514
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
neighbor 192.168.1.9 remote-as 64513
neighbor 192.168.1.9 description <>
neighbor 192.168.1.9 allowas-in 5
neighbor 192.168.1.9 soft-reconfiguration inbound
no auto-summary
!
ip http server
!
!
!
!
route-map Local permit 10
match interface Loopback0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
CE3A#
CE3A#
CE3A#
PE2#sh running-config
Building configuration...
Current configuration : 2990 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ip vrf CEA
description <>
rd 64513:1
route-target export 64513:100
route-target import 64513:100
!
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 192.168.100.2 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 192.168.10.2 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
no dce-terminal-timing-enable
isis circuit-type level-2-only
!
interface Serial1/1
description <>
ip address 192.168.10.9 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
no dce-terminal-timing-enable
isis circuit-type level-2-only
!
interface Serial1/2
description <>
ip vrf forwarding CEA
ip address 192.168.1.5 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router isis
net 49.0001.2222.3333.1111.00
!
router bgp 64513
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.100.1 remote-as 64513
neighbor 192.168.100.1 description <>
neighbor 192.168.100.1 update-source Loopback0
neighbor 192.168.100.3 remote-as 64513
neighbor 192.168.100.3 description <>
neighbor 192.168.100.3 update-source Loopback0
!
address-family ipv4
neighbor 192.168.100.1 activate
neighbor 192.168.100.1 next-hop-self
neighbor 192.168.100.1 soft-reconfiguration inbound
neighbor 192.168.100.3 activate
neighbor 192.168.100.3 next-hop-self
neighbor 192.168.100.3 soft-reconfiguration inbound
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 192.168.100.1 activate
neighbor 192.168.100.1 send-community extended
neighbor 192.168.100.3 activate
neighbor 192.168.100.3 send-community extended
exit-address-family
!
address-family ipv4 vrf CEA
redistribute connected
neighbor 192.168.1.6 remote-as 64514
neighbor 192.168.1.6 activate
neighbor 192.168.1.6 send-community extended
neighbor 192.168.1.6 soft-reconfiguration inbound
neighbor 192.168.1.6 route-map CE2A_Local_Pref in
no synchronization
exit-address-family
!
ip http server
!
!
ip bgp-community new-format
ip community-list 14 permit 64514:90
!
!
route-map CE2A_Local_Pref permit 10
match community 14
set local-preference 90
!
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
PE2#
PE2#
PE2#
PE2#
CE2A#sh running-config
Building configuration...
Current configuration : 1948 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE2A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.20.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 192.168.1.6 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
description <>
ip address 172.16.10.1 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router bgp 64514
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
neighbor 172.16.10.2 remote-as 64516
neighbor 172.16.10.2 description <>
neighbor 172.16.10.2 soft-reconfiguration inbound
neighbor 192.168.1.5 remote-as 64513
neighbor 192.168.1.5 description <>
neighbor 192.168.1.5 send-community
neighbor 192.168.1.5 allowas-in 5
neighbor 192.168.1.5 soft-reconfiguration inbound
neighbor 192.168.1.5 route-map PE2_Out out
no auto-summary
!
ip http server
!
!
ip bgp-community new-format
ip as-path access-list 16 permit _64516$
!
!
ip prefix-list PE2_Out seq 10 permit 10.0.20.1/32
ip prefix-list PE2_Out seq 20 permit 0.0.0.0/0
!
route-map PE2_Out permit 10
set community 64514:90
!
route-map Local permit 10
match interface Loopback0 Serial1/1
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
CE2A#
Internet_1#sh running-config
Building configuration...
Current configuration : 1481 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Internet_1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 172.16.100.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description <>
ip address 172.16.10.2 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
no fair-queue
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router bgp 64516
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
neighbor 172.16.10.1 remote-as 64514
neighbor 172.16.10.1 description <>
neighbor 172.16.10.1 default-originate
neighbor 172.16.10.1 soft-reconfiguration inbound
no auto-summary
!
ip http server
!
!
!
!
route-map Local permit 10
match interface Serial1/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
Internet_1#
Internet_1#
Internet_1#
**********************************************************************
OUTPUT
**********************************************************************
Before PE1-CE1A Link Shutdown Internet Traffic Moving via CE1A
**********************************************************************
PE3#sh ip route vrf CEA
Routing Table: CEA
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.100.1 to network 0.0.0.0
172.16.0.0/30 is subnetted, 2 subnets
B 172.16.10.0 [200/0] via 192.168.100.2, 00:56:41
B 172.16.1.0 [200/20] via 192.168.100.1, 00:00:06
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 10.0.11.1/32 [200/20] via 192.168.100.1, 00:00:06
B 10.0.1.0/24 [200/0] via 192.168.100.1, 00:00:06
B 10.0.30.1/32 [20/0] via 192.168.1.10, 01:41:07
B 10.0.20.1/32 [200/0] via 192.168.100.2, 00:56:42
192.168.1.0/30 is subnetted, 3 subnets
C 192.168.1.8 is directly connected, Serial1/2
B 192.168.1.0 [200/0] via 192.168.100.1, 00:00:21
B 192.168.1.4 [200/0] via 192.168.100.2, 01:37:47
B* 0.0.0.0/0 [200/0] via 192.168.100.1, 00:00:09
PE3#
PE3#
PE2#sh ip route vrf CEA
Routing Table: CEA
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.100.1 to network 0.0.0.0
172.16.0.0/30 is subnetted, 2 subnets
B 172.16.10.0 [20/0] via 192.168.1.6, 00:57:17
B 172.16.1.0 [200/20] via 192.168.100.1, 00:00:37
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 10.0.11.1/32 [200/20] via 192.168.100.1, 00:00:37
B 10.0.1.0/24 [200/0] via 192.168.100.1, 00:00:37
B 10.0.30.1/32 [200/0] via 192.168.100.3, 01:41:17
B 10.0.20.1/32 [20/0] via 192.168.1.6, 00:57:17
192.168.1.0/30 is subnetted, 3 subnets
B 192.168.1.8 [200/0] via 192.168.100.3, 01:44:03
B 192.168.1.0 [200/0] via 192.168.100.1, 00:00:52
C 192.168.1.4 is directly connected, Serial1/2
B* 0.0.0.0/0 [200/0] via 192.168.100.1, 00:00:38
PE2#
PE1#sh ip route vrf CEA
Routing Table: CEA
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
172.16.0.0/30 is subnetted, 2 subnets
B 172.16.10.0 [200/0] via 192.168.100.2, 00:57:13
B 172.16.1.0 [20/20] via 192.168.1.1, 00:01:08
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 10.0.11.1/32 [20/20] via 192.168.1.1, 00:01:08
B 10.0.1.0/24 [20/0] via 192.168.1.1, 00:01:08
B 10.0.30.1/32 [200/0] via 192.168.100.3, 01:41:31
B 10.0.20.1/32 [200/0] via 192.168.100.2, 00:57:13
192.168.1.0/30 is subnetted, 3 subnets
B 192.168.1.8 [200/0] via 192.168.100.3, 01:44:16
C 192.168.1.0 is directly connected, Serial1/0
B 192.168.1.4 [200/0] via 192.168.100.2, 01:38:33
B* 0.0.0.0/0 [20/0] via 192.168.1.1, 00:01:09
PE1#
PE1#
PE1#
CE2A#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 172.16.10.2 to network 0.0.0.0
172.16.0.0/30 is subnetted, 2 subnets
C 172.16.10.0 is directly connected, Serial1/1
B 172.16.1.0 [20/0] via 192.168.1.5, 00:01:37
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 10.0.11.1/32 [20/0] via 192.168.1.5, 00:01:37
B 10.0.1.0/24 [20/0] via 192.168.1.5, 00:01:37
B 10.0.30.1/32 [20/0] via 192.168.1.5, 01:02:37
C 10.0.20.1/32 is directly connected, Loopback0
192.168.1.0/30 is subnetted, 3 subnets
B 192.168.1.8 [20/0] via 192.168.1.5, 01:02:37
B 192.168.1.0 [20/0] via 192.168.1.5, 00:01:51
C 192.168.1.4 is directly connected, Serial1/0
B* 0.0.0.0/0 [20/0] via 172.16.10.2, 00:56:52
CE2A#
CE1A#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.0.1.2 to network 0.0.0.0
172.16.0.0/30 is subnetted, 2 subnets
B 172.16.10.0 [20/0] via 192.168.1.2, 00:02:10
O E2 172.16.1.0 [110/20] via 10.0.1.2, 00:37:23, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O E2 10.0.11.1/32 [110/20] via 10.0.1.2, 00:44:23, FastEthernet0/0
C 10.0.10.1/32 is directly connected, Loopback0
C 10.0.1.0/24 is directly connected, FastEthernet0/0
B 10.0.30.1/32 [20/0] via 192.168.1.2, 00:02:10
B 10.0.20.1/32 [20/0] via 192.168.1.2, 00:02:10
192.168.1.0/30 is subnetted, 3 subnets
B 192.168.1.8 [20/0] via 192.168.1.2, 00:02:10
C 192.168.1.0 is directly connected, Serial1/0
B 192.168.1.4 [20/0] via 192.168.1.2, 00:02:10
O*E2 0.0.0.0/0 [110/1] via 10.0.1.2, 00:34:48, FastEthernet0/0
CE1A#
Internet_1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.10.0/30 is directly connected, Serial1/0
B 172.16.1.0/30 [20/0] via 172.16.10.1, 00:02:14
C 172.16.100.0/24 is directly connected, Loopback0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
B 10.0.11.1/32 [20/0] via 172.16.10.1, 00:02:14
B 10.0.1.0/24 [20/0] via 172.16.10.1, 00:02:14
B 10.0.30.1/32 [20/0] via 172.16.10.1, 01:03:02
B 10.0.20.1/32 [20/0] via 172.16.10.1, 01:34:53
192.168.1.0/30 is subnetted, 3 subnets
B 192.168.1.8 [20/0] via 172.16.10.1, 01:03:02
B 192.168.1.0 [20/0] via 172.16.10.1, 00:02:44
B 192.168.1.4 [20/0] via 172.16.10.1, 01:03:02
Internet_1#
Internet_1#ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 736/1231/1600 ms
Internet_1#
CE1A#ping 10.0.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 628/910/1232 ms
CE1A#
CE3A#traceroute 172.16.100.1
Type escape sequence to abort.
Tracing the route to 172.16.100.1
1 192.168.1.9 168 msec 288 msec 100 msec
2 192.168.1.2 [AS 64513] 756 msec 928 msec 548 msec
3 192.168.1.1 [AS 64513] 712 msec 580 msec 172 msec
4 10.0.1.2 [AS 64514] 332 msec 1440 msec 448 msec
5 172.16.1.2 [AS 64514] 1488 msec 1448 msec 976 msec
CE3A#
CE1A#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 10.0.1.1 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Serial1/0 192.168.1.1 YES manual up up
Serial1/1 unassigned YES unset administratively down down
Serial1/2 unassigned YES unset administratively down down
Serial1/3 unassigned YES unset administratively down down
Loopback0 10.0.10.1 YES manual up up
CE1A#sh ip bgp summary
BGP router identifier 10.0.10.1, local AS number 64514
BGP table version is 30, main routing table version 30
9 network entries using 1053 bytes of memory
9 path entries using 468 bytes of memory
6/5 BGP path/bestpath attribute entries using 744 bytes of memory
2 BGP AS-PATH entries using 48 bytes of memory
1 BGP extended community entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 2337 total bytes of memory
BGP activity 18/9 prefixes, 18/9 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
192.168.1.2 4 64513 67 62 30 0 0 00:05:54 6
CE1A#
CE11A#ping 172.16.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 380/693/1312 ms
CE11A#ping 172.16.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 632/899/1136 ms
CE11A#
CE11A#ping 172.16.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 588/684/900 ms
CE11A#
Internet_2#ping 10.0.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 372/672/1416 ms
Internet_2#
*********************************************************************************
After PE1-CE1A Link Shutdown Internet Traffic Moving via CE2A
CE3A#ping 172.16.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 228/852/1120 ms
CE3A#tra
CE3A#traceroute 172.16.100.1
Type escape sequence to abort.
Tracing the route to 172.16.100.1
1 192.168.1.9 304 msec 392 msec 140 msec
2 192.168.10.5 [AS 64516] 356 msec 352 msec 328 msec
3 192.168.1.5 [AS 64513] 256 msec 1008 msec 548 msec
4 192.168.1.6 [AS 64513] 640 msec 720 msec 644 msec
5 172.16.10.2 [AS 64514] 560 msec 1156 msec 1244 msec
CE3A#sh ip rou
CE3A#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.1.9 to network 0.0.0.0
172.16.0.0/30 is subnetted, 1 subnets
B 172.16.10.0 [20/0] via 192.168.1.9, 00:47:54
10.0.0.0/32 is subnetted, 2 subnets
C 10.0.30.1 is directly connected, Loopback0
B 10.0.20.1 [20/0] via 192.168.1.9, 00:47:54
192.168.1.0/30 is subnetted, 2 subnets
C 192.168.1.8 is directly connected, Serial1/0
B 192.168.1.4 [20/0] via 192.168.1.9, 01:28:57
B* 0.0.0.0/0 [20/0] via 192.168.1.9, 00:02:44
CE3A#
PE3#sh ip route vrf CEA
Routing Table: CEA
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.100.2 to network 0.0.0.0
172.16.0.0/30 is subnetted, 1 subnets
B 172.16.10.0 [200/0] via 192.168.100.2, 00:49:35
10.0.0.0/32 is subnetted, 2 subnets
B 10.0.30.1 [20/0] via 192.168.1.10, 01:34:01
B 10.0.20.1 [200/0] via 192.168.100.2, 00:49:35
192.168.1.0/30 is subnetted, 2 subnets
C 192.168.1.8 is directly connected, Serial1/2
B 192.168.1.4 [200/0] via 192.168.100.2, 01:30:38
B* 0.0.0.0/0 [200/0] via 192.168.100.2, 00:04:15
PE3#
CE1A#sh ip int brief
Interface IP-Address OK? Method Status Pro
ocol
FastEthernet0/0 10.0.1.1 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down dow
Serial1/0 192.168.1.1 YES manual administratively down dow
Serial1/1 unassigned YES unset administratively down dow
Serial1/2 unassigned YES unset administratively down dow
Serial1/3 unassigned YES unset administratively down dow
Loopback0 10.0.10.1 YES manual up up
CE1A#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.0.1.2 to network 0.0.0.0
172.16.0.0/30 is subnetted, 1 subnets
O E2 172.16.1.0 [110/20] via 10.0.1.2, 00:28:45, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O E2 10.0.11.1/32 [110/20] via 10.0.1.2, 00:35:44, FastEthernet0/0
C 10.0.10.1/32 is directly connected, Loopback0
C 10.0.1.0/24 is directly connected, FastEthernet0/0
O*E2 0.0.0.0/0 [110/1] via 10.0.1.2, 00:26:08, FastEthernet0/0
CE1A#sh ip bgp summary
BGP router identifier 10.0.10.1, local AS number 64514
BGP table version is 23, main routing table version 23
3 network entries using 351 bytes of memory
3 path entries using 156 bytes of memory
3/2 BGP path/bestpath attribute entries using 372 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 879 total bytes of memory
BGP activity 12/9 prefixes, 12/9 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRc
192.168.1.2 4 64513 54 50 0 0 0 00:05:38 Idle
CE1A#
PE1#sh ip route vrf CEA
Routing Table: CEA
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.100.2 to network 0.0.0.0
172.16.0.0/30 is subnetted, 1 subnets
B 172.16.10.0 [200/0] via 192.168.100.2, 00:50:35
10.0.0.0/32 is subnetted, 2 subnets
B 10.0.30.1 [200/0] via 192.168.100.3, 01:34:52
B 10.0.20.1 [200/0] via 192.168.100.2, 00:50:35
192.168.1.0/30 is subnetted, 2 subnets
B 192.168.1.8 [200/0] via 192.168.100.3, 01:37:38
B 192.168.1.4 [200/0] via 192.168.100.2, 01:31:53
B* 0.0.0.0/0 [200/0] via 192.168.100.2, 00:05:45
PE1#
PE2#sh ip route vrf CEA
Routing Table: CEA
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.1.6 to network 0.0.0.0
172.16.0.0/30 is subnetted, 1 subnets
B 172.16.10.0 [20/0] via 192.168.1.6, 00:51:30
10.0.0.0/32 is subnetted, 2 subnets
B 10.0.30.1 [200/0] via 192.168.100.3, 01:35:31
B 10.0.20.1 [20/0] via 192.168.1.6, 00:51:30
192.168.1.0/30 is subnetted, 2 subnets
B 192.168.1.8 [200/0] via 192.168.100.3, 01:38:16
C 192.168.1.4 is directly connected, Serial1/2
B* 0.0.0.0/0 [20/0] via 192.168.1.6, 00:06:20
PE2#
CE2A#traceroute 172.16.100.1
Type escape sequence to abort.
Tracing the route to 172.16.100.1
1 172.16.10.2 304 msec 316 msec *
CE2A#

Monday, December 14, 2009

Implementing Load Balancing with MHSRP and BGP Split-Routing LAB



Config Guidelines
********************************************************************************
Customer AS 64514
Provider AS 64513
Internet AS 64515
IGP used in Provider Domain as ISIS with Loopbacks in Level 1 and PE1,PE2 in same Area.
P is i different Area and Peering between PEs and P is Level 2.
Provider to Internet Peering is EBGP
IGP used in Customer Domain is OSPF and MHSRP is running between CE1A and CE2A with
Standby Group 1 as Default Gateway for CE1A End User and Standby Group 2 as Default
Gateway for CE2A End User
Customer to Provider Peering is EBGP
Split Static Routing Used at PEs for the Subnet 10.0.1.0/24 and redistributed into IBGP
so that Reverse path goes via PE1 & PE2 for 10.0.1.0/25 and 10.0.1.128/25 respectively normally.
Also 10.0.1.0/24 is pointed as a Static towards CEs and redistributed into BGP for PE-CE Failure conditions
In case of PE-CE Link failure redundancy between CEs and ISPs Peerings via BGP
In case of LAN Link failure between Router to Switchesand redundancy between CEs is via MHSRP.
************************************************************************************
CE1A#sh running-config
Building configuration...
Current configuration : 1946 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE1A
!
boot-start-marker
boot-end-marker
!
no logging console
!
memory-size iomem 5
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
description <>
ip address 10.0.1.1 255.255.255.0
duplex auto
speed auto
standby 1 ip 10.0.1.2
standby 1 preempt
standby 1 track Serial0/0
standby 1 track FastEthernet0/0
standby 2 ip 10.0.1.130
standby 2 priority 95
standby 2 preempt
standby 2 track Serial0/0
standby 2 track FastEthernet0/0
!
interface Serial0/0
description <>
ip address 192.168.1.1 255.255.255.252
shutdown
clockrate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clockrate 2000000
!
router ospf 1
log-adjacency-changes
redistribute connected subnets route-map Local
network 10.0.1.0 0.0.0.255 area 0
!
router bgp 64514
no synchronization
bgp log-neighbor-changes
neighbor 10.0.1.129 remote-as 64514
neighbor 10.0.1.129 description <>
neighbor 10.0.1.129 next-hop-self
neighbor 10.0.1.129 default-originate
neighbor 10.0.1.129 soft-reconfiguration inbound
neighbor 192.168.1.2 remote-as 64513
neighbor 192.168.1.2 description <>
neighbor 192.168.1.2 soft-reconfiguration inbound
neighbor 192.168.1.2 route-map PE1_OUT out
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.2
!
ip http server
no ip http secure-server
!
!
!
ip prefix-list PE1_OUT seq 10 deny 0.0.0.0/0
route-map PE1_OUT permit 10
match ip address prefix-list PE1_OUT
!
route-map Local permit 10
match interface Serial0/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
CE1A#
CE2A#sh running-config
Building configuration...
Current configuration : 1928 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE2A
!
boot-start-marker
boot-end-marker
!
no logging console
!
memory-size iomem 5
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
description <>
ip address 10.0.1.129 255.255.255.0
duplex auto
speed auto
standby 1 ip 10.0.1.2
standby 1 priority 95
standby 1 preempt
standby 1 track Serial0/0
standby 1 track FastEthernet0/0
standby 2 ip 10.0.1.130
standby 2 preempt
standby 2 track Serial0/0
standby 2 track FastEthernet0/0
!
interface Serial0/0
description <>
ip address 192.168.1.5 255.255.255.252
clockrate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clockrate 2000000
!
router ospf 1
log-adjacency-changes
redistribute connected subnets route-map Local
network 10.0.1.0 0.0.0.255 area 0
!
router bgp 64514
no synchronization
bgp log-neighbor-changes
neighbor 10.0.1.1 remote-as 64514
neighbor 10.0.1.1 description <>
neighbor 10.0.1.1 next-hop-self
neighbor 10.0.1.1 default-originate
neighbor 10.0.1.1 soft-reconfiguration inbound
neighbor 192.168.1.6 remote-as 64513
neighbor 192.168.1.6 description <>
neighbor 192.168.1.6 soft-reconfiguration inbound
neighbor 192.168.1.6 route-map PE2_OUT out
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.6
!
ip http server
no ip http secure-server
!
!
!
ip prefix-list PE2_OUT seq 10 deny 0.0.0.0/0
route-map PE2_OUT permit 10
match ip address prefix-list PE2_OUT
!
route-map Local permit 10
match interface Serial0/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
CE2A#
CE2A#
PE1#sh running-config
Building configuration...
Current configuration : 2141 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
no logging console
!
memory-size iomem 5
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 192.168.10.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
description <>
ip address 192.168.1.2 255.255.255.252
clockrate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
description <>
ip address 192.168.1.9 255.255.255.252
ip router isis
clockrate 2000000
isis circuit-type level-2-only
!
interface Serial0/2
no ip address
shutdown
clockrate 2000000
!
interface Serial0/3
no ip address
shutdown
clockrate 2000000
!
router isis
net 49.0001.1111.2222.3333.00
redistribute connected route-map Local
!
router bgp 64513
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
redistribute static
neighbor 192.168.1.1 remote-as 64514
neighbor 192.168.1.1 description <>
neighbor 192.168.1.1 default-originate
neighbor 192.168.1.1 soft-reconfiguration inbound
neighbor 192.168.1.1 route-map STATIC out
neighbor 192.168.30.1 remote-as 64513
neighbor 192.168.30.1 description <>
neighbor 192.168.30.1 update-source Loopback0
neighbor 192.168.30.1 next-hop-self
neighbor 192.168.30.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
ip route 10.0.1.0 255.255.255.0 192.168.1.1
ip route 10.0.1.0 255.255.255.128 192.168.1.1
!
ip as-path access-list 10 permit ^$
ip http server
no ip http secure-server
!
!
route-map STATIC deny 10
match as-path 10
!
route-map STATIC permit 20
!
route-map Local permit 10
match interface Serial0/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
PE1#
PE1#
PE1#
PE2#sh running-config
Building configuration...
Current configuration : 2144 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
no logging console
!
memory-size iomem 5
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 192.168.20.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
description <>
ip address 192.168.1.13 255.255.255.252
ip router isis
clockrate 2000000
isis circuit-type level-2-only
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
description <>
ip address 192.168.1.6 255.255.255.252
clockrate 2000000
!
interface Serial0/2
no ip address
shutdown
clockrate 2000000
!
interface Serial0/3
no ip address
shutdown
clockrate 2000000
!
router isis
net 49.0001.2222.3333.4444.00
redistribute connected route-map Local
!
router bgp 64513
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
redistribute static
neighbor 192.168.1.5 remote-as 64514
neighbor 192.168.1.5 description <>
neighbor 192.168.1.5 default-originate
neighbor 192.168.1.5 soft-reconfiguration inbound
neighbor 192.168.1.5 route-map STATIC out
neighbor 192.168.30.1 remote-as 64513
neighbor 192.168.30.1 description <>
neighbor 192.168.30.1 update-source Loopback0
neighbor 192.168.30.1 next-hop-self
neighbor 192.168.30.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
ip route 10.0.1.0 255.255.255.0 192.168.1.5
ip route 10.0.1.128 255.255.255.128 192.168.1.5
!
ip as-path access-list 10 permit ^$
ip http server
no ip http secure-server
!
!
route-map STATIC deny 10
match as-path 10
!
route-map STATIC permit 20
!
route-map Local permit 10
match interface Serial0/1
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
P#sh run
P#sh running-config
Building configuration...
Current configuration : 2340 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P
!
boot-start-marker
boot-end-marker
!
no logging console
!
memory-size iomem 5
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 192.168.30.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
description <>
ip address 192.168.1.10 255.255.255.252
ip router isis
clockrate 2000000
isis circuit-type level-2-only
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
description <>
ip address 192.168.1.14 255.255.255.252
ip router isis
clockrate 2000000
isis circuit-type level-2-only
!
interface Serial0/2
description <>
ip address 172.16.1.1 255.255.255.252
clockrate 2000000
!
interface Serial0/3
no ip address
shutdown
clockrate 2000000
!
interface Serial0/4
no ip address
shutdown
clockrate 2000000
!
interface Serial0/5
no ip address
shutdown
clockrate 2000000
!
router isis
net 49.0002.4444.5555.6666.00
redistribute connected route-map Local
!
router bgp 64513
no synchronization
bgp log-neighbor-changes
aggregate-address 10.0.1.0 255.255.255.0 summary-only
redistribute connected route-map Local
neighbor 172.16.1.2 remote-as 64515
neighbor 172.16.1.2 description <>
neighbor 172.16.1.2 soft-reconfiguration inbound
neighbor 192.168.10.1 remote-as 64513
neighbor 192.168.10.1 description <>
neighbor 192.168.10.1 update-source Loopback0
neighbor 192.168.10.1 next-hop-self
neighbor 192.168.10.1 soft-reconfiguration inbound
neighbor 192.168.20.1 remote-as 64513
neighbor 192.168.20.1 description <>
neighbor 192.168.20.1 update-source Loopback0
neighbor 192.168.20.1 next-hop-self
neighbor 192.168.20.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
!
ip http server
no ip http secure-server
!
!
route-map Local permit 10
match interface Serial0/2
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
P#
Internet#sh running-config
Building configuration...
Current configuration : 1260 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Internet
!
boot-start-marker
boot-end-marker
!
no logging console
!
memory-size iomem 5
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 172.16.10.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
description <>
ip address 172.16.1.2 255.255.255.252
clockrate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clockrate 2000000
!
router bgp 64515
no synchronization
bgp log-neighbor-changes
redistribute connected route-map Local
neighbor 172.16.1.1 remote-as 64513
neighbor 172.16.1.1 default-originate
neighbor 172.16.1.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
!
ip http server
no ip http secure-server
!
!
route-map Local permit 10
match interface Loopback0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
Internet#
Internet#

Saturday, December 5, 2009

Implementing Internet Access through Route Leaking in IPv6 MPLS L3 VPN LAB



Configuration Guidelines
********************************************************************************
Internet Router which has IPv6 Internet Routes has IPv6 Peering with ISP and uses EBGP
AS 64515
ISP AS 64513 and has MP-iBGP ipv6 peering between PEs to transport IPv6 Internet Routes
and vpnv6 peering between PEs to transport VPN routes
VRF used CEA
rd 64513:1
rt 64514:100
CEs have dedicated IPv6 Subnets for Internet Acess which are advertised to Internet Router via ipv6 ISP Peering
At the PE a Default Route in the VRF for the CE is created pointing to the Global IPv6 Routing Table
At the PE the Subnets which are to be used for Intetnet Access by CEs are configured as Static in the IPv6 routing
table with next hop pointing to their VRF
IGP used ISIS for ISP and PE1/PE2 in different areas with their loopbacks in Level-1
PE-CE Routing Protocol used EBGP
**************************************************************************************
Internet_Router#sh running-config
Building configuration...
Current configuration : 1255 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Internet_Router
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:5::1/128
!
interface FastEthernet0/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:1610:FFFF:1::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router bgp 64515
bgp router-id 172.16.1.3
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:1610:FFFF:1::1 remote-as 64513
neighbor 2001:1610:FFFF:1::1 description <>
!
address-family ipv6
neighbor 2001:1610:FFFF:1::1 activate
neighbor 2001:1610:FFFF:1::1 send-community extended
neighbor 2001:1610:FFFF:1::1 default-originate
neighbor 2001:1610:FFFF:1::1 soft-reconfiguration inbound
redistribute connected
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
Internet_Router#
Internet_Router#
CE2A#sh running-config
Building configuration...
Current configuration : 1179 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE2A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:2::1/128
!
interface FastEthernet0/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:1210:FFFF:1::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router bgp 64514
bgp router-id 172.16.1.2
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:1210:FFFF:1::1 remote-as 64513
!
address-family ipv6
neighbor 2001:1210:FFFF:1::1 activate
neighbor 2001:1210:FFFF:1::1 send-community extended
neighbor 2001:1210:FFFF:1::1 allowas-in 5
neighbor 2001:1210:FFFF:1::1 soft-reconfiguration inbound
redistribute connected
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
CE2A#
CE2A#
CE2A#
CE1A#sh running-config
Building configuration...
Current configuration : 1279 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE1A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:1::1/128
!
interface Loopback1
description <>
no ip address
ipv6 address FEC0:0:0:9::1/128
!
interface FastEthernet0/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:810:FFFF:1::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router bgp 64514
bgp router-id 172.16.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:810:FFFF:1::1 remote-as 64513
!
address-family ipv6
neighbor 2001:810:FFFF:1::1 activate
neighbor 2001:810:FFFF:1::1 send-community extended
neighbor 2001:810:FFFF:1::1 allowas-in 5
neighbor 2001:810:FFFF:1::1 soft-reconfiguration inbound
redistribute connected
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
CE1A#
PE1#sh running-config
Building configuration...
Current configuration : 3225 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
vrf definition CEA
rd 64513:1
!
address-family ipv6
route-target export 64513:100
route-target import 64513:100
exit-address-family
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
multilink bundle-name authenticated
mpls label protocol ldp
call rsvp-sync
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.1.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
description <>
vrf forwarding CEA
no ip address
speed auto
duplex auto
ipv6 address 2001:810:FFFF:1::1/64
!
interface FastEthernet1/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial2/0
description <>
ip address 192.168.1.1 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0001.1111.2222.3333.00
!
router bgp 64513
bgp router-id 10.0.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.3.1 remote-as 64513
neighbor 10.0.3.1 update-source Loopback0
neighbor 2001:810:FFFF:1::2 remote-as 64514
!
address-family ipv4
no synchronization
no auto-summary
exit-address-family
!
address-family ipv6
redistribute static
no synchronization
neighbor 10.0.3.1 activate
neighbor 10.0.3.1 send-community extended
neighbor 10.0.3.1 next-hop-self
neighbor 10.0.3.1 soft-reconfiguration inbound
neighbor 10.0.3.1 send-label
exit-address-family
!
address-family vpnv6
neighbor 10.0.3.1 activate
neighbor 10.0.3.1 send-community extended
exit-address-family
!
address-family ipv6 vrf CEA
redistribute connected
no synchronization
neighbor 2001:810:FFFF:1::2 remote-as 64514
neighbor 2001:810:FFFF:1::2 activate
neighbor 2001:810:FFFF:1::2 send-community extended
neighbor 2001:810:FFFF:1::2 next-hop-self
neighbor 2001:810:FFFF:1::2 default-originate
neighbor 2001:810:FFFF:1::2 soft-reconfiguration inbound
exit-address-family
!
ip classless
!
!
no ip http server
no ip http secure-server
!
ipv6 route FEC0:0:0:9::1/128 2001:810:FFFF:1::2 nexthop-vrf CEA
ipv6 route FEC0:0:0:9::1/128 FastEthernet1/0 2001:810:FFFF:1::2
ipv6 route FEC0:0:0:9::1/128 FastEthernet1/0
ipv6 route vrf CEA ::/0 2001:1610:FFFF:1::1 nexthop-vrf default
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
PE1#
PE1#
P#sh running-config
Building configuration...
Current configuration : 1623 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
!
!
multilink bundle-name authenticated
mpls label protocol ldp
call rsvp-sync
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.2.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
description <>
ip address 192.168.1.2 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial1/1
description <>
ip address 192.168.1.5 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0002.3333.4444.5555.00
!
ip classless
!
!
no ip http server
no ip http secure-server
!
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
P#
PE2#sh running-config
Building configuration...
Current configuration : 3245 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
vrf definition CEA
rd 64513:1
!
address-family ipv6
route-target export 64513:100
route-target import 64513:100
exit-address-family
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
multilink bundle-name authenticated
mpls label protocol ldp
call rsvp-sync
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.3.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
description <>
no ip address
speed auto
duplex auto
ipv6 address 2001:1610:FFFF:1::1/64
!
interface FastEthernet1/1
description <>
vrf forwarding CEA
no ip address
speed auto
duplex auto
ipv6 address 2001:1210:FFFF:1::1/64
!
interface Serial2/0
description <>
ip address 192.168.1.6 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0003.9999.8888.7777.00
!
router bgp 64513
bgp router-id 10.0.3.1
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 10.0.1.1 remote-as 64513
neighbor 10.0.1.1 update-source Loopback0
neighbor 2001:1210:FFFF:1::2 remote-as 64514
neighbor 2001:1610:FFFF:1::2 remote-as 64515
!
address-family ipv4
no synchronization
no auto-summary
exit-address-family
!
address-family ipv6
no synchronization
neighbor 10.0.1.1 activate
neighbor 10.0.1.1 send-community extended
neighbor 10.0.1.1 next-hop-self
neighbor 10.0.1.1 soft-reconfiguration inbound
neighbor 10.0.1.1 send-label
neighbor 2001:1610:FFFF:1::2 activate
neighbor 2001:1610:FFFF:1::2 send-community extended
neighbor 2001:1610:FFFF:1::2 next-hop-self
neighbor 2001:1610:FFFF:1::2 soft-reconfiguration inbound
exit-address-family
!
address-family vpnv6
neighbor 10.0.1.1 activate
neighbor 10.0.1.1 send-community extended
exit-address-family
!
address-family ipv6 vrf CEA
no synchronization
neighbor 2001:1210:FFFF:1::2 remote-as 64514
neighbor 2001:1210:FFFF:1::2 activate
neighbor 2001:1210:FFFF:1::2 send-community extended
neighbor 2001:1210:FFFF:1::2 next-hop-self
neighbor 2001:1210:FFFF:1::2 soft-reconfiguration inbound
exit-address-family
!
ip classless
!
!
no ip http server
no ip http secure-server
!
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
PE2#
OUTPUT
*********************************************************
Internet_Router#show ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:1610:FFFF:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:1610:FFFF:1::2/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
LC FEC0:0:0:5::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:9::1/128 [20/0]
via FE80::C803:12FF:FEB8:1C, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
Internet_Router#ping FEC0:0:0:9::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:9::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 244/368/472 ms
Internet_Router#tra
Internet_Router#traceroute FEC0:0:0:9::1
Type escape sequence to abort.
Tracing the route to FEC0:0:0:9::1
1 2001:1610:FFFF:1::1 100 msec 212 msec 108 msec
2 ::FFFF:192.168.1.5 348 msec 368 msec 612 msec
3 ::FFFF:192.168.1.1 448 msec 384 msec 220 msec
4 FEC0:0:0:9::1 252 msec 260 msec 232 msec
Internet_Router#
CE1A#show ipv6 route
IPv6 Routing Table - 9 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
B ::/0 [20/0]
via FE80::C801:10FF:FE1C:1C, FastEthernet0/0
C 2001:810:FFFF:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:810:FFFF:1::2/128 [0/0]
via ::, FastEthernet0/0
B 2001:1210:FFFF:1::/64 [20/0]
via FE80::C801:10FF:FE1C:1C, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
LC FEC0:0:0:1::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:2::1/128 [20/0]
via FE80::C801:10FF:FE1C:1C, FastEthernet0/0
LC FEC0:0:0:9::1/128 [0/0]
via ::, Loopback1
L FF00::/8 [0/0]
via ::, Null0
CE1A#ping FEC0:0:0:5::1 sou
CE1A#ping FEC0:0:0:5::1 source lo1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
Packet sent with a source address of FEC0:0:0:9::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 236/260/292 ms
CE1A#ping FEC0:0:0:5::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CE1A#tra
CE1A#traceroute
Protocol [ip]: ipv6
Target IPv6 address: FEC0:0:0:5::1
Source address: FEC0:0:0:9::1
Insert source routing header? [no]:
Numeric display? [no]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Priority [0]:
Port Number [33434]:
Type escape sequence to abort.
Tracing the route to FEC0:0:0:5::1
1 2001:810:FFFF:1::1 96 msec 348 msec 140 msec
2 ::FFFF:192.168.1.2 360 msec 340 msec 172 msec
3 2001:1610:FFFF:1::1 172 msec 268 msec 304 msec
4 FEC0:0:0:5::1 248 msec 208 msec 232 msec
CE1A#ping FEC0:0:0:2::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:2::1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 184/234/276 ms
CE1A#traceroute FEC0:0:0:2::1
Type escape sequence to abort.
Tracing the route to FEC0:0:0:2::1
1 2001:810:FFFF:1::1 184 msec 212 msec 80 msec
2 ::FFFF:192.168.1.2 184 msec 308 msec 140 msec
3 2001:1210:FFFF:1::1 416 msec 296 msec 140 msec
4 FEC0:0:0:2::1 172 msec 228 msec 216 msec
CE1A#
CE2A#show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
B 2001:810:FFFF:1::/64 [20/0]
via FE80::C803:12FF:FEB8:1D, FastEthernet0/0
C 2001:1210:FFFF:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:1210:FFFF:1::2/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
B FEC0:0:0:1::1/128 [20/0]
via FE80::C803:12FF:FEB8:1D, FastEthernet0/0
LC FEC0:0:0:2::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:9::1/128 [20/0]
via FE80::C803:12FF:FEB8:1D, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
CE2A#ping FEC0:0:0:1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 104/183/248 ms
CE2A#tra
CE2A#traceroute FEC0:0:0:1::1
Type escape sequence to abort.
Tracing the route to FEC0:0:0:1::1
1 2001:1210:FFFF:1::1 96 msec 104 msec 32 msec
2 ::FFFF:192.168.1.5 236 msec 120 msec 96 msec
3 2001:810:FFFF:1::1 316 msec 204 msec 144 msec
4 FEC0:0:0:1::1 216 msec 120 msec 168 msec
CE2A#ping FEC0:0:0:5::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CE2A#ping FEC0:0:0:5::1 sou
CE2A#ping FEC0:0:0:5::1 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
Packet sent with a source address of FEC0:0:0:2::1
.....
Success rate is 0 percent (0/5)
CE2A#
PE1#show ipv6 route
IPv6 Routing Table - default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B ::/0 [200/0]
via 10.0.3.1%default, indirectly connected
B 2001:1610:FFFF:1::/64 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:5::1/128 [200/0]
via 10.0.3.1%default, indirectly connected
S FEC0:0:0:9::1/128 [1/0]
via 2001:810:FFFF:1::2%CEA
L FF00::/8 [0/0]
via Null0, receive
PE1#sho
PE1#show ipv6
PE1#show ipv6 rou
PE1#show ipv6 route vrf CEA
IPv6 Routing Table - CEA - 8 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S ::/0 [1/0]
via 2001:1610:FFFF:1::1%default
C 2001:810:FFFF:1::/64 [0/0]
via FastEthernet1/0, directly connected
L 2001:810:FFFF:1::1/128 [0/0]
via FastEthernet1/0, receive
B 2001:1210:FFFF:1::/64 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:1::1/128 [20/0]
via FE80::CE00:10FF:FE1C:0, FastEthernet1/0
B FEC0:0:0:2::1/128 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:9::1/128 [20/0]
via FE80::CE00:10FF:FE1C:0, FastEthernet1/0
L FF00::/8 [0/0]
via Null0, receive
PE1#
PE2#show ipv6 route
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B ::/0 [20/0]
via FE80::CE04:10FF:FE1C:0, FastEthernet1/0
C 2001:1610:FFFF:1::/64 [0/0]
via FastEthernet1/0, directly connected
L 2001:1610:FFFF:1::1/128 [0/0]
via FastEthernet1/0, receive
B FEC0:0:0:5::1/128 [20/0]
via FE80::CE04:10FF:FE1C:0, FastEthernet1/0
B FEC0:0:0:9::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
L FF00::/8 [0/0]
via Null0, receive
PE2#show ipv6 route vrf CEA
IPv6 Routing Table - CEA - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B 2001:810:FFFF:1::/64 [200/0]
via 10.0.1.1%default, indirectly connected
C 2001:1210:FFFF:1::/64 [0/0]
via FastEthernet1/1, directly connected
L 2001:1210:FFFF:1::1/128 [0/0]
via FastEthernet1/1, receive
B FEC0:0:0:1::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
B FEC0:0:0:2::1/128 [20/0]
via FE80::CE05:11FF:FEA4:0, FastEthernet1/1
B FEC0:0:0:9::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
L FF00::/8 [0/0]
via Null0, receive
PE2#

Configuration Guidelines
********************************************************************************
Internet Router which has IPv6 Internet Routes has IPv6 Peering with ISP and uses EBGP
AS 64515
ISP AS 64513 and has MP-iBGP ipv6 peering between PEs to transport IPv6 Internet Routes
and vpnv6 peering between PEs to transport VPN routes
VRF used CEA
rd 64513:1
rt 64514:100
CEs have dedicated IPv6 Subnets for Internet Acess which are advertised to Internet Router via ipv6 ISP Peering
At the PE a Default Route in the VRF for the CE is created pointing to the Global IPv6 Routing Table
At the PE the Subnets which are to be used for Intetnet Access by CEs are configured as Static in the IPv6 routing
table with next hop pointing to their VRF
IGP used ISIS for ISP and PE1/PE2 in different areas with their loopbacks in Level-1
PE-CE Routing Protocol used EBGP
**************************************************************************************
Internet_Router#sh running-config
Building configuration...
Current configuration : 1255 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Internet_Router
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:5::1/128
!
interface FastEthernet0/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:1610:FFFF:1::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router bgp 64515
bgp router-id 172.16.1.3
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:1610:FFFF:1::1 remote-as 64513
neighbor 2001:1610:FFFF:1::1 description <>
!
address-family ipv6
neighbor 2001:1610:FFFF:1::1 activate
neighbor 2001:1610:FFFF:1::1 send-community extended
neighbor 2001:1610:FFFF:1::1 default-originate
neighbor 2001:1610:FFFF:1::1 soft-reconfiguration inbound
redistribute connected
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
Internet_Router#
Internet_Router#
CE2A#sh running-config
Building configuration...
Current configuration : 1179 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE2A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:2::1/128
!
interface FastEthernet0/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:1210:FFFF:1::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router bgp 64514
bgp router-id 172.16.1.2
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:1210:FFFF:1::1 remote-as 64513
!
address-family ipv6
neighbor 2001:1210:FFFF:1::1 activate
neighbor 2001:1210:FFFF:1::1 send-community extended
neighbor 2001:1210:FFFF:1::1 allowas-in 5
neighbor 2001:1210:FFFF:1::1 soft-reconfiguration inbound
redistribute connected
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
CE2A#
CE2A#
CE2A#
CE1A#sh running-config
Building configuration...
Current configuration : 1279 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE1A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:1::1/128
!
interface Loopback1
description <>
no ip address
ipv6 address FEC0:0:0:9::1/128
!
interface FastEthernet0/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:810:FFFF:1::2/64
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router bgp 64514
bgp router-id 172.16.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:810:FFFF:1::1 remote-as 64513
!
address-family ipv6
neighbor 2001:810:FFFF:1::1 activate
neighbor 2001:810:FFFF:1::1 send-community extended
neighbor 2001:810:FFFF:1::1 allowas-in 5
neighbor 2001:810:FFFF:1::1 soft-reconfiguration inbound
redistribute connected
no synchronization
exit-address-family
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
CE1A#
PE1#sh running-config
Building configuration...
Current configuration : 3225 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
vrf definition CEA
rd 64513:1
!
address-family ipv6
route-target export 64513:100
route-target import 64513:100
exit-address-family
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
multilink bundle-name authenticated
mpls label protocol ldp
call rsvp-sync
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.1.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
description <>
vrf forwarding CEA
no ip address
speed auto
duplex auto
ipv6 address 2001:810:FFFF:1::1/64
!
interface FastEthernet1/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial2/0
description <>
ip address 192.168.1.1 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0001.1111.2222.3333.00
!
router bgp 64513
bgp router-id 10.0.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.3.1 remote-as 64513
neighbor 10.0.3.1 update-source Loopback0
neighbor 2001:810:FFFF:1::2 remote-as 64514
!
address-family ipv4
no synchronization
no auto-summary
exit-address-family
!
address-family ipv6
redistribute static
no synchronization
neighbor 10.0.3.1 activate
neighbor 10.0.3.1 send-community extended
neighbor 10.0.3.1 next-hop-self
neighbor 10.0.3.1 soft-reconfiguration inbound
neighbor 10.0.3.1 send-label
exit-address-family
!
address-family vpnv6
neighbor 10.0.3.1 activate
neighbor 10.0.3.1 send-community extended
exit-address-family
!
address-family ipv6 vrf CEA
redistribute connected
no synchronization
neighbor 2001:810:FFFF:1::2 remote-as 64514
neighbor 2001:810:FFFF:1::2 activate
neighbor 2001:810:FFFF:1::2 send-community extended
neighbor 2001:810:FFFF:1::2 next-hop-self
neighbor 2001:810:FFFF:1::2 default-originate
neighbor 2001:810:FFFF:1::2 soft-reconfiguration inbound
exit-address-family
!
ip classless
!
!
no ip http server
no ip http secure-server
!
ipv6 route FEC0:0:0:9::1/128 2001:810:FFFF:1::2 nexthop-vrf CEA
ipv6 route FEC0:0:0:9::1/128 FastEthernet1/0 2001:810:FFFF:1::2
ipv6 route FEC0:0:0:9::1/128 FastEthernet1/0
ipv6 route vrf CEA ::/0 2001:1610:FFFF:1::1 nexthop-vrf default
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
PE1#
PE1#
P#sh running-config
Building configuration...
Current configuration : 1623 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
!
!
multilink bundle-name authenticated
mpls label protocol ldp
call rsvp-sync
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.2.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
description <>
ip address 192.168.1.2 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial1/1
description <>
ip address 192.168.1.5 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0002.3333.4444.5555.00
!
ip classless
!
!
no ip http server
no ip http secure-server
!
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
P#
PE2#sh running-config
Building configuration...
Current configuration : 3245 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
vrf definition CEA
rd 64513:1
!
address-family ipv6
route-target export 64513:100
route-target import 64513:100
exit-address-family
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
multilink bundle-name authenticated
mpls label protocol ldp
call rsvp-sync
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
ip address 10.0.3.1 255.255.255.255
ip router isis
isis circuit-type level-1
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
description <>
no ip address
speed auto
duplex auto
ipv6 address 2001:1610:FFFF:1::1/64
!
interface FastEthernet1/1
description <>
vrf forwarding CEA
no ip address
speed auto
duplex auto
ipv6 address 2001:1210:FFFF:1::1/64
!
interface Serial2/0
description <>
ip address 192.168.1.6 255.255.255.252
ip router isis
mpls label protocol ldp
mpls ip
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0003.9999.8888.7777.00
!
router bgp 64513
bgp router-id 10.0.3.1
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 10.0.1.1 remote-as 64513
neighbor 10.0.1.1 update-source Loopback0
neighbor 2001:1210:FFFF:1::2 remote-as 64514
neighbor 2001:1610:FFFF:1::2 remote-as 64515
!
address-family ipv4
no synchronization
no auto-summary
exit-address-family
!
address-family ipv6
no synchronization
neighbor 10.0.1.1 activate
neighbor 10.0.1.1 send-community extended
neighbor 10.0.1.1 next-hop-self
neighbor 10.0.1.1 soft-reconfiguration inbound
neighbor 10.0.1.1 send-label
neighbor 2001:1610:FFFF:1::2 activate
neighbor 2001:1610:FFFF:1::2 send-community extended
neighbor 2001:1610:FFFF:1::2 next-hop-self
neighbor 2001:1610:FFFF:1::2 soft-reconfiguration inbound
exit-address-family
!
address-family vpnv6
neighbor 10.0.1.1 activate
neighbor 10.0.1.1 send-community extended
exit-address-family
!
address-family ipv6 vrf CEA
no synchronization
neighbor 2001:1210:FFFF:1::2 remote-as 64514
neighbor 2001:1210:FFFF:1::2 activate
neighbor 2001:1210:FFFF:1::2 send-community extended
neighbor 2001:1210:FFFF:1::2 next-hop-self
neighbor 2001:1210:FFFF:1::2 soft-reconfiguration inbound
exit-address-family
!
ip classless
!
!
no ip http server
no ip http secure-server
!
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end
PE2#
OUTPUT
*********************************************************
Internet_Router#show ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:1610:FFFF:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:1610:FFFF:1::2/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
LC FEC0:0:0:5::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:9::1/128 [20/0]
via FE80::C803:12FF:FEB8:1C, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
Internet_Router#ping FEC0:0:0:9::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:9::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 244/368/472 ms
Internet_Router#tra
Internet_Router#traceroute FEC0:0:0:9::1
Type escape sequence to abort.
Tracing the route to FEC0:0:0:9::1
1 2001:1610:FFFF:1::1 100 msec 212 msec 108 msec
2 ::FFFF:192.168.1.5 348 msec 368 msec 612 msec
3 ::FFFF:192.168.1.1 448 msec 384 msec 220 msec
4 FEC0:0:0:9::1 252 msec 260 msec 232 msec
Internet_Router#
CE1A#show ipv6 route
IPv6 Routing Table - 9 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
B ::/0 [20/0]
via FE80::C801:10FF:FE1C:1C, FastEthernet0/0
C 2001:810:FFFF:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:810:FFFF:1::2/128 [0/0]
via ::, FastEthernet0/0
B 2001:1210:FFFF:1::/64 [20/0]
via FE80::C801:10FF:FE1C:1C, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
LC FEC0:0:0:1::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:2::1/128 [20/0]
via FE80::C801:10FF:FE1C:1C, FastEthernet0/0
LC FEC0:0:0:9::1/128 [0/0]
via ::, Loopback1
L FF00::/8 [0/0]
via ::, Null0
CE1A#ping FEC0:0:0:5::1 sou
CE1A#ping FEC0:0:0:5::1 source lo1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
Packet sent with a source address of FEC0:0:0:9::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 236/260/292 ms
CE1A#ping FEC0:0:0:5::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CE1A#tra
CE1A#traceroute
Protocol [ip]: ipv6
Target IPv6 address: FEC0:0:0:5::1
Source address: FEC0:0:0:9::1
Insert source routing header? [no]:
Numeric display? [no]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Priority [0]:
Port Number [33434]:
Type escape sequence to abort.
Tracing the route to FEC0:0:0:5::1
1 2001:810:FFFF:1::1 96 msec 348 msec 140 msec
2 ::FFFF:192.168.1.2 360 msec 340 msec 172 msec
3 2001:1610:FFFF:1::1 172 msec 268 msec 304 msec
4 FEC0:0:0:5::1 248 msec 208 msec 232 msec
CE1A#ping FEC0:0:0:2::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:2::1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 184/234/276 ms
CE1A#traceroute FEC0:0:0:2::1
Type escape sequence to abort.
Tracing the route to FEC0:0:0:2::1
1 2001:810:FFFF:1::1 184 msec 212 msec 80 msec
2 ::FFFF:192.168.1.2 184 msec 308 msec 140 msec
3 2001:1210:FFFF:1::1 416 msec 296 msec 140 msec
4 FEC0:0:0:2::1 172 msec 228 msec 216 msec
CE1A#
CE2A#show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
B 2001:810:FFFF:1::/64 [20/0]
via FE80::C803:12FF:FEB8:1D, FastEthernet0/0
C 2001:1210:FFFF:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:1210:FFFF:1::2/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
B FEC0:0:0:1::1/128 [20/0]
via FE80::C803:12FF:FEB8:1D, FastEthernet0/0
LC FEC0:0:0:2::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:9::1/128 [20/0]
via FE80::C803:12FF:FEB8:1D, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
CE2A#ping FEC0:0:0:1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 104/183/248 ms
CE2A#tra
CE2A#traceroute FEC0:0:0:1::1
Type escape sequence to abort.
Tracing the route to FEC0:0:0:1::1
1 2001:1210:FFFF:1::1 96 msec 104 msec 32 msec
2 ::FFFF:192.168.1.5 236 msec 120 msec 96 msec
3 2001:810:FFFF:1::1 316 msec 204 msec 144 msec
4 FEC0:0:0:1::1 216 msec 120 msec 168 msec
CE2A#ping FEC0:0:0:5::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CE2A#ping FEC0:0:0:5::1 sou
CE2A#ping FEC0:0:0:5::1 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:5::1, timeout is 2 seconds:
Packet sent with a source address of FEC0:0:0:2::1
.....
Success rate is 0 percent (0/5)
CE2A#
PE1#show ipv6 route
IPv6 Routing Table - default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B ::/0 [200/0]
via 10.0.3.1%default, indirectly connected
B 2001:1610:FFFF:1::/64 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:5::1/128 [200/0]
via 10.0.3.1%default, indirectly connected
S FEC0:0:0:9::1/128 [1/0]
via 2001:810:FFFF:1::2%CEA
L FF00::/8 [0/0]
via Null0, receive
PE1#sho
PE1#show ipv6
PE1#show ipv6 rou
PE1#show ipv6 route vrf CEA
IPv6 Routing Table - CEA - 8 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S ::/0 [1/0]
via 2001:1610:FFFF:1::1%default
C 2001:810:FFFF:1::/64 [0/0]
via FastEthernet1/0, directly connected
L 2001:810:FFFF:1::1/128 [0/0]
via FastEthernet1/0, receive
B 2001:1210:FFFF:1::/64 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:1::1/128 [20/0]
via FE80::CE00:10FF:FE1C:0, FastEthernet1/0
B FEC0:0:0:2::1/128 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:9::1/128 [20/0]
via FE80::CE00:10FF:FE1C:0, FastEthernet1/0
L FF00::/8 [0/0]
via Null0, receive
PE1#
PE2#show ipv6 route
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B ::/0 [20/0]
via FE80::CE04:10FF:FE1C:0, FastEthernet1/0
C 2001:1610:FFFF:1::/64 [0/0]
via FastEthernet1/0, directly connected
L 2001:1610:FFFF:1::1/128 [0/0]
via FastEthernet1/0, receive
B FEC0:0:0:5::1/128 [20/0]
via FE80::CE04:10FF:FE1C:0, FastEthernet1/0
B FEC0:0:0:9::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
L FF00::/8 [0/0]
via Null0, receive
PE2#show ipv6 route vrf CEA
IPv6 Routing Table - CEA - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B 2001:810:FFFF:1::/64 [200/0]
via 10.0.1.1%default, indirectly connected
C 2001:1210:FFFF:1::/64 [0/0]
via FastEthernet1/1, directly connected
L 2001:1210:FFFF:1::1/128 [0/0]
via FastEthernet1/1, receive
B FEC0:0:0:1::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
B FEC0:0:0:2::1/128 [20/0]
via FE80::CE05:11FF:FEA4:0, FastEthernet1/1
B FEC0:0:0:9::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
L FF00::/8 [0/0]
via Null0, receive
PE2#