Default Settings

Default OSPF Parameters lists OSPF parameters and their default values.

Click to expand in new window

Default OSPF Parameters

Parameter Description Default Value
router ID Provides for the identification of one router to another and helps establish adjacencies among OSPF routers. highest loopback IP address or highest configured VLAN IP address if no loopback configuration exists
interface cost An outbound interface value used in determining which routing interface should forward when more than one routing interface is available. 10
interface priority A value placed on the interface that helps in determining which router will be elected designated router. 1
interface network type Specifies the type of network an interface is connecting to. broadcast
LSA Thresholds Specifies:  
The number of LSA updates that force a full routing calculation 4294967295 Update starts
The number of LSA updates that interrupt and restart a full routing calculation 4294967295 Update restarts
The number of LSA inter-area/external updates that force a full routing calculation 50 Inter-area/external updates
The number of intra updates that force a full routing calculation 0 Intra updates
LSA Pause Frequency Specifies the number of cpu units SPF calculation runs before pausing. 10000
SPF delay timer Specifies the amount of time between receiving an OSPF update and the start of an SPF calculation. 5 seconds
retransmit interval A timer that determines the retransmission of LSAs in order to ensure reliable flooding. 5 seconds
transmit delay Specifies the number of seconds it takes to transmit a link state update packet over this interface. 1 second
hello interval The period between transmissions of hello packet advertisements.
  • 10 seconds for broadcast and point-to-point networks
  • 30 seconds for non-broadcast and point-to-multipoint networks
dead interval The period that can elapse without receiving a router‘s hello packets before its neighbors will declare it down. 40 seconds
distance Specifies the administrative distance for OSPF routes. The available protocol with the lowest administrative distance is chosen for this route. connected: 0
static: 1
BGP (S-, 7100-Series):
  • 20 - Routes external to the AS
  • 200 - Routes internal to the AS

OSPF = 110
RIP = 120

graceful restart Provides for an OSPF router to remain on the forwarding path during a restart of its OSPF software. disabled
graceful restart restart interval Specifies the maximum time in seconds after which the graceful restart will terminate should it not complete or terminate for other reasons within the interval. 120 seconds
PE-CE Protocol Enables the Customer Edge (CE) router as a Provider Edge (PE) router peers. disabled

Configuring Basic OSPFv3 Parameters describes how to configure basic OSPF parameters.

Click to expand in new window

Configuring Basic OSPFv3 Parameters

Step Task Command(s)
1 Create an OSPF routing instance in router configuration mode. ipv6 router ospf process-id
2 In interface configuration mode, enable OSPFv3 on each routing interface, specifying the OSPFv3 process, area, and optional instance ipv6 ospf process area area [instance instance-id]
3 Optionally, in interface configuration mode, configure an IPv6 address for all routing interfaces in the AS. ipv6 address {link-local-address link-local | ipv6-address/length | ipv6-prefix/length eui-64 | autoconfig | general-prefix sub-bits/length}

Configuring OSPFv3 General Optional Parameters describes how to configure basic OSPFv3 parameters.

Click to expand in new window

Configuring OSPFv3 General Optional Parameters

Task Command(s)
Optionally, change the OSPFv3 router ID for this device. router-id router-id
Optionally, enable the OSPF PE-CE protocol. enable-pe-ce
Optionally, configure the OSPF VRF domain ID. domain-id [secondary] type type value value
Optionally, change the SPF LSA thresholds for this router. spf lsa-thresholds num-start num-restart num-intra-full num-ia-ext-full
Optionally, change the SPF pause frequency to specify the number of units SPF calculation runs before pausing. spf pause-frequency units
Optionally, change the delay, in milliseconds, between the receipt of an update and the beginning of the SPF execution. timers spf spf-delay
Optionally, enable BFD on all OSPF interfaces (S-, K-Series). bfd all-intfs-on
Optionally, change the administrative distance for OSPFv3 routes. distance [ospf {external | intra-area}] weight
Optionally, define the range of addresses used by this Area Border Router (ABR) when communicating routes to other areas. area area-id range ipv6-address [not-advertise]
Optionally, configure an area as a stub area. area area-id stub [no-summary]
Optionally, set the cost for the default route that is sent into a stub area by an ABR. area area-id default-cost cost
Optionally, configure an area as a not so stubby area. area {area-id | A.B.C.D} nssa [no-summary] [transstabilityint seconds] [transrole always]
Optionally, configure an Autonomous System Border Router (ASBR) to summarize Type 7 to Type 5 routes matching the specified address and mask. area {area-id | A.B.C.D} nssa-range ipv6-address [not-advertise]
Optionally, configure an OSPF sham link between two PE routers. area area-id sham-link source-ip-address destination-ip-address
Optionally, configure an OSPF sham link authentication key password. area area-id sham-link source-ip-address destination-ip-address authentication-key password
Optionally, modify the OSPF sham link dead interval. area area-id sham-link source-ip-address destination-ip-address dead-interval seconds
Optionally, modify the OSPF sham link hello interval. area area-id sham-link source-ip-address destination-ip-address hello-interval seconds
Optionally, configure the OSPF sham link keychain. area area-id sham-link source-ip-address destination-ip-address keychain name
Optionally, specify an OSPF sham link message digest key and MD5 authentication key. area area-id sham-link source-ip-address destination-ip-address message-digest-key digest-key md5 auth-key
Optionally, modify the OSPF sham link retransmit interval. area area-id sham-link source-ip-address destination-ip-address retransmit-interval seconds
Optionally, modify the OSPF sham link transmit delay period. area area-id sham-link source-ip-address destination-ip-address transmit-delay seconds
Optionally, modify the OSPF sham link cost. area area-id sham-link source-ip-address destination-ip-address cost cost
Optionally, configure an OSPF virtual-link, which represents a logical connection between the backbone and a non-backbone connected OSPF area. area area-id virtual-link router-id

