protocols ospf parameters
Sets global OSPF 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.
- Use the IP address of the loopback interface.
- Use the highest IP address of the address on router interfaces.
- 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.
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.