19-EVPN Command Reference

HomeSupportReference GuidesCommand ReferencesH3C S6800 & S6860 Switch Series Command References-Release 671x-6W10019-EVPN Command Reference
02-MVXLAN commands
Title Size Download
02-MVXLAN commands 149.24 KB

MVXLAN commands

MVXLAN is not supported by the S6800 switches labeled with the following product codes:

·     LS-6800-2C.

·     LS-6800-32Q.

·     LS-6800-4C.

address-family ipv4

Use address-family ipv4 to create an MVXLAN IPv4 address family and enter its view, or enter the view of the existing MVXLAN IPv4 address family.

Use undo address-family ipv4 to delete the MVXLAN IPv4 address family and all settings in MVXLAN IPv4 address family view.

Syntax

address-family ipv4

undo address-family ipv4

Default

No MVXLAN IPv4 address family exists.

Views

MVXLAN view

Predefined user roles

network-admin

Examples

# In MVXLAN view of VPN instance vpna, create an MVXLAN IPv4 address family and enter its view.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv4

[Sysname-mvxlan-vpn-instance-vpna-ipv4]

address-family ipv6

Use address-family ipv6 to create an MVXLAN IPv6 address family and enter its view, or enter the view of the existing MVXLAN IPv6 address family.

Use undo address-family ipv6 to delete the MVXLAN IPv6 address family and all settings in MVXLAN IPv6 address family view.

Syntax

address-family ipv6

undo address-family ipv6

Default

No MVXLAN IPv6 address family exists.

Views

MVXLAN view

Predefined user roles

network-admin

Usage guidelines

This command is supported only in VPN instance view in MDT-based MVXLAN. This command is not supported in ingress replication MVXLAN view or public network MVXLAN view.

Examples

# In MVXLAN view of VPN instance vpna, create an MVXLAN IPv6 address family and enter its view.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv6

[Sysname-mvxlan-vpn-instance-vpna-ipv6]

data-delay

Use data-delay to set the data-delay period (delay period before the device switches over from the default MDT to the data MDT).

Use undo data-delay to restore the default.

Syntax

data-delay delay

undo data-delay

Default

The data-delay period is 3 seconds.

Views

MVXLAN IPv4 address family view

MVXLAN IPv6 address family view

Predefined user roles

network-admin

Parameters

delay: Specifies a data-delay period in the range of 1 to 60 seconds.

Examples

# In MVXLAN IPv4 address family view of VPN instance vpna, set the data-delay period to 10 seconds.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpna] address-family ipv4

[Sysname-mvxlan-vpna-ipv4] data-delay 10

data-group

Use data-group to specify a data group range and optionally configure the criteria for the device to initiate a switchover of the default MDT to a data MDT.

Use undo data-group to restore the default.

Syntax

data-group group-address { mask-length | mask } [ acl acl-number | name acl-name ]

undo data-group

Default

No data group range exists, and the device never initiates a switchover of the default MDT to a data MDT.

Views

MVXLAN IPv4 address family view

MVXLAN IPv6 address family view

Predefined user roles

network-admin

Parameters

group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255.

mask-length: Specifies a mask length for the multicast group address. The value range for this argument is 25 to 32.

mask: Specifies a subnet mask for the multicast group address, in dotted decimal notation.

acl acl-number: Specifies an advanced ACL by its number in the range of 3000 to 3999.

name acl-name:  Specifies a basic or advanced ACL by its name, a case-insensitive string of 1 to 63 characters. The name must start with a letter and cannot be all.

Usage guidelines

This command enables the device to initiate a switchover of the default MDT to a data MDT if the multicast data permitted by the specified ACL keeps arriving for a data-delay period.

If you do not specify an ACL or the specified ACL does not contain rules, the data group configuration takes effect on all (S, G) entries.

The specified ACL matches traffic according to the following rules:

·     A basic ACL uses the source keyword in an ACL rule to match multicast traffic by the multicast source address. All optional parameters are ignored, except source, fragment, and time-range.

·     An advanced ACL uses the source and destination keywords in an ACL rule to match multicast traffic by the multicast source address and the multicast group address. All optional parameters are ignored, except source, destination, fragment, and time-range.

·     If the specified basic or advanced ACL contains a rule that has the vpn-instance keyword specified, that rule does not take effect.

On a VTEP, the data group range for an MVXLAN cannot include the default group or data groups of any other MVXLAN.

If you specify an ACL, the multicast data permitted by the ACL can trigger the switchover. If you do not specify an ACL, any multicast data can trigger the switchover.

If you execute this command multiple times in the same MVXLAN IPv4 or IPv6 address family view, the most recent configuration takes effect.

For an MVXLAN that transmits both IPv4 and IPv6 multicast packets, you must specify the same default group in MVXLAN IPv4 address family view and IPv6 address family view, and the data group ranges in the two views cannot overlap.

Examples

# In MVXLAN IPv4 address family view of VPN instance vpna, specify 239.1.0.0 through 239.1.0.255 as the data group range.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpna] address-family ipv4

[Sysname-mvxlan-vpna-ipv4] data-group 239.1.0.0 32

dci enable

Use dci enable to enable multicast DCI.

