default-color evpn

Function

The default-color evpn command configures the default color used by the EVPN L3VPN service when iterating the SR TE Policy or SRv6 TE Policy.

The undo default-color evpn command restores the default setting.

By default, the default-color function is disabled.

Format

default-color color-value evpn

undo default-color color-value evpn

Parameters

Parameter Description Value
color-value

Set the default color used when the EVPN L3VPN service iterates the SR TE Policy or SRv6 TE Policy.

The value is an integer ranging from 0 to 4294967295.

Views

VPN instance IPv4 address family view, VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l3vpn write

Usage Guidelines

Usage Scenario

The default-color evpn command takes effect only on the remote cross-routes of EVPN L3VPN services on the local device.

Use the default-color evpn command to configure the EVPN L3VPN service remote cross-route to iterate the default color of the SR 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 TE Policy or SRv6 TE Policy iteration.

Prerequisites

A route distinguisher (RD) has been configured using the route-distinguisher command.

Configuration Impact

If the 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 EVPN L3VPN remote cross-route crosses to the VPN instance and iterates the SR TE Policy or SRv6 TE Policy. It does not take effect when the route is sent out.

Example

# Configure the default color value of the EVPN L3VPN service for the VPN instance IPv4 address family to 100.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vrf1
[*HUAWEI-vpn-instance-vrf1] ipv4-family
[*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 10:1
[*HUAWEI-vpn-instance-vrf1-af-ipv4] default-color 100 evpn
# Configure the default color value of the EVPN L3VPN service for the VPN instance IPv6 address family to be 200.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vrf1
[*HUAWEI-vpn-instance-vrf1] ipv6-family
[*HUAWEI-vpn-instance-vrf1-af-ipv6] route-distinguisher 20:1
[*HUAWEI-vpn-instance-vrf1-af-ipv6] default-color 200 evpn
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >