Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2012
2011 Cisco and/or its affiliates. All rights reserved.
Cisco Connect
Agenda
Lab1 : IPv6 Addressing & Stateless Address Auto Configuration (SLAAC)
Lab2 : IPv6 Neighbor Discovery
Lab3 : IPv6 Static Routing
Lab4 : HSRPv6
Lab5 : EIGRPv6
Lab6 : Manual Tunnels (IPv6oIPv4 & GRE)
Lab7 : OSPFv3
Lab8 : BGPv6
Optional Labs(6PE, 6VPE & IPv6 Multicasting)
Lab Synopsis
You are a network engineer at ABC Inc. You just attended a cool lab session on IPv6 at
Cisco Connect in Toronto and you are extremely enthusiastic about deploying IPv6 in your
network.
Since this is your first time with IPv6, you want to experiment things at your own before
talking to your ISP about IPv6 connectivity. Your goal is to make your own network IPv6
ready before talking to your ISP about IPv6.
You are challenged with multiple task during this exercise. Each task will be called a Lab.
One thing you learned in the lab session on IPv6 at Cisco Connect Toronto is to go with
dual stack as much as possible. In the event you can not use dual stack you will use
tunneling techniques.
IPv4 piece is already up and running in the network and nothing needs to be done on IPv4
side
R1 is connected to IPv6 Internet. For this purpose we have assigned a loopback 1 with an
ipv6 address of 2004:db8::1/128. So if any router can ping this address, it means it can
access IPv6 internet
Lab Topology
Lab 1 : IPv6
Addressing &
Stateless Address
Auto Configuration
(SLAAC)
Cisco Connect
Configs
R4
R4(config)#ipv6 unicast-routing
R4(config)#interface e0/0
R4(config-if)#ipv6 address fd01:db8:1:41::/64 EUI-64
R4(config-if)#end
H1
H1(config)#interface e0/0
H1(config-if)#ipv6 enable
H1(config-if)#ipv6 address autoconfig
H1(config-if)#end
H1
Verification commands
H1
H1#ping FE80::A8BB:CCFF:FE00:5400
Output Interface: Ethernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::A8BB:CCFF:FE00:5400, timeout is 2 seconds:
Packet sent with a source address of FE80::A8BB:CCFF:FE00:5700%Ethernet0/0
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
H1#
Note: the last 64 bit address may be different from A8BB:CCFF:FE00:5400, verify with show ipv6
interface on R4 E0/0
H1
H1#ping FD01:DB8:1:41:A8B8:CCFF:FE00:5400
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FD01:DB8:1:41:A8B8:CCFF:FE00:5400, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/17 ms
H1#
Note: the last 64 bit address may be different from A8BB:CCFF:FE00:5400, verify with show ipv6
interface on R4 E0/0
H1
R4#deb ipv6 nd
ICMP Neighbor Discovery events debugging is on
ICMPv6-ND: Request to send RA for FE80::A8BB:CCFF:FE00:5400
ICMPv6-ND: Setup RA from FE80::A8BB:CCFF:FE00:5400 to FF02::1 on
Ethernet0/0
ICMPv6-ND: MTU = 1500
ICMPv6-ND: prefix = FD01:DB8:1:41::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
ICMPv6-ND: Request to send RA for FE80::A8BB:CCFF:FE00:5400
ICMPv6-ND: Setup RA from FE80::A8BB:CCFF:FE00:5400 to FF02::1 on
Ethernet0/0
ICMPv6-ND: MTU = 1500
ICMPv6-ND: prefix = FD01:DB8:1:41::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
R4#
H1#deb ipv6 nd
ICMP Neighbor Discovery events debugging is on
ICMPv6-ND: Received RA from FE80::A8BB:CCFF:FE00:5400 on
Ethernet0/0
ICMPv6-ND: Prefix : FD01:DB8:1:1::, Length: 64, Vld Lifetime: 2592000,
Prf Lifetime: 604800, PI Flags: C0
ICMPv6-ND: %Ethernet0/0: OK: IPv6 Address Autoconfig
FD01:DB8:1:41::/64 eui-64, FD01:DB8:1:41:A8BB:CCFF:FE00:5700
FD01:DB8:1:41:A8BB:CCFF:FE00:5700/64 is existing
ICMPv6-ND: Received RA from FE80::A8BB:CCFF:FE00:5400 on
Ethernet0/0
ICMPv6-ND: Prefix : FD01:DB8:1:1::, Length: 64, Vld Lifetime: 2592000,
Prf Lifetime: 604800, PI Flags: C0
ICMPv6-ND: %Ethernet0/0: OK: IPv6 Address Autoconfig
FD01:DB8:1:41::/64 eui-64, FD01:DB8:1:41:A8BB:CCFF:FE00:5700
FD01:DB8:1:41:A8BB:CCFF:FE00:5700/64 is existing
H1#
Configs
R4
R4(config)#ipv6 unicast-routing
R4(config)#interface loop0
R4(config-if)#ipv6 address 2001:db8:1:1::4/128
R4(config)#interface e0/0
R4(config-if)#ipv6 address 2001:db8:1:41::4/64
R4(config-if)#end
R5
R5(config)#ipv6 unicast-routing
R5(config)#interface loop0
R5(config-if)#ipv6 address 2001:db8:1:1::5/128
R5(config)#interface e0/0
R5(config-if)#ipv6 address 2001:db8:1:56::5/64
R5(config-if)#ipv6 address 2001:db8:1:57::5/64
R5(config-if)#ipv6 address 2001:db8:1:58::5/64
R5(config-if)#end
Configs
R6
R4(config)#ipv6 unicast-routing
R6(config)#interface loop0
R6(config-if)#ipv6 address 2001:db8:1:1::6/128
R6(config)#interface e0/0
R6(config-if)#ipv6 address 2001:db8:1:56::6/64
R6(config-if)#ipv6 address 2001:db8:1:57::6/64
R6(config-if)#ipv6 address 2001:db8:1:58::6/64
R6(config-if)#end
H2
H2(config)#interface e0/0
H2(config-if)#ipv6 enable
H2(config-if)#ipv6 address autoconfig
H2(config-if)#end
R4 Ethernet0/0
R5 Ethernet0/0
R6 Ethernet0/0
H2 Ethernet0/0
Verification commands
H2
H2#ping 2001:db8:1:56::5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:56::5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/14 ms
H2#ping 2001:db8:1:57::5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:57::5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/4/21 ms
H2#ping 2001:db8:1:58::5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:58::5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/4/19 ms
H2#ping 2001:db8:1:56::6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:56::6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/17 ms
H2#ping 2001:db8:1:57::6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:57::6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/17 ms
H2#ping 2001:db8:1:58::6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:58::6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/14 ms
H2#
Verification commands
H1
H1#ping 2001:DB8:1:41::4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1:41::4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/17 ms
H1#
R6
R5#deb ipv6 nd
ICMPv6-ND: Request to send RA for FE80::A8BB:CCFF:FE00:5A00
ICMPv6-ND: Setup RA from FE80::A8BB:CCFF:FE00:5A00 to FF02::1 on
Ethernet0/0
ICMPv6-ND: MTU = 1500
ICMPv6-ND: prefix = 2001:DB8:1:56::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
ICMPv6-ND: prefix = 2001:DB8:1:57::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
ICMPv6-ND: prefix = 2001:DB8:1:58::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
R6#deb ipv6 nd
ICMPv6-ND: Request to send RA for FE80::A8BB:CCFF:FE00:5B00
ICMPv6-ND: Setup RA from FE80::A8BB:CCFF:FE00:5B00 to FF02::1 on
Ethernet0/0
ICMPv6-ND: MTU = 1500
ICMPv6-ND: prefix = 2001:DB8:1:56::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
ICMPv6-ND: prefix = 2001:DB8:1:57::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
ICMPv6-ND: prefix = 2001:DB8:1:58::/64 onlink autoconfig
ICMPv6-ND:
2592000/604800 (valid/preferred)
R5#
ICMPv6-ND: Received RA from FE80::A8BB:CCFF:FE00:5B00 on Ethernet0/0
ICMPv6-ND: Prefix : 2001:DB8:1:56::, Length: 64, Vld Lifetime: 2592000, Prf
Lifetime: 604800, PI Flags: C0
ICMPv6-ND: Prefix : 2001:DB8:1:57::, Length: 64, Vld Lifetime: 2592000, Prf
Lifetime: 604800, PI Flags: C0
ICMPv6-ND: Prefix : 2001:DB8:1:58::, Length: 64, Vld Lifetime: 2592000, Prf
Lifetime: 604800, PI Flags: C0
R5#
R6#
ICMPv6-ND: Received RA from FE80::A8BB:CCFF:FE00:5A00 on Ethernet0/0
ICMPv6-ND: Prefix : 2001:DB8:1:56::, Length: 64, Vld Lifetime: 2592000, Prf
Lifetime: 604800, PI Flags: C0
ICMPv6-ND: Prefix : 2001:DB8:1:57::, Length: 64, Vld Lifetime: 2592000, Prf
Lifetime: 604800, PI Flags: C0
ICMPv6-ND: Prefix : 2001:DB8:1:58::, Length: 64, Vld Lifetime: 2592000, Prf
Lifetime: 604800, PI Flags: C0
H2#
Cisco Connect
26
Configs
R4
R4(config)#interface e0/0
R4(config-if)#ipv6 nd ra interval 30
R4(config-if)#end
H1
H1(config)#interface e0/0
H1(config-if)#no ipv6 address autoconfig
H1(config-if)#no ipv6 enable
H1(config-if)#ipv6 enable
H1(config-if)#ipv6 address autoconfig
H1(config-if)#end
Configs
R5
R5(config)#int e0/0
R5(config-if)#ipv6 address 2001:db8:1:59::5/64
R6
R6(config)#int e0/0
R6(config-if)#ipv6 address 2001:db8:1:59::6/64
Configs
R5
R5(config)#int e0/0
R5(config-if)#no ipv6 address 2001:db8:1:59::5/64
R6
R6(config)#int e0/0
R6(config-if)#no ipv6 address 2001:db8:1:59::5/64
Configs
R5
R5(config)#interface e0/0
R5(config-if)#ipv6 nd ra interval 40
R5(config-if)#ipv6 address 2001:db8:1:88::5/64
R5(config-if)#ipv6 nd prefix 2001:db8:1:58::/64 50 0
R5(config-if)#end
R6
R6(config)#interface e0/0
R6(config-if)#ipv6 nd ra interval 40
R6(config-if)#ipv6 address 2001:db8:1:88::6/64
R6(config-if)#ipv6 nd prefix 2001:db8:1:58::/64 50 0
R6(config-if)#end
[EUI/CAL/PRE]
[EUI/CAL/PRE]
[EUI/CAL]
[EUI/CAL/PRE]
Configs
R5
R5(config)#interface e0/0
R5(config-if)#ipv6 nd prefix 2001:db8:1:58::/64 0 0
R5(config-if)#end
R6
R6(config)#interface e0/0
R6(config-if)#ipv6 nd prefix 2001:db8:1:58::/64 0 0
R6(config-if)#end
Configs
R5
R5(config)#interface e0/0
R5(config-if)#no ipv6 add 2001:db8:1:58::5/64
R5(config-if)#no ipv6 nd prefix 2001:DB8:1:58::/64
R5(config-if)#end
R6
R6(config)#interface e0/0
R6(config-if)#no ipv6 add 2001:db8:1:58::6/64
R6(config-if)#no ipv6 nd prefix 2001:DB8:1:58::/64
R6(config-if)#end
Configs
R5(config)#interface e0/0
R5(config-if)#ipv6 nd router-preference high
R5(config-if)#end
Lab 3 : HSRPv6
Cisco Connect
48
Lab 3: HSRPv6
Lab 3 HSRPv6
Site 2 is running HSRP for IPv4 between R5 and R6
You decided to follow the same scheme for IPv6 also and enabled HSRPv6
between R5 and R6
You noticed on H2 that the default route received from the HSRP active router
is a link local address
You turned on the IPv6 neighbor discovery debug on H2 to see if you are
receiving any RA msgs from R5 or R6
Your primary router for HSRP in IPv4 was R5. You want to make sure R6 is a
primary router for IPv6 and when it goes down and comes back up, it should
become primary again
Configure HSRPv6 in autoconfig mode so it selects a virtual link local address
and advertise it as a virtual IPv6 address to hosts
Configure HSRP priority & preempt command on R6 so R6 becomes the
primary router even when it goes down and comes back up (See slide 32 for
details)
Turn on deb ipv6 nd on H2 to see what link local is being advertised as a
default
Configs
R5
R5(config-if)#standby ver 2
R5(config-if)#standby 1 ipv6 autoconfig
R5(config-if)#end
R6
R6(config-if)#standby ver 2
R6(config-if)#standby 1 ipv6 autoconfig
R6(config-if)#standby 1 preempt
R6(config-if)#standby 1 priority 105
R6(config-if)#end
Lab 4 : EIGRPv6
Cisco Connect
56
Lab 4: EIGRPv6
Lab 4 EIGRPv6
Site 2 is running EIGRP for IPv4 between R5 and R6
You decided to follow the same scheme for IPv6 also and enabled EIGRPv6
between R5 and R6
You noticed that in order to advertise the secondary address on the same
interface in EIGRPv4 you had to turn off split horizon but in EIGRPv6 you do
not have to do anything. This is because split horizon is turned off by default in
EIGRP for IPv6
You also noticed that all the control packets of EIGRP for e.g. hellos are
sourced from link local address
All other functionalities are very much the same as EIGRP for IPv4
The router ID is picked up as the highest loopback address in IPv4
Configs
R5
R5(config-if)#int loop 0
R5(config-if)#ipv6 eigrp 1
R5(config-if)#int e0/0
R5(config-if)#ipv6 eigrp 1
R5(config-if)#exit
R5(config-if)#ipv6 router eigrp 1
R5(config-if)#end
R6
R6(config-if)#int loop 0
R6(config-if)#ipv6 eigrp 1
R6(config-if)#int e0/0
R6(config-if)#ipv6 eigrp 1
R6(config-if)#exit
R6(config-if)#ipv6 router eigrp 1
R6(config-if)#end
R6
Interfaces:
Loopback0
Ethernet0/0
Redistribution:
None
Interfaces:
Loopback0
Ethernet0/0
Redistribution:
None
Cisco Connect
64
Configs
R1
R1(config)#int s0/0
R1(config-if)#ipv6 add 2001:db8:14:1::14/127
R1(config)#end
R4
R4(config)#int s1/0
R1(config-if)#ipv6 add 2001:db8:14:1::15/127
R1(config-if)#ipv6 route ::/0 Serial 1/0 FE80::4AFF:FEA2:851
R1(config)#end
Configs
R1
Note, no interface needs to be specified when the next hop is global unicast
address
Verification
R1
H1
H1>ping 2004:db8::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2004:DB8::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 38/39/44 ms
H1>
Cisco Connect
72
Configs
R5
R5(config-if)#int tun 0
R5(config-if)#tun source s1/0
R5(config-if)#tun destination 10.1.35.0
R5(config-if)#tun mode ipv6ip
R5(config-if)#ipv6 address 2001:db8:35:1::17/127
R5(config-if)#end
R3
R3(config-if)#int tun 0
R3(config-if)#tun source s1/0
R3(config-if)#tun destination 10.1.35.1
R3(config-if)#tun mode ipv6ip
R3(config-if)#ipv6 address 2001:db8:35:1::16/127
R5(config-if)#end
R5 Tunnel 0
Configs
R6
R6(config-if)#int tun 0
R6(config-if)#tun source s1/0
R6(config-if)#tun destination 10.1.36.0
R6(config-if)#tun mode gre ip
R6(config-if)#ipv6 address 2001:db8:36:1::17/127
R6(config-if)#end
R3
R3(config-if)#int tun 1
R3(config-if)#tun source s2/0
R3(config-if)#tun destination 10.1.36.1
R3(config-if)#tun mode gre ip
R3(config-if)#ipv6 address 2001:db8:36:1::16/127
R3(config-if)#end
R6 Tunnel 0
Lab 7 : OSPFv3
Cisco Connect
82
Lab 7 OSPFv3
ISP has received a request from ABC Inc that they want IPv6 connectivity
between Site 1 and Site 2. ISP are also making an effort to make their own
network dual stack and enabling IPv6 in their core network
ISP has been running OSPFv2 internally in their core. They have decided to
run OSPFv3 for IPv6
Assign IPv6 address 2001:db8:172:17::2/127 between R2 & R3. ::2 on R2 side
and ::3 on R3 side
Assign IPv6 address 2001:db8:172:17::/127 between R1 & R2. :: on R1 side
and ::1 on R2 side
Configure OSPFv3 area 0 between R1 and R2 and area 1 between R2 and R3
as shown in the next slide
Put Loopbacks of R1 and R2 into area 0
Redistribute R2s loopback into OSPFv3
Ping ipv6 Loopback 0 of R3 from the loopback 0 of R1
Compare the difference between OSPFv2 and OSPFv3 LSAs
Lab 7: OSPFv3
Area 1 Configs
R3
R3(config)#ipv6 unicast-routing
R3(config)#int lo 0
R3(config-if)#ipv6 add 2001:db8:172:16::3/128
R3(config)#int e0/0
R3(config-if)#ipv6 add 2001:db8:172:17::3/127
R3(config-if)#ipv6 ospf 1 area 1
R3(config)#ipv6 router ospf 1
R3(config-rtr)#redistribute connected
R3(config-if)#end
R2
R2(config)#ipv6 unicast-routing
R2(config-if)#int e0/0
R2(config-if)#ipv6 add 2001:db8:172:17::2/127
R2(config-if)#ipv6 ospf 1 area 1
R2(config-if)#end
Area 0 Configs
R2
R2(config)#int lo 0
R2(config-if)#ipv6 add 2001:db8:172:16::2/128
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#int s1/0
R2(config-if)#ipv6 add 2001:db8:172:17::1/127
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#end
R1
R1(config)#ipv6 unicast-routing
R1(config)#int lo 0
R1(config-if)#ipv6 add 2001:db8:172:16::1/128
R1(config-if)#ipv6 ospf 1 area 0
R1(config)#int s1/0
R1(config-if)#ipv6 add 2001:db8:172:17::/127
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#end
Pri State
0 FULL/ 1 FULL/DR
Intf ID
6
2
Age
968
967
Seq#
Fragment ID Link count Bits
0x80000002 0
1
None
0x80000002 0
1
B
Inter Area Prefix Link States (Area 0)
ADV Router
172.16.1.2
Age
963
Seq#
Prefix
0x80000001 2001:DB8:172:17::2/127
Inter Area Router Link States (Area 0)
ADV Router
172.16.1.2
Age
814
Seq#
Link ID
Dest RtrID
0x80000001 2886729987 172.16.1.3
Link (Type-8) Link States (Area 0)
ADV Router
172.16.1.1
172.16.1.2
Age
967
964
Seq#
Link ID
0x80000002 6
0x80000002 6
Interface
Se1/0
Se1/0
Age
968
967
Seq#
Link ID
0x80000002 0
0x80000002 0
Ref-lstype Ref-LSID
0x2001
0
0x2001
0
Age
928
820
Seq#
Fragment ID Link count Bits
0x80000002 0
1
B
0x80000003 0
1
E
Net Link States (Area 1)
ADV Router
172.16.1.3
Age
929
Seq#
Link ID Rtr count
0x80000001 2
2
Inter Area Prefix Link States (Area 1)
ADV Router
172.16.1.2
172.16.1.2
172.16.1.2
Age
963
963
963
Seq#
Prefix
0x80000001 2001:DB8:172:16::1/128
0x80000001 2001:DB8:172:17::/127
0x80000001 2001:DB8:172:16::2/128
Link (Type-8) Link States (Area 1)
ADV Router
172.16.1.2
172.16.1.3
Age
968
968
Seq#
Link ID Interface
0x80000002 2
Et0/0
0x80000002 2
Et0/0
Intra Area Prefix Link States (Area 1)
ADV Router
172.16.1.3
Age
929
Seq#
Link ID Ref-lstype Ref-LSID
0x80000001 2048
0x2002
2
Type-5 AS External Link States
ADV Router
172.16.1.3
172.16.1.3
172.16.1.3
Age
819
819
819
Seq#
Prefix
0x80000001 2001:DB8:35:1::16/127
0x80000001 2001:DB8:36:1::16/127
0x80000001 2001:DB8:172:16::3/128
Lab 8 : BGPv6
Cisco Connect
94
Lab 8: BGPv6
Area 0 Configs
R1
R3
Area 0 Configs
R2
Area 0 Configs
R5
R5(config)#router bgp 1
R5(config-router)#address-family ipv6
R5(config-router-af)#nei FE80::A01:2300%Tunnel0 remote 109
R5(config-router-af)#net 2001:db8:1:56::/64
R5(config-router-af)#net 2001:db8:1:57::/64
R5(config-router-af)#net 2001:db8:1:88::/64
R5(config-router-af)#aggregate-address 2001:db8:1:56::/63 summary-only
R5(config-router-af)#end
R3
Area 0 Configs
R6
R6(config)#router bgp 1
R6(config-router)#address-family ipv6
R6(config-router-af)#nei 2001:DB8:36:1::16 remote 109
R6(config-router-af)#net 2001:db8:1:56::/64
R6(config-router-af)#net 2001:db8:1:57::/64
R6(config-router-af)#net 2001:db8:1:88::/64
R6(config-router-af)#aggregate-address 2001:db8:1:56::/63 summary-only
R6(config-router-af)#end
R3
Lab key
Cisco Connect
107
Configs
R#
Configs
R1
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ip address 172.16.1.1 255.255.255.255
ipv6 address 2001:DB8:172:16::1/128
ipv6 ospf 1 area 0
!
interface Loopback1
ip address 1.1.1.1 255.255.255.255
ipv6 address 2004:DB8::1/128
!
interface Serial0/0
ip address 10.1.37.0 255.255.255.254
ipv6 address 2001:DB8:14:1::14/127
!
interface Serial1/0
ip address 172.17.12.0 255.255.255.254
ipv6 address 2001:DB8:172:17::/127
ipv6 ospf 1 area 0
!
router ospf 1
passive-interface Serial0/0
network 10.1.37.0 0.0.0.1 area 0
network 172.16.1.1 0.0.0.0 area 0
network 172.17.12.0 0.0.0.1 area 0
Configs
R#
Configs
R2
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ip address 172.16.1.2 255.255.255.255
ipv6 address 2001:DB8:172:16::2/128
ipv6 ospf 1 area 0
!
interface Ethernet0/0
ip address 172.17.23.0 255.255.255.254
ipv6 address 2001:DB8:172:17::2/127
ipv6 ospf 1 area 1
!
interface Serial1/0
ip address 172.17.12.1 255.255.255.254
ipv6 address 2001:DB8:172:17::1/127
ipv6 ospf 1 area 0
!
router ospf 1
network 172.16.1.2 0.0.0.0 area 0
network 172.17.12.0 0.0.0.1 area 0
network 172.17.23.0 0.0.0.1 area 1
!
Configs
Configs
R3
R#
interface Loopback0
ip address 172.16.1.3 255.255.255.255
ipv6 address 2001:DB8:172:16::3/128
!
interface Tunnel0
no ip address
ipv6 address 2001:DB8:35:1::16/127
tunnel source Serial1/0
tunnel mode ipv6ip
tunnel destination 10.1.35.1
!
interface Tunnel1
no ip address
ipv6 address 2001:DB8:36:1::16/127
tunnel source Serial2/0
tunnel destination 10.1.36.1
!
interface Ethernet0/0
ip address 172.17.23.1
255.255.255.254
ipv6 address 2001:DB8:172:17::3/127
ipv6 ospf 1 area 1
!
interface Serial1/0
ip address 10.1.35.0 255.255.255.254
!
interface Serial2/0
ip address 10.1.36.0 255.255.255.254
ip ospf 1 area 1
!
router ospf 1
redistribute connected subnets
network 172.17.23.0 0.0.0.1 area 1
Configs
R#
Configs
R4
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ip address 10.1.1.4 255.255.255.255
ipv6 address 2001:DB8:1:1::4/128
!
interface Ethernet0/0
ip address 10.1.41.4 255.255.255.0
ipv6 address 2001:DB8:1:41::4/64
ipv6 address FD01:DB8:1:41::/64 eui-64
ipv6 nd ra interval 30
!
interface Serial1/0
ip address 10.1.37.1 255.255.255.254
ipv6 address 2001:DB8:14:1::15/127
ip route 0.0.0.0 0.0.0.0 10.1.37.0
!
ipv6 route ::/0 Serial1/0 FE80::4AFF:FEA2:851
Configs
R#
Configs
R5
interface Loopback0
ip address 10.1.1.5 255.255.255.255
ipv6 address 2001:DB8:1:1::5/128
ipv6 eigrp 1
!
interface Tunnel0
no ip address
ipv6 address 2001:DB8:35:1::17/127
tunnel source Serial1/0
tunnel mode ipv6ip
tunnel destination 10.1.35.0
!
interface Ethernet0/0
ip address 10.1.57.5 255.255.255.0 secondary
ip address 10.1.58.5 255.255.255.0 secondary
ip address 10.1.56.5 255.255.255.0
no ip split-horizon eigrp 1
standby version 2
standby 1 ip 10.1.56.1
standby 1 ipv6 autoconfig
ipv6 address 2001:DB8:1:56::5/64
ipv6 address 2001:DB8:1:57::5/64
ipv6 address 2001:DB8:1:88::5/64
ipv6 nd router-preference High
ipv6 nd ra interval 40
ipv6 eigrp 1
!
interface Serial1/0
ip address 10.1.35.1 255.255.255.254
router eigrp 1
network 10.1.1.5 0.0.0.0
network 10.1.35.0 0.0.0.1
network 10.1.56.0 0.0.0.255
network 10.1.57.0 0.0.0.255
network 10.1.58.0 0.0.0.255
!
router bgp 1
bgp log-neighbor-changes
neighbor 10.1.1.6 remote-as 1
neighbor 10.1.1.6 update-source Loopback0
neighbor 10.1.35.0 remote-as 109
neighbor FE80::A01:2300%Tunnel0 remote-as 109
!
address-family ipv4
network 10.1.56.0 mask 255.255.255.0
network 10.1.57.0 mask 255.255.255.0
network 10.1.58.0 mask 255.255.255.0
aggregate-address 10.1.56.0 255.255.254.0 summary-only
neighbor 10.1.1.6 activate
neighbor 10.1.35.0 activate
no neighbor FE80::A01:2300%Tunnel0 activate
exit-address-family
!
address-family ipv6
network 2001:DB8:1:56::/64
network 2001:DB8:1:57::/64
network 2001:DB8:1:88::/64
aggregate-address 2001:DB8:1:56::/63 summary-only
neighbor FE80::A01:2300%Tunnel0 activate
exit-address-family
!
ipv6 router eigrp 1
Configs
R#
Configs
R6
interface Loopback0
ip address 10.1.1.6 255.255.255.255
ipv6 address 2001:DB8:1:1::6/128
ipv6 eigrp 1
!
interface Tunnel0
no ip address
ipv6 address 2001:DB8:36:1::17/127
tunnel source Serial1/0
tunnel destination 10.1.36.0
!
interface Ethernet0/0
ip address 10.1.57.6 255.255.255.0
secondary
ip address 10.1.58.6 255.255.255.0
secondary
ip address 10.1.56.6 255.255.255.0
no ip split-horizon eigrp 1
standby version 2
standby 1 ip 10.1.56.1
standby 1 ipv6 autoconfig
standby 1 priority 105
standby 1 preempt
ipv6 address 2001:DB8:1:56::6/64
ipv6 address 2001:DB8:1:57::6/64
ipv6 address 2001:DB8:1:88::6/64
ipv6 nd ra interval 40
ipv6 eigrp 1
!
interface Serial1/0
ip address 10.1.36.1 255.255.255.254
!
router eigrp 1
network 10.1.1.6 0.0.0.0
network 10.1.36.0 0.0.0.1
network 10.1.56.0 0.0.0.255
network 10.1.57.0 0.0.0.255
network 10.1.58.0 0.0.0.255
!
router bgp 1
bgp log-neighbor-changes
neighbor 10.1.1.5 remote-as 1
neighbor 10.1.1.5 update-source Loopback0
neighbor 10.1.36.0 remote-as 109
neighbor 2001:DB8:36:1::16 remote-as 109
!
address-family ipv4
network 10.1.56.0 mask 255.255.255.0
network 10.1.57.0 mask 255.255.255.0
network 10.1.58.0 mask 255.255.255.0
aggregate-address 10.1.56.0 255.255.254.0 summary-only
neighbor 10.1.1.5 activate
neighbor 10.1.36.0 activate
no neighbor 2001:DB8:36:1::16 activate
exit-address-family
!
address-family ipv6
network 2001:DB8:1:56::/64
network 2001:DB8:1:57::/64
network 2001:DB8:1:88::/64
aggregate-address 2001:DB8:1:56::/63 summary-only
neighbor 2001:DB8:36:1::16 activate
exit-address-family
!
ipv6 router eigrp 1
Configs
R#
H1
H2
Configs
interface Ethernet0/0
ip address 10.1.41.1 255.255.255.0
ipv6 address autoconfig
ipv6 enable
!
ip route 0.0.0.0 0.0.0.0 10.1.41.4
interface Ethernet0/0
ip address 10.1.56.2 255.255.255.0
ipv6 address autoconfig
ipv6 enable
!
ip route 0.0.0.0 0.0.0.0 10.1.56.1
Optional Labs
Cisco Connect
115
6PE Lab
Cisco Connect
116
6PE Instructions
MPLS/LDP is pre configured in AS 109 between R1-R2-R3
OSPFv2 is pre-configured between R1-R2-R3
OSPFv2 is pre-configured between R1-R4(E0/0-E0/0) as a PE-CE
protocol (over a VRF interface)
BGP for IPv4 is pre-configured between R3-R5(E2/0-E1/0) as a PECE protocol (over a VRF interface)
IPv6 address are pre-configured between R1-R4(E1/0-E1/0) & R3R5(E0/0-E0/0)
Note, a separate interface is used for 6PE. This is usually a case
where ipv4 internet routes or a default routes are received on that
interface. IPv6 can be enabled on that interface to receive ipv6 internet
prefixes and that will be a dual stack environment but in lab, we are
only using that interface for IPv6
OSPFv3
R1
interface Ethernet1/0
ipv6 ospf 1 area 0
!
router ospfv3 1
router-id 10.1.0.1
R4
interface Loopback0
ipv6 ospf 1 area 0
!
interface Ethernet1/0
ipv6 ospf 1 area 0
!
router ospfv3 1
router-id 10.0.0.1
R#
R1
router ospfv3 1
address-family ipv6
redistribute bgp 109
!
router bgp 109
address-family ipv6
redistribute ospf 1
BGPv6
R1
Pri State
Dead Time Interface ID
1
FULL/BDR 00:00:38 6
Interface
Ethernet1/0
R3
R5
router bgp 2
!
address-family ipv6
neighbor 2001:db8:1:2::3 remote-as 109
network 2001:db8:1:5::3/128
R#
BGPv6
R3
*BGPv4
BGPv6
R1&
R3
R2
R#
BGPv6
R2
V
4
4
R#
BGPv6
R1
Lab Key
Cisco Connect
132
Configs
R1
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ip address 10.1.0.1 255.255.255.255
!
interface Ethernet1/0
ipv6 address 2001:DB8:1:1::1/64
ipv6 ospf 1 area 0
!
interface Serial2/0
ip address 10.1.0.3 255.255.255.254
mpls ip
!
router ospfv3 1
!
address-family ipv6 unicast
redistribute bgp 109
exit-address-family
!
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 109
no bgp default ipv4-unicast
neighbor 10.1.0.0 remote-as 109
neighbor 10.1.0.0 update-source Loopback0
neighbor 10.1.3.1 remote-as 109
neighbor 10.1.3.1 update-source Loopback0
!
address-family ipv6
redistribute ospf 1
neighbor 10.1.0.0 activate
neighbor 10.1.0.0 send-label
exit-address-family
Configs
R2
interface Loopback0
ip address 10.1.0.0 255.255.255.255
!
interface Ethernet0/0
ip address 10.1.0.4 255.255.255.254
mpls ip
!
interface Serial1/0
ip address 10.1.0.2 255.255.255.254
mpls ip
!
router ospf 1
nerwork 0.0.0.0 255.255.255.255 area 0
!
router bgp 109
neighbor 10.1.0.1 remote-as 109
neighbor 10.1.0.1 update-source Loopback0
neighbor 10.1.3.1 remote-as 109
neighbor 10.1.3.1 update-source Loopback0
!
address-family ipv6
neighbor 10.1.0.1 activate
neighbor 10.1.0.1 send-label
neighbor 10.1.0.1 route-reflection-client
neighbor 10.1.3.1 activate
neighbor 10.1.3.1 send-label
neighbor 10.1.3.1 route-reflection-client
Configs
R3
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ip address 10.1.3.1 255.255.255.255
!
interface Ethernet0/0
no ip address
ipv6 address 2001:DB8:1:2::3/64
!
interface Ethernet1/0
ip address 10.1.0.5 255.255.255.254
mpls ip
!
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 109
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 10.1.0.0 remote-as 109
neighbor 10.1.0.0 update-source Loopback0
neighbor 2001:DB8:1:2::5 remote-as 2
!
address-family ipv6
neighbor 10.1.0.0 activate
neighbor 10.1.0.0 send-label
neighbor 2001:DB8:1:2::5 activate
exit-address-family
Configs
ipv6 unicast-routing
!
interface Loopback0
ipv6 address 2001:db8::4/128
ipv6 oapf 1 area 0
!
interface Ethernet1/0
ipv6 address 2001:DB8:1:1::1/64
ipv6 ospf 1 area 0
Configs
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ipv6 address 2001:DB8:1:5::3/128
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:2::5/64
!
router bgp 2
neighbor 2001:DB8:1:2::3 remote-as 109
!
address-family ipv6
network 2001:DB8:1:5::3/128
neighbor 2001:DB8:1:2::3 activate
exit-address-family
6VPE Lab
Cisco Connect
138
6VPE Instructions
MPLS/LDP is pre configured in AS 109 between R1-R2-R3
OSPFv2 is pre-configured between R1-R2-R3
IPv6 address are pre-configured between R1-R4 & R3-R5
PE-CE protocol between R1-R4 is static for IPv4 and is
preconfigured
PE-CE protocol between R3-R5 is BGP for IPv4 and is
preconfigured
R1
R4
BGPv6
R4
R1
R3
R5
router bgp 2
no bgp default ipv4-unicast
neighbor 2001:db8:1:2::3 remote-as 109
address-family ipv6
network 2001:db8:1:5::3/128
neighbor 2001:db8:1:2::3 activate
Static routes
R3
0 00:48:33
0 00:50:21
0 109 ?
*IPv4
BGP
configs
are
there
for 10.1.0.0
comparison
&
neighbor 10.1.0.0 remote-as 109
neighbor
remote-as 109purpose
R3
R2
Static routes
R2
V
4
4
100
100
2i
Static routes
R1
Lab Key
Cisco Connect
152
Configs
R1
Configs
interface Loopback0
ip address 10.1.0.0 255.255.255.255
!
interface Ethernet0/0
ip address 10.1.0.4 255.255.255.254
mpls ip
!
interface Serial1/0
ip address 10.1.0.2 255.255.255.254
mpls ip
!
router ospf 1
nerwork 0.0.0.0 255.255.255.255 area 0
!
router bgp 109
no bgp default ipv4-unicast
neighbor 10.1.0.1 remote-as 109
neighbor 10.1.0.1 update-source Loopback0
neighbor 10.1.3.1 remote-as 109
neighbor 10.1.3.1 update-source Loopback0
!
address-family vpnv6
neighbor 10.1.0.1 activate
neighbor 10.1.0.1 route-reflection-client
neighbor 10.1.3.1 activate
neighbor 10.1.3.1 route-reflection-client
Configs
R3
Configs
ipv6 unicast-routing
ipv6 cef
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:1::4/64
!
interface Ethernet1/0
ipv6 address 2001:DB8::/64 eui-64
!
ipv6 route ::/0 2001:DB8:1:1::1
Configs
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
ipv6 address 2001:DB8:1:5::3/128
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:2::5/64
!
router bgp 2
no bgp default ipv4-unicast
neighbor 2001:DB8:1:2::3 remote-as 109
!
address-family ipv6
network 2001:DB8:1:5::3/128
neighbor 2001:DB8:1:2::3 activate
exit-address-family
Cisco Connect
158
Multicast configuration
R1
ipv6 multicast-routing
!
ipv6 pim rp-address 2001:db8:1::
R2
ipv6 multicast-routing
!
ipv6 pim rp-address 2001:db8:1::
R3
ipv6 multicast-routing
!
ipv6 pim rp-address 2001:db8:1::
Receiver
interface Ethernet0/0
ipv6 mld join-group FF1E::1
R#
Multicast configuration
R3
Uptime Expires
00:28:50 00:03:22
R#
Multicast configuration
R2
00:36:36 00:01:38 B G DR 1
00:36:48 00:01:33 B G
1
Multicast configuration
R3
Multicast configuration
R1
Receiver
interface Ethernet0/0
ipv6 mld join-group FF7E:130:2001:DB8:1::99
R#
Multicast configuration
R3
FF7E:130:2001:DB8:1::/80*
SM, RP: 2001:DB8:1::1
RPF: Se2/0,FE80::A8BB:CCFF:FE00:5100
Info source: Embedded
Uptime: 00:11:31, Groups: 1
R3#sh ipv6 mroute FF7E:130:2001:DB8:1::99
..
(*, FF7E:130:2001:DB8:1::99), 00:09:35/never, RP 2001:DB8:1::1, flags: SCJ
Incoming interface: Serial2/0
RPF nbr: FE80::A8BB:CCFF:FE00:5100
Immediate Outgoing interface list:
Ethernet0/0, Forward, 00:09:35/never
R3#
Multicast configuration
R1
R#
Multicast configuration
R1
Lab Key
Cisco Connect
173
Configs
R1
ipv6 unicast-routing
ipv6 cef
ipv6 multicast-routing
!
interface Loopback0
ipv6 address 2001:DB8:1::1/128
ipv6 ospf 1 area 0
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:1::1/64
ipv6 ospf 1 area 0
!
interface Serial1/0
ipv6 address 2001:DB8:1::3/127
ipv6 ospf 1 area 0
!
interface Serial2/0
ipv6 address 2001:DB8::3/64
ipv6 ospf 1 area 0
!
! For static RP exercise
!
ipv6 pim rp-address 2001:db8:1:: (R2 Loopback address)
!
! For embedded RP exercise
!
ipv6 pim rp-address 2001:DB8:1::1 (Local Loopback address)
!
ipv6 router ospf 1
Configs
ipv6 unicast-routing
ipv6 cef
ipv6 multicast-routing
!
interface Loopback0
ipv6 address 2001:DB8:1::/128
ipv6 ospf 1 area 0
!
interface Ethernet0/0
ipv6 address 2001:DB8:1::4/127
ipv6 ospf 1 area 0
!
interface Serial1/0
ipv6 address 2001:DB8:1::2/127
ipv6 ospf 1 area 0
!
ipv6 pim rp-address 2001:DB8:1::
ipv6 router ospf 1
Configs
R3
ipv6 unicast-routing
ipv6 cef
ipv6 multicast-routing
!
interface Loopback0
ipv6 address 2001:DB8:1:3::3/128
ipv6 ospf 1 area 0
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:2::3/64
ipv6 ospf 1 area 0
!
interface Ethernet1/0
ipv6 address 2001:DB8:1::5/127
ipv6 ospf 1 area 0
!
interface Serial2/0
ipv6 address 2001:DB8::5/64
ipv6 ospf 1 area 0
!
ipv6 pim rp-address 2001:DB8:1::
ipv6 router ospf 1
Configs
R4(Source)
no ipv6 cef
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:1::4/64
!
R5(Receiver)
no ipv6 cef
!
interface Ethernet0/0
ipv6 address 2001:DB8:1:2::5/64
ipv6 mld join-group FF05::1:1
ipv6 mld join-group FF7E:130:2001:DB8:1::99
!
2012
2011 Cisco and/or its affiliates. All rights reserved.
Cisco
Cisco
Confidential
Connect
178
Thank you.
Cisco Connect
180