segment-routing ipv6 locator(BGP-EVPN address family view)

Function

The segment-routing ipv6 locator command configures an SRv6 locator to be referenced by the EVPN address family.

The undo segment-routing ipv6 locator command deletes the SRv6 locator referenced by the EVPN address family.

By default, no SRv6 locator is referenced in the EVPN address family view.

Format

segment-routing ipv6 locator locator-name

undo segment-routing ipv6 locator [ locator-name ]

Parameters

Parameter Description Value
locator-name

Specifies the name of a SID node route locator.

The value is a string of 1 to 31 case-sensitive characters. When double quotation marks are used around the string, spaces are allowed in the string.

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an Option B SRv6 and MPLS interworking scenario, a border leaf node is connected to an EVPN L3VPN over SRv6 network on one side and to a VPNv4/VPNv6 over MPLS network on the other side. After this command is run, the border leaf node removes the VPNv4/VPNv6 label from the received VPNv4/VPNv6 over MPLS route and applies for a SID.

Example

# Configure the SRv6 locator to be referenced by the EVPN address family.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] locator as ipv6-prefix 100::1 64 static 32
[*HUAWEI-segment-routing-ipv6-locator] quit
[*HUAWEI-segment-routing-ipv6] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] segment-routing ipv6 locator as
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >