Sunday, November 29, 2009

IPv6 MPLS 6VPE with PE-CE BGP LAB

















Configuration Guidelines::

VRF used CEA
rd 64513:1
rt 64513:100
CE AS 64514
PE-CE Routing Used "BGP"
IGP Used "ISIS" Level 2 between PE1 ,P1 & PE2 .Loopbacks in Level 1 and PE1 & PE2 in different area.
MP_iBGP established between PE1 & PE2 over Loopback Interface 0
*******************************************************************************************************

CE1A#sh running-config
Building configuration...

Current configuration : 1629 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
!
logging buffered 4096 debugging
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:5::1/128
!
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 <>
no ip address
ipv6 address 2001:810:FFFF:1::2/64
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
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
neighbor 2001:810:FFFF:1::1 description <>
!
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 route-map Local
no synchronization
exit-address-family
!
ip http server
ip classless
!
!
!
!
route-map Local permit 10
match interface Loopback0 Serial1/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
line aux 0
line vty 0 4
!
!
!
end

CE1A#



PE1#sh running-config
Building configuration...

Current configuration : 2940 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
description <>
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 source-route
!
!
!
!
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
no ip address
shutdown
speed auto
duplex auto
!
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
no fair-queue
serial restart-delay 0
isis circuit-type level-2-only
!
interface Serial2/1
description <>
vrf forwarding CEA
no ip address
ipv6 address 2001:810:FFFF:1::1/64
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 description <>
neighbor 10.0.3.1 update-source Loopback0
neighbor 2001:810:FFFF:1::2 remote-as 64514
neighbor 2001:810:FFFF:1::2 description <>
!
address-family ipv4
no synchronization
neighbor 10.0.3.1 activate
neighbor 10.0.3.1 next-hop-self
neighbor 10.0.3.1 soft-reconfiguration inbound
no auto-summary
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 description <>
neighbor 2001:810:FFFF:1::2 activate
neighbor 2001:810:FFFF:1::2 next-hop-self
neighbor 2001:810: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
PE1#


P#sh running-config
Building configuration...

Current configuration : 1656 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 source-route
!
!
!
!
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
no fair-queue
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.0001.2222.3333.1111.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 : 2795 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
description <>
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 source-route
!
!
!
!
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 Serial1/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 Serial1/1
vrf forwarding CEA
no ip address
ipv6 address 2001:1210:FFFF:1::1/64
serial restart-delay 0
!
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.2222.1111.00
!
router bgp 64513
bgp router-id 10.0.3.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.1.1 remote-as 64513
neighbor 10.0.1.1 description <>
neighbor 10.0.1.1 update-source Loopback0
neighbor 2001:1210:FFFF:1::2 remote-as 64514
neighbor 2001:1210:FFFF:1::2 description <>
!
address-family ipv4
no synchronization
neighbor 10.0.1.1 activate
neighbor 10.0.1.1 next-hop-self
neighbor 10.0.1.1 soft-reconfiguration inbound
no auto-summary
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
redistribute connected
no synchronization
neighbor 2001:1210:FFFF:1::2 remote-as 64514
neighbor 2001:1210:FFFF:1::2 description <>
neighbor 2001:1210:FFFF:1::2 activate
neighbor 2001:1210:FFFF:1::2 next-hop-self
neighbor 2001:1210:FFFF:1::2 as-override
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#

CE2A#sh running-config
Building configuration...

Current configuration : 1593 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
!
logging buffered 4096 debugging
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:4::1/128
!
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 <>
no ip address
ipv6 address 2001:1210:FFFF:1::2/64
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 64514
bgp router-id 172.16.2.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2001:1210:FFFF:1::1 remote-as 64513
neighbor 2001:1210:FFFF:1::1 description <>
!
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 soft-reconfiguration inbound
redistribute connected route-map Local
no synchronization
exit-address-family
!
ip http server
ip classless
!
!
!
!
route-map Local permit 10
match interface Loopback0 Serial1/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
line aux 0
line vty 0 4
!
!
!
end
CE2A#


OUTPUT

*********************************************************************************

CE1A#show bgp ipv6 unicast summary
BGP router identifier 172.16.1.1, local AS number 64514
BGP table version is 6, main routing table version 6
4 network entries using 532 bytes of memory
5 path entries using 360 bytes of memory
4 BGP path attribute entries using 224 bytes of memory
2 BGP AS-PATH entries using 48 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 1164 total bytes of memory
BGP activity 6/2 prefixes, 7/2 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2001:810:FFFF:1::1
4 64513 12 11 6 0 0 00:06:21 3
CE1A#show ipv6 route
IPv6 Routing Table - 7 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
C 2001:810:FFFF:1::/64 [0/0]
via ::, Serial1/0
L 2001:810:FFFF:1::2/128 [0/0]
via ::, Serial1/0
B 2001:1210:FFFF:1::/64 [20/0]
via FE80::C80A:4FF:FEDC:0, Serial1/0
L FE80::/10 [0/0]
via ::, Null0
B FEC0:0:0:4::1/128 [20/0]
via FE80::C80A:4FF:FEDC:0, Serial1/0
LC FEC0:0:0:5::1/128 [0/0]
via ::, Loopback0
L FF00::/8 [0/0]
via ::, Null0
CE1A#ping ipv6 FEC0:0:0:4::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:4::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/168/252 ms
CE1A#

PE1#show ip bgp vpnv6 unicast all summary
BGP router identifier 10.0.1.1, local AS number 64513
BGP table version is 17, main routing table version 17
4 network entries using 660 bytes of memory
7 path entries using 672 bytes of memory
6/4 BGP path/bestpath attribute entries using 456 bytes of memory
1 BGP AS-PATH entries using 24 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 1836 total bytes of memory
2 received paths for inbound soft reconfiguration
BGP activity 6/2 prefixes, 9/2 paths, scan interval 15 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.3.1 4 64513 66 65 17 0 0 00:53:25 2
2001:810:FFFF:1::2
4 64514 12 13 17 0 0 00:07:26 2
PE1#show ipv6 route vrf CEA
IPv6 Routing Table - CEA - 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
C 2001:810:FFFF:1::/64 [0/0]
via Serial2/1, directly connected
L 2001:810:FFFF:1::1/128 [0/0]
via Serial2/1, receive
B 2001:1210:FFFF:1::/64 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:4::1/128 [200/0]
via 10.0.3.1%default, indirectly connected
B FEC0:0:0:5::1/128 [20/0]
via FE80::CE09:4FF:FEDC:0, Serial2/1
L FF00::/8 [0/0]
via Null0, receive
PE1#


PE1#show mpls forwarding-table vrf CEA
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or VC or Tunnel Id Switched interface
19 No Label 2001:810:FFFF:1::/64[V] \
3640 aggregate/CEA
20 No Label FEC0:0:0:5::1/128[V] \
520 Se2/1 point2point
PE1#

PE2#show bgp vpnv6 unicast all summary
BGP router identifier 10.0.3.1, local AS number 64513
BGP table version is 15, main routing table version 15
4 network entries using 660 bytes of memory
7 path entries using 672 bytes of memory
6/4 BGP path/bestpath attribute entries using 456 bytes of memory
1 BGP AS-PATH entries using 24 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 1836 total bytes of memory
2 received paths for inbound soft reconfiguration
BGP activity 6/2 prefixes, 9/2 paths, scan interval 15 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.1.1 4 64513 66 67 15 0 0 00:54:33 2
2001:1210:FFFF:1::2
4 64514 13 14 15 0 0 00:08:16 2
PE2#show ipv6 route vrf CEA
IPv6 Routing Table - CEA - 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 2001:810:FFFF:1::/64 [200/0]
via 10.0.1.1%default, indirectly connected
C 2001:1210:FFFF:1::/64 [0/0]
via Serial1/1, directly connected
L 2001:1210:FFFF:1::1/128 [0/0]
via Serial1/1, receive
B FEC0:0:0:4::1/128 [20/0]
via FE80::CE0F:4FF:FEDC:0, Serial1/1
B FEC0:0:0:5::1/128 [200/0]
via 10.0.1.1%default, indirectly connected
L FF00::/8 [0/0]
via Null0, receive
PE2#show mpls forwarding-table vrf CEA
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or VC or Tunnel Id Switched interface
19 No Label 2001:1210:FFFF:1::/64[V] \
2080 aggregate/CEA
20 No Label FEC0:0:0:4::1/128[V] \
1040 Se1/1 point2point
PE2#



