Area Border Router

This example shows configuration for an Area Border Router. R2 is an Area Border Router (ABR). On R2, interface eth2 is in Area 0, and interface eth1 is in Area 1.

Topology

Figure 122. OSPFv3 Area Border Router

Configuration

R2

#configure terminal

Enter configure mode.

(config)#router ipv6 ospf

Create an OSPFv3 routing instance.

(config-router)#router-id 10.10.10.11

Specify a Router ID (10.10.10.11) for the OSPFv3 routing process.

(config-router)#exit

Exit OSPF router mode.

(config)#interface eth2

Enter interface mode.

(config-if)#ipv6 router ospf area 0

Enable OSPFv3 routing on an interface, and assign the Area ID (0).

(config-if)#exit

Exit interface mode.

(config)#interface eth1

Enter interface mode.

(config-if)#ipv6 router ospf area 1

Enable OSPFv3 routing on the other interface, and assign the other Area ID (1).

(config-if)#commit

Commit the candidate configuration to the running configuration.

(config-if)#exit

Exit interface mode.

R4

#configure terminal

Enter configure mode.

(config)#router ipv6 ospf

Create an OSPFv3 routing instance.

(config-router)#router-id 10.10.10.12

Specify a Router ID (10.10.10.12) for the OSPFv3 routing process.

(config-if)#exit

Exit interface mode.

(config)#interface eth1

Enter interface mode.

(config-if)#ipv6 router ospf area 1

Enable OSPFv3 routing on the other interface, and assign the other Area ID (1).

(config-if)#commit

Commit the candidate configuration to the running configuration.

(config-if)#exit

Exit interface mode.

Validation

R2

Copy
R2#show ipv6 ospf neighbor
 
Total number of full neighbors: 3
OSPFv3 Process (*null*)
Neighbor ID     Pri   State           Dead Time   Interface  Instance ID
10.10.10.12       1   Full/Backup     00:00:32    eth1       0
10.10.10.10       1   Full/Backup     00:00:36    eth2       0
10.10.10.13      10   Full/DR         00:00:32    eth2       0
R2#
 
R2#show ipv6 ospf database
 
            OSPFv3 Router with ID (10.10.10.11) (Process *null*)
 
                Link-LSA (Interface eth1)
 
Link State ID   ADV Router      Age       Seq#       CkSum  Prefix
0.0.0.3         10.10.10.11      945       0x80000001 0x9d7f      1
0.0.0.3         10.10.10.12      797       0x80000001 0x271c      1
 
                Link-LSA (Interface eth2)
 
Link State ID   ADV Router      Age       Seq#       CkSum  Prefix
0.0.0.4         10.10.10.10     1766       0x80000002 0x9a8b      1
0.0.0.4         10.10.10.11     1719       0x80000002 0x3fb0      1
0.0.0.4         10.10.10.13        6       0x80000004 0xd7e9      1
 
                Router-LSA (Area 0.0.0.0)
 
Link State ID   ADV Router      Age       Seq#       CkSum    Link
0.0.0.0         10.10.10.10     1703       0x80000005 0xf0ad      1
0.0.0.0         10.10.10.11      945       0x80000006 0xebaf      1
0.0.0.0         10.10.10.13     1708       0x80000005 0xdebc      1
 
                Network-LSA (Area 0.0.0.0)
 
Link State ID   ADV Router      Age       Seq#       CkSum
0.0.0.4         10.10.10.13     1708       0x80000003 0xa4b1
 
                Inter-Area-Prefix-LSA (Area 0.0.0.0)
 
Link State ID   ADV Router      Age       Seq#       CkSum
0.0.0.1         10.10.10.11      945       0x80000001 0xdc9f
 
                Intra-Area-Prefix-LSA (Area 0.0.0.0)
 
Link State ID   ADV Router      Age       Seq#       CkSum  Prefix  Reference
0.0.0.2         10.10.10.13     1708       0x80000003 0xd741      1  Network-LSA
 
                Intra-Area-Te-LSA (Area 0.0.0.0)
 
Link State ID   ADV Router      Age       Seq#       CkSum
0.0.0.4         10.10.10.10     1703       0x80000004 0x4ef9
0.0.0.4         10.10.10.11     1704       0x80000004 0x7acb
0.0.0.4         10.10.10.13     1708       0x80000004 0xd26f
 
                Router-LSA (Area 0.0.0.1)
 
Link State ID   ADV Router      Age       Seq#       CkSum    Link
0.0.0.0         10.10.10.11      785       0x80000003 0xa5fc      1
0.0.0.0         10.10.10.12      785       0x80000003 0x9c06      1
 
                Network-LSA (Area 0.0.0.1)
 
Link State ID   ADV Router      Age       Seq#       CkSum
0.0.0.3         10.10.10.11      785       0x80000001 0x1672
 
                Inter-Area-Prefix-LSA (Area 0.0.0.1)
 
Link State ID   ADV Router      Age       Seq#       CkSum
0.0.0.1         10.10.10.11      940       0x80000002 0xccaf
 
                Intra-Area-Prefix-LSA (Area 0.0.0.1)
 
Link State ID   ADV Router      Age       Seq#       CkSum  Prefix  Reference
0.0.0.2         10.10.10.11      784       0x80000001 0xd747      1  Network-LSA
 
                Intra-Area-Te-LSA (Area 0.0.0.1)
 
Link State ID   ADV Router      Age       Seq#       CkSum
0.0.0.3         10.10.10.11      785       0x80000002 0x70da
0.0.0.3         10.10.10.12      785       0x80000002 0x0146
 
R2#
 
R2#show ipv6 ospfv3 topology
 
OSPFv3 Process (*null*)
OSPFv3 paths to Area (0.0.0.0) routers
Router ID        Bits  Metric     Next-Hop             Interface
10.10.10.10            1          10.10.10.10          eth2
10.10.10.11         B  --
10.10.10.13            1          10.10.10.13          eth2
 
OSPFv3 paths to Area (0.0.0.1) routers
Router ID        Bits  Metric     Next-Hop             Interface
10.10.10.11         B  --
10.10.10.12            1          10.10.10.12          eth1
 
R2#
 
R2#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, E - EVPN  N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP
Timers: Uptime
 
IP Route Table for VRF "default"
C      ::1/128 via ::, lo, 01:09:54
C      3ffe:10::/64 via ::, eth2, 01:06:27
C      3ffe:11::/64 via ::, eth1, 00:21:16 R2#show ipv6 ospf route
OSPFv3 Process (*null*)
Codes: C - connected, D - Discard, 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
 
   Destination                                   Metric
     Next-hop
C  3ffe:10::/64                                       1
     directly connected, eth2, Area 0.0.0.0
C  3ffe:11::/64                                       1
     directly connected, eth1, Area 0.0.0.1
R2#
 
 
C      fe80::/64 via ::, eth9, 01:09:54
R2#

R1

Copy
R1#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, E - EVPN  N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP
Timers: Uptime
 
IP Route Table for VRF "default"
C      ::1/128 via ::, lo, 01:27:52
C      3ffe:10::/64 via ::, eth2, 01:25:13
O IA   3ffe:11::/64 [110/2] via fe80::5054:ff:fe3d:e317, eth2, 00:36:07
C      fe80::/64 via ::, eth9, 01:27:52
R1#

R3

Copy
R3#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, E - EVPN  N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP
Timers: Uptime
 
IP Route Table for VRF "default"
C      ::1/128 via ::, lo, 01:26:53
C      3ffe:10::/64 via ::, eth2, 01:23:21
O IA   3ffe:11::/64 [110/2] via fe80::5054:ff:fe3d:e317, eth2, 00:34:39
C      fe80::/64 via ::, eth9, 01:26:53
R3#

R4

Copy
R4#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, E - EVPN  N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP
Timers: Uptime
 
IP Route Table for VRF "default"
C      ::1/128 via ::, lo, 00:47:25
O IA   3ffe:10::/64 [110/2] via fe80::5054:ff:fe0e:46b7, eth1, 00:30:12
C      3ffe:11::/64 via ::, eth1, 00:36:23
C      fe80::/64 via ::, eth9, 00:47:25
R4#