OSPFv2 does not support IPv6
IPv6 is supported by OSPFv3 which can be configured from the interface
with following commands
couple of commands that need to enabled for IPv6 routing to work
ipv6 cef Cisco Express Forwarding for IPv6
Cisco Express Forwarding (allow routers to making and an efficient routing decisions based on FIB (forwarding Information Base) and adjacency table
ipv6 unicast-routing Enable unicast routing (which enables the router to route traffic based on destination IPv6 addresses)
R1>interfaces ip information
interface Loopback0
ip address 1.1.1.1 255.255.255.255
interface FastEthernet0/0
no ip address
duplex auto
IPv6 is supported by OSPFv3 which can be configured from the interface
with following commands
couple of commands that need to enabled for IPv6 routing to work
ipv6 cef Cisco Express Forwarding for IPv6
Cisco Express Forwarding (allow routers to making and an efficient routing decisions based on FIB (forwarding Information Base) and adjacency table
ipv6 unicast-routing Enable unicast routing (which enables the router to route traffic based on destination IPv6 addresses)
R1>interfaces ip information
interface Loopback0
ip address 1.1.1.1 255.255.255.255
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2000:11AA::1/64
interface FastEthernet1/0
no ip address
duplex auto
speed auto
ipv6 address 2000:1122::1/64
Configuring OSPv3 do the same commands on R2 & R3
R1# conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ipv
R1(config)#ipv6 router
R1(config)#ipv6 router os
R1(config)#ipv6 router ospf 1
R1(config-rtr)#router-id
Note: error message if IPv6 unicast not enable
R2(config)#ipv6 router ospf 1
% IPv6 routing not enabled
configuring interfaces with OSPFv3 with with this command
R1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#inter fas
R1(config)#inter fastEthernet 0/0
R1(config-if)#ipv
R1(config-if)#ipv6 osp
R1(config-if)#ipv6 ospf ?
<1-65535> Process ID
authentication Enable authentication
cost Interface cost
database-filter Filter OSPF LSA during synchronization and flooding
dead-interval Interval after which a neighbor is declared dead
demand-circuit OSPF demand circuit
flood-reduction OSPF Flood Reduction
hello-interval Time between HELLO packets
mtu-ignore Ignores the MTU in DBD packets
neighbor OSPF neighbor
network Network type
priority Router priority
retransmit-interval Time between retransmitting lost link state
advertisements
transmit-delay Link state transmit delay
R1(config-if)#ipv6 ospf 1 are
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#
R2(config)#interface fas 0/0
R2(config-if)#ipv
R2(config-if)#ipv6 osp
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#
*Mar 1 01:06:29.099: %OSPFv3-5-ADJCHG: Process 1, Nbr 1.1.1.1 on FastEthernet0/0 from LOADING to FULL, Loading Done
As soon we configured R2 interface adjacency formed with neibhor R1 with router-id 1.1.1.1
R3
R3#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#inter ser 1/0
R3(config-if)#ipv
R3(config-if)#ipv6 osp
R3(config-if)#ipv6 ospf 1 area
R3(config-if)#ipv6 ospf 1 area 1
R3(config-if)#
*Mar 1 01:10:03.855: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done
R3(config-if)#
For R3 adjacency formed neighbor relationship with router R2 router-ir 2.2.2.2 through serial interface
Verification Commands
R3#ping 2000:11aa::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2000:11AA::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/23/36 ms
R3#sho ipv
R3#sho ipv6 route
R3#sho 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
OI 2000:1122::/64 [110/65]
via FE80::CE02:24FF:FE7C:0, Serial1/0
OI 2000:11AA::/64 [110/66]
via FE80::CE02:24FF:FE7C:0, Serial1/0
C 2000:2233::/64 [0/0]
via ::, Serial1/0
L 2000:2233::3/128 [0/0]
via ::, Serial1/0
C 2000:33AA::/64 [0/0]
via ::, FastEthernet0/0
L 2000:33AA::3/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
R3#
R3#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::CE03:16FF:FE24:0
2000:33AA::3
Serial1/0 [up/up]
FE80::CE03:16FF:FE24:0
2000:2233::3
Serial1/1 [administratively down/down]
unassigned
Serial1/2 [administratively down/down]
unassigned
Serial1/3 [administratively down/down]
unassigned
FastEthernet2/0 [administratively down/down]
unassigned
FastEthernet3/0 [administratively down/down]
unassigned
Loopback0 [up/up]
unassigned
R3#
R3#traceroute 2000:11aa::1
Type escape sequence to abort.
Tracing the route to 2000:11AA::1
1 2000:2233::2 4 msec 24 msec 20 msec
2 2000:11AA::1 20 msec 24 msec 16 msec
R3#
R3#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
2.2.2.2 1 FULL/ - 00:00:35 5 Serial1/0
R3#
R3#show ipv6 ospf interface serial 1/0
Serial1/0 is up, line protocol is up
Link Local Address FE80::CE03:16FF:FE24:0, Interface ID 5
Area 1, Process ID 1, Instance ID 0, Router ID 3.3.3.3
Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT, Cost: 64
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
Index 1/1/1, flood queue length 0
Next 0x0(0)/0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.2
Suppress hello for 0 neighbor(s)
R3#
R3#sho ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "static"
IPv6 Routing Protocol is "ospf 1"
Interfaces (Area 1):
Serial1/0
Redistribution:
None
R3#
R3#show ipv6 cef
2000:1122::/64
nexthop FE80::CE02:24FF:FE7C:0 Serial1/0
2000:11AA::/64
nexthop FE80::CE02:24FF:FE7C:0 Serial1/0
2000:2233::3/128
Receive
2000:2233::/64
attached to Serial1/0
2000:33AA::3/128
Receive
2000:33AA::/64
attached to FastEthernet0/0
FE80::/10
Receive
FF00::/8
Receive
R3#

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.