CE2A#show bgp ipv6 unicast summary
BGP router identifier 172.16.2.1, local AS number 64514
BGP table version is 6, main routing table version 6
4 network entries using 532 bytes of memory
5 path entries using 360 bytes of memory
4 BGP path attribute entries using 224 bytes of memory
2 BGP AS-PATH entries using 48 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 1164 total bytes of memory
BGP activity 6/2 prefixes, 7/2 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2001:1210:FFFF:1::1
4 64513 15 13 6 0 0 00:08:57 3
CE2A#show ipv6 route
IPv6 Routing Table - 7 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
B 2001:810:FFFF:1::/64 [20/0]
via FE80::C80C:17FF:FEE0:0, Serial1/0
C 2001:1210:FFFF:1::/64 [0/0]
via ::, Serial1/0
L 2001:1210:FFFF:1::2/128 [0/0]
via ::, Serial1/0
L FE80::/10 [0/0]
via ::, Null0
LC FEC0:0:0:4::1/128 [0/0]
via ::, Loopback0
B FEC0:0:0:5::1/128 [20/0]
via FE80::C80C:17FF:FEE0:0, Serial1/0
L FF00::/8 [0/0]
via ::, Null0
CE2A#ping ipv6 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 100 percent (5/5), round-trip min/avg/max = 40/95/160 ms
CE2A#


CE2A#traceroute ipv6 FEC0:0:0:5::1

Type escape sequence to abort.
Tracing the route to FEC0:0:0:5::1

1 2001:1210:FFFF:1::1 80 msec 32 msec 12 msec
2 ::FFFF:192.168.1.5 44 msec 92 msec 32 msec
3 2001:810:FFFF:1::1 164 msec 36 msec 36 msec
4 2001:810:FFFF:1::2 124 msec 128 msec 76 msec
CE2A#

PE2#traceroute vrf CEA FEC0:0:0:5::1

Type escape sequence to abort.
Tracing the route to FEC0:0:0:5::1

1 ::FFFF:192.168.1.5 [MPLS: Labels 16/20 Exp 0] 180 msec 112 msec 60 msec
2 2001:810:FFFF:1::1 [MPLS: Label 20 Exp 0] 168 msec 144 msec 44 msec
3 2001:810:FFFF:1::2 156 msec 152 msec 56 msec
PE2#


CE1A#traceroute ipv6 FEC0:0:0:4::1

Type escape sequence to abort.
Tracing the route to FEC0:0:0:4::1

1 2001:810:FFFF:1::1 124 msec 24 msec 52 msec
2 ::FFFF:192.168.1.2 156 msec 92 msec 88 msec
3 2001:1210:FFFF:1::1 212 msec 108 msec 28 msec
4 2001:1210:FFFF:1::2 112 msec 124 msec 68 msec
CE1A#
PE1#traceroute vrf CEA FEC0:0:0:4::1

Type escape sequence to abort.
Tracing the route to FEC0:0:0:4::1

1 ::FFFF:192.168.1.2 [MPLS: Labels 17/20 Exp 0] 112 msec 84 msec 64 msec
2 2001:1210:FFFF:1::1 [MPLS: Label 20 Exp 0] 164 msec 116 msec 96 msec
3 2001:1210:FFFF:1::2 52 msec 60 msec 24 msec
PE1#

No comments:

Post a Comment