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.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S |
Supported |
S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI |
Not supported |
Usage Scenario
The eca-route-type compatible command is used in OSPF VPN scenarios.
The eca-route-type compatible command enables different switches 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.
# Set the route type of the extended community attribute of OSPF VPN to 0x8000.
<HUAWEI> system-view
[HUAWEI] ip vpn-instance huawei
[HUAWEI-vpn-instance-huawei] route-distinguisher 100:1
[HUAWEI-vpn-instance-huawei-af-ipv4] quit
[HUAWEI-vpn-instance-huawei] quit
[HUAWEI] ospf 1 vpn-instance huawei
[HUAWEI-ospf-1] eca-route-type compatible