You can configure the device to comply with the route selection rule defined in RFC 1583 or RFC 2328.
RFC 2328 and RFC 1583 define route selection rules differently. After enabling OSPF on a device, you can configure the device to comply with route selection rules defined in either standard protocol as required. By default, the device complies with the route selection rules defined in RFC 1583. You can configure the device to comply with the rules defined in RFC 2328 so that all devices in the same OSPF routing domain comply with the same route selection rules.
If both intra-area and inter-area paths to an ASBR exist on a network, the default rules for selecting a path to the ASBR are as follows:
If devices of different vendors or different series of devices of the same vendor are deployed on the same network, the rules for selecting a path to an ASBR among intra-area and inter-area paths may vary according to the mode (RFC 1583 compatibility mode or RFC 1583 non-compatibility mode). In this case, routing loops may occur. To prevent the routing loops, you can set the path selection rules to the default ones.
To prevent routing loops, ensure that all devices on the network use the same path selection rules. If adjustment is performed only on some devices, the adjustment fails to meet expectations. Therefore, exercise caution when adjusting path selection rules.
The system view is displayed.
The OSPF view is displayed.
The device is configured to comply with the default rules in RFC 1583 compatibility mode for selecting a path to an ASBR. That is, if the area IDs of intra-area and inter-area paths to the ASBR are different, the path with the smallest cost is preferred; if their costs are the same, the path with the largest area ID is preferred.
The OSPF device is configured to comply with the route selection rule defined in RFC 2328, rather than in RFC 1583.
The device is configured to comply with the default rules in RFC 1583 non-compatibility mode for selecting a path to an ASBR. That is, if the area IDs of the intra-area and inter-area paths to the ASBR are the same and the paths belong to the backbone area, intra-area paths are preferred.
The configuration is committed.