area area-id virtual-link router-id dead-interval seconds

area area-id virtual-link router-id hello-interval seconds

area area-id virtual-link router-id retransmit-interval seconds

area area-id virtual-link router-id transmit-delay seconds

Optionally, change the bandwidth reference setting used for calculating interface cost for this OSPF instance. auto-cost reference-bandwidth bandwidth-multiplier
Optionally, enable passive OSPF on the specified interface. passive-interface {vlan vlan-id | interface-name | default}
Optionally, allow routing information discovered through non-OSPF protocols to be distributed in OSPF update messages. Redistribution of BGP is supported on S- and 7100-Series platforms. redistribute {bgp [global] | connected | rip | static | blackhole} [route-map name] [metric metric-value] [metric-type type-value] [tag tag]
Optionally, assign an OSPF route filter route-map to the OSPF distribute-list. distribute-list route-map name in
Optionally, enable adjacency logging on this OSPFv3 router. log-adjacency
Optionally, enable the graceful restart feature on this router. graceful-restart enable
Optionally, change the graceful restart restart interval for this router. graceful-restart restart-interval interval
Optionally, in system command mode, reset the specified OSPFv3 process ID or the OSPFv3 process. clear ipv6 ospf process [process-id]
Optionally, in global configuration command mode, enable OSPFv3 protocol debugging output for the specified subsystem. debug ipv6 ospf {subsystem}

Configuring OSPF Optional Interface Parameters describes how to configure optional OSPF interface parameters. All commands in this procedure are entered in interface configuration command mode.

Click to expand in new window

Configuring OSPF Optional Interface Parameters

Task Command(s)
Optionally, configure the OSPFv3 router neighbors for this router. ipv6 ospf neighbor ipv6-address
Optionally, assign a cost for the specified neighbor on the interface. ipv6 ospf neighbor ipv6-address cost number
Optionally, set the OSPFv3 priority value for the specified neighbor on the interface. ipv6 ospf neighbor ipv6-address priority number
Optionally, set a non-broadcast neighbor polling interval. ipv6 ospf neighbor ipv6-address poll-interval seconds
Optionally, filter outgoing link-state advertisements to an OSPFv3 neighbor on this interface. ipv6 ospf neighbor ipv6-address database-filter-all-out
Optionally, set the OSPFv3 priority value for the interface. ipv6 ospf priority number
Optionally, change the cost of sending an OSPF packet on this router interface. This setting overrides all other interface cost methods. ipv6 ospf cost cost
Optionally, sum the interface speeds contained in the specified tracked object when calculating the OSPF interface cost. ipv6 ospf cost track trackobject-name
Optionally, set the amount of time between retransmissions of link state advertisements (LSAs) for adjacencies that belong to the interface. ipv6 ospf retransmit-interval seconds
Optionally, set the amount of delay before transmitting a link state update packet on an interface. ipv6 ospf transmit-delay seconds
Optionally, enable the ignore MTU advertisement feature for the neighbor of this interface. ipv6 ospf ignore-mtu
Optionally, change the number of seconds this router must wait before sending a hello packet to neighbor routers on this interface. ipv6 ospf hello-interval seconds
Optionally, change the number of seconds this router must wait to receive a hello packet from its neighbor before determining that the neighbor is out of service. ipv6 ospf dead-interval {seconds | minimal [hello-multiplier number]}
Optionally, configure IPsec authentication on an interface. ipv6 ospf authentication spi spi {md5 key | sha1 key | aescbc key} [hex]
Optionally, configure IPsec encrypted authentication on an interface. ipv6 ospf encryption ipsec spi spi {none | 3des key | aescbc {128 | 192 | 256} key} [hex] auth {md5 key | sha1 key | aescbc key | no-auth}
Optionally, disable the graceful restart helper feature on this interface. ipv6 ospf helper-disable
Optionally, specify the network type that this interface is connected to. ipv6 ospf network {non-broadcast | broadcast | point-to-point | point-to-multipoint}

Displaying OSPFv3 Configuration and Statistics describes how to display OSPFv3 configuration and statistics.

Click to expand in new window

Displaying OSPFv3 Configuration and Statistics

Task Command(s)
Displaying OSPFv3 configuration. show ipv6 ospf
Displaying OSPFv3 link-state database information. show ipv6 ospf database type [link-state-id]
Displaying information about OSPFv3 internal entries to area border routers and autonomous system boundary routers. show ipv6 ospf border-routers
Displaying OSPFv3 interface configuration information. show ipv6 ospf interface [vlan vlan-id]
Displaying OSPFv3 neighbor information. show ipv6 ospf neighbor [router-id] [detail] [vlan vlan-id]
Displaying OSPFv3 sham link information. show ipv6 ospf sham-link
Displaying OSPFv3 virtual-links configuration information. show ipv6 ospf virtual-links