Use undo dci enable to disable multicast DCI.

Syntax

dci enable

undo dci enable

Default

Multicast DCI is disabled.

Views

MVXLAN IPv4 address family view

Predefined user roles

network-admin

Usage guidelines

This command enables an ED to forward Layer 3 multicast traffic over VXLAN-DCI tunnels to remote EDs.

Examples

# Enable multicast DCI in MVXLAN IPv4 address family view of VPN instance vpna.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv4

[Sysname-mvxlan-vpn-instance-vpna-ipv4] dci enable

dci switch-delay

Use dci switch-delay to set the MVXLAN-specific traffic switchback delay on an ED that provides DCI Layer 3 multicast services.

Use undo dci switch-delay to restore the default.

Syntax

dci switch-delay delay-time

undo dci switch-delay

Default

The global traffic switchback delay set by using the multicast-vpn vxlan dci switch-delay command takes effect.

Views

MVXLAN IPv4 address family view

MVXLAN IPv6 address family view

Predefined user roles

network-admin

Parameters

delay-time: Sets the traffic switchback delay in seconds, in the range of 0 to 3600. A value of 0 indicates that traffic switchback is not delayed.

Usage guidelines

If one of the redundant EDs fails at a multihomed site with DCI Layer 3 multicast configured, traffic of the failed ED is distributed to the other EDs for forwarding. After the failed ED recovers, it will advertise BGP EVPN routes to create multicast forwarding entries. If traffic is switched back before the recovered ED creates multicast forwarding entries, traffic forwarding is interrupted. To avoid traffic interruption, set the traffic switchback delay on all the redundant EDs.

You can set the traffic switchback delay in system view and MVXLAN address family view. The global traffic switchback delay takes effect on all MVXLANs, and the traffic switchback delay set in MVXLAN address family view takes effect on a per-MVXLAN basis. For an MVXLAN, the MVXLAN-specific traffic switchback delay takes precedence over the global one.

Examples

# Set the traffic switchback delay to 50 seconds in MVXLAN IPv4 address family view of VPN instance vpna.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv4

[Sysname-mvxlan-vpn-instance-vpna] dci switch-delay 50

Related commands

multicast-vpn vxlan dci switch-delay

default-group

Use default-group to specify a default group.

Use undo default-group to restore the default.

Syntax

default-group group-address

undo default-group

Default

No default group exists.

Views

MVXLAN IPv4 address family view

MVXLAN IPv6 address family view

Predefined user roles

network-admin

Parameters

group-address: Specifies a default group in the range of 224.0.1.0 to 239.255.255.255.

Usage guidelines

The default group for an MVXLAN must be different from the default group and the data group used by any other MVXLAN.

For an MVXLAN that transmits both IPv4 and IPv6 multicast packets, you must specify the same default group in MVXLAN IPv4 address family view and IPv6 address family view, and the data group ranges in the two views cannot overlap.

Examples

# In MVXLAN IPv4 address family view of VPN instance vpna, specify 236.0.0.1 as the default group.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv4

[Sysname-mvxlan-vpn-instance-vpna-ipv4] default-group 236.0.0.1

display multicast-vpn vxlan data-group receive

Use display multicast-vpn vxlan data-group receive to display received IPv4 data group information in an MVXLAN.

Syntax

