07-IP Multicast Command Reference

HomeSupportRoutersCR16000-M SeriesReference GuidesCommand ReferencesH3C CR16000-M Routers Command Reference-R838x-6W10107-IP Multicast Command Reference
08-Multicast VPN commands
Title Size Download
08-Multicast VPN commands 551.14 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

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-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-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

Usage guidelines

Execute this command before you use the peer enable command to exchange MDT information with BGP peers or peer groups. MDT information includes the IP address of a PE and the default group to which the PE belongs. On a public network running PIM-SSM, multicast VPN establishes a default MDT rooted at the multicast source-side PE 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 ipv4 mvpn

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

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

Syntax

address-family ipv4 mvpn

undo address-family ipv4 mvpn

Default

No BGP IPv4 MVPN address family exists.

Views

BGP instance view

Predefined user roles

network-admin

Usage guidelines

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

Examples

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

<Sysname> system-view

[Sysname] bgp 100

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

[Sysname-bgp-default-mvpn]

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

Usage guidelines

This command is available only in mLDP-based MVPN and BIER-based MVPN.

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 bier

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv6

[Sysname-mvpn-vpn-instance-mvpn-ipv6]

address-family ipv6 mvpn

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

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

Syntax

address-family ipv6 mvpn

undo address-family ipv6 mvpn

Default

No BGP IPv6 MVPN address family exists.

Views

BGP instance view

Predefined user roles

network-admin

Usage guidelines

Configurations in BGP IPv6 MVPN address family view take effect only on BGP IPv6 MVPN peers and BGP IPv6 MVPN peer groups.

Examples

# In BGP instance view of BGP instance 100, create a BGP IPv6 MVPN address family and enter its view.

<Sysname> system-view

[Sysname] bgp 100

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

[Sysname-bgp-default-mvpn-ipv6]

auto-discovery inter-as

Use auto-discovery inter-as to enable inter-AS auto-discovery.

Use undo auto-discovery inter-as to disable inter-AS auto-discovery.

Syntax

auto-discovery inter-as

undo auto-discovery inter-as

Default

Inter-AS auto-discovery is disabled.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Usage guidelines

Before you execute this command, make sure IP multicast routing is enabled in the VPN instance.

This command is available only in mLDP-based MVPN and BIER-based MVPN.

This feature inhibits the device from carrying the NO_EXPORT attribute in intra-AS A-D routes and S-PMSI A-D routes sent to BGP. Use this feature on the multicast source-side PE in an inter-AS MVPN scenario so that these routes can be discovered on the devices out of the local AS.

In inter-AS option B, the auto-discovery inter-as and peer advertise-community commands together determine whether intra-AS A-D routes and S-PMSI A-D routes sent to BGP carry the NO_EXPORT attribute.

·     If neither of the commands is configured, the routes do not carry the NO_EXPORT attribute.

·     If both the commands are configured, the routes do not carry the NO_EXPORT attribute.

·     If only the auto-discovery inter-as command is configured, the routes do not carry the NO_EXPORT attribute.

·     If only the peer advertise-community command is configured, the routes carry the NO_EXPORT attribute.

In inter-AS option C, whether intra-AS A-D routes and S-PMSI A-D routes sent to BGP carry the NO_EXPORT attribute depends only on the auto-discovery inter-as command regardless of the peer advertise-community command.

Examples

# In BGP IPv4 MVPN address family view of mLDP-based MVPN vpna, enable inter-AS auto-discovery.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance vpna mode mldp

[Sysname—mvpn-vpna] address-family ipv4

[Sysname—mvpn-vpna-ipv4] auto-discovery inter-as

# In BGP IPv6 MVPN address family view of mLDP-based MVPN vpna, enable inter-AS auto-discovery.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance vpna mode mldp

[Sysname—mvpn-vpna] address-family ipv6

[Sysname—mvpn-vpna-ipv4] auto-discovery inter-as

c-multicast frr

Use c-multicast frr to enable MVPN FRR.

Use undo c-multicast frr to disable MVPN FRR.

Syntax

c-multicast frr [ acl-number | name acl-name ]

undo c-multicast frr

Default

MVPN FRR is disabled.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Parameters

ipv4-acl-number: Specifies an IPv4 basic or advanced ACL number in the range of 2000 to 3999. If you specify an ACL, this command advertises only the (S, G) entries that the ACL permits. This command does not advertise (S, G) entries when one of the following conditions exists:

·     You do not specify an ACL.

·     The specified ACL does not exist.

·     The specified ACL does not have valid rules.

name ipv4-acl-name: Specifies an IPv4 basic or advanced ACL name, a case-insensitive of 1 to 63 characters. It must start with an English letter and to avoid confusion, it cannot be all. If you specify an ACL, this command takes effect only on the (S, G) entries that the ACL permits. This command takes effect only on all (S, G) entries when one of the following conditions exists:

·     You do not specify an ACL.

·     The specified ACL does not exist.

·     The specified ACL does not have valid rules.

Usage guidelines

This command is available only in BIER-based MVPN.

When the source-side PE fails, MVPN services will be interrupted. MVPN services will be restored only after the unicast routes converge. However, the long convergence time of unicast routes cannot meet the real-time requirements of MVPN services. MVPN FRR can solve this problem.

A multicast source is connected to the public network through PE1 and PE 2. Two BIER tunnels are established with PE 1 and PE 2 as the roots and the receiver-side PE as the leaf. In normal cases, the multicast data traffic is transmitted over both BIER tunnels. The receiver-side PE accept the multicast data traffic from the primary BIER tunnel drops multicast data traffic from the backup tunnel. With MVPN FRR enabled, the receiver-side PE saves the primary and backup interfaces for the same (S, G) and (*, G) entry and detects the multicast data traffic on them. If the multicast data traffic is not received on the primary interface, it indicates that the primary tunnels fails. The receiver-side PE accepts the multicast data traffic from the backup tunnel. This improves the convergence speed and reliability of multicast services.

In a basic ACL rule, the source parameter specifies the source address range for multicast data packets, and all the other parameters in the rule are ignored.

In an advanced ACL rule, the source parameter specifies the source address range for multicast data packets, and the destination parameter specifies the multicast group address range. All the other parameters in the rule are ignored.

If the vpn-instance vpn-instance-name option is specified in an ACL rule, the rule does not take effect.

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, enable MVPN FRR for multicast source address range 10.10.0.0/16.

<Sysname> system-view

[Sysname] acl basic 2000

[Sysname-acl-ipv4-basic-2000] rule permit source 10.10.0.0 0.0.255.255

[Sysname-acl-ipv4-basic-2000]

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-mvpn-ipv4] c-multicast frr 2000

Related commands

ipv6 multicast frr monitor cycle

multicast frr monitor cycle

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

MVPN IPv4 address family view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

This command is available only for an MDT-based MVPN.

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-vpn-instance-mvpn] address-family ipv4

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

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 | threshold threshold-value ] *

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

MVPN IPv4 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 21 to 32.

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 initiate a switchover of the default MDT to a data MDT 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 rate 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.

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 with one another if the PIM mode is not PIM-SSM on the public network.

The data group address 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, the most recent configuration takes effect.

This command is available only for an MDT-based MVPN.

When you reference an ACL, follow these restrictions and guidelines:

·     If the ACL does not exist or contains no rules, any multicast data can trigger a switchover.

·     An ACL rule containing the vpn-instance vpn-instance option does not take effect.

Examples

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

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-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 initiates a switchover of a 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

Predefined user roles

network-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 an MDT-based MVPN.

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-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-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

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

You must specify the same default group on all PEs 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.

This command is available only for an MDT-based MVPN.

Examples

# In MVPN IPv4 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-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-mvpn-ipv4] 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 ] | as-path-acl { as-path-acl-number | as-path-acl-name } | as-path-regular-expression regular-expression ]

Views

Any view

Predefined user roles

network-admin

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

as-path-acl as-path-acl-number: Displays BGP MDT routes that match the AS path list specified by its number in the range of 1 to 256.

as-path-acl as-path-acl-name: Displays BGP MDT routes that match the AS path list specified by its name, a case-sensitive string of 1 to 51 characters. The AS path list name cannot contain only digits.

as-path-regular-expression regular-expression: Displays BGP MDT routes that match the specified regular expression, a case-sensitive string of 1 to 256 characters.

ip-address: Specifies a multicast source by its IP address. The ip-address argument represents the IP address of the PE 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

               a – additional-path

               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       ?

# Displays BGP MDT routes that match AS path list 1.

<Sysname> display bgp routing-table ipv4 mdt as-path-acl 1

 

 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

               a – additional-path

               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       ?

# Displays BGP MDT routes that match any AS path attributes.

<Sysname> display bgp routing-table ipv4 mdt as-path-regular-expression ^.*

 

 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

               a – additional-path

               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

 RxPathID        : 0x0

 TxPathID        : 0x0

 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.

·     a – additional-path—Add-Path optimal 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.

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.

RxPathID

Add-path ID of received routes.

TxPathID

Add-path ID of advertised routes.

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, which is set by the QPPB feature. This field displays N/A if the IP precedence of the route is not set.

QoS local ID

QoS local ID of the route, which is set by the QPPB feature. This field displays N/A if the QoS local ID of the route is not set.

Traffic index

Traffic index of the route, which is set by the QPPB feature. This field displays N/A if the Traffic index of the route is not set.

 

display bgp routing-table ipv4 mvpn

Use display bgp routing-table ipv4 mvpn to display BGP IPv4 MVPN routing information.

Syntax

display bgp [ instance instance-name ] routing-table ipv4 mvpn [ { public | route-distinguisher route-distinguisher } [ route-type { inter-as | intra-as | leaf | s-pmsi | shared-tree | source-active | source-tree } ] [ mvpn-prefix ] | statistics ]

display bgp [ instance instance-name ] routing-table ipv4 mvpn [ public | route-distinguisher route-distinguisher ] [ mvpn-prefix [ advertise-info ] ]

display bgp [ instance instance-name ] routing-table ipv4 mvpn [ route-type { inter-as |intra-as | leaf | s-pmsi | shared-tree | source-active | source-tree } [ statistics ] ]

display bgp [ instance instance-name ] routing-table ipv4 mvpn peer ip-address { advertised-routes | received-routes } [ mvpn-prefix [ verbose ] | statistics ]

display bgp [ instance instance-name ] routing-table ipv4 mvpn { as-path-acl { as-path-acl-number | as-path-acl-name } | as-path-regular-expression regular-expression }

Views

Any view

Predefined user roles

network-admin

network-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 IPv4 MVPN routing information for BGP instance default.

peer ip-address: Specifies a BGP peer by its IP address.

advertised-routes: Displays BGP IPv4 MVPN routing information advertised to the specified peer.

received-routes: Displays BGP IPv4 MVPN routing information received from the specified peer.

public: Displays BGP IPv4 MVPN routing information for the public network instance.

route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters. 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, for example, 65536:1. The AS number must be equal to or greater than 65536.

route-type: Specifies a route type.

·     intra-as: Specifies the Intra-AS I-PMSI A-D route to establish the inclusive tunnel.

·     inter-as: Specifies the Inter-AS I-PMSI A-D route to establish the inclusive tunnel.

·     s-pmsi: Specifies the S-PMSI A-D route that the source-side PE sends to the receiver-side PE to establish selective tunnels.

·     leaf: Specifies the Leaf A-D route that the receiver-side PE returns to the multicast source-side PE to establish selective tunnels.

·     source-active: Specifies the Source Active A-D route that advertises the multicast source.

·     shared-tree: Specifies the Shared Tree Join route that the receiver-side PE sends to the RP to establish the multicast shared tree.

·     source-tree: Specifies the Source Tree Join route that the receiver-side PE sends to the multicast source to build the multicast source tree.

