Optimization, convergence and scalability

1.4.e i Metrics

General information on “OSPF Metrics”:

“OSPF Metrics” CLI configuration commands:

## ===========================
## Valid for OSPFv2 and OSPFv3
## ===========================

## Modifying bandwidth value of a specific interface
Router(config)# interface <if>
Router(config-if)# bandwidth <value>


## ======
## OSPFv2
## ======

## Modifying the OSPFv2 cost on a per-interface basis
Router(config)# interface <if>
Router(config-if)# ip ospf cost <value>

## Modifying the OSPFv2 reference bandwidth
Router(config)# router ospf <pid>
Router(config-router)# auto-cost reference-bandwidth <value>


## ======
## OSPFv3
## ======

## Modifying the OSPFv3 cost on a per-interface basis for both address families
Router(config)# interface <if>
Router(config-if)# ospfv3 <pid> cost <value>

## Modifying the OSPFv3 cost on a per-interface basis for a specific address family
Router(config)# interface <if>
Router(config-if)# ospfv3 <pid> [ipv4 | ipv6] cost <value>

## Modifying the OSPFv3 reference bandwidth for the whole process
Router(config)# router ospfv3 <pid>
Router(config-router)# auto-cost reference-bandwidth <value>

## Modifying the OSPFv3 reference bandwidth for a specific address family
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# auto-cost reference-bandwidth <value>

1.4.e ii LSA throttling, SPF tuning, fast hello

LSA throttling

General information on “OSPF LSA throttling”:

“OSPF LSA throttling” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring LSA throttling for OSPFv2
Router(config)# router ospf <pid>
Router(config-if)# timers throttle lsa <start-time> <hold-interval> <max-time>

## Configuring the LSA arrival timer for OSPFv2
Router(config)# router ospf <pid>
Router(config-if)# timers lsa arrival <milliseconds>


## ======
## OSPFv3
## ======

## Configuring LSA throttling for the whole OSPFv3
Router(config)# router ospfv3 <pid>
Router(config-router)# timers throttle lsa <start-time> <hold-interval> <max-time>

## Configuring LSA throttling for a specific OSPFv3 address family
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# timers throttle lsa <start-time> <hold-interval> <max-time>

## Configuring the LSA arrival for the whole OSPFv3 process
Router(config)# router ospfv3 <pid>
Router(config-router)# timers lsa arrival <milliseconds>

## Configuring the LSA arrival for a specific OSPFv3 address family
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# timers lsa arrival <milliseconds>

SPF tuning

General information on “OSPF SPF tuning”:

“OSPF SPF tuning” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring SPF tuning for OSPFv2
Router(config)# router ospf <pid>
Router(config-if)# timers throttle spf <start-time> <hold-interval> <max-time>


## ======
## OSPFv3
## ======

## Configuring SPF tuning for the whole OSPFv3 process
Router(config)# router ospfv3 <pid>
Router(config-router)# timers throttle spf <start-time> <hold-interval> <max-time>

## Configuring SPF tuning for a specific OSPFv3 address family
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# timers throttle spf <start-time> <hold-interval> <max-time>

fast hello

General information on “OSPF fast hello”:

“OSPF fast hello” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring OSPFv2 fast hello on a per-interface basis
Router(config)# interface <if>
Router(config-if)# ip ospf dead-interval minimal hello-multiplier <multiplier>

1.4.e iii LSA propagation control (area types)

General information on “OSPF LSA propagation control (area types)":

1.4.e iv Stub router

General information on “OSPF Stub router”:

“OSPF Stub router” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring the stub router feature for OSPFv2
Router(config)# router ospf <pid>
Router(config-if)# max-metric router-lsa [arguments]


## ======
## OSPFv3
## ======

## Configuring the stub router feature for the whole OSPFv3 process
Router(config)# router ospfv3 <pid>
Router(config-router)# max-metric router-lsa [arguments]

## Configuring the stub router feature for a specific OSPFv3 address family
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# max-metric router-lsa [arguments]

1.4.e v Loop-free alternate

IP FRR

General information on “OSPF IP FRR”:

Configuration considerations:

“OSPF LFR IP FRR” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring IP FRR for OSPFv2
Router(config-router)# fast-reroute per-prefix enable area <id> prefix-priority [high | low]
Router(config-router)# fast-reroute keep-all-paths

“OSPF LFR IP FRR” CLI show commands:

## Showing all repair paths in the RIB
Router# show ip route repair-paths

Remote LFA

General information on “OSPF Remote LFA”:

// Graphic missing - Coming soon //

“OSPF LFR Remote LFA” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring Remote LFA for OSPFv2
Router(config)# mpls ldp discovery targeted-hello accept

Router(config-router)# fast-reroute per-prefix enable prefix-priority [high | low]
Router(config-router)# fast-reroute per-prefix remote-lfa tunnel mpls-ldp

“OSPF LFR Remote LFA” CLI show commands:

## Showing all available OSPFv2 Remote LFA tunnels
Router# show ip ospf fast-reroute remote-lfa tunnels

1.4.e vi Prefix suppression

General information on “OSPF Prefix suppression”:

“OSPF Prefix suppression” CLI configuration commands:

## ======
## OSPFv2
## ======

## Disabling/Enabling prefix suppression in OSPFv2 globally
Router(config)# router ospf <pid>
Router(config-router)# [no] prefix-suppression

## Disabling/Enabling prefix suppression in OSPFv2 on a per-interface basis
Router(config)# interface <if>
Router(config-router)# ip ospf prefix-suppression [disable]


## ======
## OSPFv3
## ======

## Disabling/Enabling prefix suppression in OSPFv3 globally
Router(config)# router ospfv3 <pid>
Router(config-router)# [no] prefix-suppression

## Disabling/Enabling prefix suppression in OSPFv3 for a specific address family
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# [no] prefix-suppression

## Disabling/Enabling prefix suppression in OSPFv3 on a per-interface basis for both address families
Router(config)# interface <if>
Router(config-if)# ospfv3 <pid> prefix-suppression [disable]

## Disabling/Enabling prefix suppression in OSPFv3 on a per-interface basis for a specific address family
Router(config)# interface <if>
Router(config-if)# ospfv3 <pid> [ipv4 | ipv6] prefix-suppression [disable]