Curriculum
Course: CCNP ENARSI Labs
Login

Curriculum

CCNP ENARSI Labs

Text lesson

7.6 Tune OSPFv3

Step 1: Configuring a passive interface.

a. To configure a passive interface in traditional OSPFv3, use the passive-interface command in OSPFv3 router mode.

 

D1(config)# ipv6 router ospf 123

D1(config-rtr)# passive-interface g0/3

b. To configure a passive interface in OSPFv3 with AF, you can use the passive-interface command in OSPFv3 router mode to configure the passive interface for both IPv4 and IPv6 AFs.

D2(config)# router ospfv3 123

D2(config-router)# passive-interface g0/3

 

c.     As an alternative, you can use the passive-interface command within AF configuration mode to configure the passive interface for a specific AFs.

D2(config-router)# no passive-interface g0/3

D2(config-router)# address-family ipv4 unicast

D2(config-router-af)# passive-interface g0/3

D2(config-router-af)# exit-address-family

D2(config-router)# address-family ipv6 unicast

D2(config-router-af)# passive-interface g0/3

D2(config-router-af)# exit-address-family

 

Step 2: Configuring summarization.

a. The area area range ipv6-summary-address command is used to summarize prefixes from one area into another. The area is the area from which the prefixes are summarized.

 

R1(config)# router ospfv3 123

R1(config-router)# address-family ipv6 unicast

R1(config-router-af)# area 1 range 2001:db8:acad:1000::/52

 

R3(config)# router ospfv3 123

R3(config-router)# address-family ipv6 unicast

R3(config-router-af)# area 2 range 2001:db8:acad:2000::/52

b. Notice that R2 is now receiving the summarized prefixes.

R2# show ipv6 route ospf

<output omitted>

OI  2001:DB8:ACAD:1000::/52 [110/3]

     via FE80::1:2, GigabitEthernet0/0

OI  2001:DB8:ACAD:2000::/52 [110/3]

     via FE80::3:2, GigabitEthernet0/1

 

Question:

Why is prefix summarization considered desirable? How does it stabilize routing?

Type your answers here.

It reduces the number of routes in the routing table and stabilizes routing performance. As long as at least one subnet is still available within the summarized prefix, the aggregated route will continue to be advertised.

Step 3: Modifying the network type.

a.  OSPFv3 supports the same network types as OSPFv2. Notice that the Ethernet interfaces between R2 and R1, and R2 and R3, elect a DR and a BDR. This is because Ethernet is a multiaccess network. However, these are point-to-point links and there is no need for a DR or BDR.

 

R2# show ospfv3 interface brief

Interface    PID   Area            AF         Cost  State Nbrs F/C

Gi0/1        123   0               ipv4       1     BDR   1/1

Gi0/0        123   0               ipv4       1     DR    1/1

Gi0/1        123   0               ipv6       1     BDR   1/1

Gi0/0        123   0               ipv6       1     DR    1/1

 

 

b.  These connections can be changed to point-to-point using the ospfv3 network point-to-point interface command. This command needs to be configured one both sides of the point to point interface.

R2(config)# interface g0/1

R2(config-if)# ospfv3 network point-to-point

R2(config-if)# exit

R2(config)# interface g0/0

R2(config-if)# ospfv3 network point-to-point

 

R1(config)# interface g0/0

R1(config-if)# ospfv3 network point-to-point

 

R3(config)# interface g0/1

R3(config-if)# ospfv3 network point-to-point

c.     Notice that the links have now change to P2P.

R2# show ospfv3 interface brief

Interface    PID   Area            AF         Cost  State Nbrs F/C

Gi0/1        123   0               ipv4       1     P2P   1/1

Gi0/0        123   0               ipv4       1     P2P   1/1

Gi0/1        123   0               ipv6       1     P2P   1/1

Gi0/0        123   0               ipv6       1     P2P   1/1

 

 

Question:

What is the effect on the state of the interface when changing a broadcast network to point-to-point?

Type your answers here.

There is no longer a DR or BDR on the multiaccess network.

 

Step 4: Advertising a default route.

a.  Similar to OSPFv2, an ASBR in OSPFv3 advertises using the default-information command.  Configure a static default route for IPv4 and IPv6 on R2.

Note: Without a default route in the routing table, OSPF would require the default-information originate always command to advertise a default route.

 

R2(config)# ipv6 route ::/0 lo0

R2(config)# ip route 0.0.0.0 0.0.0.0 lo0

 

R2(config)# router ospfv3 123

R2(config-router)# address-family ipv6 unicast

R2(config-router-af)# default-information originate

R2(config-router-af)# exit

R2(config-router)# address-family ipv4 unicast

R2(config-router-af)# default-information originate

R2(config-router-af)# exit

 

b.  Verify D1 is receiving an IPv6 default route via OSPFv3.

D1# show ipv6 route ospf

<output omitted>

OE2 ::/0 [110/1], tag 123

     via FE80::1:1, GigabitEthernet0/1

OI  2001:DB8:ACAD:2000::/52 [110/5]

     via FE80::1:1, GigabitEthernet0/1

OI  2001:DB8:ACAD:A001::/64 [110/2]

     via FE80::1:1, GigabitEthernet0/1

OI  2001:DB8:ACAD:A002::/64 [110/3]

     via FE80::1:1, GigabitEthernet0/1

 

c.     Verify D2 is receiving an IPv4 default route via OSPFv3.

D2# show ip route ospfv3

<output omitted>

Gateway of last resort is 10.10.4.1 to network 0.0.0.0

 

O*E2  0.0.0.0/0 [110/1] via 10.10.4.1, 00:01:13, GigabitEthernet0/2

      172.16.0.0/30 is subnetted, 2 subnets

O IA     172.16.0.0 [110/3] via 10.10.4.1, 00:02:55, GigabitEthernet0/2

O IA     172.16.1.0 [110/2] via 10.10.4.1, 00:20:22, GigabitEthernet0/2