14-IP Multicast Command Reference

HomeSupportReference GuidesCommand ReferencesH3C SecPath M9000 Command Reference(V7)(E9X71)-6W70014-IP Multicast Command Reference
08-Multicast VPN commands
Title Size Download
08-Multicast VPN commands 161.03 KB

Multicast VPN commands

address-family ipv4

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

Use undo address-family ipv4 to delete the MVPN IPv4 address family and configurations in MVPN IPv4 address family view.

Syntax

address-family ipv4

undo address-family ipv4

Default

No MVPN IPv4 address family exists.

Views

MVPN view

Predefined user roles

network-admin

context-admin

Usage guidelines

Configurations in MVPN IPv4 address family view of a VPN instance apply only to IPv4 multicast packets of that instance.

Examples

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

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4]

address-family ipv4 mdt

Use address-family ipv4 mdt to create a BGP IPv4 MDT address family and enter its view, or enter the view of the existing BGP IPv4 MDT address family.

Use undo address-family ipv4 mdt to delete the BGP IPv4 MDT address family and all configurations in BGP IPv4 MDT address family view.

Syntax

address-family ipv4 mdt

undo address-family ipv4 mdt

Default

No BGP IPv4 MDT address family exists.

Views

BGP instance view

Predefined user roles

network-admin

context-admin

Usage guidelines

Execute this command before you use the peer enable command to enable BGP peers to exchange MDT information. MDT information includes the IP address of a PE device and the default group to which the PE device belongs. On a public network running PIM-SSM, multicast VPN establishes a default MDT rooted at the PE device (multicast source) based on the MDT information.

Configurations in BGP IPv4 MDT address family view takes effect only on BGP MDT messages, BGP MDT peers, and BGP MDT peer groups.

Examples

# In BGP instance view of BGP instance default, create a BGP IPv4 MDT address family and enter its view.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family ipv4 mdt

[Sysname-bgp-default-mdt]

# In BGP instance view of BGP instance abc, create a BGP IPv4 MDT address family and enter its view.

<Sysname> system-view

[Sysname] bgp 100 instance abc

[Sysname-bgp-abc] address-family ipv4 mdt

[Sysname-bgp-abc-mdt]

Related commands

peer enable (see Layer 3—IP Routing Configuration Guide)

address-family ipv6

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

Use undo address-family ipv6 to delete the MVPN IPv6 address family and configurations in MVPN IPv6 address family view.

Syntax

address-family ipv6

undo address-family ipv6

Default

No MVPN IPv6 address family exists.

Views

MVPN view

Predefined user roles

network-admin

context-admin

Usage guidelines

Configurations in MVPN IPv6 address family view of a VPN instance apply only to IPv6 multicast packets of that instance.

Examples

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

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv6

[Sysname-mvpn-mvpn-ipv6]

data-delay

Use data-delay to set the data delay period (delay period before the default MDT switches 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

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

context-admin

Parameters

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

Usage guidelines

This command is available only for MDT-based MVPNs.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, set the data delay period to 20 seconds.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4] data-delay 20

data-group

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

Use undo data-group to restore the default.

Syntax

data-group group-address { mask-length | mask } [ acl acl-number | threshold threshold-value ] *

undo data-group

Default

No data group range exists, and the default MDT to data MDT switchover never occurs.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

context-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.

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

acl acl-number: Specifies an advanced ACL by its number in the range of 3000 to 3999. 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. For the ACL to take effect, specify the protocol type as IP, and include the source and destination keywords when you create an ACL rule. The source and destination keywords specify a multicast source address range and a multicast group address range, respectively.

threshold threshold-value: Sets the traffic rate threshold that triggers an MDT switchover. The value range for the threshold-value argument is 0 to 16777216 kbps, and the default is 0 kbps.

Usage guidelines

This command enables the device to trigger the default MDT to data MDT switchover when the following conditions exist:

·     The VPN multicast data permitted by the ACL keeps arriving for a data delay period.

·     The rate of the VPN multicast data stays higher than the traffic threshold during the data delay period.

On a PE, the data group range for an MVPN cannot include the default group or data groups of any other MVPN. For an MVPN that transmits both IPv4 and IPv6 multicast packets, the data group ranges in MVPN IPv4 address family view and MVPN IPv6 address family view cannot overlap.

All VPN instances share the data group resources. As a best practice to avoid data group resource exhaustion, specify a reasonable data group range for a VPN instance.

The data group ranges for different MDs on different PE devices cannot overlap if the PIM mode is not PIM-SSM on the public network.

The data group range specified in this command cannot contain the multicast group address for flood traffic specified by using the group command in VXLAN view. For more information about the multicast group address for VXLAN flood traffic, see basic VXLAN feature configuration in VXLAN Configuration Guide.

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

If BIDIR-PIM runs in a VPN instance, the switchover from the default MDT to a data MDT is not supported.

This command is available only for MDT-based MVPNs.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, specify 239.1.2.0/24 as the data group range.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4] data-group 239.1.2.0 24

data-holddown

Use data-holddown to set the data hold-down period (hold-down period before the device switches back from data MDT to the default MDT).

Use undo data-holddown to restore the default.

Syntax

data-holddown delay

undo data-holddown

Default

The data hold-down period is 60 seconds.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

context-admin

Parameters

delay: Specifies a data hold-down period in the range of 0 to 180 seconds.

Usage guidelines

This command is available only for MDT-based MVPNs.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, set the data hold-down period to 120 seconds.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4] data-holddown 120

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

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

conntext-admin

Parameters

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

Usage guidelines

You must specify the same default group on all PE devices that belong to the same MVPN.

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

The default group address specified in this command must be different from the multicast group address for flood traffic specified by using the group command in VXLAN view. For more information about the multicast group address for VXLAN flood traffic, see basic VXLAN feature configuration in VXLAN Configuration Guide.

For an MVPN that transmits both IPv4 and IPv6 multicast packets, you must specify the same default group in MVPN IPv4 address family view and MVPN IPv6 address family view.

This command is available only for MDT-based MVPNs.

Examples

# In MVPN IPv4 family view and MVPN IPv6 address family view of VPN instance mvpn, specify 239.1.1.1 as the default group.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4] default-group 239.1.1.1

[Sysname-mvpn-mvpn-ipv4] quit

[Sysname-mvpn-mvpn] address-family ipv6

[Sysname-mvpn-mvpn-ipv6] default-group 239.1.1.1

display bgp routing-table ipv4 mdt

Use display bgp routing-table ipv4 mdt to display BGP MDT routing information.

Syntax

display bgp [ instance instance-name ] routing-table ipv4 mdt [ route-distinguisher route-distinguisher ] [ ip-address [ advertise-info ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a BGP instance, this command displays BGP MDT routing information for the BGP instance default.

route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters. If you do not specify an RD, this command displays BGP MDT routing information for all RDs. An RD can be in one of the following formats:

·     16-bit AS number:32-bit user-defined number. For example, 101:3.

·     32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.

·     32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater than 65536. For example, 65536:1.

ip-address: Specifies a multicast source by its IP address. The ip-address argument represents the IP address of the PE device in the default MDT. If you do not specify a multicast source, this command displays brief information about BGP MDT routes for all multicast sources.

advertise-info: Displays advertisement information. If you do not specify this keyword, no advertisement information is displayed.

Examples

# Display brief information about BGP MDT routes for all multicast sources.

<Sysname> display bgp routing-table ipv4 mdt

 

 BGP local router ID is 1.1.1.1

 Status codes: * - valid, > - best, d - dampened, h - history,

               s - suppressed, S - stale, i - internal, e - external

               Origin: i - IGP, e - EGP, ? - incomplete

 

 Route distinguisher: 100:1

 Total number of routes: 2

 

     Network            NextHop         MED        LocPrf     PrefVal Path/Ogn

 

* >  1.1.1.1/32         0.0.0.0                               32768   ?

* >i 2.2.2.2/32         2.2.2.2                    100        0       ?

# Display detailed information about BGP MDT routes for multicast source 1.1.1.1.

<Sysname> display bgp routing-table ipv4 mdt 1.1.1.1

 

 BGP local router ID: 1.1.1.1

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP MDT information of source 1.1.1.1:

 Default-group   : 224.1.1.1

 Original nexthop: 0.0.0.0

 AS-path         : (null)

 Origin          : incomplete

 Attribute value : pref-val 32768

 State           : valid, local, best

IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

# Display advertisement information about BGP MDT routes for multicast source 1.1.1.1.

<Sysname> display bgp routing-table ipv4 mdt 1.1.1.1 advertise-info

 

 BGP local router ID: 1.1.1.1

 Local AS number: 100

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 best

 

 BGP MDT information of source 1.1.1.1:

 Default-group: 224.1.1.1

 Advertised to peers (1 in total):

     6.6.6.6

Table 1 Command output

Field

Description

BGP local router ID

ID of the local router.

Status codes

Codes of route status:

·     * – valid—Valid route.

·     > – best—Best route.

·     d – damped—Dampened route.

·     h – history—History route.

·     s – suppressed—Suppressed route.

·     S – Stale—Stale route.

·     i – internal—Internal route.

·     e – external—External route.

Origin

Origin of the route information:

·     i – IGP—Originated in the AS. The origins of the routes advertised by the network command are IGP.

·     e – EGP—Learned through EGP.

·     ? – incomplete—Learned by some other means. The origins of routes redistributed by IGP are incomplete.

Total number of routes

Total number of BGP MDT routes.

Network

Source IP address of the default MDT.

NextHop

IP address of the next hop.

MED

Attribute value of Multi-Exit-Discrimination (MED).

LocPrf

Local preference value.

PrefVal

Preferred value of a route.

Path/Ogn

AS PATH attribute and ORIGIN attribute:

·     AS_PATH—Records the ASs the packet has passed to avoid routing loops.

·     ORIGIN—Identifies the origin of the BGP MDT routes.

Paths

Number of the BGP MDT routes:

·     available—Number of valid BGP MDT routes.

·     best—Number of the best BGP MDT routes.

BGP MDT information of source 1.1.1.1

BGP MDT routing information for the multicast source 1.1.1.1.

Default-group

Default group address to which the route belongs.

Advertised to peers (1 in total)

Peers to which the route has been advertised and total number of peers.

From

IP address of the BGP peer that advertises the BGP MDT route.

Original nexthop

IP address of the original next hop.

If the BGP MDT route is learned from the BGP update message, this field displays the IP address of the next hop that receives the message.

AS-path

AS PATH attribute of the path, recording the ASs that the BGP MDT route has passed to avoid routing loops.

Attribute value

Attributes of the BGP MDT routes:

·     MED—MED value related to destination network.

·     Localpref—Local preferred value.

·     pref-val—Preferred value of the route.

·     pre—Preferred value of the protocol.

State

Current states:

·     valid—Valid routes.

·     internal—Internal routes.

·     external—External routes.

·     local—Local routes.

·     synchronize—Synchronized routes.

·     best—Best routes.

IP precedence

IP precedence of the route. This field displays N/A if the route does not carry this field.

QoS local ID

QoS local ID of the route. This field displays N/A if the route does not carry this field.

Traffic index

Traffic index of the route. This field displays N/A if the route does not carry this field.

 

display multicast-vpn data-group receive

Use display multicast-vpn data-group receive to display information about data groups that are received in the MVPN of a VPN instance for IPv4 multicast transmission.

Syntax

display multicast-vpn vpn-instance vpn-instance-name 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

context-admin

context-operator

Parameters

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

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 MVPN source interface by its IP address.

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

vpn-group-address: Specifies a multicast group address of the specified VPN instance. The value range for this argument is 224.0.0.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.

Examples

# Display detailed information about data groups that are received in the MVPN of VPN instance mvpn for IPv4 multicast transmission.

<Sysname> display multicast-vpn vpn-instance mvpn data-group receive

MVPN data-group information received by VPN instance: mvpn

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: 172.100.1.1   Active count: 1

    (192.6.1.5, 239.1.1.1)       expires: 00:03:10 active

    (192.6.1.5, 239.1.1.158)     expires: 00:03:10

  Sender:  181.100.1.1, active count: 1

    (195.6.1.2, 239.1.2.12)      expires: 00:03:10 active

    (195.6.1.2, 239.1.2.197)     expires: 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)      expires: 00:03:10 active

    (198.6.1.5, 225.1.1.109)     expires: 00:03:10

  Sender: 190.100.1.1   Active count: 1

    (200.6.1.2, 225.1.4.80)      expires: 00:03:10 active

    (200.6.1.2, 225.1.4.173)     expires: 00:03:10

# Display brief information about data groups that are received in the MVPN of VPN instance mvpn for IPv4 multicast transmission.

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

MVPN data-group information received by VPN instance: mvpn

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 2 Command output

Field

Description

MVPN data-group information received by VPN instance: mvpn

Information about data groups that are received in the MVPN of the VPN instance mvpn for IPv4 multicast transmission.

Total 2 data-groups for 8 entries

A total of two data groups, associated with eight (S, G) entries.

Total 2 data-groups and 8 entries matched

A total of two matching data groups, associated with eight (S, G) entries.

Data-group

IP address of the received data group.

Sender

BGP peer address of the PE device that sent the 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.

expires

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

 

display multicast-vpn data-group send

Use display multicast-vpn data-group send to display information about data groups that are sent in the MVPN of a VPN instance for IPv4 multicast transmission.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

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

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

reuse interval: Specifies an interval during which data group reuses occur, in the range of 1 to 2147483647 seconds.

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

vpn-group-address: Specifies a multicast group address of the specified VPN instance. The value range for this argument is 224.0.0.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.

Examples

# Display information about data groups that are sent in the MVPN of VPN instance mvpn for IPv4 multicast transmission.

<Sysname> display multicast-vpn vpn-instance mvpn data-group send

MVPN data-group information sent by VPN instance: mvpn

Total 2 data-groups for 6 entries

Total 2 data-groups and 6 entries matched

 

  Reference count of 226.1.1.0: 3

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

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

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

  Reference count of 226.1.1.1: 3

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

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

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

# Display reuse information about data groups that are sent in the MVPN of VPN instance mvpn for IPv4 multicast transmission within 30 seconds.

<Sysname> display multicast-vpn vpn-instance mvpn data-group send reuse 30

MVPN data-group information sent by VPN instance: mvpn

Total 2 data-groups for 3 entries

Total 2 data-groups and 3 entries matched

 

  Reuse count of 226.1.1.0: 1

  Reuse count of 226.1.1.1: 1

  Reuse count of 226.1.1.2: 1

Table 3 Command output

Field

Description

MVPN data-group information sent by VPN instance: mvpn

Information about data groups that are sent in the MVPN of the VPN instance mvpn for IPv4 multicast transmission.

Total 2 data-groups for 6 entries

A total of two data groups, associated with six (S, G) entries.

Total 2 data-groups and 6 entries matched

A total of two matching data groups, associated with six (S, G) entries.

Reference count of 226.1.1.0

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

switch time

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

Reuse count of 226.1.1.0

Number of times that the data group is reused during the specified length of time.

 

display multicast-vpn default-group

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

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the command displays information about default groups of all VPN instances for IPv4 multicast transmission.

local: Specifies local default groups for IPv4 multicast transmission.

remote: Specifies remote default groups for IPv4 multicast transmission.

Examples

# Display information about local default groups of all VPN instances for IPv4 multicast transmission.

<Sysname> display multicast-vpn default-group local

MVPN local default-group information:

 Group address    Source address   Interface     VPN instance

 239.1.1.1        1.1.1.1          MTunnel0      mvpna

 239.2.1.1        1.1.1.1          MTunnel1      mvpnb

 239.3.1.1        --               MTunnel2      mvpnc

# Display information about remote default groups of all VPN instances for IPv4 multicast transmission.

<Sysname> display multicast-vpn default-group remote

MVPN 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          -

Table 4 Command output

Field

Description

Group address

IP address of the default group for IPv4 multicast transmission.

Source address

IP address of the MVPN source interface, which is used by the MTI as the source address to encapsulate multicast packets for the VPN instance.

Interface

MTI interface.

Next hop

IP address of the next hop.

VPN instance

VPN instance to which the default group belongs.

 

display multicast-vpn ipv6 data-group receive

Use display multicast-vpn ipv6 data-group receive to display information about data groups that are received in the MVPN of a VPN instance for IPv6 multicast transmission.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

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

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 address in the range of 224.0.1.0 to 239.255.255.255.

sender source-address: Specifies an MVPN source interface by its address.

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

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

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

Examples

# Display detailed information about data groups that are received in the MVPN of VPN instance mvpn for IPv6 multicast transmission.

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

MVPN data-group information received by VPN instance: mvpn

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: 172.100.1.1   Active count: 1

(192::1, ff1e::1)

expires: 00:03:10 active

(192::1, ff1e::2)

expires: 00:03:10

Sender:  181.100.1.1, active count: 1

(192::2, ff1e::11)

expires: 00:03:10 active

(192::2, ff1e::12)

expires: 00:03:10

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

Sender: 185.100.1.1   Active count: 1

(192::6, ff1e::15)

expires: 00:03:10 active

(192::6, ff1e::16)

expires: 00:03:10

Sender: 190.100.1.1   Active count: 1

(192::11, ff1e::21)

expires: 00:03:10 active

(192::11, ff1e::22)

expires: 00:03:10

# Display brief information about data groups that are received in the MVPN of VPN instance mvpn for IPv6 multicast transmission.

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

MVPN data-group information received by VPN instance: mvpn

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 5 Command output

Field

Description

MVPN data-group information received by VPN instance: mvpn

Information about data groups that are received in the MVPN of the VPN instance mvpn for IPv6 multicast transmission.

Total 2 data-groups for 8 entries

A total of two data groups, associated with eight (S, G) entries.

Total 2 data-groups and 8 entries matched

A total of two matching data groups, associated with eight matching (S, G) entries.

Data-group

IP address of the received data group.

Sender

BGP peer address of the PE device that sent the 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 receivers) that use the data group in the VPN instance.

expires

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

 

display multicast-vpn ipv6 data-group send

Use display multicast-vpn ipv6 data-group send to display information about data groups that are sent in the MVPN of a VPN instance for IPv6 multicast transmission.

Syntax

display multicast-vpn vpn-instance vpn-instance-name ipv6 data-group send [ group group-address | reuse interval | vpn-source-address [ mask-length ] | vpn-group-address [ mask-length ] ] *

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

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

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

reuse interval: Specifies an interval during which data group reuses occur, in the range of 1 to 2147483647 seconds.

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

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

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

Examples

# Display information about data groups that are sent in the MVPN of VPN instance mvpn for IPv6 multicast transmission.

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

MVPN data-group information sent by VPN instance: mvpn

Total 2 data-groups for 6 entries

Total 2 data-groups and 6 entries matched

 

Reference count of 226.1.1.0: 3

(192::1, ff1e::1)

switch time: 00:00:21

(192::1, ff1e::2)

switch time: 00:00:21

(192::1, ff1e::3)

 switch time: 00:00:05

Reference count of 226.1.1.1: 3

(192::2, ff1e::4)

switch time: 00:00:21

(192::2, ff1e::5)

switch time: 00:00:05

(192::2, ff1e::6)

 switch time: 00:00:21

# Display reuse information about data groups that are sent in the MVPN of VPN instance mvpn for IPv6 multicast transmission within 30 seconds.

<Sysname> display multicast-vpn vpn-instance mvpn ipv6 data-group send reuse 30

MVPN data-group information sent by VPN instance: mvpn

Total 2 data-groups for 3 entries

Total 2 data-groups and 3 entries matched

 

Reuse count of 226.1.1.0: 1

Reuse count of 226.1.1.1: 1

Reuse count of 226.1.1.2: 1

Table 6 Command output

Field

Description

MVPN data-group information sent by VPN instance: mvpn

Information about data groups sent in the MVPN of VPN instance mvpn for IPv6 multicast transmission.

Total 2 data-groups for 6 entries

A total of two data groups, associated with six (S, G) entries.

Total 2 data-groups and 6 entries matched

A total of two matching data groups, associated with six matching (S, G) entries.

Reference count of 226.1.1.0

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

switch time

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

Reuse count of 226.1.1.0

Number of times that the data group is reused during the specified length of time.

 

display multicast-vpn ipv6 default-group

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

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

context-admin

context-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the command displays information about default groups of all VPN instances for IPv6 multicast transmission.

local: Specifies local default groups for IPv6 multicast transmission.

remote: Specifies remote default groups for IPv6 multicast transmission.

Examples

# Display information about all local default groups of all VPN instances for IPv6 multicast transmission.

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

MVPN local default-group information:

Group address    Source address   Interface     VPN instance

239.1.1.1        1.1.1.1          MTunnel0      mvpna

239.2.1.1        1.1.1.1          MTunnel1      mvpnb

239.3.1.1        --               MTunnel2      mvpnc

# Display information about all remote default groups of all VPN instances for IPv6 multicast transmission.

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

MVPN 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          -

Table 7 Command output

Field

Description

Group address

IP address of the default group for IPv6 multicast transmission.

Source address

IP address of the MVPN source interface, which is used by the MTI as the source address to encapsulate IPv6 multicast packets of the VPN instance.

Interface

MTI interface.

Next hop

IP address of the next hop.

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 MVPN extranet RPF selection policy.

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

Syntax

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

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

Default

No IPv6 MVPN extranet RPF selection policies are configured.

Views

IPv6 MRIB view

Predefined user roles

network-admin

context-admin

Parameters

vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the IPv6 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.

source ipv6-source-address: Specifies a source address in the policy, which can an IPv6 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.

group ipv6-group-address: Specifies an IPv6 multicast group address in the policy. The address range is FFxy::/16 (excluding FFx1::/16 and FFx2::/16), where "x" and "y" represent any hexadecimal numbers in the range of 0 to F. 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.

prefix-length: Specifies an IPv6 address prefix length. For an IPv6 multicast group address, the value range for this argument is 8 to 128. For an IPv6 multicast source address, the value range for this argument is 0 to 128. 

Usage guidelines

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

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

As a best practice, if IPv6 PIM-SM is used for MVPN extranet solution to implement inter-VPN multicast transmission for multiple IPv6 multicast groups, configure a dedicated RP for these groups. In addition, specify the address of the RP as the source address in RPF selection policies.

In IPv6 PIM-SM mode, you can configure only one RPF selection policy for a multicast group in a VPN instance.

To implement source-specific RPF selection in MVPN extranet, you must configure two MVPN extranet RPF routing policies as follows:

·     In one policy, specify the address of the RP designated to the multicast group that requires inter-VPN multicast communication as the source address.

·     In the other policy, specify the multicast source in the source VPN instance as the source address.

To implement source-and-group-specific RPF selection in MVPN extranet, you must configure two MVPN extranet RPF routing policies as follows:

·     In one policy, specify the address of the RP designated to the multicast group as the source address, and specify the multicast group.

·     In the other policy, specify the multicast source in the source VPN instance as the source address, and specify the multicast group.

·     Make sure the multicast groups in the two policies are the same to avoid inter-VPN multicast transmission failure.

If an IPv6 MVPN 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.

IPv6 multicast source addresses in different MVPN extranet RPF routing policies cannot be the same, but they can be overlapped with each other. The same restriction applies to the IPv6 multicast group addresses in different MVPN extranet RPF routing policies. If multiple routing policies exist for an (S, G) entry, the device selects the policy in which the IPv6 multicast group address has the longest prefix. If multiple policies have the same prefix length, the device selects the policy in which the IPv6 multicast source address has the longest prefix.

Examples

# Configure an IPv6 MVPN 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 select-rpf vpn-instance  vpn-source source 5555::55 64

[Sysname-mrib6-vpn-receiver] ipv6 multicast select-rpf vpn-instance  vpn-source source 1:1:1::1 64

log data-group-reuse

Use log data-group-reuse to enable data group reuse logging.

Use undo log data-group-reuse to disable data group reuse logging.

Syntax

log data-group-reuse

undo log data-group-reuse

Default

Data group reuse logging is disabled.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

context-admin

Usage guidelines

This command is available only for MDT-based MVPNs.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, enable data group reuse logging.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4] log data-group-reuse

multicast extranet select-rpf

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

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

Syntax

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

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

Default

No IPv4 MVPN extranet RPF selection policies are configured.

Views

MRIB view

Predefined user roles

network-admin

context-admin

Parameters

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.

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.

group group-address: Specifies a multicast group address in the policy. The address range is 224.0.0.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.

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

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.

Usage guidelines

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

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

As a best practice, if PIM-SM is used for MVPN extranet solution to implement inter-VPN multicast transmission for multiple multicast groups, configure a dedicated RP for these groups. In addition, specify the address of the RP as the source address in RPF selection policies.

In PIM-SM mode, you can configure only one RPF selection policy for a multicast group in a VPN instance.

To implement source-specific RPF selection in MVPN extranet, you must configure two MVPN extranet RPF routing policies as follows:

·     In one policy, specify the address of the RP designated to the multicast group that requires inter-VPN multicast communication as the source address.

·     In the other policy, specify the multicast source in the source VPN instance as the source address.

To implement source-and-group-specific RPF selection in MVPN extranet, you must configure two MVPN extranet RPF routing policies as follows:

·     In one policy, specify the address of the RP designated to the multicast group as the source address, and specify the multicast group.

·     In the other policy, specify the multicast source in the source VPN instance as the source address, and specify the multicast group.

