Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols ospf parameters

Sets global OSPF parameters.

set protocols ospf [ process pid ] parameters { opaque-lsa | rfc1583-compatibility | router-id ipv4 }
delete protocols ospf [ process pid ] parameters [ opaque-lsa | rfc1583-compatibility | router-id ]
show protocols ospf [ process pid ] parameters

By default, support for opaque LSAs is disabled. By default, RFC 1583 support is disabled.

If no router ID is explicitly configured, the OSPF process calculates an ID for the router by using the following algorithm.

  1. Use the IP address of the loopback interface.
  2. Use the highest IP address of the address on router interfaces.
  3. If no interfaces are defined, use 0.0.0.0.
process pid
Specifies the PID of an IPv4 OSPF process.
opaque-lsa
Enables support for opaque LSAs, as described in RFC 2370.
rfc1583-compatibility
Indicates whether the handling of AS external routes complies with RFC 1583.

OSPF RFCs that are subsequent to RFC 1583 enhance the way external route calculations are performed. This option controls the preference rules that are used in external route calculations when choosing among multiple AS-external-LSAs that advertise the same destination.

When set to “enabled,” the preference rules remain those specified by RFC 1583. When set to “disabled,” the preference rules are those stated in later RFCs, which prevent routing loops when AS-external-LSAs for the same destination have been originated from different areas.

To minimize the chance of routing loops, all OSPF routers in an OSPF routing domain should have rfc1583-compatibility set identically. When there are routers present that have not been updated with the functionality that is specified in later RFCs, all routers should have rfc1583-compatibility enabled. Otherwise, all routers should have rfc1583-compatibility disabled, preventing all routing loops. The default setting is disabled.

router id ipv4
Sets an explicit router identifier, overriding the router ID that is calculated by the OSPF process. The format of the identifier is an IPv4 address.

Configuration mode

protocols {
       ospf {
               process pid {
                       parameters {
                               abr-type type
                               opaque-lsa
                               rfc1583-compatibility
                               router-id ipv4
                       }
               }
       }
}

Use this command to set global OSPF parameters.

Note: Modifying the router ID causes the router to restart.

Use the set form of this command to set global OSPF parameters.

Use the delete form of this command to restore the default settings of global OSPF parameters.

Use the show form of this command to display the (current) global OSPF parameters.