Saturday, March 21, 2015

Configuring OSPF for IPv6

My daughter and I celebrated our birthday together in Dubai this month. My kid is really growing taller and have started to outsmart both me and my wife. We stayed at Atlantis, The Palm where the resort is situated in a man-made island that's in the shape of a palm tree. We've enjoyed swimming at the water theme park (Adventure Cove) and staring at the huge aquariums (The Lost Chambers) where you can see lots of sharks, sting rays and other sea creatures.


I tend to get a bit intimidated whenever I see and work with IPv6 addresses maybe because of its length and different notation (hexadecimal with colon). I started to configure and troubleshoot with actual IPv6 addresses way back in 2012 when I was still working at an ISP company.

We still have plenty of IPv4 public address space in my current company and I'm lucky that I've maximized my IPv4 skills over the years. It's not too long when everyone will completely work with IPv6. Some prediction says that IPv4 will become obsolete by 2040. I could just imagine how we would sound like when doing troubleshooting over the phone with other IT folks.


R1(config)#interface loopback0
R1(config-if)#
*Jan  9 23:28:53.051: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#ipv6 address ?
  WORD                General prefix name
  X:X:X:X::X          IPv6 link-local address
  X:X:X:X::X/<0-128>  IPv6 prefix
  autoconfig          Obtain address using autoconfiguration
  dhcp                Obtain a ipv6 address using dhcp

R1(config-if)#ipv6 address FEC0::1:1/112    // USE no ipv6 address <address> TO REMOVE IPv6 ADDRESS; ISSUING ipv6 address MULTIPLE TIMES ONLY ADDS MORE ADDRESSES THAN REPLACING THEM

R2(config)#interface loopback0    // IPv4 AND IPv6 RUN INDEPENDENTLY
R2(config-if)#
*Jan  9 22:11:52.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip address 10.1.2.1 255.255.255.0
R2(config-if)#ipv6 address FEC0::2:1/112


R3(config)#interface loopback0
R3(config-if)#ip address 10.1
*Jan  9 22:50:02.659: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R3(config-if)#ip address 10.1.3.1 255.255.255.0
R3(config-if)#ipv6 address FEC0::3:1/112


R1(config)#interface s0/0/0
R1(config-if)#ipv6 address FEC0::12:1/112
R1(config-if)#clock rate 64000
R1(config-if)#bandwidth 64
R1(config-if)#no shutdown
R1(config-if)#
*Jan  9 23:34:30.207: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down
R1(config)#interface s0/0/1
R1(config-if)#ipv6 address FEC0::13:1/112
R1(config-if)#bandwidth 64
R1(config-if)#no shutdown
R1(config-if)#
*Jan  9 23:35:23.967: %LINK-3-UPDOWN: Interface Serial0/0/1, changed state to down


R2(config)#interface s0/0/0
R2(config-if)#ipv6 address FEC0::12:2/112
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown
R2(config-if)#
*Jan  9 22:18:00.451: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Jan  9 22:18:01.451: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#do ping ipv6 FEC0::12:1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::12:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms


R3(config)#interface s0/0/0
R3(config-if)#ipv6 address FEC0::13:3/112
R3(config-if)#clockrate 64000
R3(config-if)#bandwidth 64
R3(config-if)#no shutdown
R3(config-if)#
*Jan  9 22:56:41.359: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Jan  9 22:56:42.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R3(config-if)#do ping ipv6 FEC0::13:1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
R3(config-if)#


R1#ping FEC0::12:2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::12:2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms


R1#ping FEC0::13:3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms


R2#ping FEC0::12:1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::12:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms


R3#ping FEC0::13:1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms


R1#show ipv6 interface s0/0/0
Serial0/0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::20A:B8FF:FEF8:8392     // LINK-LOCAL ADDRESS; NOT ROUTED
  No Virtual link-local address(es):
  Global unicast address(es):
    FEC0::12:1, subnet is FEC0::12:0/112
  Joined group address(es):
    FF02::1
    FF02::1:FF12:1
    FF02::1:FFF8:8392
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 37426)


R2#show ipv6 interface s0/0/0
Serial0/0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::21C:58FF:FE89:AE8E  
  No Virtual link-local address(es):
  Global unicast address(es):
    FEC0::12:2, subnet is FEC0::12:0/112
  Joined group address(es):
    FF02::1
    FF02::1:FF12:2
    FF02::1:FF89:AE8E
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 39070)


R1(config)#interface s0/0/0
R1(config-if)#ipv6 address FE80::1 ?
  link-local  Use link-local address

R1(config-if)#ipv6 address FE80::1 link-local


R2(config)#interface s0/0/0
R2(config-if)#ipv6 address FE80::2 link-local


R1#ping ?
  WORD       Ping destination address or hostname
  appletalk  Appletalk echo
  clns       CLNS echo
  decnet     DECnet echo
  ethernet   Ethernet echo
  ip         IP echo
  ipv6       IPv6 echo
  ipx        Novell/IPX echo
  srb        srb echo
  tag        Tag encapsulated IP echo
  <cr>

R1#ping FE80::2    // PING REMOTE LINK-LOCAL ADDRESS; MUST SPECIFY OUTGOING INTERFACE
Output Interface: s0/0/0
% Invalid interface. Use full interface name without spaces (e.g. Serial0/1)
Output Interface: Serial0/0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::2, timeout is 2 seconds:
Packet sent with a source address of FE80::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms


R2#ping FE80::1
Output Interface: Serial0/0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::1, timeout is 2 seconds:
Packet sent with a source address of FE80::2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms


R1#show ipv6 interface s0/0/0
Serial0/0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::1    // MODIFYING LINK-LOCAL ADDRESS IS SELDOM USED
  No Virtual link-local address(es):
  Global unicast address(es):
    FEC0::12:1, subnet is FEC0::12:0/112
  Joined group address(es):
    FF02::1
    FF02::1:FF00:1
    FF02::1:FF12:1
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 37426)

R2#show ipv6 interface s0/0/0
Serial0/0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::2   
  No Virtual link-local address(es):
  Global unicast address(es):
    FEC0::12:2, subnet is FEC0::12:0/112
  Joined group address(es):
    FF02::1
    FF02::1:FF00:2
    FF02::1:FF12:2
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 39070)


R2(config)#interface f0/0
R2(config-if)#ipv6 address FECO:23::/64 ?
  X:X:X:X::X/<0-128>  IPv6 prefix

R2(config-if)#ipv6 address FECO:23::/64 ?
  X:X:X:X::X/<0-128>  IPv6 prefix

R2(config-if)#ipv6 address FECO:23::/64 eui-64
                                         ^
% Invalid input detected at '^' marker.

R2(config-if)#no shutdown     // NEED TO UNSHUT PORT TO ENABLE eui-64 KEYWORD
*Jan  9 22:31:01.855: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
R2(config-if)#ipv6 address FEC0:23::/64 ?
  anycast  Configure as an anycast
  cga      Use CGA interface identifier
  eui-64   Use eui-64 interface identifier
  <cr>

R2(config-if)#ipv6 address FEC0:23::/64 eui-64


R3(config)#interface f0/0
R3(config-if)#no shutdown
R3(config-if)#
*Jan  9 23:10:06.903: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Jan  9 23:10:07.903: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#ipv6 address FEC0:23::/64 eui-64


R2#show ipv6 interface f0/0
FastEthernet0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::21C:58FF:FE89:AE8E
  No Virtual link-local address(es):
  Global unicast address(es):
    FEC0:23::21C:58FF:FE89:AE8E, subnet is FEC0:23::/64 [EUI]   
  Joined group address(es):
    FF02::1
    FF02::1:FF89:AE8E
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 37623)


R3#show ipv6 interface f0/0
FastEthernet0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::21B:D5FF:FE05:9B3A
  No Virtual link-local address(es):
  Global unicast address(es):
    FEC0:23::21B:D5FF:FE05:9B3A, subnet is FEC0:23::/64 [EUI]  
  Joined group address(es):
    FF02::1
    FF02::1:FF05:9B3A
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 26231)


R2#show ipv6 interface brief
FastEthernet0/0            [up/up]
    FE80::21C:58FF:FE89:AE8E
    FEC0:23::21C:58FF:FE89:AE8E  