mvpn-prefix: Displays detailed route information about the BGP IPv4 MVPN prefix. The mvpn-prefix argument specifies the prefix, a case-insensitive string of 1 to 512 characters.

advertise-info: Displays advertisement information of BGP IPv4 MVPN routes.

verbose: Displays detailed information about BGP IPv4 MVPN routes. If you do not specify this keyword, the command displays brief information about BGP IPv4 MVPN routes.

statistics: Displays statistics for BGP IPv4 MVPN routes.

as-path-acl as-path-acl-number: Displays BGP IPv4 MVPN routes that match the AS path list specified by its number in the range of 1 to 256.

as-path-acl as-path-acl-name: Displays BGP IPv4 MVPN routes that match the AS path list specified by its name, a case-sensitive string of 1 to 51 characters. The AS path list name cannot contain only digits.

as-path-regular-expression regular-expression: Displays BGP IPv4 MVPN routes that match the specified regular expression, a case-sensitive string of 1 to 256 characters.

Usage guidelines

If you do not specify any parameters, this command displays brief information about all BGP IPv4 MVPN routes. If you do not specify the public or route-distinguisher route-distinguisher parameter, this command displays information about BGP IPv4 MVPN routes of both the public network instance and all VPN instances.

Examples

# Display brief information about all BGP IPv4 MVPN routes.

<Sysname> display bgp routing-table ipv4 mvpn

 

 BGP local router ID is 1.1.1.2

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

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

               a – additional-path

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

 

Public instance

 Total number of routes: 1

 

* >  Network : [1][1.1.1.1]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

 Route distinguisher: 100:1

 Total number of routes: 5

 

* >  Network : [1][1.1.1.1]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >  Network : [3][32][192.168.56.1][32][225.0.0.1][1.1.1.9]/120

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [5][32][192.168.56.1][32][225.0.0.1]/88

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

# Display information about all BGP IPv4 MVPN routes that are advertised to peer 3.3.3.9 in BGP instance default.

<Sysname> display bgp routing-table ipv4 mvpn peer 3.3.3.9 advertised-routes

 

 BGP local router ID is 1.1.1.2

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

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

               a – additional-path

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

 

 Route distinguisher: 100:1

 Total number of routes: 2

 

* >i Network : [1][2.2.2.9]/40                                                 

     NextHop : 2.2.2.9                                  LocPrf    : 100         

     PrefVal : 0                                        OutLabel  : NULL       

     MED     : 0                                                               

     Path/Ogn: ?                         

 

* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

# Displays BGP IPv4 MVPN routes that match AS path list 1.

<Sysname> display bgp routing-table ipv4 mvpn as-path-acl 1

 

 BGP local router ID is 1.1.1.2

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

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

               a – additional-path

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

 

 Route distinguisher: 100:1

 Total number of routes: 5

 

* >  Network : [1][1.1.1.1]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >  Network : [3][32][192.168.56.1][32][225.0.0.1][1.1.1.9]/120

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [5][32][192.168.56.1][32][225.0.0.1]/88

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

# Displays BGP IPv4 MVPN routes that match any AS path attributes.

<Sysname> display bgp routing-table ipv4 mvpn as-path-regular-expression ^.*

 

 BGP local router ID is 1.1.1.2

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

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

               a – additional-path

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

 

 Route distinguisher: 100:1

 Total number of routes: 5

 

* >  Network : [1][1.1.1.1]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >  Network : [3][32][192.168.56.1][32][225.0.0.1][1.1.1.9]/120

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [5][32][192.168.56.1][32][225.0.0.1]/88

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

# Display information about all BGP IPv4 MVPN routes that are received from peer 2.2.2.9 in BGP instance default.

<Sysname> display bgp routing-table ipv4 mvpn peer 2.2.2.9 received-routes

 

BGP local router ID is 1.1.1.2

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

               a – additional-path

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

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

 

 Route distinguisher: 100:1

 Total number of routes: 3

 

* >i Network : [1][2.2.2.9]/40                                                 

     NextHop : 2.2.2.9                                  LocPrf    : 100        

     PrefVal : 0                                        OutLabel  : NULL       

     MED     : 0                                                                

     Path/Ogn: ?            

            

* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

 

* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

Table 2 Command output

Field

Description

Status codes

Codes of route status:

·     * – valid—Valid route.

·     > – best—Optimal 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.

·     a – additional-path—Add-Path optimal route.

Origin

Origin of the route information:

·     i – IGP—Originated in the AS.

·     e – EGP—Learned through EGP.

·     ? – incomplete—Learned by some other means.

Public instance

Public network instance.

Total number of routes

Total number of BGP IPv4 MVPN routes with the route distinguisher.

Network

BGP IPv4 MVPN route/route length. BGP IPv4 MVPN routes are as follows:

·     [1][Originator IP]

¡     1—Intra-AS I-PMSI A-D route to establish the inclusive tunnel.

¡     Originator IP—IP address of the route originator.

·     [2][Source AS]

¡     2—Inter-AS I-PMSI A-D route to establish the inclusive tunnel.

¡     Source AS—AS number of the source.

·     [3][Source Len][Source IP][Group Len][Group IP][Originator IP]

¡     3—S-PMSI A-D route that the multicast source-side PE sends to the receiver-side PE to establish selective tunnels.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

¡     Originator IP—IP address of the route originator.

·     [4][1][1Len][RD][1Originator IP][4Originator IP]

¡     4—Leaf A-D route that the receiver-side PE replies to the source-side PE to establish selective tunnels.

¡     1—Intra-AS I-PMSI A-D route to establish the inclusive tunnel.

¡     1Len—Length of the MVPN Intra-AS I-PMSI A-D route, in bytes.

¡     RD—Route distinguisher.

¡     1Originator IP—Originator IP address of the MVPN Intra-AS I-PMSI A-D route.

¡     4Originator IP—Originator IP address of the MVPN Leaf A-D route.

·     [4][3][3Len][RD][Source Len][Source IP][Group Len][Group IP][3Originator IP][4Originator IP]

¡     4—Leaf A-D route that the receiver-side PE replies to the source-side PE to establish selective tunnels.

¡     3—S-PMSI A-D route that the source-side PE sends to the receiver-side PE to establish selective tunnels.

¡     3Len—Length of the MVPN S-PMSI A-D route, in bytes.

¡     RD—Route distinguisher.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

¡     3Originator IP—Originator IP address of the MVPN S-PMSI A-D route.

¡     4Originator IP—Originator IP address of the MVPN Leaf A-D route.

·     [5][Source Len][Source IP][Group Len][Group IP]

¡     5—Source Active A-D route that advertise the multicast source.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

·     [6][Source AS][Source Len][Source IP][Group Len][Group IP]

¡     6—Shared Tree Join route that the receiver-side PE sends to the RP to establish the multicast shared tree.

¡     Source AS—AS number of the PE where the RP resides.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

·     [7][Source AS][Source Len][Source IP][Group Len][Group IP]

¡     7—Source Tree Join route that the receiver-side PE sends to the multicast source to build the multicast source tree.

¡     Source AS—AS number of the source-side PE.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

LocPrf

Local preference value.

PrefVal

Preferred value of a route.

OutLabel

Outgoing label of a route.

MED

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

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.

 

# Display statistics for all BGP IPv4 MVPN routes.

<Sysname> display bgp routing-table ipv4 mvpn statistics

 Total number of VPN routes: 204

 Total number of vpn routes from all PEs: 102

 

 Route distinguisher: 1:1

 Total number of routes: 202

 

 Route distinguisher: 2:2

 Total number of routes: 2

Table 3 Command output

Field

Description

Total number of VPN routes

Total number of BGP IPv4 MVPN routes.

Total number of vpn routes from all PEs

Total number of BGP IPv4 MVPN routes from all PEs.

Total number of routes

Total number of BGP IPv4 MVPN routes with the route distinguisher.

 

# Display statistics for BGP IPv4 MVPN routes that are advertised to peer 3.3.3.9 on the public network.

<Sysname> display bgp routing-table ipv4 mvpn peer 3.3.3.9 advertised-routes statistics

 

 Advertised routes total: 2

# Display statistics for BGP IPv4 MVPN routes that are received from peer 3.3.3.9 on the public network.

<Sysname> display bgp routing-table ipv4 mvpn peer 3.3.3.9 received-routes statistic

 

 Received routes total: 2

Table 4 Command output

Field

Description

Advertised routes total

Total number of routes advertised to the BGP peer.

Received routes total

Total number of routes received from the BGP peer.

 

# Display detailed information about BGP IPv4 MVPN route [1][101::1]/136 in BGP instance default.

<Sysname> display bgp routing-table ipv4 mvpn [1][101::1]/136

 

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 Public instance

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [1][101::1]/136:

 Original nexthop: 0.0.0.0

 Out interface   : NULL0

 Route age       : 02h34m49s

 OutLabel        : NULL

 Ext-Community   : <RT: 200:1>

 RxPathID        : 0x0

 TxPathID        : 0x0

 Org-validation  : Valid

 PMSI tunnel     : Flag 1, TunnelType 11, Label 0, Sub-domain-ID 0, BFR-ID 1,

                   BFR-Prefix 101::1

 MSID            : Source Addr FF00::101,Flags 0, Prefix Len 128, MSID Len 0, Reserved 0

 AS-path         : (null)

 Origin          : igp

 Attribute value : MED 0, localpref 100, pref-val 32768

 State           : valid, local, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : Intra-AS I-PMSI A-D route

 Originator IP   : 101::1

# Display detailed information about BGP IPv4 MVPN route [4][1][12][100:1][1.1.1.9][2.2.2.9]/152 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv4 mvpn route-distinguisher 100:1 [4][1][12][100:1][1.1.1.9][2.2.2.9]/152

 

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [4][1][12][100:1][1.1.1.9][2.2.2.9]/152:

 From            : 2222::2222 (2.2.2.9)

 Rely nexthop    : 0.0.0.0

 Original nexthop: 2222::2222

 Route age       : 00h01m29s

 OutLabel        : NULL

 Ext-Community   : <RT: 1.1.1.9:0>

 RxPathID        : 0x0

 TxPathID        : 0x0

 Org-validation  : Valid

 PMSI tunnel     : Flag 0, TunnelType 11, Label 0, Sub-domain-ID 0, BFR-ID 1,

                   BFR-Prefix 101::1

 AS-path         : (null)

 Origin          : igp

 Attribute value : MED 0, localpref 100, pref-val 32768

 State           : valid, local, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : Leaf A-D route

 RD              : 100:1

 Route key type  : Intra-AS I-PMSI A-D Route

 Route key OrigIP: 1.1.1.9

 Originator IP   : 2.2.2.9

# Display detailed information about BGP IPv4 MVPN route [4][3][22][100:1][32][192.168.56.1][32][225.0.0.2][1.1.1.9][2.2.2.9]/232 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv4 mvpn route-distinguisher 100:1

[4][3][22][100:1][32][192.168.56.1][32][225.0.0.2][1.1.1.9][2.2.2.9]/232

 

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [4][3][22][100:1][32][192.168.56.1][32][225.0.0.2][1.1.1.9][2.2.2.9]/232:

 From            : 2.2.2.9 (2.2.2.9)

 Rely nexthop    : 192.168.1.2

 Original nexthop: 2.2.2.9

 OutLabel        : NULL

 Ext-Community   : <RT: 1.1.1.9:0>

 PMSI tunnel     : Flag 1, TunnelType 1, Label 0, P2MPId 1.1.1.9, Reserved 0,

                   TunnelId 2, ExtTunnelId 1.1.1.9

 RxPathID        : 0x0

 TxPathID        : 0x0

 AS-path         : (null)

 Origin          : incomplete

 Attribute value : MED 0, localpref 100, pref-val 0

 State           : valid, internal, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : Leaf A-D route

 Route key type  : S-PMSI A-D route

 RD              : 100:1

 Source Len      : 32

 Source IP       : 192.168.56.1

 Group Len       : 32

 Group IP        : 225.0.0.2

 Route key OrigIP: 1.1.1.9

 Originator IP   : 2.2.2.9

