src-dt6 locator

Function

The src-dt6 locator command sets or changes the Src.DT6 value of a sender PE on an MVPNv6 over BIERv6 network.

The undo src-dt6 locator command deletes the Src.DT6 value.

By default, no Src.DT6 value is configured.

Format

src-dt6 locator locator-name sid sid-val [ signal-format msid ]

undo src-dt6 locator [ locator-name sid sid-val [ signal-format msid ] ]

Parameters

Parameter Description Value
locator-name

Specifies the name of a SID node route section.

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.

sid sid-val

Specifies an SID.

The value is a 32-digit hexadecimal number, in the format of X:X::X:X.

signal-format

Specifies the SID signaling format.

-

msid

Indicates that the SID signaling format is MSID.

-

Views

VPN instance IPv6 address family MVPN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

In an MVPNv6 over BIERv6 network, an Src.DT6 address must be configured on the sender PE. The Src.DT6 address is an IPv6 address. After being configured, the Src.DT6 address is used as the source address of the IPv6 packet header, and receiver PEs use it to differentiate MVPN instances. By default, the Src.DT6 source address in the I-PMSI A-D, (*, G), or (*, *) S-PMSI A-D route sent by the ingress is carried in the BGP Prefix-SID attribute. If signal-format msid is configured, the Src.DT6 source address in the I-PMSI A-D, (*, G), or (*, *) S-PMSI A-D route sent by the ingress is carried in the MSID.

Example

# Set the MVPN Src.DT6 address to 2001:db8::2.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 mvpn ipv6-underlay 2001:db8::1
[*HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] locator as1 ipv6-prefix 2001:db8::2 64 static 32
[*HUAWEI-segment-routing-ipv6-locator] quit
[*HUAWEI-segment-routing-ipv6] quit
[*HUAWEI] ip vpn-instance vrf1
[*HUAWEI-vpn-instance-vrf1] ipv6-family
[*HUAWEI-vpn-instance-vrf1-af-ipv6] route-distinguisher 1:2
[*HUAWEI-vpn-instance-vrf1-af-ipv6] multicast ipv6 routing-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv6] mvpn
[*HUAWEI-vpn-instance-vrf1-af-ipv6-mvpn] sender-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv6-mvpn] ipv6 underlay enable
[*HUAWEI-vpn-instance-vrf1-af-ipv6-mvpn] src-dt6 locator as1 sid 2001:DB8::2
# Set the MVPN Src.DT6 address to 2001:db8::2, carried in the MSID.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 mvpn ipv6-underlay 2001:db8::1
[*HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] locator as1 ipv6-prefix 2001:db8::2 64 static 32
[*HUAWEI-segment-routing-ipv6-locator] quit
[*HUAWEI-segment-routing-ipv6] quit
[*HUAWEI] ip vpn-instance vrf1
[*HUAWEI-vpn-instance-vrf1] ipv6-family
[*HUAWEI-vpn-instance-vrf1-af-ipv6] route-distinguisher 1:2
[*HUAWEI-vpn-instance-vrf1-af-ipv6] multicast ipv6 routing-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv6] mvpn
[*HUAWEI-vpn-instance-vrf1-af-ipv6-mvpn] sender-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv6-mvpn] ipv6 underlay enable
[*HUAWEI-vpn-instance-vrf1-af-ipv6-mvpn] src-dt6 locator as1 sid 2001:DB8::2 signal-format msid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic