Monday, July 13, 2009

Implementing IPv6 with OSPF IGP LAB


Configuration Guidelines
PE-CE Routing Used "Static"
IGP Used "OSPF" Level 2 between PE1 & PE2
******************************************************************************
CE1A#sh running-config
ip cef
!
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:5::1/128
!
interface FastEthernet1/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:810:FFFF:1::2/64
!
ipv6 route ::/0 FastEthernet1/0 2001:810:FFFF:1::1
ipv6 route ::/0 FastEthernet1/0

!
CE1A#

PE1#sh running-config
ip cef
!
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:9::1/128
!
interface FastEthernet1/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:810:FFFF:1::1/64
!
interface FastEthernet1/1
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:410:FFFF:1::1/64
ipv6 ospf 10 area 0
!
ipv6 route FEC0:0:0:5::1/128 FastEthernet1/0 2001:810:FFFF:1::2
ipv6 router ospf 10
router-id 192.168.1.1
log-adjacency-changes
redistribute connected route-map Only_Local
redistribute static
!
route-map Only_Local permit 10
match interface Loopback0 FastEthernet1/0
!
PE1#




P1#sh running-config
ip cef
!
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:8::1/128
ipv6 ospf 10 area 0
!
interface FastEthernet1/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:410:FFFF:1::2/64
ipv6 ospf 10 area 0
!
interface FastEthernet1/1
description <>
no ip address
duplex auto
speed auto
ipv6 address 3FFE:B00:FFFF:1::1/64
ipv6 ospf 10 area 1
!
ipv6 router ospf 10
router-id 192.168.1.2
log-adjacency-changes
!
P1#

PE2#sh running-config
ip cef
!
ipv6 unicast-routing
ipv6 cef
!
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:7::1/128
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 3FFE:B00:FFFF:1::2/64
ipv6 ospf 10 area 1
!
interface FastEthernet1/1
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:1210:FFFF:1::1/64
!
ipv6 route FEC0:0:0:4::1/128 FastEthernet1/1 2001:1210:FFFF:1::2
!
ipv6 router ospf 10
router-id 192.168.1.3
log-adjacency-changes
redistribute connected route-map Only_Local
redistribute static
!
route-map Only_Local permit 10
match interface Loopback0 FastEthernet1/1
!
PE2#






CE2A#sh running-config
ip cef
!
ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
description <>
no ip address
ipv6 address FEC0:0:0:4::1/128
!
interface FastEthernet1/0
description <>
no ip address
duplex auto
speed auto
ipv6 address 2001:1210:FFFF:1::2/64
!
ipv6 route ::/0 FastEthernet1/0 2001:1210:FFFF:1::1
ipv6 route ::/0 FastEthernet1/0

!
CE2A#





OUTPUT VERIFICATION


CE2A#show ipv6 interface brief
FastEthernet0/0 [administratively down/down]
FastEthernet1/0 [up/up]
FE80::C808:AFF:FE40:1C
2001:1210:FFFF:1::2
FastEthernet1/1 [administratively down/down]
Loopback0 [up/up]
FE80::C808:AFF:FE40:0
FEC0:0:0:4::1


CE2A#show ipv6 route
IPv6 Routing Table - 5 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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
S ::/0 [1/0]
via ::, FastEthernet1/0
via 2001:1210:FFFF:1::1, FastEthernet1/0
C 2001:1210:FFFF:1::/64 [0/0]
via ::, FastEthernet1/0
L 2001:1210:FFFF:1::2/128 [0/0]
via ::, FastEthernet1/0
LC FEC0:0:0:4::1/128 [0/0]
via ::, Loopback0
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 20 percent (1/5), round-trip min/avg/max = 176/176/176 ms
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 20 percent (1/5), round-trip min/avg/max = 192/192/192 ms
CE2A#

PE2#show ipv6 interface bri
PE2#show ipv6 interface brief
FastEthernet0/0 [administratively down/down]
FastEthernet1/0 [up/up]
FE80::C802:AFF:FE40:1C
3FFE:B00:FFFF:1::2
FastEthernet1/1 [up/up]
FE80::C802:AFF:FE40:1D
2001:1210:FFFF:1::1
Loopback0 [up/up]
FE80::C802:AFF:FE40:0
FEC0:0:0:7::1




PE2#show ipv6 ospf neighbor

Neighbor ID Pri State Dead Time Interface ID Interface
192.168.1.2 1 FULL/DR 00:00:36 6 FastEthernet1/0

PE2#show ipv6 route
IPv6 Routing Table - 11 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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
OI 2001:410:FFFF:1::/64 [110/2]
via FE80::C801:8FF:FE88:1D, FastEthernet1/0
OE2 2001:810:FFFF:1::/64 [110/20]
via FE80::C801:8FF:FE88:1D, FastEthernet1/0
C 2001:1210:FFFF:1::/64 [0/0]
via ::, FastEthernet1/1
L 2001:1210:FFFF:1::1/128 [0/0]
via ::, FastEthernet1/1
C 3FFE:B00:FFFF:1::/64 [0/0]
via ::, FastEthernet1/0
S FEC0:0:0:4::1/128 [1/0]
via 2001:1210:FFFF:1::2, FastEthernet1/1
OE2 FEC0:0:0:5::1/128 [110/20]
via FE80::C801:8FF:FE88:1D, FastEthernet1/0
LC FEC0:0:0:7::1/128 [0/0]
via ::, Loopback0
OI FEC0:0:0:8::1/128 [110/1]
via FE80::C801:8FF:FE88:1D, FastEthernet1/0
OE2 FEC0:0:0:9::1/128 [110/20]
via FE80::C801:8FF:FE88:1D, FastEthernet1/0
L FF00::/8 [0/0]
via ::, Null0
PE2#