Table 5 Command output

Field

Description

Paths

Number of routes:

·     available—Number of valid routes.

·     best—Number of optimal routes.

Network

Information about a BGP IPv4 MVPN.

LocPrf

Local preference value.

PrefVal

Preferred value of a route.

OutLabel

Outgoing label of a route.

MED

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

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.

BGP routing table information of

NLRI prefix.

From

IP address of BGP peer that advertised the route.

Rely Nexthop

Next hop found by route recursion. If no next hop is found, this field displays not resolved.

Imported route

The route is an imported route.

Original nexthop

Original next hop of the route. If the route was obtained from a BGP update message, the original next hop is the next hop IP address in the message.

Ext-Community

Attribute value of the extended community. RT indicates the route target attribute.

PMSI tunnel

Information about a PMSI tunnel:

·     Flag—Flag bit value.

·     TunnelType—Tunnel type.

·     Label—Label value.

·     P2MP—Point to multiple points.

·     TunnelId—Tunnel ID.

·     ExtTunnelId—Extended tunnel ID.

·     P2MP Type—P2MP tunnel.

·     Address Family—Address family type.

·     Address Length—Address length.

·     Root Node Address—Address of the root node for the MP2MP FEC.

·     Opaque Length—Length of the Opaque value.

·     Opaque Value—Original opaque value.

·     BFR-ID—BFR ID of a BIER edge device.

RxPathID

Add-path ID of received routes.

MSID

Multicast service ID;

·     Source Addr—Multicast source address.

·     Prefix Len—Prefix length.

·     MSID Len—Length of the multicast service ID.

TxPathID

Add-path ID of advertised routes.

AS-path

AS_PATH attribute of the route, which records the ASs the packet has passed to avoid routing loops.

Origin

Origin of the route information:

·     IGP—Originated in the AS.

·     EGP—Learned through EGP.

·     incomplete—Learned by some other means.

Attribute value

BGP path attributes:

·     MED—MED value.

·     localpref—Local preference value.

·     pref-val—Preferred value.

·     pre—Route preference.

Originator

Peer that generated the route.

Cluster list

CLUSTER_LIST attribute of the route. If the route does not carry this attribute, this field is not displayed.

State

Current states:

·     valid—Valid routes.

·     internal—Internal routes.

·     external—External routes.

·     local—Local routes.

·     synchronize—Synchronized routes.

·     best—Optimal routes.

IP precedence

IP precedence. This field displays N/A for an invalid value.

QoS local ID

QoS local ID. This field displays N/A for an invalid value.

Traffic index

Traffic index. This field displays N/A for an invalid value.

MVPN route type

Type of the BGP IPv4 MVPN route. The Leaf A-D route is an automatically discovered route that that receiver-side PE replies to the multicast source-side PE to establish selective tunnels.

Route key type

Type of the Leaf A-D route:

·     Intra-AS I-PMSI A-D Route—Used to establish the inclusive tunnel.

·     S-PMSI A-D route—Router the source-side PE sends to the receiver-side PE to establish selective tunnels.

Source Len

Length of the multicast source address.

Source IP

Multicast source address.

Group Len

Length of the multicast group address.

Group IP

Multicast group address.

Route key OrigIP

Originator IP address of the route.

Remote origin IP

IP address of the remote router.

Originator IP

Originator IP address of the MVPN Leaf A-D route.

 

# Display advertisement information about BGP IPv4 MVPN route [1][1.1.1.9]/40 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv4 mvpn route-distinguisher 100:1 [1][1.1.1.9]/40 advertise-info

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 best

 

 BGP routing table information of [1][1.1.1.9]/40:

 Advertised to peers (1 in total):

    2.2.2.9

Table 6 Command output

Field

Description

Paths

Number of optimal routes to the destination.

BGP routing table information of [1][1.1.1.9]/40(TxPathID:0)

Advertisement information to reach BGP IPv4 MVPN route [1][1.1.1.9]/40. TxPathID represents the Add-path ID of routes advertised to the network.

Advertised to peers (1 in total)

Peers to which the network has been advertised.

 

display bgp routing-table ipv6 mvpn

Use display bgp routing-table ipv6 mvpn to display BGP IPv6 MVPN routing information.

Syntax

display bgp [ instance instance-name ] routing-table ipv6 mvpn [ { public | route-distinguisher route-distinguisher } [ route-type { inter-as |intra-as | leaf | s-pmsi | shared-tree | source-active | source-tree } ] [ mvpn-prefix ] | statistics ]

display bgp [ instance instance-name ] routing-table ipv6 mvpn [ public | route-distinguisher route-distinguisher ] [ mvpn-prefix [ advertise-info ] ]

display bgp [ instance instance-name ] routing-table ipv6 mvpn [ route-type { inter-as |intra-as | leaf | s-pmsi | shared-tree | source-active | source-tree } [ statistics ] ]

display bgp [ instance instance-name ] routing-table ipv6 mvpn peer { ipv4-address | ipv6-address } { advertised-routes | received-routes } [ mvpn-prefix [ verbose ] | statistics ]

display bgp [ instance instance-name ] routing-table ipv6 mvpn { as-path-acl { as-path-acl-number | as-path-acl-name } | as-path-regular-expression regular-expression }

Views

Any view

Predefined user roles

network-admin

network-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 IPv6 MVPN routing information for BGP instance default.

public: Displays BGP IPv6 MVPN routing information for the public network instance.

route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters. 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, for example, 65536:1. The AS number must be equal to or greater than 65536.

route-type: Specifies a route type.

·     intra-as: Specifies the Intra-AS I-PMSI A-D route to establish the inclusive tunnel.

·     inter-as: Specifies the Inter-AS I-PMSI A-D route to establish the inclusive tunnel.

·     s-pmsi: Specifies the S-PMSI A-D route that the source-side PE sends to the receiver-side PE to establish selective tunnels.

·     leaf: Specifies the Leaf A-D route that the receiver-side PE returns to the multicast source-side PE to establish selective tunnels.

·     source-active: Specifies the Source Active A-D route that advertises the multicast source.

·     shared-tree: Specifies the Shared Tree Join route that the receiver-side PE sends to the RP to establish the multicast shared tree.

·     source-tree: Specifies the Source Tree Join route that the receiver-side PE sends to the multicast source to build the multicast source tree.

mvpn-prefix: Displays detailed route information about the BGP IPv6 MVPN prefix. The mvpn-prefix argument specifies the prefix, a case-insensitive string of 1 to 512 characters.

advertise-info: Displays advertisement information of BGP IPv6 MVPN routes.

peer ipv4-address: Specifies a BGP peer by its IP address.

advertised-routes: Displays BGP IPv6 MVPN routing information advertised to the specified peer.

received-routes: Displays BGP IPv6 MVPN routing information received from the specified peer.

verbose: Displays detailed information about BGP IPv6 MVPN routes. If you do not specify this keyword, the command displays brief information about BGP IPv6 MVPN routes.

statistics: Displays statistics for BGP IPv6 MVPN routes.

as-path-acl as-path-acl-number: Displays BGP IPv6 MVPN routes that match the AS path list specified by its number in the range of 1 to 256.

as-path-acl as-path-acl-name: Displays BGP IPv6 MVPN routes that match the AS path list specified by its name, a case-sensitive string of 1 to 51 characters. The AS path list name cannot contain only digits.

as-path-regular-expression regular-expression: Displays BGP IPv6 MVPN routes that match the specified regular expression, a case-sensitive string of 1 to 256 characters.

Usage guidelines

If you do not specify any parameters, this command displays brief information about all BGP IPv6 MVPN routes. If you do not specify the public or route-distinguisher route-distinguisher parameter, this command displays information about BGP IPv6 MVPN routes of both the public network instance and all VPN instances.

Examples

# Display brief information about all BGP IPv6 MVPN routes.

<Sysname> display bgp routing-table ipv6 mvpn

 

 BGP local router ID is 2.2.2.2

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

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

               a - additional-path

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

 

 Public instance

 Total number of routes: 1

 

* >i Network : [1][1.1.1.1]/40

     NextHop : 1111::1111                               LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

 Total number of VPN routes: 6

 Total number of routes from all PEs: 3

 

 Route distinguisher: 100:1

 Total number of routes: 6

 

* >  Network : [1][2.2.2.2]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [1][5.5.5.5]/40

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [3][128][201::1234:5678][128][FF1E::1][5.5.5.5]/312

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >  Network : [5][128][101::1234:5678][128][FF1E::1]/280

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [5][128][201::1234:5678][128][FF1E::1]/280

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >  Network : [7][100][128][201::1234:5678][128][FF1E::1]/312

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

# Displays BGP IPv6 MVPN routes that match AS path list 1.

<Sysname> display bgp routing-table ipv6 mvpn as-path-acl 1

 

 BGP local router ID is 2.2.2.2

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

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

               a - additional-path

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

 

 Total number of VPN routes: 6

 Total number of routes from all PEs: 3

 

 Route distinguisher: 100:1

 Total number of routes: 6

 

* >  Network : [1][2.2.2.2]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [1][5.5.5.5]/40

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [3][128][201::1234:5678][128][FF1E::1][5.5.5.5]/312

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >  Network : [5][128][101::1234:5678][128][FF1E::1]/280

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [5][128][201::1234:5678][128][FF1E::1]/280

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >  Network : [7][100][128][201::1234:5678][128][FF1E::1]/312

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

# Displays BGP IPv6 MVPN routes that match any AS path attributes.

<Sysname> display bgp routing-table ipv6 mvpn as-path-regular-expression ^.*

 

 BGP local router ID is 2.2.2.2

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

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

               a - additional-path

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

 

 Total number of VPN routes: 6

 Total number of routes from all PEs: 3

 

 Route distinguisher: 100:1

 Total number of routes: 6

 

* >  Network : [1][2.2.2.2]/40

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [1][5.5.5.5]/40

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [3][128][201::1234:5678][128][FF1E::1][5.5.5.5]/312

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >  Network : [5][128][101::1234:5678][128][FF1E::1]/280

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [5][128][201::1234:5678][128][FF1E::1]/280

     NextHop : 5.5.5.5                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >  Network : [7][100][128][201::1234:5678][128][FF1E::1]/312

     NextHop : 0.0.0.0                                  LocPrf    : 100

     PrefVal : 32768                                    OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

# Display information about all BGP IPv6 MVPN routes that are advertised to peer 3.3.3.9 in BGP instance default.

<Sysname> display bgp routing-table ipv6 mvpn peer 3.3.3.9 advertised-routes

 

 BGP local router ID is 1.1.1.2

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

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

               a – additional-path

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

 

 Route distinguisher: 100:1

 Total number of routes: 2

 

* >i Network : [1][2.2.2.9]/40

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [3][128][201::1234:5678][128][FF1E::1][2.2.2.9]/312

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [7][100][128][201::1234:5678][128][FF1E::1]/312

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: ?

# Display information about all BGP IPv6 MVPN routes that are received from peer 2.2.2.9 in BGP instance default.

<Sysname> display bgp routing-table ipv6 mvpn peer 2.2.2.9 received-routes

 

BGP local router ID is 1.1.1.2

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

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

               a – additional-path

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

 

 Route distinguisher: 100:1

 Total number of routes: 3

 

* >i Network : [1][2.2.2.9]/40

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [3][128][201::1234:5678][128][FF1E::1][2.2.2.9]/312

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

     Path/Ogn: i

 

* >i Network : [7][100][128][201::1234:5678][128][FF1E::1]/312

     NextHop : 2.2.2.9                                  LocPrf    : 100

     PrefVal : 0                                        OutLabel  : NULL

     MED     : 0

Table 7 Command output

Field

Description

Status codes

Codes of route status:

·     * – valid—Valid route.

·     > – best—Optimal 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.

·     a – additional-path—Add-Path optimal route.

Origin

Origin of the route information:

·     i – IGP—Originated in the AS.

·     e – EGP—Learned through EGP.

·     ? – incomplete—Learned by some other means.

Public instance

Public network instance.

Total number of routes

Total number of BGP IPv6 MVPN routes with the route distinguisher.

Network

BGP IPv6 MVPN route/route length. BGP IPv6 MVPN routes are as follows:

·     [1][Originator IP]

¡     1—Intra-AS I-PMSI A-D route to establish the inclusive tunnel.

¡     Originator IP—IP address of the route originator.

·     [2][Source AS]

¡     2—Inter-AS I-PMSI A-D route to establish the inclusive tunnel.

¡     Source AS—AS number of the source.

·     [3][Source Len][Source IP][Group Len][Group IP][Originator IP]

¡     3—S-PMSI A-D route that the multicast source-side PE sends to the receiver-side PE to establish selective tunnels.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

¡     Originator IP—IP address of the route originator.

·     [4][1][1Len][RD][1Originator IP][4Originator IP]

¡     4—Leaf A-D route that the receiver-side PE replies to the source-side PE to establish selective tunnels.

¡     1—Intra-AS I-PMSI A-D route to establish the inclusive tunnel.

¡     1Len—Length of the MVPN Intra-AS I-PMSI A-D route, in bytes.

¡     RD—Route distinguisher.

¡     1Originator IP—Originator IP address of the MVPN Intra-AS I-PMSI A-D route.

¡     4Originator IP—Originator IP address of the MVPN Leaf A-D route.

·     [4][3][3Len][RD][Source Len][Source IP][Group Len][Group IP][3Originator IP][4Originator IP]

¡     4—Leaf A-D route that the receiver-side PE replies to the source-side PE to establish selective tunnels.

¡     3—S-PMSI A-D route that the source-side PE sends to the receiver-side PE to establish selective tunnels.

¡     3Len—Length of the MVPN S-PMSI A-D route, in bytes.

¡     RD—Route distinguisher.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

¡     3Originator IP—Originator IP address of the MVPN S-PMSI A-D route.

¡     4Originator IP—Originator IP address of the MVPN Leaf A-D route.

·     [5][Source Len][Source IP][Group Len][Group IP]

¡     5—Source Active A-D route that advertise the multicast source.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

·     [6][Source AS][Source Len][Source IP][Group Len][Group IP]

¡     6—Shared Tree Join route that the receiver-side PE sends to the RP to establish the multicast shared tree.

¡     Source AS—AS number of the PE where the RP resides.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

·     [7][Source AS][Source Len][Source IP][Group Len][Group IP]

¡     7—Source Tree Join route that the receiver-side PE sends to the multicast source to build the multicast source tree.

¡     Source AS—AS number of the source-side PE.

¡     Source Len—Length of the multicast source address.

¡     Source IP—Multicast source address.

¡     Group Len—Length of the multicast group address.

¡     Group IP—Multicast group address.

LocPrf

Local preference value.

PrefVal

Preferred value of a route.

OutLabel

Outgoing label of a route.

MED

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

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.

 

# Display statistics for all BGP IPv6 MVPN routes.

<Sysname> display bgp routing-table ipv6 mvpn statistics

 Total number of VPN routes: 204

 Total number of vpn routes from all PEs: 102

 

 Route distinguisher: 1:1

 Total number of routes: 202

 

 Route distinguisher: 2:2

 Total number of routes: 2

Table 8 Command output

Field

Description

Total number of VPN routes

Total number of BGP IPv6 MVPN routes.

Total number of vpn routes from all PEs

Total number of BGP IPv6 MVPN routes from all PEs.

Total number of routes

Total number of BGP IPv6 MVPN routes with the route distinguisher.

 

# Display statistics for BGP IPv6 MVPN routes that are advertised to peer 3.3.3.9 on the public network.

<Sysname> display bgp routing-table ipv6 mvpn peer 3.3.3.9 advertised-routes statistics

 

 Advertised routes total: 2

# Display statistics for BGP IPv6 MVPN routes that are received from peer 3.3.3.9 on the public network.

<Sysname> display bgp routing-table ipv6 mvpn peer 3.3.3.9 received-routes statistics

 

 Received routes total: 2

Table 9 Command output

Field

Description

Advertised routes total

Total number of routes advertised to the BGP peer.

Received routes total

Total number of routes received from the BGP peer.

 

# Display detailed information about BGP IPv6 MVPN route [1][1.2.3.4]/40 with RD 1:2 in BGP instance default.

<Sysname>display bgp routing-table ipv6 mvpn route-distinguisher 1:2 [1][1.2.3.4]/40

 

 BGP local router ID: 9.9.9.9

 Local AS number: 100

 

 

 Route distinguisher: 1:2

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [1][1.2.3.4]/40:

 From            : 1.1.1.1 (6.6.6.6)

 Rely nexthop    : 0.0.0.0

 Original nexthop: 1.1.1.1

 Route age       : 00h00m23s

 OutLabel        : NULL

 Ext-Community   : <RT: 3:4>

 RxPathID        : 0x0

 TxPathID        : 0x0

 PMSI tunnel       : Flag 1, TunnelType 11, Label 7712, Sub-domain-ID 2, BFR-ID 3, BFR-Prefix

                   1::2

 MSID            : Source Addr FF00::101,Flags 0, Prefix Len 128, MSID Len 0, Reserved 0

 AS-path         : (null)

 Origin          : igp

 Attribute value : MED 0, localpref 100, pref-val 0

 State           : valid, internal, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : Intra-AS I-PMSI A-D route

 Originator IP   : 1.2.3.4

# Display detailed information about BGP IPv6 MVPN route [4][1][40][100:1][1.1.1.9][2.2.2.9]/180 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv6 mvpn route-distinguisher 100:1 [4][1][40][100:1][1.1.1.9][2.2.2.9]/180

 

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [4][1][40][100:1][1.1.1.9][2.2.2.9]/180:

 From            : 2222::2222 (2.2.2.9)

 Rely nexthop    : 0.0.0.0

 Original nexthop: 2222::2222

 Route age       : 00h01m29s

 OutLabel        : NULL

 Ext-Community   : <RT: 1.1.1.9:0>

 RxPathID        : 0x0

 TxPathID        : 0x0

 PMSI tunnel     : Flag 0, TunnelType 11, Label 0, Sub-domain-ID 0, BFR-ID 1,

                   BFR-Prefix 101::1

 AS-path         : (null)

 Origin          : igp

 Attribute value : MED 0, localpref 100, pref-val 32768

 State           : valid, local, best

 Source type     : local

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : Leaf A-D route

 RD              : 100:1

 Route key type  : Intra-AS I-PMSI A-D Route

 Route key OrigIP: 1.1.1.9

 Originator IP   : 1.1.1.9

# Display detailed information about BGP IPv6 MVPN route [4][3][312][100:1][128][201::1234:5678][128][FF1E::1][1.1.1.9][2.2.2.9]/443 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv6 mvpn route-distinguisher 100:1 [4][3][312][100:1][128][201::1234:5678][128][FF1E::1][1.1.1.9][2.2.2.9]/443

 

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [4][3][312][100:1][128][201::1234:5678][128][FF1E::1][1.1.1.9][2.2.2.9]/443:

 From            : 2.2.2.9 (2.2.2.9)

 Rely nexthop    : 192.168.1.2

 Original nexthop: 2.2.2.9

 OutLabel        : NULL

 Ext-Community   : <RT: 1.1.1.9:0>

 RxPathID        : 0x0

 TxPathID        : 0x0

 PMSI tunnel     : Flag 1, TunnelType 1, Label 0, P2MPId 1.1.1.9, Reserved 0,

                   TunnelId 2, ExtTunnelId 1.1.1.9

 AS-path         : (null)

 Origin          : incomplete

 Attribute value : MED 0, localpref 100, pref-val 0

 State           : valid, internal, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : Leaf A-D route

 RD              : 100:1

 Route key type  : S-PMSI A-D route

 Source Len      : 128

 Source IP       : 201::1234:5678

 Group Len       : 128

 Group IP        : FF1E::1

 Route key OrigIP: 1.1.1.9

 Originator IP   : 2.2.2.9

# Display detailed information about BGP IPv6 MVPN route [3][128][201::1234:5678][128][FF1E::1][5.5.5.5]/312 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv6 mvpn route-distinguisher 100:1 [3][128][201::1234:5678][128][FF1E::1][5.5.5.5]/312

 

 BGP local router ID: 2.2.2.2

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 available, 1 best

 

 BGP routing table information of [3][128][201::1234:5678][128][FF1E::1][5.5.5.5]/312:

 From            : 5.5.5.5 (5.5.5.5)

 Rely nexthop    : 0.0.0.0

 Original nexthop: 5.5.5.5

 Route age       : 02h32m01s

 OutLabel        : NULL

 Ext-Community   : <RT: 100:1>

 RxPathID        : 0x0

 TxPathID        : 0x0

 PMSI tunnel     : Flag 0, TunnelType 2, Label 0, P2MP Type 6, Address Family

                   1, Address Length 4, Root Node Address 5.5.5.5, Opaque Lengt

                   h 7, Opaque Value: 01 00 04 E4 00 00 03

 AS-path         : (null)

 Origin          : igp

 Attribute value : MED 0, localpref 100, pref-val 0

 State           : valid, internal, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

 MVPN route type : S-PMSI A-D route

 Source Len      : 128

 Source IP       : 201::1234:5678

 Group  Len      : 128

 Group  IP       : FF1E::1

 Originator IP   : 5.5.5.5

Table 10 Command output

Field

Description

Paths

Number of routes:

·     available—Number of valid routes.

·     best—Number of optimal routes.

Network

Information about a BGP IPv6 MVPN.

LocPrf

Local preference value.

PrefVal

Preferred value of a route.

OutLabel

Outgoing label of a route.

MED

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

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.

BGP routing table information of

NLRI prefix.

From

IP address of BGP peer that advertised the route.

Rely Nexthop

Next hop found by route recursion. If no next hop is found, this field displays not resolved.

Imported route

The route is an imported route.

Original nexthop

Original next hop of the route. If the route was obtained from a BGP update message, the original next hop is the next hop IP address in the message.

Ext-Community

Attribute value of the extended community. RT indicates the route target attribute.

PMSI tunnel

Information about a PMSI tunnel:

·     Flag—Flag bit value.

·     TunnelType—Tunnel type.

·     Label—Label value.

·     P2MP—Point to multiple points.

·     TunnelId—Tunnel ID.

·     ExtTunnelId—Extended tunnel ID.

·     P2MP Type—P2MP tunnel.

·     Address Family—Address family type.

·     Address Length—Address length.

·     Root Node Address—Address of the root node for the MP2MP FEC.

·     Opaque Length—Length of the Opaque value.

·     Opaque Value—Original opaque value.

·     BFR-ID—BFR ID of a BIER edge device.

RxPathID

Add-path ID of received routes.

MSID

Multicast service ID;

·     Source Addr—Multicast source address.

·     Prefix Len—Prefix length.

·     MSID Len—Length of the multicast service ID.

TxPathID

Add-path ID of advertised routes.

AS-path

AS_PATH attribute of the route, which records the ASs the packet has passed to avoid routing loops.

Origin

Origin of the route information:

·     IGP—Originated in the AS.

·     EGP—Learned through EGP.

·     incomplete—Learned by some other means.

Attribute value

BGP path attributes:

·     MED—MED value.

·     localpref—Local preference value.

·     pref-val—Preferred value.

·     pre—Route preference.

State

Current states:

·     valid—Valid routes.

·     internal—Internal routes.

·     external—External routes.

·     local—Local routes.

·     synchronize—Synchronized routes.

·     best—Optimal routes.

IP precedence

IP precedence. This field displays N/A for an invalid value.

QoS local ID

QoS local ID. This field displays N/A for an invalid value.

Traffic index

Traffic index. This field displays N/A for an invalid value.

MVPN route type

Type of the BGP IPv6 MVPN route. The Leaf A-D route is an automatically discovered route that that receiver-side PE replies to the multicast source-side PE to establish selective tunnels.

Route key type

Type of the Leaf A-D route:

·     Intra-AS I-PMSI A-D Route—Used to establish the inclusive tunnel.

·     S-PMSI A-D route—Router the source-side PE sends to the receiver-side PE to establish selective tunnels.

Source Len

Length of the multicast source address.

Source IP

Multicast source address.

Group Len

Length of the multicast group address.

Group IP

Multicast group address.

Route key OrigIP

IP address of the remote router.

Originator IP

Originator IP address of the MVPN Leaf A-D route.

 

# Display advertisement information about BGP IPv6 MVPN route [1][1.1.1.9]/40 with RD 100:1 in BGP instance default.

<Sysname> display bgp routing-table ipv6 mvpn route-distinguisher 100:1 [1][1.1.1.9]/40 advertise-info

 BGP local router ID: 1.1.1.9

 Local AS number: 100

 

 

 Route distinguisher: 100:1

 Total number of routes: 1

 Paths:   1 best

 

 BGP routing table information of [1][1.1.1.9]/40(TxPathID:0):

 Advertised to peers (1 in total):

    2.2.2.9

Table 11 Command output

Field

Description

Paths

Number of optimal routes to the destination.

BGP routing table information of [1][1.1.1.9]/40(TxPathID:0)

Advertisement information to reach BGP IPv6 MVPN route [1][1.1.1.9]/40. TxPathID represents the Add-path ID of routes advertised to the network.

Advertised to peers (1 in total)

Peers to which the network has been advertised.

 

display bgp route-target mvpn

Use display bgp route-target mvpn to display the contents of the Source AS and VRF Route Import extended community attributes added to BGP routes.

Syntax

display bgp [ instance instance-name ] { ipv4 | ipv6 } route-target  mvpn

Views

Any view

Predefined user roles

network-admin

network-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 the contents of the Source AS and VRF Route Import extended community attributes in BGP routes for the BGP instance default.

ipv4: Specifies the Source AS and VRF Route Import extended community attributes with the local source address as an IPv4 address.

ipv6: Specifies the Source AS and VRF Route Import extended community attributes with the local source address as an IPv6 address.

Usage guidelines

After you execute the mvpn-advertise-rt-import command, BGP will add the Source AS and VRF Route Import extended community attributes to routes sent to peers.

Examples

# Display the contents of the Source AS and VRF Route Import extended community attributes in BGP routes with the local source address as an IPv4 address.

<Sysname> display bgp ipv4 route-target mvpn

 Total route target count : 2

 public-instance:

  source-as rt 100:0

  IPv4 VRF route import 1.1.1.1:0

 vpn-instance vpn1:

  source-as rt 100:1

  IPv4 VRF route import 3::3:1

# Display the contents of the Source AS and VRF Route Import extended community attributes in BGP routes with the local source address as an IPv6 address.

<Sysname> display bgp ipv6 route-target mvpn

 Total route target count : 2

 public-instance:

  source-as rt 100:0

  IPv6 VRF route import 1.1.1.1:0

 vpn-instance vpn1:

  source-as rt 100:1

  IPv6 VRF route import 1::1:0

Table 12 Command output

Field

Description

Total route target count

Number of extended community attributes. A Source AS extended community attribute and its corresponding VRF Route Import extended community attribute are counted as one extended community attribute.

source-as rt

Source AS extended community attribute

IPv4 VRF route import

VRF Route Import extended community attribute with local source address as an IPv4 address.

IPv6 VRF route import

VRF Route Import extended community attribute with local source address as an IPv6 address.

 

Related commands

mvpn-advertise-rt-import

display multicast-service-prefix configuration

Use display multicast-service-prefix configuration to display multicast service prefix configuration.

Syntax

display multicast-service-prefix configuration

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display multicast service prefix configuration.

<Sysname> display multicast-service-prefix configuration

Total prefix addresses: 3

Prefix name: ms_prefix_1

  Prefix: 78::78/127

  Service ID length: 78::78/1

  Available: No

Prefix name: ms_prefix_2

  Prefix: 79::80/127

  Service ID length: 79::80/1

  Available: No

Prefix name: ms_prefix_3

  Prefix: 2000::/119

  Service ID length: 2000::/9

  Available: Yes

  Total 4 source addresses

    Source address                                  ID         Available

    2000::1                                         1          Yes

    2000::A                                         10         Yes

    2000::64                                        100        Yes

    2000::65                                        101        Yes

Table 13 Command output

Field

Description

Total prefix addresses

Number of configured multicast service prefixes.

Available

Whether the multicast service prefix is deployed successfully:

·     Yes.

·     No.

Total 4 source addresses

Number of configured multicast service source addresses.

Available

Whether the multicast service source address is deployed successfully:

·     Yes.

·     No.

 

display multicast-vpn c-multicast routing-table

Use display multicast-vpn c-multicast routing-table to display C-multicast A-D routing entries.

Syntax

display multicast-vpn { vpn-instance vpn-instance-name | public-instance } [ ipv6 ] c-multicast routing-table [ group-address [ mask { mask-length | mask } ] | source-address [ mask { mask-length | mask } ] | outgoing-interface { exclude | include | match } interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

public-instance: Displays C-multicast A-D routing entries for the public network instance.

ipv6: Display C-multicast A-D routing entries for IPv6 VPN instances. To display C-multicast A-D routing entries for IPv4 VPN instances, do not specify this keyword.

group-address: Specifies a multicast group by its address in the range of 224.0.0.0 to 239.255.255.255. If you do not specify a multicast group, this command displays the C-multicast A-D routing information for all multicast groups.

source-address: Specifies a multicast source by its address.

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.

outgoing-interface { exclude | include | match } interface-type interface-number: Specifies an outgoing interface. If you do not specify an outgoing interface, this command displays information about C-multicast A-D routing entries that include all outgoing interfaces. If you specify an outgoing interface, whether this command displays C-multicast A-D routing entries that include the specified outgoing interface depends on the following keyword:

·     exclude: Specifies C-multicast A-D routing entries that do not include the outgoing interface.

·     include: Specifies C-multicast A-D routing entries that include the outgoing interface.

·     match: Specifies C-multicast A-D routing entries that include only the outgoing interface.

Examples

# Display C-multicast A-D routing information for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn c-multicast routing-table

 Total 0 (*, G) entry; 2 (S, G) entries

(172.168.0.12, 227.0.0.1)

   CreateTime: 02:54:43

   Tunnel information: Tunnel1

   Leaf neigbors information:

   Total number of leaf neigbors: 2

   1: 13.1.1.2

   2: 14.1.1.2

 

(172.168.0.12, 227.0.0.2)

   CreateTime: 02:54:43

   Tunnel information: NULL

   Leaf neigbors information:

   Total number of leaf neigbors: 2

   1: 13.1.1.2

   2: 14.1.1.2

# Display C-multicast A-D routing information for IPv6 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn ipv6 c-multicast routing-table

 Total 0 (*, G) entry; 2 (S, G) entries

 

(100::5, FF03::1)

     CreateTime: 14:33:07

     Tunnel Information: LSPVOif1

 

(100::6, FF03::1)

     CreateTime: 14:19:34

     Tunnel Information: LSPVOif2

# Display C-multicast A-D routing information for the IPv4 public network instance.

<Sysname> display multicast-vpn public-instance c-multicast routing-table

 Total 0 (*, G) entry; 1 (S, G) entries

 

 (110.11.0.5, 225.0.0.5)

     CreateTime: 06:01:32

     Tunnel Information: BIERVOif1

Table 14 Command output

Field

Description

Total 0 (*, G) entry; 2 (S, G) entries

Total number of (*, G) and (S, G) entries in the C-multicast routing table.

CreateTime

Time that has elapsed since the (*, G) or (S, G) entry was created.

Tunnel information

Tunnel information. If the tunnel has not been successfully established, this field displays NULL.

Leaf neigbors information

Information of the neighbors that have replied with a Leaf A-D route.

Total number of leaf neigbors

Number of neighbors that have replied with a Leaf A-D route.

 

display multicast-vpn data-group receive

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

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

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 for IPv4 multicast transmission that are received in VPN instance mvpn.

<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 for IPv4 multicast transmission that are received in VPN instance mvpn.

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

Field

Description

MVPN data-group information received by VPN instance: mvpn

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

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 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 for IPv4 multicast transmission that are sent in a VPN instance.

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

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 for IPv4 multicast transmission that are sent in VPN instance mvpn.

<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 for IPv4 multicast transmission that are sent in VPN instance mvpn 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 16 Command output

Field

Description

MVPN data-group information sent by VPN instance: mvpn

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

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

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, this 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 the local default group for IPv4 multicast transmission in each VPN instance.

<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 the remote default group for IPv4 multicast transmission in each VPN instance.

<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 17 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 inclusive-tunnel

Use display multicast-vpn inclusive-tunnel to display information about the inclusive tunnel for a VPN instance.

Syntax

display multicast-vpn { vpn-instance vpn-instance-name | public-instance } [ ipv6 ] inclusive-tunnel { local | remote }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

public-instance: Displays information about the inclusive tunnel for the public network instance.

ipv6: Display inclusive tunnel information for an IPv6 VPN instance. To display inclusive tunnel information for an IPv4 VPN instance, do not specify this keyword.

local: Specifies the local inclusive tunnel.

remote: Specifies the remote inclusive tunnel.

Examples

# Display information about the local RSVP-TE inclusive tunnel for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel local

Tunnel type: RSVP-TE

Tunnel interface: Tunnel0

Tunnel identifier: RSVP P2MP <0x01010101, 0x0, 0x0, 0x01010101>

Tunnel state: Up

Root: 1.1.1.1 (local)

Leafs:

  1: 2.2.2.2

    State: Up     State duration: 02:50:49

  2: 3.3.3.3

    State: Up     State duration: 02:49:39

# Display information about the local mLDP inclusive tunnel for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel local

Tunnel type: mLDP

Tunnel interface: LSPVOif0

Tunnel identifier: mLDP P2MP <0xe4000000>

Tunnel state: Up

Opaque value: 0x010004e4000000

Root: 1.1.1.1 (local)

Leafs:

  1: 2.2.2.2

  2: 3.3.3.3

# Display information about the remote RSVP-TE inclusive tunnel for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel remote

Tunnel type: RSVP-TE

Tunnel interface: --

Tunnel identifier: RSVP P2MP <0x01010101, 0x0, 0x0, 0x01010101>

Tunnel state: --

Root: 1.1.1.1

Leaf:

  1: 2.2.2.2 (local)

# Display information about the remote mLDP inclusive tunnel for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel remote

Total 1 inclusive tunnel

 

Tunnel type: mLDP

Tunnel interface: --

Tunnel identifier: mLDP P2MP <0xe4000000>

Tunnel state: --

Opaque value: 0x010004e4000000

Root: 1.1.1.1

Leaf:

  1: 2.2.2.2 (local)

# Display information about the local mLDP inclusive tunnel for IPv6 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn ipv6 inclusive-tunnel local

Tunnel type: mLDP

Tunnel interface: LSPVOif0

Tunnel identifier: mLDP P2MP <0xe4000000>

Tunnel state: Up

Opaque value: 0x010004e4000000

Root: 1.1.1.1 (local)

Leafs:

  1: 2.2.2.2

  2: 3.3.3.3

# Display information about the remote mLDP inclusive tunnel for IPv6 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn ipv6 inclusive-tunnel remote

Total 1 inclusive tunnel

 

Tunnel type: mLDP

Tunnel interface: --

Tunnel identifier: mLDP P2MP <0xe4000000>

Tunnel state: --

Opaque value: 0x010004e4000000

Root: 1.1.1.1

Leaf:

  1: 2.2.2.2 (local)

# Display information about the local BIER inclusive tunnel for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel local

Tunnel type: BIER

Tunnel interface: BIERVOif0

Tunnel identifier: BIER <0x0, 0x1, 1::1>

Tunnel state: Up

Flags: 0x10

Sub-domain ID/BSL: 0/256

BFR-ID: 1

BFR prefix: 1::1

Multicast service prefix:

  Prefix length    ID length   ID offset   MS Flags

  119              9           0           0

Root: 1.1.1.7 (local)

Leafs:

  1: BFR-ID: 2          BFR prefix: 1::2

     Uptime: 00:01:43   Originating router: 1.1.1.2

# Display information about the remote BIER inclusive tunnel for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel remote

Total 1 inclusive tunnel

 

Tunnel type: BIER

Tunnel state: --

Flags: 0x0

Sub-domain ID: 0

BFR-ID: 2

BFR prefix: 1::2

Root: 1.1.1.2

Leaf:

  1: BFR-ID: 1          BFR prefix: 1::1

     Uptime: --         Originating router: 1.1.1.7

# Display information about the local BIER inclusive tunnel for the IPv4 public network instance.

<Sysname> display multicast-vpn public-instance mvpn inclusive-tunnel local

Tunnel type: BIER

Tunnel interface: BIERVOif0

Tunnel identifier: BIER <0x0, 0x1, 1::1>

Tunnel state: Up

Flags: 0x10

Sub-domain ID/BSL: 0/256

BFR-ID: 1

BFR prefix: 1::1

Multicast service prefix:

  Prefix length    ID length   ID offset   MS Flags

  119              9           0           0

Root: 1.1.1.7 (local)

Leafs:

  1: BFR-ID: 2          BFR prefix: 1::2

     Uptime: 00:01:43   Originating router: 1.1.1.2

# Display information about the remote BIER inclusive tunnel for the IPv4 public network instance.

<Sysname> display multicast-vpn public-instance mvpn inclusive-tunnel remote

Total 1 inclusive tunnel

 

Tunnel type: BIER

Tunnel state: --

Flags: 0x0

Sub-domain ID: 0

BFR-ID: 2

BFR prefix: 1::2

Root: 1.1.1.2

Leaf:

  1: BFR-ID: 1          BFR prefix: 1::1

     Uptime: --         Originating router: 1.1.1.7

Table 18 Command output

Field

Description

Tunnel interface

Name of the tunnel interface for the inclusive tunnel.

This field displays N/A if the tunnel is being created. This field displays two hyphens (--) if the device is a leaf node.

Tunnel Identifier

Tunnel information, including the tunnel type and tunnel identifier. Only RSVP P2MP tunnels and mLDP tunnels are supported in the current software version. This field displays unknown if the selective tunnel is being created.

Tunnel State

Status of the inclusive tunnel:

·     Up.

·     Down.

This field displays two hyphens (--) if the device is a leaf node of this tunnel.

Flags

Tunnel state. Different bits indicate different tunnel states.

Sub-domain ID/BSL

BIER sub domain ID or bit string length.

BFR-ID

BFR ID.

BFR prefix

BFR prefix.

Multicast service prefix

Multicast service prefix.

Prefix length

Prefix length.

ID length

Length of the multicast service ID.

ID offset

Offset for the multicast service ID.

MS Flags

Multicast service prefix state.

Opaque value

Opaque value, which includes an LSP ID used in mLDP P2MP tunnel establishment.

This field is displayed only for an mLDP P2MP tunnel.

Root

IP address of the root node on the inclusive tunnel.

If the root node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address.

Leaf

IP address of a leaf node.

If the leaf node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address.

State

State of the leaf node:

·     Up.

·     Down.

This field is displayed only for an RSVP P2MP tunnel.

State duration

Length of time that has elapsed since the neighbor becomes up or down.

This field is displayed only for an RSVP P2MP tunnel.

Uptime

Time when leaf node information was updated.

Originating router

Router that generated the LSA.

 

display multicast-vpn neighbor

Use display multicast-vpn neighbor to display information about RSVP-TE tunnel or BIER tunnel neighbors.

Syntax

display multicast-vpn { vpn-instance vpn-instance-name | public-instance } [ ipv6 ] neighbor [ interface tunnel number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

public-instance: Displays information about RSVP-TE tunnel or BIER tunnel neighbors for the public network instance.

ipv6: Displays information about IPv6 neighbors. If you do not specify this keyword, the command displays information about IPv4 neighbors.

interface tunnel number: Specifies an existing tunnel interface by its number.

Examples

# Display information about RSVP-TE tunnel neighbors in VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn neighbor

Total 1 Selective Tunnels in using

Total 1 Selective Tunnels in creating

 

Inclusive Tunnel: Tunnel8

Tunnel Identifier: RSVP P2MP <0x01010101, 0x0, 0x8, 0x01010101>

Neighbor                                        State   Up/DownTime

10.1.1.2                                        Up      02:50:49

20.1.1.2                                        Up      02:49:39

30.1.1.2                                        Down    02:00:39

 

Selective Tunnel: Tunnel2

Tunnel Identifier: RSVP P2MP <0x01010101, 0x0, 0x2, 0x01010101>

Neighbor                                        State   Up/DownTime

10.1.1.2                                        Up      02:50:49

20.1.1.2                                        Up      02:49:39

 

Selective Tunnel: NULL

Tunnel Identifier: unknow

# Display information about IPv4 BIER tunnel neighbors in VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn neighbor

Total 1 Selective Tunnel in using

Total 0 Selective Tunnel in creating

 

Inclusive Tunnel: BIERVOif0

Tunnel Identifier: BIER <0x0, 0x1, 1::1>

Neighbor                                        State   Up/DownTime

1.1.1.2                                         Up      00:15:05

 

Selective Tunnel: BIERVOif5

Tunnel Identifier: BIER <0x0, 0x1, 1::1>

Neighbor                                        State   Up/DownTime

1.1.1.2                                         Up      00:15:05

 

Selective Tunnel: NULL

Tunnel Identifier: unknow

# Display information about IPv4 BIER tunnel neighbors in the public network instance.

<Sysname> display multicast-vpn public-instance mvpn neighbor

Total 1 Selective Tunnel in using

Total 0 Selective Tunnel in creating

 

Inclusive Tunnel: BIERVOif0

Tunnel Identifier: BIER <0x0, 0x1, 1::1>

Neighbor                                        State   Up/DownTime

1.1.1.2                                         Up      00:15:05

 

Selective Tunnel: BIERVOif5

Tunnel Identifier: BIER <0x0, 0x1, 1::1>

Neighbor                                        State   Up/DownTime

1.1.1.2                                         Up      00:15:05

 

Selective Tunnel: NULL

Tunnel Identifier: unknow

Table 19 Command output

Field

Description

Total 1 Selective Tunnels in using

Number of selective tunnels in use.

Total 1 Selective Tunnels in creating

Number of selective tunnels being created.

Inclusive Tunnel

Name of the inclusive tunnel. If the tunnel is being created, this field displays NULL.

Selective Tunnel

Name of the selective tunnel. If the tunnel is being created, this field displays NULL.

Tunnel Identifier

Tunnel information, including the tunnel type and tunnel identifier. Only RSVP P2MP tunnels are supported in the current software version. If the tunnel is being created, this field displays unknow.

Neighbor

IP address of the neighbor.

State

Neighbor status:

·     Up—The neighbor is up.

·     Down—The neighbor is down.

UpDowntime

Length of time that the neighbor has been up or down.

 

display multicast-vpn selective-tunnel

Use display multicast-vpn selective-tunnel to display information about selective tunnels for a VPN instance.

Syntax

display multicast-vpn { vpn-instance vpn-instance-name | public-instance } [ ipv6 ] selective-tunnel { local [ interface interface-type interface-number ] | remote }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

public-instance: Displays information about selective tunnels for the public network instance.

ipv6: Display selective tunnel information for an IPv6 VPN instance. To display selective tunnel information for an IPv4 VPN instance, do not specify this keyword.

local: Specifies local selective tunnels.

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about selective tunnels on all interfaces.

remote: Specifies remote selective tunnels.

Examples

# Display information about local RSVP-TE selective tunnels for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel local

Total 2 selective tunnels in using

Total 0 selective tunnels in creating

 

Tunnel type: RSVP-TE

Tunnel interface: Tunnel1

Tunnel identifier: RSVP P2MP <0x01010101, 0x0, 0x1, 0x01010101>

Tunnel state: Up

Root: 1.1.1.1 (local)

Leafs:

  1: 2.2.2.2

    State: Up      State duration: 02:50:49

 

Tunnel interface: Tunnel2

Tunnel identifier: RSVP P2MP <0x01010101, 0x0, 0x2, 0x01010101>

Tunnel state: Up

Root: 1.1.1.1(local)

Leafs:

1: 2.2.2.2

    State: Up      State duration: 02:50:49

# Display information about local mLDP selective tunnels for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel local

Total 2 selective tunnels in using

Total 1 selective tunnels in creating

 

Tunnel type: mLDP

Tunnel interface: N/A

Tunnel identifier: unknown

 

Tunnel interface: LSPVOif1

Tunnel identifier: mLDP P2MP <0xe4000001>

Tunnel state: Up

Opaque value: 0x010004e4000001

Root: 1.1.1.1(local)

 

Tunnel interface: LSPVOif2

Tunnel identifier: mLDP P2MP <0xe4000002>

Tunnel state: Up

Opaque value: 0x010004e4000002

Root: 1.1.1.1(local)

# Display information about remote RSVP-TE selective tunnels for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel remote

Total 2 selective tunnels

 

Tunnel type: RSVP-TE

Tunnel interface: --

Tunnel identifier: RSVP P2MP <0x01010101, 0x0, 0x1, 0x01010101>

Tunnel state: --

Root: 1.1.1.1

Leaf:

1: 2.2.2.2 (local)

 

Tunnel interface: --

Tunnel identifier: RSVP P2MP <0x01010101, 0x0, 0x2, 0x01010101>

Tunnel state: --

Root: 1.1.1.1

Leaf:

1: 2.2.2.2 (local)

# Display information about remote mLDP selective tunnels for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel remote

Total 2 selective tunnels

 

Tunnel type: mLDP

Tunnel interface: --

Tunnel identifier: mLDP P2MP <0xe4000001>

Tunnel state: --

Opaque value: 0x010004e4000001

Root: 1.1.1.1

Leaf:

1: 2.2.2.2 (local)

 

Tunnel interface: --

Tunnel identifier: mLDP P2MP <0xe4000002>

Tunnel state: --

Opaque value: 0x010004e4000002

Root: 1.1.1.1

Leaf:

1: 2.2.2.2 (local)

# Display information about local mLDP selective tunnels for IPv6 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn ipv6 selective-tunnel local

Total 2 selective tunnels in using

Total 0 selective tunnel in creating

 

Tunnel type: mLDP

Tunnel interface: LSPVOif1

Tunnel identifier: mLDP P2MP <0xe4000001>

Tunnel state: Up

Opaque value: 0x010004e4000001

Root: 1.1.1.1(local)

 

Tunnel interface: LSPVOif2

Tunnel identifier: mLDP P2MP <0xe4000002>

Tunnel state: Up

Opaque value: 0x010004e4000002

Root: 1.1.1.1(local)

# Display information about remote mLDP selective tunnels for IPv6 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn ipv6 selective-tunnel remote

Total 2 selective tunnels

 

Tunnel type: mLDP

Tunnel interface: --

Tunnel identifier: mLDP P2MP <0xe4000001>

Tunnel state: --

Opaque value: 0x010004e4000001

Root: 1.1.1.1

Leaf:

1: 2.2.2.2 (local)

 

Tunnel interface: --

Tunnel identifier: mLDP P2MP <0xe4000002>

Tunnel state: --

Opaque value: 0x010004e4000002

Root: 1.1.1.1

Leaf:

1: 2.2.2.2 (local)

# Display information about local BIER selective tunnels for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel local

Total 1 selective tunnel in using

Total 0 selective tunnel in creating

 

Tunnel type: BIER

Tunnel interface: BIERVOif5

Tunnel identifier: BIER <0x0, 0x1, 1::1>

Tunnel state: Up

Flags: 0x10

Sub-domain ID/BSL: 0/256

BFR-ID: 1

BFR prefix: 1::1

Multicast service prefix:

  Prefix length    ID length   ID offset   MS Flags

  119              9           0           0

Root: 1.1.1.7 (local)

Leafs:

  1: BFR-ID: 2          BFR prefix: 1::2

     Uptime: 00:01:25   Originating router: 1.1.1.2

# Display information about remote BIER selective tunnels for IPv4 VPN instance mvpn.

<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel remote

Tunnel type: BIER

Tunnel state: --

Flags: 0x0

Sub-domain ID: 0

BFR-ID: 1

BFR prefix: 1::1

Root: 1.1.1.7

Leaf:

  1: BFR-ID: 2          BFR prefix: 1::2

     Uptime: --         Originating router: 1.1.1.2

# Display information about local BIER selective tunnels for the IPv4 public network instance.

<Sysname> display multicast-vpn public-instance mvpn selective-tunnel local

Total 1 selective tunnel in using

Total 0 selective tunnel in creating

 

Tunnel type: BIER

Tunnel interface: BIERVOif5

Tunnel identifier: BIER <0x0, 0x1, 1::1>

Tunnel state: Up

Flags: 0x10

Sub-domain ID/BSL: 0/256

BFR-ID: 1

BFR prefix: 1::1

Multicast service prefix:

  Prefix length    ID length   ID offset   MS Flags

  119              9           0           0

Root: 1.1.1.7 (local)

Leafs:

  1: BFR-ID: 2          BFR prefix: 1::2

     Uptime: 00:01:25   Originating router: 1.1.1.2

# Display information about remote BIER selective tunnels for the IPv4 public network instance.

<Sysname> display multicast-vpn public-instance mvpn selective-tunnel remote

Tunnel type: BIER

Tunnel state: --

Flags: 0x0

Sub-domain ID: 0

BFR-ID: 1

BFR prefix: 1::1

Root: 1.1.1.7

Leaf:

  1: BFR-ID: 2          BFR prefix: 1::2

     Uptime: --         Originating router: 1.1.1.2

Table 20 Command output

Field

Description

Tunnel interface

Name of the tunnel interface for a selective tunnel.

This field displays N/A if the selective tunnel is being created. This field displays two hyphens (--) if the device is a leaf node.

Tunnel Identifier

Tunnel information, including the tunnel type and tunnel identifier. Only RSVP P2MP tunnels and mLDP tunnels are supported in the current software version. This field displays unknown if the selective tunnel is being created.

Tunnel State

Status of the selective tunnel:

·     Up.

·     Down.

This field displays two hyphens (--) if the device is a leaf node of this tunnel.

Flags

Tunnel state. Different bits indicate different tunnel states.

Sub-domain ID/BSL

BIER sub domain ID or bit string length.

BFR-ID

BFR ID.

BFR prefix

BFR prefix.

Multicast service prefix

Multicast service prefix.

Prefix length

Prefix length.

ID length

Length of the multicast service ID.

ID offset

Offset for the multicast service ID.

MS Flags

Multicast service prefix state.

Opaque value

Opaque value, which includes an LSP ID used in mLDP P2MP tunnel establishment.

This field is displayed only for an mLDP P2MP tunnel.

Root

IP address of the root node on the selective tunnel.

If the root node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address.

Leaf

IP address of a leaf node on the selective tunnel.

If the leaf node is the device where this command is executed,  this field displays the IP address of the MVPN source interface and (local) is appended to the IP address.

State

State of the leaf node:

·     Up.

·     Down.

This field is displayed only for an RSVP P2MP tunnel.

State duration

Length of time that has elapsed since the neighbor becomes up or down.

This field is displayed only for an RSVP P2MP tunnel.

Uptime

Time when leaf node information was updated.

Originating router

Router that generated the LSA.

 

inclusive-tunnel dynamic

Use inclusive-tunnel dynamic to enable dynamic inclusive tunnel creation.

Use undo inclusive-tunnel dynamic to restore the default.

Syntax

inclusive-tunnel dynamic [ sub-domain sub-domain-id ] [ bsl bsl-value ]

undo inclusive-tunnel dynamic

Default

Dynamic inclusive tunnel creation is disabled.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Parameters

sub-domain sub-domain-id: Specifies a BIER sub domain ID, in the range of 0 to 255. The default value is 0.

bsl bsl-value: Specifies the bit string length. Valid values are 64, 128, and 256.The default value is 256.

Usage guidelines

The sub-domain and bsl options are supported only in BIER-based MVPN mode. For more information about these two options, see BIER Configuration Guide.

You can configure only one sub domain and one BSL in one MVPN view.

In a BIER-based MVPN, the Intra-AS I-PMSI A-D route sent by the source PE to the receiver PE contains the sub-domain field. Upon receiving the route, the receiver PE identifies whether this sub domain is in its local sub domain list. If it is in the list, the receiver PE responds with a Leaf A-D route. If it is not in the list, the receiver PE ignores the route. Upon receiving the Leaf A-D route, the source PE establishes a BIER tunnel to the receiver PE.

The Leaf A-D route contains the BFR ID of the receiver PEs. The source PE gets the Bit String of the receiver PEs based on the BFR ID and the BSL configured with this command, makes an OR operation for the Bit Strings of the receiver PEs, and then encapsulates the sum value in the header of BIER packets. On the public network, each node performs an AND operation for the Bit String and the F-BM. If the result is not 0, the nodes forward the multicast packets.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, enable dynamic inclusive tunnel creation.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-mvpn-ipv4] inclusive-tunnel dynamic

# In MVPN IPv6 address family view of VPN instance mvpn, enable dynamic inclusive tunnel creation.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv6

[Sysname-mvpn-vpn-instance-mvpn-ipv6] inclusive-tunnel dynamic

ipv6 underlay enable

Use ipv6 underlay enable to enable IPv6 underlay for MVPN.

Use undo ipv6 underlay enable to disable IPv6 underlay for MVPN.

Syntax

ipv6 underlay enable

undo ipv6 underlay enable

Default

IPv6 underlay is disabled for MVPN.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Usage guidelines

This command is supported only in BIER-based MVPN

By default, the originating router's IP address in a BGP MVPN route and the router ID in the VRF Route Import extended community are both IPv4 addresses. If the two addresses in a BGP MVPN route from another vendor's device are IPv6 addresses, BGP MVPN route exchange will fail. This function enables the device to carry the IPv6 address of the MVPN source interface in the two fields and to identify and accept BGP MVPN routes with IPv6 addresses.

Examples

# In MVPN IPv4 address family view of the public network instance, enable IPv6 underlay for MVPN.

<Sysname> system-view

[Sysname] multicast-vpn public-instance mode bier

[Sysname-mvpn-public-instance] address-family ipv4

[Sysname-mvpn-public-instance-ipv4] ipv6 underlay enable

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

Predefined user roles

network-admin

Usage guidelines

This command is available only for an MDT-based MVPN.

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-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-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

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 is configured in the receiver VPN instance, the multicast traffic of the source group specified in the extranet RPF selection policy 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-service-prefix

Use multicast-service-prefix to configure multicast service prefix information.

Use undo multicast-service-prefix to delete the configured multicast service prefix information.

Syntax

multicast-service-prefix prefix-name ipv6-prefix ipv6-address prefix-length service-id-length id-length

undo multicast-service-prefix prefix-name

Default

No multicast service prefix information is configured.

Views

System view

Predefined user roles

network-admin

Parameters

prefix-name: Specifies a multicast service prefix name, a case-sensitive string of 1 to 31 characters.

ipv6-prefix ipv6-address prefix-length: Specifies a multicast service prefix. ipv6-address represents the multicast service prefix address, and prefix-length represents the multicast service prefix length, in the range of 1 to 127.

service-id-length id-length: Specifies the multicast service ID length, in the range of 1 to 20. The sum of prefix-length and id-length cannot exceed 128.

Usage guidelines

This command is available only in BIER-based MVPN.

In a BIER-based MVPN, you must configure a multicast service prefix for each multicast source-side PE. The PEs calculate a multicast service source address for identifying different MVPN instances based on the prefix address and length, multicast service ID (configured with the tunnel-source command) and the ID length. A PE uses this source address as the IPv6 source address when encapsulating multicast packets in BIER. This source address keeps unchanged when multicast packets are transmitted on the public network.

Make sure the multicast service prefix addresses are different for different PEs and are different from the IPv6 addresses on the device. After the configuration, execute the display multicast-service-prefix configuration command to identify whether the multicast service prefixes are deployed successfully.

Examples

# Configure a multicast service prefix named ms1, with address 9100::, length 120, and multicast service ID length 8.

<Sysname> system-view

[Sysname] multicast-service-prefix ms1 ipv6-prefix 9100:: 120 service-id-length 8

Related commands

tunnel-source

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 { bier | mdt | mldp | rsvp-te }

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

Default

No MVPN exists.

Views

System view

Predefined user roles

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

bier: Specifies the BIER mode.

mdt: Specifies the MDT mode.

mldp: Specifies the mLDP mode.

rsvp-te: Specifies the RSVP-TE 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-vpn-instance-mvpn]