FastEthernet0/1            [administratively down/down]
    unassigned
Serial0/0/0                [up/up]
    FE80::2
    FEC0::12:2
Serial0/0/1                [administratively down/down]
    unassigned
Loopback0                  [up/up]
    FE80::21C:58FF:FE89:AE8E
    FEC0::2:1


R3#show ipv6 interface brief
FastEthernet0/0            [up/up]
    FE80::21B:D5FF:FE05:9B3A
    FEC0:23::21B:D5FF:FE05:9B3A   
FastEthernet0/1            [administratively down/down]
    unassigned
Serial0/0/0                [up/up]
    FE80::21B:D5FF:FE05:9B3A
    FEC0::13:3
Serial0/0/1                [down/down]
    unassigned
Loopback0                  [up/up]
    FE80::21B:D5FF:FE05:9B3A
    FEC0::3:1


R2#ping FEC0:23::21B:D5FF:FE05:9B3A

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:23::21B:D5FF:FE05:9B3A, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/8 ms


R3#ping FEC0:23::21C:58FF:FE89:AE8E

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:23::21C:58FF:FE89:AE8E, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms


R1(config)#ipv6 unicast-routing    // BOTH ARE DISABLED BY DEFAULT
R1(config)#ipv6 cef


R2(config)#ipv6 unicast-routing
R2(config)#ipv6 cef


R3(config)#ipv6 unicast-routing
R3(config)#ipv6 cef


R1(config)#interface loopback0
R1(config-if)#ipv6 ?
IPv6 interface subcommands:
  address             Configure IPv6 address on interface
  authentication      authentication subcommands
  bandwidth-percent   Set EIGRP bandwidth limit
  cef                 Cisco Express Forwarding for IPv6
  cga                 Configure cga on the interface
  dhcp                IPv6 DHCP interface subcommands
  eigrp               Configure EIGRP IPv6 on interface
  enable              Enable IPv6 on interface
  flow                Flow related commands
  hello-interval      Configures IP-EIGRP hello interval
  hold-time           Configures IP-EIGRP hold time
  inspect             Apply inspect name
  mfib                Interface Specific MFIB Control
  mld                 interface commands
  mobile              Mobile IPv6
  mode                Interface mode
  mtu                 Set IPv6 Maximum Transmission Unit
  multicast           multicast
  nat                 Enable IPv6 NAT on interface
  nd                  IPv6 interface Neighbor Discovery subcommands
  next-hop-self       Configures IP-EIGRP next-hop-self
  ospf                OSPF interface commands
  pim                 PIM interface commands
  policy              Enable IPv6 policy routing
  redirects           Enable sending of ICMP Redirect messages
  rip                 Configure RIP routing protocol
  router              IPv6 Router interface commands
  split-horizon       Perform split horizon
  summary-address     Summary prefix
  traffic-filter      Access control list for packets
  unnumbered          Preferred interface for source address selection
  unreachables        Enable sending of ICMP Unreachable messages
  verify              Enable per packet validation
  virtual-reassembly  IPv6 Enable Virtual Fragment Reassembly

R1(config-if)#ipv6 ospf ?
  <1-65535>            Process ID
  authentication       Enable authentication
  cost                 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
  encryption           Enable encryption
  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 ?
  area  Set the OSPF area ID

R1(config-if)#ipv6 ospf 1 area ?
  <0-4294967295>  OSPF area ID as a decimal value
  A.B.C.D         OSPF area ID in IP address format

R1(config-if)#ipv6 ospf 1 area 0    // IPv6 OSPF USES INTERFACE CONFIG CLI
R1(config-if)#interface s0/0/0
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#interface s0/0/1
R1(config-if)#ipv6 ospf 1 area 0


R2(config)#interface loopback0
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#interface s0/0/0
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#
*Jan  9 22:43:01.623: %OSPFv3-5-ADJCHG: Process 1, Nbr 10.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R2(config-if)#interface f0/0
R2(config-if)#ipv6 ospf 1 area 0


R3(config)#interface loopback0
R3(config-if)#ipv6 ospf 1 area 0
R3(config-if)#interface s0/0/0
R3(config-if)#ipv6 ospf 1 area 0
R3(config-if)#
*Jan  9 23:21:11.055: %OSPFv3-5-ADJCHG: Process 1, Nbr 10.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R3(config-if)#interface f0/0
R3(config-if)#ipv6 ospf 1 area 0
*Jan  9 23:21:59.283: %OSPFv3-5-ADJCHG: Process 1, Nbr 10.1.2.1 on FastEthernet0/0 from LOADING to FULL, Loading Done    // TOOK FEW SECONDS TO FORM ADJACENCY


R1#show ipv6 ospf neighbor     // OSPFv3 PROCESS WILL NOT START UNLESS AN IPv4 ADDRESS IS CONFIGURED FOR ROUTER ID

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
10.1.3.1          1   FULL/  -        00:00:34    5               Serial0/0/1
10.1.2.1          1   FULL/  -        00:00:36    5               Serial0/0/0


R2#show ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
10.1.3.1          1   FULL/DR         00:00:31    3               FastEthernet0/0
10.1.1.1          1   FULL/  -        00:00:34    5               Serial0/0/0


R3#show ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
10.1.2.1          1   FULL/BDR        00:00:35    3               FastEthernet0/0
10.1.1.1          1   FULL/  -        00:00:35    6               Serial0/0/0


R1#show ipv6 route
IPv6 Routing Table - Default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, 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   FEC0::1:0/112 [0/0]
     via Loopback0, directly connected
L   FEC0::1:1/128 [0/0]
     via Loopback0, receive
O   FEC0::2:1/128 [110/1562]
     via FE80::2, Serial0/0/0
O   FEC0::3:1/128 [110/1562]
     via FE80::21B:D5FF:FE05:9B3A, Serial0/0/1
C   FEC0::12:0/112 [0/0]
     via Serial0/0/0, directly connected
L   FEC0::12:1/128 [0/0]
     via Serial0/0/0, receive
C   FEC0::13:0/112 [0/0]
     via Serial0/0/1, directly connected
L   FEC0::13:1/128 [0/0]
     via Serial0/0/1, receive
O   FEC0:23::/64 [110/1563]
     via FE80::2, Serial0/0/0
     via FE80::21B:D5FF:FE05:9B3A, Serial0/0/1
L   FF00::/8 [0/0]
     via Null0, receive


R2#show ipv6 route
IPv6 Routing Table - Default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, 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
O   FEC0::1:1/128 [110/1562]
     via FE80::1, Serial0/0/0
C   FEC0::2:0/112 [0/0]
     via Loopback0, directly connected
L   FEC0::2:1/128 [0/0]
     via Loopback0, receive
O   FEC0::3:1/128 [110/1]
     via FE80::21B:D5FF:FE05:9B3A, FastEthernet0/0
C   FEC0::12:0/112 [0/0]
     via Serial0/0/0, directly connected
L   FEC0::12:2/128 [0/0]
     via Serial0/0/0, receive
O   FEC0::13:0/112 [110/1563]
     via FE80::21B:D5FF:FE05:9B3A, FastEthernet0/0
C   FEC0:23::/64 [0/0]
     via FastEthernet0/0, directly connected
L   FEC0:23::21C:58FF:FE89:AE8E/128 [0/0]
     via FastEthernet0/0, receive
L   FF00::/8 [0/0]
     via Null0, receive


R3#show ipv6 route
IPv6 Routing Table - Default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, 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
O   FEC0::1:1/128 [110/1562]
     via FE80::20A:B8FF:FEF8:8392, Serial0/0/0
O   FEC0::2:1/128 [110/1]
     via FE80::21C:58FF:FE89:AE8E, FastEthernet0/0
C   FEC0::3:0/112 [0/0]
     via Loopback0, directly connected
L   FEC0::3:1/128 [0/0]
     via Loopback0, receive
O   FEC0::12:0/112 [110/1563]
     via FE80::21C:58FF:FE89:AE8E, FastEthernet0/0
C   FEC0::13:0/112 [0/0]
     via Serial0/0/0, directly connected
L   FEC0::13:3/128 [0/0]
     via Serial0/0/0, receive