·     Make sure the multicast groups in the two policies are the same to avoid inter-VPN multicast transmission failure.

If an MVPN 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 MVPN extranet RPF routing policies cannot be the same, but they can be overlapped with each other. The same restriction applies to the multicast group addresses in different MVPN 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 MVPN 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 rpf-proxy-vector compatible

Use multicast rpf-proxy-vector compatible to enable RPF vector compatibility.

Use undo multicast rpf-proxy-vector compatible to disable RPF vector compatibility.

Syntax

multicast rpf-proxy-vector compatible

undo multicast rpf-proxy-vector compatible

Default

RPF vector compatibility is disabled.

Views

System view

Predefined user roles

network-admin

context-admin

Usage guidelines

This command enables the device to work with other manufacturers' products on the RPF vector. You must configure this command on all H3C devices on the public network for multicast VPN inter-AS option B.

This command is available only for MDT-based MVPNs.

Examples

# Enable RPF vector compatibility.

<Sysname> system-view

[Sysname] multicast rpf-proxy-vector compatible

multicast-vpn

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

Use undo multicast-vpn to delete configurations in MVPN view for a VPN instance.

Syntax

multicast-vpn vpn-instance vpn-instance-name mode mdt

undo multicast-vpn vpn-instance vpn-instance-name

Default

No MVPN exists.

Views

System view

Predefined user roles

network-admin

context-admin

Parameters

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

mode: Specifies the mode of the MVPN.

mdt: Specifies the MDT mode.

Examples

# Create an MDT-based MVPN for VPN instance mvpn and enter MVPN view.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn]

policy vpn-target

Use policy vpn-target to enable route target filtering for BGP MVPN routes.

Use undo policy vpn-target to disable route target filtering for BGP MVPN routes.

Syntax

policy vpn-target

undo policy vpn-target

Default

Route target filtering is enabled for BGP MVPN routes.

Views

BGP IPv4 MVPN address family view

Predefined user roles

network-admin

context-admin

Usage guidelines

This feature enables the device to add only BGP MVPN routes of which the export route target attribute matches the local import route target attribute to the BGP MVPN routing table.

If the device needs to save all BGP MVPN routes, use the undo policy vpn-target command to disable route target filtering for BGP MVPN routes.

Examples

# Disable route target filtering for BGP IPv4 MVPN routes.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family ipv4 mvpn

[Sysname-bgp-default-mvpn] undo policy vpn-target

rpf proxy vector

Use rpf proxy vector to enable the RPF vector feature.

Use undo rpf proxy vector to disable the RPF vector feature.

Syntax

rpf proxy vector

undo rpf proxy vector

Default

The RPF vector feature is disabled.

Views

MRIB view

Predefined user roles

network-admin

context-admin

Usage guidelines

This feature enables PEs to carry the RPF vector information in PIM join messages for other devices to perform RPF check on the messages.

You must enable this feature on PEs that have attached receivers when you configure multicast VPN inter-AS option B.

Only the configuration made in MRIB view of a VPN instance takes effect. The configuration made in MRIB view on the public network does not take effect.

This command is available only for MDT-based MVPNs.

Examples

# Enable the RPF vector feature for VPN instance mvpn.

<Sysname> system-view

[Sysname] multicast routing vpn-instance mvpn

[Sysname-mrib-mvpn] rpf proxy vector

source

Use source to specify an MVPN source interface.

Use undo source to restore the default.

Syntax

source interface-type interface-number

undo source

Default

No MVPN source interface is specified.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

context-admin

Parameters

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

Usage guidelines

For the PE device to obtain correct routing information, you must specify the interface used for establishing BGP peer relationship as the MVPN source interface.

For an MVPN that transmits both IPv4 and IPv6 multicast packets, you must specify the same MVPN source interface in MVPN IPv4 and IPv6 address family views.

Examples

# In MVPN IPv4 and IPv6 address family views, specify Loopback 1 as the MVPN source interface for VPN instance mvpn. (Loopback 1 is the source interface used for establishing BGP peer relationship.)

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance mvpn mode mdt

[Sysname-mvpn-mvpn] address-family ipv4

[Sysname-mvpn-mvpn-ipv4] source loopback 1

[Sysname-mvpn-mvpn-ipv4] quit

[Sysname-mvpn-mvpn] address-family ipv6

[Sysname-mvpn-mvpn-ipv6] source loopback 1

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网