multicast-vpn public-instance

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

Use undo multicast-vpn public-instance to delete configurations in MVPN view for the public network instance.

Syntax

multicast-vpn public-instance mode bier

undo multicast-vpn public-instance

Default

No MVPN exists.

Views

System view

Predefined user roles

network-admin

Parameters

mode: Specifies the mode of the MVPN.

bier: Specifies the BIER mode.

Usage guidelines

The public network instance can be considered as a special VPN instance. The public network instance allows a PE to forward Layer 3 multicast traffic of the public network through a BIER tunnel.

Examples

# Create a BIER-based MVPN for the public network instance and enter MVPN view.

<Sysname> system-view

[Sysname] multicast-vpn public-instance mode bier

[Sysname-mvpn-public-instance]

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

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 an MDT-based MVPN.

Examples

# Enable RPF vector compatibility.

<Sysname> system-view

[Sysname] multicast rpf-proxy-vector compatible

mvpn-advertise-rt-import

Use mvpn-advertise-rt-import to allow the device to add the Source AS extended community attribute and the VRF Route Import extended community attribute to BGP routes sent to peers.

Use undo mvpn-advertise-rt-import to disable the device from adding the Source AS extended community attribute and the VRF Route Import extended community attribute to BGP routes sent to peers.

Syntax

mvpn-advertise-rt-import

undo mvpn-advertise-rt-import

Default

The device is allowed to add the Source AS extended community attribute and the VRF Route Import extended community attribute to BGP routes sent to peers.

Views

BGP IPv4 unicast address family view

BGP IPv4 multicast address family view

BGP IPv6 unicast address family view

BGP IPv6 multicast address family view

BGP VPNv4 address family view

BGP VPNv6 address family view

Predefined user roles

network-admin

Usage guidelines

The following BGP extended community attributes are used to identify the route originator of a BGP route:

·     Source AS—Carries the number of AS where the MVPN source resides. The format of this attribute is 32-bit AS number:0, for example, 100:0.

·     VRF Route Import—Carries the originating address and the VPN instance or public network instance to which the route belongs. The format of the attribute is 32-bit or 128-bit originating address instance index, for example, 192.168.122.15:1. After this command is executed in BGP IPv4 unicast address family view, BGP IPv4 multicast address family view, BGP IPv6 unicast address family view, or BGP IPv6 multicast address family view, the instance index in advertised BGP routes is 0. The value of the originating address depends on the MVPN source interface configuration.

¡     If the source command is used to specify the MVPN source interface, the originating address is the IP address of the MVPN source interface.

¡     If the source command is not used, the originating address is the router ID of the BGP instance to which the device belongs.

Before you execute this command in BGP IPv4 unicast address family view, BGP IPv4 multicast address family view, BGP VPNv4 address family view, you must establish BGP IPv4 MVPN peer relationship. Before you execute this command in BGP IPv6 unicast address family view, BGP IPv6 multicast address family view, BGP VPNv6 address family view, you must establish BGP IPv6 MVPN peer relationship.

Examples

# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP VPNv4 peers.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family vpnv4

[Sysname-bgp-default-vpnv4] mvpn-advertise-rt-import

# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP VPNv6 peers.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family vpnv6

[Sysname-bgp-default-vpnv6] mvpn-advertise-rt-import

# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP IPv4 unicast peers.

<Sysname> system-view

[Sysname] bgp 100

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

[Sysname-bgp-default-ipv4] mvpn-advertise-rt-import

# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP IPv6 unicast peers.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family ipv6 unicast

[Sysname-bgp-default-ipv6] mvpn-advertise-rt-import

# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP IPv4 multicast peers.

<Sysname> system-view

[Sysname] bgp 100

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

[Sysname-bgp-default-mul-ipv4] mvpn-advertise-rt-import

# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP IPv6 multicast peers.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family ipv6 multicast

[Sysname-bgp-default-mul-ipv6] mvpn-advertise-rt-import

Related commands

source

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

BGP IPv6 MVPN address family view

Predefined user roles

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

# Disable route target filtering for BGP IPv6 MVPN routes.

<Sysname> system-view

[Sysname] bgp 100

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

[Sysname-bgp-default-mvpn-ipv6] 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

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.

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

selective-tunnel delay

Use selective-tunnel delay to set the tunnel switchover delay.

Use undo selective-tunnel delay to restore the default.

Syntax

selective-tunnel delay delay

undo selective-tunnel delay

Default

The tunnel switchover delay is 3 seconds.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Parameters

delay: Specifies the tunnel switchover delay, in the range of 1 to 60 seconds.

Examples

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

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-mvpn-ipv4] selective-tunnel delay 20

# In MVPN IPv6 address family view of VPN instance mvpn, set the tunnel switchover delay to 20 seconds.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv6

[Sysname-mvpn-vpn-instance-mvpn-ipv6] selective-tunnel delay 2

selective-tunnel dynamic

Use selective-tunnel dynamic to enable dynamic selective tunnel creation.

Use undo selective-tunnel dynamic to restore the default.

Syntax

MVPN IPv4 address family view:

selective-tunnel dynamic [ acl { ipv4-acl-number | name ipv4-acl-name } ] [ threshold threshold-value ]  [ sub-domain sub-domain-id ] [ bsl bsl-value ] [ tunnel-limit number ]

undo selective-tunnel dynamic

MVPN IPv6 address family view:

selective-tunnel dynamic [ acl { ipv6-acl-number | name ipv6-acl-name } ] [threshold threshold-value ] [ sub-domain sub-domain-id ] [ bsl bsl-value ] [ tunnel-limit number ]

undo selective-tunnel dynamic

Default

Dynamic selective tunnel creation is disabled.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Parameters

acl: Specifies an IPv4 advanced ACL. If you do not specify an ACL, multicast packets of all (S, G) entries can trigger a tunnel switchover.

·     ipv4-acl-number: Specifies an IPv4 advanced ACL by its number in the range of 3000 to 3999. If the specified ACL does not exist or contain no rules, multicast packets of all (S, G) entries can trigger a tunnel switchover.

·     name ipv4-acl-name: Specifies an IPv4 advanced ACL by its name, a case-insensitive string of 1 to 63 characters. The ACL name must start with an English letter and to avoid confusion, it cannot be all. If the specified ACL does not exist or contains no rules, multicast packets of all (S, G) entries can trigger a tunnel switchover.

·     ipv6-acl-number: Specifies an IPv6 advanced ACL by its number in the range of 3000 to 3999. If the specified ACL does not exist or contain no rules, IPv6 multicast packets of all (S, G) entries can trigger a tunnel switchover.

·     name ipv6-acl-name: Specifies an IPv6 advanced ACL by its name, a case-insensitive string of 1 to 63 characters. The ACL name must start with an English letter and to avoid confusion, it cannot be all. If the specified ACL does not exist or contains no rules, IPv6 multicast packets of all (S, G) entries can trigger a tunnel switchover.

threshold threshold-value: Specifies the threshold that triggers switchover from the inclusive tunnel to selective tunnels, in the range of 0 to 16777216, in kbps. The default value is 0.

sub-domain sub-domain-id: Specifies a BIER sub domain ID, in the range of 0 to 255. The default value is 0.

bsl bsl-value: Specifies the bit string length. Valid values are 64, 128, and 256. The default value is 256.

tunnel-limit number: Specifies the maximum number of selective tunnels that can be created, in the range of 1 to 8192. The default value is 256.

Usage guidelines

The source and destination keywords in ACL rules are used to match the multicast source and multicast group addresses, respectively.

The tunnel-limit, threshold, sub-domain, and bsl options are supported only in BIER-based MVPN mode.

In the same MVPN view, the sub domain and BSL configured for selective tunnels must be the same as those configured for the inclusive tunnel.

In a BIER-based MVPN, the S-PMSI A-D route sent by the source PE to the receiver PE contains the sub-domain field and (S, G) entry information. Upon receiving the route, the receiver PE identifies whether this sub domain is in its local sub domain list. If it is in the list and an (S, G) entry receiver exists, the receiver PE responds with a Leaf A-D route. If it is not in the list, the receiver PE ignores the route. Upon receiving the Leaf A-D route, the source PE establishes a BIER tunnel to the receiver PE.

The Leaf A-D route contains the BFR ID of the receiver PEs. The source PE gets the Bit String of the receiver PEs based on the BFR ID and the BSL configured with this command, makes an OR operation for the Bit Strings of the receiver PEs, and then encapsulates the sum value in the header of BIER packets. On the public network, each node performs an AND operation for the Bit String and the F-BM. If the result is not 0, the nodes forward the multicast packets.

The device switches multicast traffic back from the inclusive tunnel to selective tunnels only if the forwarding speed keeps higher than the threshold before the delay timer specified by the selective-tunnel delay command times out. In other situations, the device uses the inclusive tunnel to forward multicast traffic.

The device switches multicast traffic back from selective tunnels to the inclusive tunnel only if the forwarding speed keeps lower than the threshold before the holddown timer specified by the selective-tunnel holddown command times out.

If (S, G) entries that can trigger a tunnel switchover exist and the tunnel switchover threshold is configured, the device switches multicast traffic from the inclusive tunnel to selective tunnels only when both conditions are met.

In a referenced ACL, a rule containing the vpn-instance vpn-instance option does not take effect.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, enable dynamic selective tunnel creation.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-mvpn-ipv4] selective-tunnel dynamic

# In MVPN IPv6 address family view of VPN instance mvpn, enable dynamic selective tunnel creation.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv6

[Sysname-mvpn-vpn-instance-mvpn-ipv6] selective-tunnel dynamic

Related commands

selective-tunnel holddown

selective-tunnel holddown

Use selective-tunnel holddown to set the holddown timer for multicast traffic to switch back from selective tunnels to the inclusive tunnel.

Use undo selective-tunnel holddown to restore the default.

Syntax

selective-tunnel delay delay

undo selective-tunnel delay

Default

The holddown timer is 60 seconds for multicast traffic to switch back from selective tunnels to the inclusive tunnel.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Parameters

holddown-time: Specifies the tunnel holddown timer, in the range of 0 to 180 seconds.

Usage guidelines

This command is available only in BIER-based MVPN.

The device switches multicast traffic back from selective tunnels to the inclusive tunnel only if the forwarding speed keeps lower than the threshold specified by the selective-tunnel dynamic command before the holddown timer times out.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, set the holddown timer to 20 seconds for multicast traffic to switch back from selective tunnels to the inclusive tunnel.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

[Sysname-mvpn-vpn-instance-mvpn-ipv4] selective-tunnel holddown 20

# In MVPN IPv4 address family view of VPN instance mvpn, set the holddown timer to 20 seconds for multicast traffic to switch back from selective tunnels to the inclusive tunnel.

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv6

[Sysname-mvpn-vpn-instance-mvpn-ipv6] selective-tunnel holddown 2

Related commands

selective-tunnel dynamic

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

Parameters

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

Usage guidelines

For the PE 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 address family view and IPv6 address family view.

Examples

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

<Sysname> system-view

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

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv4

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

[Sysname-mvpn-vpn-instance-mvpn-ipv4] quit

[Sysname-mvpn-vpn-instance-mvpn] address-family ipv6

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

tunnel source

Use tunnel-source to specify a multicast service source address.

Use undo tunnel-source to delete the specified multicast service source address.

Syntax

tunnel-source multicast-service-prefix prefix-name service-id id-number

undo tunnel-source

Default

No multicast service source address is specified.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

Parameters

multicast-service-prefix prefix-name: Specifies a multicast service prefix by its name, a case-sensitive string of 1 to 32 characters.

service-id id-number: Specifies a multicast service ID in the range of 0 to 1048575.

Usage guidelines

This command is available only in BIER-based MVPN.

With this multicast service source address configured, a multicast source-side PE uses this address as the source IPv6 address for BIER encapsulation. This source address keeps unchanged when multicast packets are transmitted on the public network.

The multicast service source address is calculated based on the prefix address and length, and multicast service ID and ID length, which are configured by using the multicast-service-prefix command.

To bind a multicast service source address to only one MVPN instance, you can configure only one multicast service address in one MVPN address family view.

The multicast source-side PE advertises the multicast service source address to receiver PEs by sending an Intra-AS I-PMSI A-D route to the receiver PEs. The receiver PEs record the mapping between the source address and MVPN instance. When a receiver PE receives BIER-encapsulated multicast packets, it creates multicast forwarding entries in the MVPN instance mapped to this address and forwards the multicast packets.

Examples

# In MVPN IPv4 address family view of VPN instance vpna, specify the multicast service source address with prefix md and multicast service ID 3.

<Sysname> system-view

[Sysname] multicast-vpn vpn-instance vpna mode bier

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

[Sysname-mvpn-vpn-instance-vpna-ipv4] tunnel-source multicast-service-prefix md service-id 3

Related commands

multicast-service-prefix

 

  • 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
新华三官网