C   FEC0:23::/64 [0/0]
     via FastEthernet0/0, directly connected
L   FEC0:23::21B:D5FF:FE05:9B3A/128 [0/0]
     via FastEthernet0/0, receive
L   FF00::/8 [0/0]
     via Null0, receive


R1#show ipv6 ospf interface
Loopback0 is up, line protocol is up
  Link Local Address FE80::20A:B8FF:FEF8:8392, Interface ID 12
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.1.1
  Network Type LOOPBACK, Cost: 1
  Loopback interface is treated as a stub Host
Serial0/0/1 is up, line protocol is up
  Link Local Address FE80::20A:B8FF:FEF8:8392, Interface ID 6
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.1.1
  Network Type POINT_TO_POINT, Cost: 1562
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Index 1/3/3, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 2
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 10.1.3.1
  Suppress hello for 0 neighbor(s)
Serial0/0/0 is up, line protocol is up
  Link Local Address FE80::1, Interface ID 5
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.1.1
  Network Type POINT_TO_POINT, Cost: 1562
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 4
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 10.1.2.1
  Suppress hello for 0 neighbor(s)


R2#show ipv6 ospf interface
Loopback0 is up, line protocol is up
  Link Local Address FE80::21C:58FF:FE89:AE8E, Interface ID 12
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.2.1
  Network Type LOOPBACK, Cost: 1
  Loopback interface is treated as a stub Host
FastEthernet0/0 is up, line protocol is up
  Link Local Address FE80::21C:58FF:FE89:AE8E, Interface ID 3
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.2.1
  Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State BDR, Priority 1
  Designated Router (ID) 10.1.3.1, local address FE80::21B:D5FF:FE05:9B3A
  Backup Designated router (ID) 10.1.2.1, local address FE80::21C:58FF:FE89:AE8E
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:01
  Index 1/3/3, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 2
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 10.1.3.1  (Designated Router)
  Suppress hello for 0 neighbor(s)
Serial0/0/0 is up, line protocol is up
  Link Local Address FE80::2, Interface ID 5
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.2.1
  Network Type POINT_TO_POINT, Cost: 1562
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 6
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 10.1.1.1
  Suppress hello for 0 neighbor(s)


R3#show ipv6 ospf interface
Loopback0 is up, line protocol is up
  Link Local Address FE80::21B:D5FF:FE05:9B3A, Interface ID 12
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.3.1
  Network Type LOOPBACK, Cost: 1
  Loopback interface is treated as a stub Host
FastEthernet0/0 is up, line protocol is up
  Link Local Address FE80::21B:D5FF:FE05:9B3A, Interface ID 3
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.3.1
  Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 10.1.3.1, local address FE80::21B:D5FF:FE05:9B3A
  Backup Designated router (ID) 10.1.2.1, local address FE80::21C:58FF:FE89:AE8E
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:05
  Index 1/3/3, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 4
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 10.1.2.1  (Backup Designated Router)
  Suppress hello for 0 neighbor(s)
Serial0/0/0 is up, line protocol is up
  Link Local Address FE80::21B:D5FF:FE05:9B3A, Interface ID 5
  Area 0, Process ID 1, Instance ID 0, Router ID 10.1.3.1
  Network Type POINT_TO_POINT, Cost: 1562
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:05
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 4
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 10.1.1.1
  Suppress hello for 0 neighbor(s)


R1#tclsh
R1(tcl)#foreach address {
+>(tcl)#FEC0::1:1
+>(tcl)#FEC0::2:1
+>(tcl)#FEC0::3:1
+>(tcl)#FEC0::12:1
+>(tcl)#FEC0::12:2
+>(tcl)#FEC0::13:1
+>(tcl)#FEC0::13:3
+>(tcl)#FEC0:23::21C:58FF:FE89:AE8E
+>(tcl)#FEC0:23::21B:D5FF:FE05:9B3A
+>(tcl)#} {
+>(tcl)#ping $address }

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::1:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::2:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::12:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::12:2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:23::21C:58FF:FE89:AE8E, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
Sending 5, 100-byte ICMP Echos to FEC0:23::21B:D5FF:FE05:9B3A, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms

No comments:

Post a Comment