display multicast-vpn vxlan { vpn-instance instance-name | public-instance } data-group receive [ brief | [ active | group group-address | sender source-address | vpn-source-address [ mask { mask-length | mask } ] | vpn-group-address [ mask { mask-length | mask } ] ] * ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

public-instance: Specifies the public instance.

brief: Displays brief information. If you do not specify this keyword, the command displays detailed information.

active: Specifies data groups that have joined the data MDT.

group group-address: Specifies a data group by its IP address in the range of 224.0.1.0 to 239.255.255.255.

sender source-address: Specifies an MVXLAN source interface by its IP address.

vpn-source-address: Specifies an IPv4 multicast source address of the specified VPN instance.

vpn-group-address: Specifies an IPv4 multicast group address of the specified VPN instance. The value range for this argument is 224.0.1.0 to 239.255.255.255.

mask-length: Specifies a mask length of the specified multicast source address or multicast group address. The value range for this argument is 0 to 32, and the default is 32.

mask: Specifies a subnet mask of the specified multicast source address or multicast group address. The default is 255.255.255.255.

Usage guidelines

If you do not specify any parameters, this command displays detailed information about all received data groups in the MVXLAN of the specified VPN instance or the public instance.

Examples

# Display detailed information about received IPv4 data groups in the MVXLAN of VPN instance vpna.

<Sysname> display multicast-vpn vxlan vpn-instance vpna data-group receive

VPN instance: vpna

Total 2 data-groups for 8 entries

Total 2 data-groups and 8 entries matched

 

Data-group: 226.1.1.0  Reference count: 4   Active count: 2

  Sender: 1.1.1.1   Active count: 1

    (192.6.1.5, 239.1.1.1)       Remaining lifetime: 00:03:10 active

    (192.6.1.5, 239.1.1.158)     Remaining lifetime: 00:03:10

  Sender: 181.100.1.1   Active count: 1

    (195.6.1.2, 239.1.2.12)      Remaining lifetime: 00:03:10 active

    (195.6.1.2, 239.1.2.197)     Remaining lifetime: 00:03:10

 

Data-group: 229.1.1.0   Reference count: 4   Active count: 2

  Sender: 185.100.1.1   Active count: 1

    (198.6.1.5, 239.1.3.62)      Remaining lifetime: 00:03:10 active

    (198.6.1.5, 225.1.1.109)     Remaining lifetime: 00:03:10

  Sender: 190.100.1.1   Active count: 1

    (200.6.1.2, 225.1.4.80)      Remaining lifetime: 00:03:10 active

    (200.6.1.2, 225.1.4.173)     Remaining lifetime: 00:03:10

# Display brief information about received IPv4 data groups in the MVXLAN of VPN instance vpna.

<Sysname> display multicast-vpn vxlan vpn-instance vpna data-group receive brief

VPN instance: vpna

Total 2 data-groups for 8 entries

Total 2 data-groups and 8 entries matched

 

Data-group: 226.1.1.0   Reference count: 4   Active count: 2

Data-group: 229.1.1.0   Reference count: 4   Active count: 2

Table 1 Command output

Field

Description

Total 2 data-groups for 8 entries

A total of 2 data groups, associated with 8 (S, G) entries.

Total 2 data-groups and 8 entries matched

A total of 2 matching data groups, associated with 8 (S, G) entries.

Data-group

IP address of the received data group.

Reference count

Number of (S, G) entries that use the data group in the VPN instance.

Active count

Number of active (S, G) entries (entries with active receivers) that use the data group in the VPN instance.

Sender

Address of the VTEP that sent the data group.

Remaining lifetime

Remaining lifetime for the (S, G) entry that uses the data group in the VPN instance.

active

Indicates that the (S, G) entry is active.

 

display multicast-vpn vxlan data-group send

Use display multicast-vpn vxlan data-group send to display sent IPv4 data group information in an MVXLAN.

Syntax

display multicast-vpn vxlan { vpn-instance instance-name | public-instance } data-group send [ group group-address | vpn-source-address [ mask { mask-length | mask } ] | vpn-group-address [ mask { mask-length | mask } ] ] *

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

public-instance: Specifies the public instance.

group group-address: Specifies a data group by its IP address in the range of 224.0.1.0 to 239.255.255.255.

vpn-source-address: Specifies an IPv4 multicast source address of the specified VPN instance. The value range for this argument is 224.0.1.0 to 239.255.255.255.

vpn-group-address: Specifies an IPv4 multicast group address of the specified VPN instance. The value range for this argument is 224.0.1.0 to 239.255.255.255.

mask-length: Specifies a mask length of the specified multicast source address or multicast group address. The value range for this argument is 0 to 32, and the default is 32.

mask: Specifies a subnet mask of the specified multicast source address or multicast group address. The default is 255.255.255.255.

Usage guidelines

If you do not specify any parameters, this command displays information about all sent data groups in the MVXLAN of the specified VPN instance or the public instance.

Examples

# Display information about all sent IPv4 data groups in the MVXLAN of VPN instance vpna.

<Sysname> display multicast-vpn vxlan vpn-instance vpna data-group send

VPN instance: vpna

Total 2 data-groups for 6 entries

Total 2 data-groups and 6 entries matched

 

Data-group: 226.1.1.0   Reference count: 3

  (192.6.1.5, 239.1.1.1)                  Switchover time: 00:00:21

  (192.6.1.5, 239.1.1.158)                Switchover time: 00:00:21

  (192.6.1.5, 239.1.2.50)                 Switchover time: 00:00:05

Data-group: 226.1.1.1   Reference count: 3

  (192.6.1.2, 225.1.1.1)                  Switchover time: 00:00:21

  (192.6.1.2, 225.1.2.50)                 Switchover time: 00:00:05

  (192.6.1.5, 239.1.1.159)                Switchover time: 00:00:21

Table 2 Command output

Field

Description

Total 2 data-groups for 6 entries

A total of 2 data groups, associated with 6 (S, G) entries.

Total 2 data-groups and 6 entries matched

A total of 2 matching data groups, associated with 6 (S, G) entries.

Data-group

Data group address.

Reference count

Number of (S, G) entries that use the data group in the VPN instance.

Switchover time

Switchover time of the (S, G) entry that uses the data group in the VPN instance.

 

display multicast-vpn vxlan default-group

Use display multicast-vpn vxlan default-group to display information about IPv4 default groups.

Syntax

display multicast-vpn vxlan [ vpn-instance instance-name | public-instance ] default-group { local | remote }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

public-instance: Specifies the public instance.

local: Specifies local default groups.

remote: Specifies remote default groups.

Usage guidelines

If you do not specify the vpn-instance instance-name option or the public-instance keyword, this command displays IPv4 default group information for all VPN instances and the public instance.

Examples

# Display information about local IPv4 default groups in all VPN instances and the public instance.

<Sysname> display multicast-vpn vxlan default-group local

MVXLAN local default-group information of VPN instance 50:

 Group address    Source address   Interface

 237.1.0.0        1.1.1.1          MTunnel0

MVXLAN local default-group information of VPN instance vpnc:

 Group address    Source address   Interface

 236.0.0.1        1.1.1.1          MTunnel1

MVXLAN local default-group information of VPN instance vpne:

 Group address    Source address   Interface

 --               1.1.1.1          MTunnel2

# Display information about remote IPv4 default groups in all VPN instances and the public instance.

<Sysname> display multicast-vpn vxlan default-group remote

MVXLAN remote default-group information:

 Group address   Source address  Next hop         VPN instance

 239.1.1.1       1.2.0.1         1.2.0.1          a

 239.1.1.1       1.2.0.2         1.2.0.2          a

 239.1.1.1       1.2.0.3         1.2.0.3          a

 239.1.1.2       1.2.0.1         1.2.0.1          b

 239.1.1.2       1.2.0.2         1.2.0.2          b

 239.1.1.3       1.2.0.1         1.2.0.1          c

Table 3 Command output

Field

Description

Group address

IP address of the default group.

Source address

IP address of the MVXLAN source interface.

This field displays two hyphens (--) if no source interface IP address is configured for the MVXLAN.

Interface

MVXLAN tunnel outgoing interface.

Next hop

Next hop address.

VPN instance

VPN instance to which the default group belongs.

 

display multicast-vpn vxlan ipv6 data-group receive

Use display multicast-vpn vxlan ipv6 data-group receive to display received IPv6 data group information in an MVXLAN.

Syntax

display multicast-vpn vxlan vpn-instance instance-name ipv6 data-group receive [ brief | [ active | group group-address | sender source-address | vpn-source-address [ prefix-length ] | vpn-group-address [ prefix-length ] ] * ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

public-instance: Specifies the public instance.

brief: Displays brief information. If you do not specify this keyword, the command displays detailed information.

active: Specifies data groups that have joined the data MDT.

group group-address: Specifies a data group by its IP address in the range of 224.0.1.0 to 239.255.255.255.

sender source-address: Specifies an MVXLAN source interface by its IP address.

vpn-source-address [ prefix-length ]: Specifies an IPv6 multicast source address of the specified VPN instance. The vpn-source-address argument represents the IPv6 multicast source address, and the prefix-length argument represents the prefix length in the range of 0 to 128, and the default prefix length is 128.

vpn-group-address [ prefix-length ]: Specifies an IPv6 multicast group address of the specified VPN instance. The vpn-group-address argument represents the IPv6 multicast group address, and the value range for this argument is FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F. The prefix-length argument represents the prefix length in the range of 8 to 128, and the default prefix length is 128.

Usage guidelines

If you do not specify any parameters, this command displays detailed information about all received IPv6 data groups in the MVXLAN of the specified VPN instance.

Examples

# Display detailed information about received IPv6 data groups in the MVXLAN of VPN instance vpna.

<Sysname> display multicast-vpn vxlan vpn-instance vpna ipv6 data-group receive

VPN instance: vpna

Total 2 data-groups for 8 entries

Total 2 data-groups and 8 entries matched

 

Data-group: 226.1.1.0  Reference count: 4   Active count: 2

  Sender: 1.1.1.1   Active count: 1

    (192::1, ff1e::1)

    Remaining lifetime: 00:00:00 active

    (192::1, ff1e::2)

    Remaining lifetime: 00:00:00

  Sender: 181.100.1.1   Active count: 1

    (192::2, ff1e::11)

    Remaining lifetime: 00:00:00 active

    (192::2, ff1e::12)

    Remaining lifetime: 00:00:00

 

Data-group: 229.1.1.0   Reference count: 4   Active count: 2

  Sender: 185.100.1.1   Active count: 1

    (192::6, ff1e::15)

    Remaining lifetime: 00:00:00 active

    (192::6, ff1e::16)

    Remaining lifetime: 00:00:00

  Sender: 190.100.1.1   Active count: 1

    (192::11, ff1e::21)

    Remaining lifetime: 00:00:00 active

    (192::11, ff1e::22)

    Remaining lifetime: 00:00:00

# Display brief information about received IPv6 data groups in the MVXLAN of VPN instance vpna.

<Sysname> display multicast-vpn vxlan vpn-instance vpna ipv6 data-group receive brief

VPN instance: vpna

Total 2 data-groups for 8 entries

Total 2 data-groups and 8 entries matched

 

Data-group: 226.1.1.0   Reference count: 4   Active count: 2

Data-group: 229.1.1.0   Reference count: 4   Active count: 2

Table 4 Command output

Field

Description

Total 2 data-groups for 8 entries

A total of 2 data groups, associated with 8 (S, G) entries.

Total 2 data-groups and 8 entries matched

A total of 2 matching data groups, associated with 8 (S, G) entries.

Data-group

IP address of the received data group.

Reference count

Number of (S, G) entries that use the data group in the VPN instance.

Active count

Number of active (S, G) entries (entries with active receivers) that use the data group in the VPN instance.

Sender

Address of the VTEP that sent the data group.

Remaining lifetime

Remaining lifetime for the (S, G) entry that uses the data group in the VPN instance.

active

Indicates that the (S, G) entry is active.

display multicast-vpn vxlan ipv6 data-group send

Use display multicast-vpn vxlan ipv6 data-group send to display sent IPv6 data group information in an MVXLAN.

Syntax

display multicast-vpn vxlan vpn-instance instance-name ipv6 data-group send [ group group-address | vpn-source-address [ prefix-length ] | vpn-group-address [ prefix-length ] ] *

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

public-instance: Specifies the public instance.

group group-address: Specifies a data group by its IP address in the range of 224.0.1.0 to 239.255.255.255.

vpn-source-address [ prefix-length ]: Specifies an IPv6 multicast source address of the specified VPN instance. The vpn-source-address argument represents the IPv6 multicast source address, and the prefix-length argument represents the prefix length in the range of 0 to 128, and the default prefix length is 128.

vpn-group-address [ prefix-length ]: Specifies an IPv6 multicast group address of the specified VPN instance. The vpn-group-address argument represents the IPv6 multicast group address, and the value range for this argument is FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F. The prefix-length argument represents the prefix length in the range of 8 to 128, and the default prefix length is 128.

Usage guidelines

If you do not specify any parameters, this command displays detailed information about all sent IPv6 data groups in the MVXLAN of the specified VPN instance.

Examples

# Display information about all sent data groups in the MVXLAN of VPN instance vpna.

<Sysname> display multicast-vpn vxlan vpn-instance vpna ipv6 data-group send

VPN instance: vpna

Total 2 data-groups for 6 entries

Total 2 data-groups and 6 entries matched

 

Data-group: 226.1.1.0   Reference count: 3

  (192::1, ff1e::1)

   Switchover time: 00:00:21

  (192::1, ff1e::2)

   Switchover time: 00:00:21

  (192::1, ff1e::3)

   Switchover time: 00:00:05

Data-group: 226.1.1.1   Reference count: 3

  (192::2, ff1e::4)

   Switchover time: 00:00:21

  (192::2, ff1e::5)

   Switchover time: 00:00:05

  (192::2, ff1e::6)

   Switchover time: 00:00:21

Table 5 Command output

Field

Description

Total 2 data-groups for 6 entries

A total of 2 data groups, associated with 6 (S, G) entries.

Total 2 data-groups and 6 entries matched

A total of 2 matching data groups, associated with 6 (S, G) entries.

Data-group

Data group address.

Reference count

Number of (S, G) entries that use the data group in the VPN instance.

Switchover time

Switchover time of the (S, G) entry that uses the data group in the VPN instance.

display multicast-vpn vxlan ipv6 default-group

Use display multicast-vpn vxlan ipv6 default-group to display information about IPv6 default groups.

Syntax

display multicast-vpn vxlan [ vpn-instance instance-name ] ipv6 default-group { local | remote }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

local: Specifies local default groups.

remote: Specifies remote default groups.

Usage guidelines

If you do not specify the vpn-instance instance-name option, this command displays default group information for all VPN instances.

Examples

# Display information about local default groups in all VPN instances.

<Sysname> display multicast-vpn vxlan ipv6 default-group local

MVXLAN local default-group information of VPN instance 50:

 Group address    Source address   Interface

 237.1.0.0        1.1.1.1          MTunnel0

MVXLAN local default-group information of VPN instance vpnc:

 Group address    Source address   Interface

 236.0.0.1        1.1.1.1          MTunnel1

MVXLAN local default-group information of VPN instance vpne:

 Group address    Source address   Interface

 --               1.1.1.1          MTunnel2

# Display information about remote default groups in all VPN instances.

<Sysname> display multicast-vpn vxlan ipv6 default-group remote

MVXLAN remote default-group information:

 Group address   Source address  Next hop         VPN instance

 239.1.1.1       1.2.0.1         1.2.0.1          a

 239.1.1.1       1.2.0.2         1.2.0.2          a

 239.1.1.1       1.2.0.3         1.2.0.3          a

 239.1.1.2       1.2.0.1         1.2.0.1          b

 239.1.1.2       1.2.0.2         1.2.0.2          b

Table 6  239.1.1.3       1.2.0.1         1.2.0.1          c Command output

Field

Description

Group address

IP address of the default group.

Source address

IP address of the MVXLAN source interface.

This field displays two hyphens (--) if no source interface IP address is configured for the MVXLAN.

Interface

MVXLAN tunnel outgoing interface.

Next hop

Next hop address.

VPN instance

VPN instance to which the default group belongs.

ipv6 multicast extranet select-rpf

Use ipv6 multicast extranet select-rpf to configure an IPv6 MVXLAN extranet RPF selection policy.

Use undo ipv6 multicast extranet select-rpf to delete an IPv6 MVXLAN extranet RPF selection policy.

Syntax

ipv6 multicast extranet select-rpf [ l3-vni vxlan-id | vpn-instance vpn-instance-name ] { group group-address prefix-length | source source-address prefix-length } *

undo ipv6 multicast extranet select-rpf [ l3-vni vxlan-id | vpn-instance vpn-instance-name ] { group group-address prefix-length | source source-address prefix-length } *

Default

No IPv6 MVXLAN extranet RPF selection policies are configured.

Views

IPv6 MRIB view

Predefined user roles

network-admin

Parameters

l3-vni vxlan-id: Specifies the L3 VXLAN ID of the VPN instance to which the multicast source belongs. The value range for the vxlan-id argument is 0 to 16777215. If the multicast source belongs to the public network, do not specify this option.

vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the multicast source belongs. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. The PIM routing entry will select this VPN instance for the upstream RPF neighbor. If the multicast source belongs to the public network, do not specify this option.

group group-address prefix-length: Specifies a multicast group address in the policy. If you do not this option, all multicast traffic that matches the source address in the policy in the source VPN instance will be directed to the receiver VPN instance.

·     The group-address argument represents the IPv6 multicast group address, and the value range for this argument is FFxy::/16, where "x" represents any hexadecimal numbers from 0 to F and "y" represents 0 or any hexadecimal characters from 2 to F.

·     The prefix-length argument represents the prefix length in the range of 8 to 128.

source source-address prefix-length: Specifies a source address in the policy. If you do not specify this option, all multicast traffic that matches the multicast group in the policy in the source VPN instance will be directed to the receiver VPN instance.

·     The source-address argument represents the IPv6 multicast source address.

·     The prefix-length argument represents the prefix length in the range of 0 to 128.

Usage guidelines

MVXLAN extranet RPF routing policies are used for multicast transmission when multicast sources and receivers are located in different VPNs.

MVXLAN extranet RPF selection policies identify the multicast traffic to forward between VPN instances based on the L3 VXLAN ID or VPN instance of traffic.

You cannot specify both an L3 VXLAN ID and an MPLS L3VPN instance for a multicast source address and multicast group address pair.

The PIM mode in the source VPN instance and the receiver VPN instance must be the same. Only PIM-SM and PIM-SSM are supported.

If an IPv6 MVXLAN extranet RPF selection policy with only the multicast group address specified is configured in the receiver VPN instance, the intra-VPN multicast traffic transmission will be interrupted.

Multicast source addresses in different IPv6MVXLAN extranet RPF routing policies cannot be the same, but they can overlap. The same restriction applies to the multicast group addresses in different MVXLAN extranet RPF routing policies. If multiple routing policies exist for an (S, G) entry, the device selects the policy in which the multicast group address has the longest mask. If multiple policies have the same mask length, the device selects the policy in which the multicast source address has the longest mask.

Examples

# Configure an IPv6 MVXLAN extranet RPF selection policy to direct multicast traffic from VPN instance vpn-source to VPN instance vpn-receiver.

<Sysname> system-view

[Sysname] ipv6 multicast routing vpn-instance vpn-receiver

[Sysname-mrib6-vpn-receiver] ipv6 multicast extranet select-rpf vpn-instance vpn-source group ff1e::0 64

multicast extranet select-rpf

Use multicast extranet select-rpf to configure an IPv4 MVXLAN extranet RPF selection policy.

Use undo multicast extranet select-rpf to delete an IPv4 MVXLAN extranet RPF selection policy.

Syntax

multicast extranet select-rpf [ l3-vni vxlan-id | vpn-instance vpn-instance-name ] { group group-address { mask | mask-length } | source source-address { mask | mask-length } } *

undo multicast extranet select-rpf [ l3-vni vxlan-id | vpn-instance vpn-instance-name ] { group group-address { mask | mask-length } | source source-address { mask | mask-length } } *

Default

No IPv4 MVXLAN extranet RPF selection policies are configured.

Views

MRIB view

Predefined user roles

network-admin

Parameters

l3-vni vxlan-id: Specifies the L3 VXLAN ID of the VPN instance to which the multicast source belongs. The value range for the vxlan-id argument is 0 to 16777215. If the multicast source belongs to the public network, do not specify this option.

vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the multicast source belongs. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. The PIM routing entry will select this VPN instance for the upstream RPF neighbor. If the multicast source belongs to the public network, do not specify this option.

group group-address: Specifies a multicast group address in the policy. The address range is 224.0.1.0 to 239.255.255.255. If you do not this option, all multicast traffic that matches the source address in the policy in the source VPN instance will be directed to the receiver VPN instance.

source source-address: Specifies a source address in the policy, which can a multicast source address or the address of the RP designated to multicast groups. If you do not specify this option, all multicast traffic that matches the multicast group in the policy in the source VPN instance will be directed to the receiver VPN instance.

mask-length: Specifies a mask length for the multicast source address or the multicast group address. For a multicast group address, the value range for this argument is 4 to 32. For a multicast source address, the value range for this argument is 0 to 32.

mask: Specifies a subnet mask for the multicast source address or the multicast group address.

Usage guidelines

MVXLAN extranet RPF routing policies are used for multicast transmission when multicast sources and receivers are located in different VPNs.

MVXLAN extranet RPF selection policies identify the multicast traffic to forward between VPN instances based on the L3 VXLAN ID or VPN instance of traffic.

You cannot specify both an L3 VXLAN ID and an MPLS L3VPN instance for a multicast source address and multicast group address pair.

If the multicast source resides on the public network, do not specify an L3 VXLAN ID or MPLS L3VPN instance.

The PIM mode in the source VPN instance and the receiver VPN instance must be the same. Only PIM-SM and PIM-SSM are supported.

If an MVXLAN extranet RPF selection policy with only the multicast group address specified is configured in the receiver VPN instance, the intra-VPN multicast traffic transmission will be interrupted.

Multicast source addresses in different MVXLAN extranet RPF routing policies cannot be the same, but they can overlap. The same restriction applies to the multicast group addresses in different MVXLAN extranet RPF routing policies. If multiple routing policies exist for an (S, G) entry, the device selects the policy in which the multicast group address has the longest mask. If multiple policies have the same mask length, the device selects the policy in which the multicast source address has the longest mask.

Examples

# Configure an IPv4 MVXLAN extranet RPF selection policy to direct multicast traffic from VPN instance vpn-source to VPN instance vpn-receiver.

<Sysname> system-view

[Sysname] multicast routing vpn-instance vpn-receiver

[Sysname-mrib-vpn-receiver] multicast extranet select-rpf vpn-instance vpn-source source 192.168.10.0 24

[Sysname-mrib-vpn-receiver] multicast extranet select-rpf vpn-instance vpn-source source 1.1.1.1 24

multicast-vpn vxlan dci switch-delay

Use multicast-vpn vxlan dci switch-delay to set the global traffic switchback delay on an ED that provides DCI Layer 3 multicast services.

Use undo multicast-vpn vxlan dci switch-delay to restore the default.

Syntax

multicast-vpn vxlan dci switch-delay delay-time

undo multicast-vpn vxlan dci switch-delay

Default

The global traffic switchback delay is 10 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

delay-time: Sets the traffic switchback delay in seconds, in the range of 0 to 3600. A value of 0 indicates that traffic switchback is not delayed.

Usage guidelines

If one of the redundant EDs fails at a multihomed site with DCI Layer 3 multicast configured, traffic of the failed ED is distributed to the other EDs for forwarding. After the failed ED recovers, it will advertise BGP EVPN routes to create multicast forwarding entries. If traffic is switched back before the recovered ED creates multicast forwarding entries, traffic forwarding is interrupted. To avoid traffic interruption, set the traffic switchback delay on all the redundant EDs.

You can set the traffic switchback delay in system view and MVXLAN address family view. The global traffic switchback delay takes effect on all MVXLANs, and the traffic switchback delay set in MVXLAN address family view takes effect on a per-MVXLAN basis. For an MVXLAN, the MVXLAN-specific traffic switchback delay takes precedence over the global one.

Examples

# Set the global traffic switchback delay to 50 seconds in system view.

<Sysname> system-view

[Sysname] multicast-vpn vxlan dci switch-delay 50

Related commands

dci switch-delay

multicast-vpn vxlan m-lag local

Use multicast-vpn vxlan m-lag local to globally specify the IP addresses of the member devices in an M-LAG system.

Use undo multicast-vpn vxlan m-lag local to restore the default.

Syntax

multicast-vpn vxlan m-lag local local-ipv4-address remote remote-ipv4-address

undo multicast-vpn vxlan m-lag local

Default

The IP addresses of the member devices in an M-LAG system are not specified globally.

Views

System view

Predefined user roles

network-admin

Parameters

local-ipv4-address: Specifies the IPv4 address of the local member device.

remote-ipv4-address: Specifies the IPv4 address of the peer member device.

Usage guidelines

When you specify the IP addresses of the VTEPs or border devices in an M-LAG system, follow these restrictions and guidelines:

·     IP address of the local member device—Specify the public IP address of a local loopback interface. Make sure the downstream devices have Layer 3 connectivity to this IP address. If both the peer link and keepalive link go down, the local member device will use this IP address to set up multicast tunnels.

·     IP address of the peer member device—Specify an IP address on the peer M-LAG member device. This IP address is used to recognize the SBD-SMET and S-PMSI A-D routes sent by the peer M-LAG member device.

For an MVXLAN, the following settings are in descending order of priority:

·     The m-lag local setting in MVXLAN address family view. This setting takes effect on a per-MVXLAN basis.

·     The multicast-vpn vxlan m-lag local setting in system view. This setting takes effect on al MVXLANs.

·     The evpn m-lag local setting in system view. This setting takes effect on al MVXLANs.

Examples

# Specify the IP addresses of the local and peer member devices in an M-LAG system as 2.2.2.2 and 3.3.3.3, respectively.

<Sysname> system-view

[Sysname] multicast-vpn vxlan m-lag local 2.2.2.2 remote 3.3.3.3

Related commands

m-lag local

evpn m-lag local

multicast-vpn vxlan edge remote

Use multicast-vpn vxlan edge remote to specify a peer ED for ED redundancy in the same data center for Layer 3 multicast in DCI multihoming scenarios.

Use undo multicast-vpn vxlan edge remote to remove the peer ED configuration for ED redundancy.

Syntax

multicast-vpn vxlan edge remote remote-ipv4-address

undo multicast-vpn vxlan edge remote [ remote-ipv4-address ]

Default

No peer ED is specified for ED redundancy in the same data center for Layer 3 multicast in DCI multihoming scenarios.

Views

System view

Predefined user roles

network-admin

Parameters

remote-ipv4-address: Specifies the IPv4 address of a peer ED.

Usage guidelines

To avoid single point of failure for Layer 3 multicast in DCI scenarios, you can deploy multiple EDs at the edge of a data center. On each ED, specify the IP addresses of the other EDs in the same data center in order to recognize the S-PMSI A-D routes from these EDs. This configuration avoids the local ED from joining the multicast tunnels of the other EDs in the same data center.

Repeat this command to specify the IP addresses of multiple EDs in the same data center.

If you do not specify the remote-ipv4-address argument when executing the undo multicast-vpn vxlan edge remote command, the command removes the IP addresses of all peer EDs from the local ED.

Examples

# Specify the peer EDs at 3.3.3.3 and 4.4.4.4 for ED redundancy in the same data center for Layer 3 multicast in DCI multihoming scenarios.

<Sysname> system-view

[Sysname] multicast-vpn vxlan edge remote 3.3.3.3

[Sysname] multicast-vpn vxlan edge remote 4.4.4.4

multicast-vpn vxlan public-instance

Use multicast-vpn vxlan public-instance to create an MVXLAN for the public instance and enter its view, or enter the view of the existing public instance MVXLAN.

Use undo multicast-vpn vxlan public-instance to delete the public instance MVXLAN and all settings in public instance MVXLAN view.

Syntax

multicast-vpn vxlan public-instance mode mdt { ingress-replication | mdt }

undo multicast-vpn vxlan public-instance

Default

No MVXLAN exists in the public instance.

Views

System view

Predefined user roles

network-admin

Parameters

mode: Specifies the MVXLAN mode.

ingress-replication: Sets the mode to ingress replication.

mdt: Sets the mode to MDT.

Examples

# Create an MDT-based MVXLAN for the public instance and enter public instance MVXLAN view.

<Sysname> system-view

[Sysname] multicast-vpn vxlan public-instance mode mdt

[Sysname—mvxlan-public-instance]

multicast-vpn vxlan vpn-instance

Use multicast-vpn vxlan vpn-instance to create an MVXLAN for a VPN instance and enter its view, or enter the view of an existing VPN instance MVXLAN.

Use undo multicast-vpn vxlan vpn-instance to delete a VPN instance MVXLAN and all settings in its view.

Syntax

multicast-vpn vxlan vpn-instance instance-name mode { ingress-replication | mdt }

undo multicast-vpn vxlan vpn-instance instance-name

Default

No MVXLAN exists in a VPN instance.

Views

System view

Predefined user roles

network-admin

Parameters

instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

mode: Specifies the MVXLAN mode.

ingress-replication: Sets the mode to ingress replication.

mdt: Sets the mode to MDT.

Examples

# Create an MDT-based MVXLAN for VPN instance vpna and enter VPN instance MVXLAN view.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname—mvxlan-vpna]

s-pmsi advertise source-active

Use s-pmsi advertise source-active to enable advertising active multicast sources through S-PMSI routes.

Use undo s-pmsi advertise source-active to restore the default.

Syntax

s-pmsi advertise source-active

undo s-pmsi advertise source-active

Default

The device does not advertise active multicast sources through S-PMSI routes.

Views

MVXLAN IPv4 address family view

MVXLAN IPv6 address family view

Predefined user roles

network-admin

Usage guidelines

This command enables the VTEP to advertise an S-PMSI route for a (S, G) entry after it receives multicast traffic for the entry. The S-PMSI routes carry information about active multicast sources and allow other VTEPs and EDs in the MVXLAN network to be aware of multicast source location changes.

If you execute both the s-pmsi advertise source-active and data-group commands, set the data-delay period to be longer than the frequency of sending the same route update to a peer or peer group. If you fail to do so, BGP might suppress advertisement of the S-PMSI routes for the data group, and traffic will be interrupted during the switchover from the default MDT to the data MDT. To set the data-delay period, use the data-delay command. To set the frequency of sending the same route update to a peer or peer group, use the peer route-update-interval command.

Examples

# Enable the device to advertise active multicast sources through S-PMSI routes in MVXLAN IPv4 address family view of VPN instance vpna.

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv4

[Sysname-mvxlan-vpn-instance-vpna-ipv4] s-pmsi advertise source-active

Related commands

peer route-update-interval (Layer 3—IP Routing Command Reference)

source

Use source to specify an MVXLAN source interface.

Use undo source to restore the default.

Syntax

source interface-type interface-number

undo source

Default

No MVXLAN source interface is specified.

Views

MVXLAN IPv4 address family view

MVXLAN IPv6 address family view

Predefined user roles

network-admin

Parameters

interface-type interface-number: Specifies an interface by its type and number.

Examples

# In MVXLAN IPv4 address family view of VPN instance vpna, specify Loopback 0 as the MVXLAN source interface. (Loopback 0 is the source interface used for establishing BGP peer relationship.)

<Sysname> system-view

[Sysname] multicast-vpn vxlan vpn-instance vpna mode mdt

[Sysname-mvxlan-vpn-instance-vpna] address-family ipv4

[Sysname-mvxlan-vpn-instance-vpna-ipv4] source loopback 0

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网