rfc1583 compatible

Function

The rfc1583 compatible command configures a device to comply with the route selection rules defined in RFC 1583. This configuration facilitates OSPF route selection.

The undo rfc1583 compatible command configures a device to comply with the route selection rules defined in RFC 2328.

The rfc1583 compatible command configures a device to comply with the route selection rules defined in RFC 1583. This configuration facilitates OSPFv3 route selection.

The undo rfc1583 compatible command configures a device to comply with the route selection rules defined in RFC 5340.

By default, OSPF configures the rules defined in RFC 1583.

By default, OSPFv3 configures the rules defined in RFC 5340.

Format

rfc1583 compatible

undo rfc1583 compatible

Parameters

None

Views

OSPFv3 view, OSPF view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

RFC 2328 and RFC 1583 define different OSPF route selection rules. When enabling OSPF, configure the same route selection rule for the OSPF area based on the network plan. For example, OSPF supports the route selection rules defined in RFC 1583 by default. If the other routers in the same OSPF area support the route selection rules defined in RFC 2328, run the undo rfc1583 compatible command to configure the route selection rules defined in RFC 2328 to be compatible with those defined in RFC 1583.

RFC 5340 and RFC 1583 define different OSPFv3 route selection rules. When enabling OSPFv3, you need to configure the same route selection rule for the OSPFv3 area based on the networking plan. For example, OSPFv3 supports the route selection rules defined in RFC 5340 by default. If other OSPFv3 devices in the same area support the route selection rules defined in RFC 1583, run the rfc1583 compatible command to configure these rules to be compatible with those defined in RFC 1583.

In RFC 1583, intra-area routes and inter-area routes have the same priority, and the route with the smallest cost is preferentially selected. In RFC 2328 and RFC 5340, intra-area routes are preferentially selected, and the route with the smallest cost is preferentially selected when the route types are the same.

Example

# Configure a device to comply with the route selection rules defined in RFC 2328.
<HUAWEI> system-view
[~HUAWEI] ospf 1
[*HUAWEI-ospf-1] undo rfc1583 compatible
# Configure a device to comply with the route selection rules defined in RFC 1583.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] rfc1583 compatible
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >