src-dt4 locator

Function

The src-dt4 locator command sets or changes the Src.DT4 value of a sender PE on an MVPNv4 over BIERv6 network.

The undo src-dt4 locator command deletes the Src.DT4 value.

By default, no Src.DT4 value is configured.

Format

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

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

Parameters

Parameter Description Value
locator-name

Specifies the name of a node route segment.

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 a SID.

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

signal-format

Specifies a SID signaling format.

-

msid

Sets the SID signaling format to MSID.

-

locator

Specifies a SRv6 locator.

-

Views

VPN instance IPv4 address family MVPN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

In an MVPNv4 over BIERv6 network, an Src.DT4 address must be configured on the sender PE. The Src.DT4 address is an IPv6 address. After being configured, the Src.DT4 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.DT4 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.DT4 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.DT4 address to 2001:db8::2.
<HUAWEI> system-view
[~HUAWEI] multicast 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] ipv4-family
[*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 1:2
[*HUAWEI-vpn-instance-vrf1-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv4] mvpn
[*HUAWEI-vpn-instance-vrf1-af-ipv4-mvpn] sender-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv4-mvpn] ipv6 underlay enable
[*HUAWEI-vpn-instance-vrf1-af-ipv4-mvpn] src-dt4 locator as1 sid 2001:DB8::2
# Set Src.DT4 of MVPN to 2001:db8::2 and the encapsulation format to MSID.
<HUAWEI> system-view
[~HUAWEI] multicast 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] ipv4-family
[*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 1:2
[*HUAWEI-vpn-instance-vrf1-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv4] mvpn
[*HUAWEI-vpn-instance-vrf1-af-ipv4-mvpn] sender-enable
[*HUAWEI-vpn-instance-vrf1-af-ipv4-mvpn] ipv6 underlay enable
[*HUAWEI-vpn-instance-vrf1-af-ipv4-mvpn] src-dt4 locator as1 sid 2001:DB8::2 signal-format msid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >