The default-color command configures the default color used by the L3VPN service when iterating the SR MPLS-TE Policy or SRv6 TE Policy.
The undo default-color command restores the default setting.
By default, the default-color function is disabled.
Usage Scenario
The default-color command takes effect only on the remote cross-routes of L3VPN services on the local device. Use the default-color command to configure the L3VPN service remote cross-route to iterate the default color of the SR MPLS-TE Policy or SRv6 TE Policy. After the remote cross-route crosses to the VPN instance, if the route does not carry the color extended community attribute, use The default color value is SR MPLS-TE Policy or SRv6 TE Policy iteration.
Prerequisites
A route distinguisher (RD) has been configured using the route-distinguisher command.
Configuration Impact
If a default color value has been configured on the device, when the user configures the default color value again, the new default color value will replace the original default color value.
Precautions
The color value takes effect only when the L3VPN remote cross-route crosses the VPN instance and iterates the SR MPLS-TE Policy or SRv6 TE Policy.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vrf1 [*HUAWEI-vpn-instance-vrf1] ipv6-family [*HUAWEI-vpn-instance-vrf1-af-ipv6] route-distinguisher 200:1 [*HUAWEI-vpn-instance-vrf1-af-ipv6] default-color 200
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vrf1 [*HUAWEI-vpn-instance-vrf1] ipv4-family [*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vrf1-af-ipv4] default-color 100