P1#show ipv6 interface bri
P1#show ipv6 interface brief
FastEthernet0/0 [administratively down/down]
FastEthernet1/0 [up/up]
FE80::C801:8FF:FE88:1C
2001:410:FFFF:1::2
FastEthernet1/1 [up/up]
FE80::C801:8FF:FE88:1D
3FFE:B00:FFFF:1::1
Loopback0 [up/up]
FE80::C801:8FF:FE88:0
FEC0:0:0:8::1


P1#show ipv6 ospf neighbor

Neighbor ID Pri State Dead Time Interface ID Interface
192.168.1.1 1 FULL/DR 00:00:35 6 FastEthernet1/0
192.168.1.3 1 FULL/BDR 00:00:34 5 FastEthernet1/1


P1#show ipv6 route
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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:410:FFFF:1::/64 [0/0]
via ::, FastEthernet1/0
L 2001:410:FFFF:1::2/128 [0/0]
via ::, FastEthernet1/0
OE2 2001:810:FFFF:1::/64 [110/20]
via FE80::C800:8FF:FE88:1D, FastEthernet1/0
OE2 2001:1210:FFFF:1::/64 [110/20]
via FE80::C802:AFF:FE40:1C, FastEthernet1/1
C 3FFE:B00:FFFF:1::/64 [0/0]
via ::, FastEthernet1/1
L 3FFE:B00:FFFF:1::1/128 [0/0]
via ::, FastEthernet1/1
OE2 FEC0:0:0:4::1/128 [110/20]
via FE80::C802:AFF:FE40:1C, FastEthernet1/1
OE2 FEC0:0:0:5::1/128 [110/20]
via FE80::C800:8FF:FE88:1D, FastEthernet1/0
OE2 FEC0:0:0:7::1/128 [110/20]
via FE80::C802:AFF:FE40:1C, FastEthernet1/1
LC FEC0:0:0:8::1/128 [0/0]
via ::, Loopback0
OE2 FEC0:0:0:9::1/128 [110/20]
via FE80::C800:8FF:FE88:1D, FastEthernet1/0
L FF00::/8 [0/0]
via ::, Null0
P1#



PE1#show ipv6 interface brief
FastEthernet0/0 [administratively down/down]
FastEthernet1/0 [up/up]
FE80::C800:8FF:FE88:1C
2001:810:FFFF:1::1
FastEthernet1/1 [up/up]
FE80::C800:8FF:FE88:1D
2001:410:FFFF:1::1
Loopback0 [up/up]
FE80::C800:8FF:FE88:0
FEC0:0:0:9::1

PE1#show ipv6 ospf neighbor

Neighbor ID Pri State Dead Time Interface ID Interface
192.168.1.2 1 FULL/BDR 00:00:35 5 FastEthernet1/1

PE1#show ipv6 route
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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:410:FFFF:1::/64 [0/0]
via ::, FastEthernet1/1
L 2001:410:FFFF:1::1/128 [0/0]
via ::, FastEthernet1/1
C 2001:810:FFFF:1::/64 [0/0]
via ::, FastEthernet1/0
L 2001:810:FFFF:1::1/128 [0/0]
via ::, FastEthernet1/0
OE2 2001:1210:FFFF:1::/64 [110/20]
via FE80::C801:8FF:FE88:1C, FastEthernet1/1
OI 3FFE:B00:FFFF:1::/64 [110/2]
via FE80::C801:8FF:FE88:1C, FastEthernet1/1
OE2 FEC0:0:0:4::1/128 [110/20]
via FE80::C801:8FF:FE88:1C, FastEthernet1/1
S FEC0:0:0:5::1/128 [1/0]
via 2001:810:FFFF:1::2, FastEthernet1/0
OE2 FEC0:0:0:7::1/128 [110/20]
via FE80::C801:8FF:FE88:1C, FastEthernet1/1
O FEC0:0:0:8::1/128 [110/1]
via FE80::C801:8FF:FE88:1C, FastEthernet1/1
LC FEC0:0:0:9::1/128 [0/0]
via ::, Loopback0
L FF00::/8 [0/0]
via ::, Null0
PE1#


CE1A#show ipv6 route
IPv6 Routing Table - 5 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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
S ::/0 [1/0]
via 2001:810:FFFF:1::1, FastEthernet1/0
via ::, FastEthernet1/0
C 2001:810:FFFF:1::/64 [0/0]
via ::, FastEthernet1/0
L 2001:810:FFFF:1::2/128 [0/0]
via ::, FastEthernet1/0
LC FEC0:0:0:5::1/128 [0/0]
via ::, Loopback0
L FF00::/8 [0/0]
via ::, Null0

CE1A#ping 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 40 percent (2/5), round-trip min/avg/max = 128/174/220 ms
CE1A#

No comments:

Post a Comment