< Home

eca-route-type compatible

Function

The eca-route-type compatible command sets the route type of the extended community attribute of OSPF VPN to 0x8000.

The undo eca-route-type compatible command restores the route type of the extended community attribute of OSPF VPN to 0x0306.

By default, the route type of the extended community attribute of OSPF VPN is 0x0306.

Format

eca-route-type compatible

undo eca-route-type compatible

Parameters

None

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The eca-route-type compatible command is used in OSPF VPN scenarios.

  • For the router supporting RFC 4577, you can set the route value of the extended community attribute of OSPF VPN to 0x0306 and configure the router to identify both 0x0306 and 0x8000 route types.
  • For the router that does not support RFC 4577, you can set the route type of the extended community attribute of OSPF VPN to 0x8000 and configure the router to identify only the 0x8000 route type.

By running the eca-route-type compatible command enables different routers to communicate with each other and avoid the failure in parsing the route type because the route type of the extended community attribute of OSPF VPN is unrecognized.

Precautions

The eca-route-type compatible command is forbidden in public network.

Example

# Set the route type of the extended community attribute of OSPF VPN to 0x8000.

<sysname> system-view
[sysname] ospf 1
[sysname-ospf-1] eca-route-type compatible
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >