PG1X

My Knowledge Base

User Tools

Site Tools


tech:network:cisco:ipv6:ospfv3:ospfv3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tech:network:cisco:ipv6:ospfv3:ospfv3 [2019/03/13 22:54]
wnoguchi
tech:network:cisco:ipv6:ospfv3:ospfv3 [2019/03/13 23:11] (current)
wnoguchi
Line 2831: Line 2831:
 configure terminal configure terminal
 ! !
 +ip route 0.0.0.0 0.0.0.0 10.1.3.1
 ipv6 route ::/0 GigabitEthernet 0/0 fe80::1 ipv6 route ::/0 GigabitEthernet 0/0 fe80::1
 ! !
Line 2841: Line 2842:
 configure terminal configure terminal
 ! !
 +ip route 0.0.0.0 0.0.0.0 10.2.4.2
 ipv6 route ::/0 GigabitEthernet 0/0 fe80::2 ipv6 route ::/0 GigabitEthernet 0/0 fe80::2
 ! !
Line 2847: Line 2849:
  
 <​code>​ <​code>​
 +R1#conf t
 +Enter configuration commands, one per line.  End with CNTL/Z.
 +R1(config)#​router os
 +R1(config)#​router ospfv
 +R1(config)#​router ospfv3 1
 +R1(config-router)#​rotuer
 +R1(config-router)#​rotuer-
 +R1(config-router)#​rotuer-i ​
 +R1(config-router)#​rotuer-i
 +R1(config-router)#​rotuer-id
 +R1(config-router)#​rotuer-id
 +R1(config-router)#​rotuer-id ​
 +R1(config-router)#​rotuer-id ?
 +% Unrecognized command
 +R1(config-router)#​router-id 1.1.1.1
 +R1(config-router)#​pass
 +R1(config-router)#​passive-interface passi
 +R1(config-router)#​passive-interface gi      ​
 +R1(config-router)#​passive-interface gigabitEthernet 0/1
 +R1(config-router)#​add
 +R1(config-router)#​address-family ipv
 +R1(config-router)#​address-family ipvu
 +R1(config-router)#​address-family ip  ​
 +R1(config-router)#​address-family ipv4
 +R1(config-router-af)#​exi ​               ​
 +R1(config-router-af)#​exit-address-family ​
 +R1(config-router)#​exit-address-family ipv
 +R1(config-router)#​no add                 
 +R1(config-router)#​no address-family ipv4
 +R1(config-router)#​address-family ipv4 u 
 +R1(config-router)#​address-family ipv4 ?       
 +  unicast ​ Address Family modifier
 +  vrf      Specify parameters for a VPN Routing/​Forwarding instance
 +  <cr>
  
-</code> +R1(config-router)#​address-family ipv4 uni 
- +R1(config-router)#​address-family ipv4 unicast  
-<​code>​+R1(config-router-af)#​exi 
 +R1(config-router-af)#​exit-address-family  
 +R1(config-router)#​add 
 +R1(config-router)#​address-family ipv6 uni 
 +R1(config-router)#​address-family ipv6 unicast  
 +R1(config-router-af)#​exi 
 +R1(config-router-af)#​exit-address-family  
 +R1(config-router)#​exit 
 +R1(config)#​int gig0/
 +R1(config-if)#​ospf 
 +R1(config-if)#​ospfv3 1 ipv 
 +R1(config-if)#​ospfv3 1 ipv4 are 
 +R1(config-if)#​ospfv3 1 ipv4 area 0 
 +R1(config-if)#​ospfv3 1 ipv6 area 0 
 +R1(config-if)#​int gig0/1 
 +R1(config-if)#​ospfv3 1 ipv4 are 
 +R1(config-if)#​ospfv3 1 ipv4 area 0 
 +R1(config-if)#​os 
 +R1(config-if)#​ospfv3 1 ipv6 
 +R1(config-if)#​ospfv3 1 ipv6 are 
 +R1(config-if)#​ospfv3 1 ipv6 area 0 
 +R1(config-if)#​do sh run | s ospfv3 
 + ​ospfv3 1 ipv6 area 0 
 + ​ospfv3 1 ipv4 area 0 
 + ​ospfv3 1 ipv6 area 0 
 + ​ospfv3 1 ipv4 area 0 
 +router ospfv3 1 
 + ​router-id 1.1.1.1 
 + ! 
 + ​address-family ipv4 unicast 
 + ​exit-address-family 
 + ! 
 + ​address-family ipv6 unicast 
 + ​exit-address-family 
 +R1(config-if)#​ 
 +*Mar 13 22:​59:​00.340:​ %OSPFv3-5-ADJCHG:​ Process 1, IPv4, Nbr 2.2.2.2 on GigabitEthernet0/​0 from LOADING to FULL, Loading Done 
 +R1(config-if)#​ 
 +*Mar 13 22:​59:​18.780:​ %OSPFv3-5-ADJCHG:​ Process 1, IPv6, Nbr 2.2.2.2 on GigabitEthernet0/​0 from LOADING to FULL, Loading Done 
 +R1(config-if)#​^Z 
 +R1#pi 
 +*Mar 13 23:​02:​28.006:​ %SYS-5-CONFIG_I:​ Configured from console by console
  
 </​code>​ </​code>​
  
 <​code>​ <​code>​
 +R2#conf t
 +Enter configuration commands, one per line.  End with CNTL/Z.
 +R2(config)#​router ospfv3 1
 +R2(config-router)#​router
 +R2(config-router)#​router-id 2.2.2.2
 +R2(config-router)#​passi
 +R2(config-router)#​passive-interface Gi
 +R2(config-router)#​passive-interface GigabitEthernet 0/1
 +R2(config-router)#​add
 +R2(config-router)#​address-family ipv
 +R2(config-router)#​address-family ipv4 unica
 +R2(config-router)#​address-family ipv4 unicast ​
 +R2(config-router-af)#​exi
 +R2(config-router-af)#​exit-address-family ​
 +R2(config-router)#​add
 +R2(config-router)#​address-family ipv6 uni
 +R2(config-router)#​address-family ipv6 unicast ​
 +R2(config-router-af)#​exit
 +R2(config-router)#​exti
 +                    ^
 +% Invalid input detected at '​^'​ marker.
  
-</code> +R2(config-router)#​exit 
- +R2(config)#​int gig0/
-<​code>​+R2(config-if)#​ospf 
 +R2(config-if)#​ospfv3 1 ip 
 +R2(config-if)#​ospfv3 1 ipv4 
 +R2(config-if)#​ospfv3 1 ipv4 are 
 +R2(config-if)#​ospfv3 1 ipv4 area 0 
 +R2(config-if)#​ 
 +*Mar 13 22:​59:​01.511:​ %OSPFv3-5-ADJCHG:​ Process 1, IPv4, Nbr 1.1.1.1 on GigabitEthernet0/​0 from LOADING to FULL, Loading Done 
 +R2(config-if)#​ospfv3 1 ipv6 are    
 +R2(config-if)#​ospfv3 1 ipv6 area 0 
 +R2(config-if)#​ 
 +*Mar 13 22:​59:​19.956:​ %OSPFv3-5-ADJCHG:​ Process 1, IPv6, Nbr 1.1.1.1 on GigabitEthernet0/​0 from LOADING to FULL, Loading Done 
 +R2(config-if)#​int gi0/1 
 +R2(config-if)#​ospf 
 +R2(config-if)#​ospfv3 1 ipv 
 +R2(config-if)#​ospfv3 1 ipv4 are 
 +R2(config-if)#​ospfv3 1 ipv4 area 0 
 +R2(config-if)#​os 
 +R2(config-if)#​ospfv3 1 ipv 
 +R2(config-if)#​ospfv3 1 ipv6 are 
 +R2(config-if)#​ospfv3 1 ipv6 area 0 
 +R2(config-if)#​^Z 
 +R2# 
 +*Mar 13 22:​59:​54.850:​ %SYS-5-CONFIG_I:​ Configured from console by console
  
 </​code>​ </​code>​
  
 <​code>​ <​code>​
 +R3#conf t
 +Enter configuration commands, one per line.  End with CNTL/Z.
 +R3(config)#​ipv6 ro
 +R3(config)#​ipv6 rout    ​
 +R3(config)#​ipv6 route ::/0 Gig
 +R3(config)#​ipv6 route ::/0 GigabitEthernet 0/0 fe80::1
 +R3(config)#​ip ro 0.0.0.0 0.0.0.0 10.1.3.1
 +% Ambiguous command: ​ "ip ro 0.0.0.0 0.0.0.0 10.1.3.1"​
 +R3(config)#​ip rou 0.0.0.0 0.0.0.0 10.1.3.1
 +% Ambiguous command: ​ "ip rou 0.0.0.0 0.0.0.0 10.1.3.1"​
 +R3(config)#​ip rou 0.0.0.0 0.0.0.0 10.1.3.1
 +% Ambiguous command: ​ "ip rou 0.0.0.0 0.0.0.0 10.1.3.1"​
 +R3(config)#​ip route 0.0.0.0 0.0.0.0 10.1.3.1
 +R3(config)#​^Z
 +R3#
 +*Mar 13 23:​02:​25.269:​ %SYS-5-CONFIG_I:​ Configured from console by console
 +R3#
 +R3#ping 10.2.4.4
 +Type escape sequence to abort.
 +Sending 5, 100-byte ICMP Echos to 10.2.4.4, timeout is 2 seconds:
 +!!!!!
 +Success rate is 100 percent (5/5), round-trip min/avg/max = 6/7/9 ms
 +R3#ping 2001:​0:​2:​4::​4
 +Type escape sequence to abort.
 +Sending 5, 100-byte ICMP Echos to 2001:​0:​2:​4::​4,​ timeout is 2 seconds:
 +!!!!!
 +Success rate is 100 percent (5/5), round-trip min/avg/max = 3/10/34 ms
  
 </​code>​ </​code>​
  
 <​code>​ <​code>​
 +R1#show ospfv3 neighbor ​
  
-</​code>​+          OSPFv3 1 address-family ipv4 (router-id 1.1.1.1)
  
-<​code>​+Neighbor ID     ​Pri ​  ​State ​          Dead Time   ​Interface ID    Interface 
 +2.2.2.2 ​          ​1 ​  ​FULL/​BDR ​       00:​00:​31 ​   2               ​GigabitEthernet0/​0
  
-</​code>​+          OSPFv3 1 address-family ipv6 (router-id 1.1.1.1)
  
-<​code>​+Neighbor ID     ​Pri ​  ​State ​          Dead Time   ​Interface ID    Interface 
 +2.2.2.2 ​          ​1 ​  ​FULL/​BDR ​       00:​00:​39 ​   2               ​GigabitEthernet0/​0 
 +R1#sho 
 +R1#show ospf 
 +R1#show ospfv3 inter 
 +R1#show ospfv3 interface bri 
 +R1#show ospfv3 interface brief  
 +Interface ​   PID   ​Area ​           AF         ​Cost ​ State Nbrs F/C 
 +Gi0/1        1     ​0 ​              ​ipv4 ​      ​1 ​    ​DR ​   0/0 
 +Gi0/0        1     ​0 ​              ​ipv4 ​      ​1 ​    ​DR ​   1/1 
 +Gi0/1        1     ​0 ​              ​ipv6 ​      ​1 ​    ​DR ​   0/0 
 +Gi0/0        1     ​0 ​              ​ipv6 ​      ​1 ​    ​DR ​   1/1 
 +R1#show ospfv3 da 
 +R1#show ospfv3 database ​
  
-</​code>​+          OSPFv3 1 address-family ipv4 (router-id 1.1.1.1)
  
-<​code>​+                Router Link States (Area 0)
  
-</​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Fragment ID  Link count  Bits 
 + ​1.1.1.1 ​        ​473 ​        ​0x80000002 ​ 0            1           ​None 
 + ​2.2.2.2 ​        ​474 ​        ​0x80000001 ​ 0            1           None
  
-<​code>​+                Net Link States (Area 0)
  
-</​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Link ID    Rtr count 
 + ​1.1.1.1 ​        ​473 ​        ​0x80000001 ​ 2          2
  
-<​code>​+                Link (Type-8) Link States (Area 0)
  
-</code>+ADV Router ​      ​Age ​        ​Seq# ​       Link ID    Interface 
 + ​1.1.1.1 ​        ​577 ​        ​0x80000001 ​ 3          Gi0/
 + ​1.1.1.1 ​        ​595 ​        ​0x80000001 ​ 2          Gi0/0 
 + ​2.2.2.2 ​        ​475 ​        ​0x80000001 ​ 2          Gi0/0
  
-<​code>​+                Intra Area Prefix Link States (Area 0)
  
-</​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Link ID    Ref-lstype ​ Ref-LSID 
 + ​1.1.1.1 ​        ​473 ​        ​0x80000003 ​ 0          0x2001 ​     0 
 + ​1.1.1.1 ​        ​473 ​        ​0x80000001 ​ 2048       ​0x2002 ​     2 
 + ​2.2.2.2 ​        ​436 ​        ​0x80000001 ​ 0          0x2001 ​     0
  
-<​code>​+          OSPFv3 1 address-family ipv6 (router-id 1.1.1.1)
  
-</​code>​+                Router Link States (Area 0)
  
-<​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Fragment ID  Link count  Bits 
 + ​1.1.1.1 ​        ​455 ​        ​0x80000002 ​ 0            1           ​None 
 + ​2.2.2.2 ​        ​456 ​        ​0x80000001 ​ 0            1           None
  
-</​code>​+                Net Link States (Area 0)
  
-<​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Link ID    Rtr count 
 + ​1.1.1.1 ​        ​455 ​        ​0x80000001 ​ 2          2
  
-</​code>​+                Link (Type-8) Link States (Area 0)
  
-<​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Link ID    Interface 
 + ​1.1.1.1 ​        ​570 ​        ​0x80000001 ​ 3          Gi0/1 
 + ​1.1.1.1 ​        ​591 ​        ​0x80000001 ​ 2          Gi0/0 
 + ​2.2.2.2 ​        ​457 ​        ​0x80000001 ​ 2          Gi0/0
  
-</​code>​+                Intra Area Prefix Link States (Area 0)
  
-<​code>​+ADV Router ​      ​Age ​        ​Seq# ​       Link ID    Ref-lstype ​ Ref-LSID 
 + ​1.1.1.1 ​        ​455 ​        ​0x80000003 ​ 0          0x2001 ​     0 
 + ​1.1.1.1 ​        ​455 ​        ​0x80000001 ​ 2048       ​0x2002 ​     2 
 + ​2.2.2.2 ​        ​428 ​        ​0x80000001 ​ 0          0x2001 ​     0 
 +R1#show ip proto 
 +R1#show ip protocols  
 +*** IP Routing is NSF aware ***
  
-</​code>​+Routing Protocol is "​application"​ 
 +  Sending updates every 0 seconds 
 +  Invalid after 0 seconds, hold down 0, flushed after 0 
 +  Outgoing update filter list for all interfaces is not set 
 +  Incoming update filter list for all interfaces is not set 
 +  Maximum path: 32 
 +  Routing for Networks: 
 +  Routing Information Sources: 
 +    Gateway ​        ​Distance ​     Last Update 
 +  Distance: (default is 4)
  
-<​code>​+Routing Protocol is "​ospfv3 1" 
 +  Outgoing update filter list for all interfaces is not set 
 +  Incoming update filter list for all interfaces is not set 
 +  Router ID 1.1.1.1 
 +  Number of areas: 1 normal, 0 stub, 0 nssa 
 +  Interfaces (Area 0): 
 +    GigabitEthernet0/​1 
 +    GigabitEthernet0/​0 
 +  Maximum path: 4 
 +  Routing Information Sources: 
 +    Gateway ​        ​Distance ​     Last Update 
 +    2.2.2.2 ​             110      00:07:56 
 +  Distance: (default is 110)
  
-</code>+R1#show ipv6 pro 
 +R1#show ipv6 protocols  
 +IPv6 Routing Protocol is "​connected"​ 
 +IPv6 Routing Protocol is "​application"​ 
 +IPv6 Routing Protocol is "​ND"​ 
 +IPv6 Routing Protocol is "ospf 1" 
 +  Router ID 1.1.1.1 
 +  Number of areas: 1 normal, 0 stub, 0 nssa 
 +  Interfaces (Area 0): 
 +    GigabitEthernet0/
 +    GigabitEthernet0/​0 
 +  Redistribution:​ 
 +    None 
 +R1#show ip route 
 +Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP 
 +       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
 +       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 
 +       E1 - OSPF external type 1, E2 - OSPF external type 2 
 +       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 
 +       ia - IS-IS inter area, * - candidate default, U - per-user static route 
 +       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP 
 +       a - application route 
 +       + - replicated route, % - next hop override, p - overrides from PfR
  
-<​code>​ +Gateway of last resort is not set
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​ +
- +
-</​code>​ +
- +
-<​code>​+
  
 +      10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
 +C        10.1.2.0/24 is directly connected, GigabitEthernet0/​0
 +L        10.1.2.1/32 is directly connected, GigabitEthernet0/​0
 +C        10.1.3.0/24 is directly connected, GigabitEthernet0/​1
 +L        10.1.3.1/32 is directly connected, GigabitEthernet0/​1
 +O        10.2.4.0/24 [110/2] via 10.1.2.2, 00:09:34, GigabitEthernet0/​0
 +R1#show ipv6 route
 +IPv6 Routing Table - default - 6 entries
 +Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 +       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
 +       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
 +       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
 +       ND - ND Default, NDp - ND Prefix, DCE - Destination,​ NDr - Redirect
 +       RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
 +       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
 +       la - LISP alt, lr - LISP site-registrations,​ ld - LISP dyn-eid
 +       a - Application
 +C   ​2001:​0:​1:​2::/​64 [0/0]
 +     via GigabitEthernet0/​0,​ directly connected
 +L   ​2001:​0:​1:​2::​1/​128 [0/0]
 +     via GigabitEthernet0/​0,​ receive
 +C   ​2001:​0:​1:​3::/​64 [0/0]
 +     via GigabitEthernet0/​1,​ directly connected
 +L   ​2001:​0:​1:​3::​1/​128 [0/0]
 +     via GigabitEthernet0/​1,​ receive
 +O   ​2001:​0:​2:​4::/​64 [110/2]
 +     via FE80::2, GigabitEthernet0/​0
 +L   ​FF00::/​8 [0/0]
 +     via Null0, receive
 +R1#
 </​code>​ </​code>​
  
tech/network/cisco/ipv6/ospfv3/ospfv3.txt · Last modified: 2019/03/13 23:11 by wnoguchi