No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Multicast VPN (IPv4) Configuration Commands in Rosen Mode

Multicast VPN (IPv4) Configuration Commands in Rosen Mode

NOTE:

The feature is just for beta test, and is not for commercial use. If the feature is required in the test, contact technical support personnel.

auto-discovery

Function

The auto-discovery command configures the auto-discovery (A-D) mode for the multicast VPN, ensuring the transmission of multicast VPN services on the public network tunnel which is based on the Protocol Independent Multicast-Source-Specific Multicast (PIM-SSM) multicast distribution tree (MDT), and associates an inbound multicast route-policy with the IPv4 address family of the current VPN instance.

The undo auto-discovery command deletes the configurations of the A-D mode for the multicast VPN and removes the association between the inbound multicast route-policy and the IPv4 address family of the current VPN instance.

By default, the A-D mode for the multicast VPN is not configured and the IPv4 address family of the current VPN instance is not associated with an inbound multicast route-policy.

Format

auto-discovery { mdt | mvpn } [ import route-policy route-policy-name ]

undo auto-discovery

Parameters

Parameter Description Value
mdt Specifies that the multicast VPN adopts the MDT-Subsequent Address Family Identifier (SAFI) A-D mode. -
mvpn Specifies that the multicast VPN adopts the MCAST-VPN SAFI A-D mode. -
route-policy route-policy-name Specifies the inbound multicast route-policy to associate with the IPv4 address family of the VPN instance.

The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Currently, the mechanism of implementing the multicast VPN is that all Provider Edges (PEs) on the network know information about the Rendezvous Point (RP); in this manner, the PIM-SM MDT is established on the public network to transmit multicast VPN services. This mechanism, however, does not support the Share-Group address within the SSM address range. This is because PEs in the same VPN do not know the peer information of each other, thereforeknowing nothing about the multicast source information. As a result, these PEs cannot directly send Join messages to the multicast source and establish the PIM-SSM MDT.

To solve this problem, in an autonomous system (AS), you can configure the BGP A-D mode to enable the automatic discovery of the PE information about PEs in the same VPN. In this manner, multicast VPN services can be transmitted on the public network tunnel which is based on the PIM-SSM MDT.

At present, the multicast VPN supports two A-D modes:
  • MDT-SAFI A-D mode: defines a new address family in the MDT-SAFI message advertised through BGP. After the multicast VPN is configured on a PE, the multicast VPN configurations, including the Route Distinguisher (RD) and the Share-Group address, can be advertised to all BGP peers. After a remote PE (a BGP peer) receives the MDT-SAFI message advertised through BGP, the remote PE compares the RD carried in the message with its RD. If the RDs are the same, it indicates the remote PE is in the same VPN with the local PE. The remote PE then uses the MDT-SAFI message to establish the PIM-SSM MDT for transmitting multicast VPN services.

  • MCAST-VPN SAFI A-D mode: defines a new address family in the MCAST-VPN-SAFI message advertised through BGP. Similar to the MDT-SAFI A-D mode, the MCAST-VPN SAFI A-D mode uses the MCAST-VPN-SAFI message advertised between BGP peers to transmit multicast VPN configurations, including the RD and Share-Group address. The difference is that the MCAST-VPN SAFI A-D mode has a broader definition, supports additional extensions, and carries more multicast VPN attributes and information for establishing the public network tunnel. Therefore, the MCAST-VPN SAFI A-D mode is applied to the next-generation multicast VPN.

Prerequisites

The multicast routing-enable command has been run in the public network instance view or the VPN instance view.

Precautions

When configuring the A-D mode for the multicast VPN, you need to configure an A-D address family in the BGP view so that the corresponding BGP A-D mode can be used to implement the multicast VPN function. If the configured A-D mode is inconsistent with the A-D address family enabled in the BGP view, you cannot implement the A-D mode.

NOTE:

This command is applied to the single-AS scenario, with no RP configured on the public network.

In the same VPN enabled with the IPv4 address family, only one A-D mode can be adopted. Different VPNs enabled with the IPv4 address family on the same PE can adopt different A-D modes. In this case, you need to enable two kinds of A-D address families in the BGP view, and then the specific A-D mode is adopted by each VPN to forward multicast data.

The PEs enabled with the BGP A-D function must support the same PIM protocol and use the Share-Group address within the SSM address range.

Running this command does not affect the original multicast VPN service flow. When the Share-Group address is in the Any-Source Multicast (ASM) address range, or the PIM-DM protocol is adopted on the public network, multicast VPN traffic can still be transmitted along the multicast tunnel in PIM-SM mode or in PIM-DM mode on the public network.

Example

# Configure the MDT-SAFI A-D mode for vpn1 enabled with the IPv4 address family, implementing the transmission of multicast VPN services along the public network tunnel (PIM-SSM MDT) in vpn1.

<Huawei> system-view
[Huawei] bgp 100
[Huawei-bgp] ipv4-family mdt
[Huawei-bgp-af-mdt] peer 3.3.3.3 enable
[Huawei-bgp-af-mdt] quit
[Huawei-bgp] quit
[Huawei] ip vpn-instatnce vpn1
[Huawei-vpn-instance-vpn1] ipv4-family
[Huawei-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1
[Huawei-vpn-instance-vpn1-af-ipv4] vpn-target 100:1 both
[Huawei-vpn-instance-vpn1-af-ipv4] multicast routing-enable
[Huawei-vpn-instance-vpn1-af-ipv4] multicast-domain share-group 232.2.2.0 binding mtunnel 0
[Huawei-vpn-instance-vpn1-af-ipv4] auto-discovery mdt

display default-parameter mvpn

Function

The display default-parameter mvpn command displays default configurations about the multicast VPN (MVPN).

Format

display default-parameter mvpn

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Using this command displays only default configurations, regardless of whether the configurations about MVPN parameters are changed.

Example

# Display default configurations about the MVPN.

<Huawei> display default-parameter mvpn
  MVPN Instance View Default Configurations:
  ------------------------------------------
  Multicast-domain switch-delay: 5 s
  Multicast-domain switch threshold: 0 kbps-preferred
  Multicast-domain holddown-time: 60 s
  Multicast-domain log switch-group-reuse: disabled
  Multicast-domain share-group: disabled
  Multicast-domain switch-group-pool: disabled
  Multicast-domain auto-discovery: disabled
  Multicast-domain switch-without-register: disabled
  Multicast extranet select-rpf rule: disabled
Table 9-81  Description of the display default-parameter mvpn command output

Item

Description

MVPN Instance View Default Configurations

Indicates the default configurations in the MVPN instance view.

Multicast-domain switch-delay

Indicates the delay in switching from the share-multicast distribution tree (MDT) to the switch-MDT.

Multicast-domain switch threshold

Indicates the threshold of the multicast packet rate that can trigger the switch to the switch-MDT.

Multicast-domain holddown-time

Indicates the delay in switching from the switch-MDT to the share-MDT.

Multicast-domain log switch-group-reuse

Indicates whether recording logs about switch-group address reuse is configured.

Multicast-domain share-group

Indicates whether the share-group address is configured and whether the Multicast Tunnel Interface (MTI) is bound to a VPN instance.

Multicast-domain switch-group-pool

Indicates whether the range of the switch-MDT switch-group-pool and the switch condition are configured.

Multicast-domain auto-discovery

Indicates whether the auto-discovery (A-D) mode is configured for the VPN.

Multicast-domain switch-without-register

Indicates whether the source Provider Edge (PE) sends the null Register message to the Rendezvous Point (RP) to establish the shortest path tree (SPT) on the public network before the Switch-Group address is used to encapsulate VPN data.

Multicast extranet select-rpf rule

Indicates whether the multicast routing policy configured for a VPN is configured.

display multicast-domain control-message counters

Function

The display multicast-domain control-message counters command displays statistics about sent and received MDT switch messages in a specified VPN instance or all VPN instances.

Format

display multicast-domain { vpn-instance vpn-instance-name | all-instance } control-message counters

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Displays statistics about sent and received MDT switch messages in a specified VPN instance. vpn-instance-name specifies the VPN instance name. -
all-instance Displays statistics about sent and received MDT switch messages in all VPN instances. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display multicast-domain control-message counters command to view statistics about sent and received MDT switch messages in a specified VPN instance or all VPN instances and check whether packets are normally sent and received on the current device.

You can set the vpn-instance vpn-instance-name parameter so as to view statistics about sent and received MDT switch messages in a specified VPN instance.

Example

# Displays statistics about sent and received MDT switch messages in VPN instance red.

<Huawei> display multicast-domain vpn-instance red control-message counters
VPN-Inastance red:
 Message Type     Received         Sent             Invalid
 Switch           5000             0                5000 
Table 9-82  Description of the display multicast-domain vpn-instance red control-message counters command output

Item

Description

VPN-Instance red

VPN instance in which statistics about sent and received MDT switch messages need to be displayed

Message Type

Message type. The value can only be:

Switch: MDT switch message

Received

Number of received messages

Sent

Number of sent messages

Invalid

Number of received invalid messages

display multicast-domain invalid-packet

Function

The display multicast-domain invalid-packet command displays statistics about invalid MDT switch messages received by a device and details of these messages.

Format

display multicast-domain { vpn-instance vpn-instance-name | all-instance } invalid-packet

display multicast-domain invalid-packet [ packet-number ] verbose

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Displays statistics about invalid MDT switch messages received in a specified VPN instance. vpn-instance-name specifies the VPN instance name. The value is a string of case-sensitive characters.
all-instance Displays statistics about invalid MDT switch messages received in all VPN instances. -
packet-number Displays details of a specified number of invalid MDT switch messages recently received. The value is an integer ranging from 1 to 100. By default, details of all the invalid MDT switch messages currently stored are displayed.
verbose Displays details of invalid MDT switch messages. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display multicast-domain invalid-packet command to view statistics and details of invalid MDT switch messages for fault location and rectification.

If a shortest path tree (SPT) fails to be set up in a VPN instance on a multicast network, you can run the display multicast-domain invalid-packet command first to check whether devices have received invalid MDT switch messages. If the command output contains statistics about invalid MDT switch messages, you need to run the display multicast-domain invalid-packet [ packet-number ] verbose command to view details of invalid MDT switch messages to locate the fault.

You can run the following related commands to view information about specific invalid MDT switch messages:

  • Run the display multicast-domain vpn-instance vpn-instance-name invalid-packet command to view statistics about invalid MDT switch messages received in a specified VPN instance.

  • Run the display multicast-domain invalid-packet packet-number verbose command to view details of invalid MDT switch messages recently received. Currently, details of a maximum of 10 invalid MDT switch messages can be displayed.

Example

# Displays statistics about invalid MDT switch messages received in vpn1.

<Huawei> display multicast-domain vpn-instance vpn1 invalid-packet

             Statistics of invalid packets for vpn1:            
--------------------------------------------------------------------            
MDT Switch invalid packet:
Fault Length            : 0           Invalid Message Type    : 0
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Switch Group    : 0                 
--------------------------------------------------------------------            
Table 9-83  Description of the display multicast-domain vpn-instance vpn1 invalid-packet command output

Item

Description

Statistics of invalid packets for vpn1

VPN instance in which statistics about MDT switch messages need to be displayed

MDT Switch invalid packet

Invalid MDT switch messages

Fault Length

Messages with invalid lengths

Invalid Message Type

Messages with invalid message types

Invalid Multicast Source

Messages with invalid multicast source addresses

Invalid Multicast Group

Messages with invalid multicast group addresses

Invalid Switch Group

Messages with invalid switch group addresses

# Display details of one invalid MDT switch message recently received in the public network instance.

<Huawei> display multicast-domain invalid-packet 1 verbose
       Detailed information of invalid packets                                      
-----------------------------------------------------                           
Packet information (Index 1):                                                    
-----------------------------------------------------                           
Interface           :  10.10.10.10
Time                :  2010-6-1 10:50:08 UTC-08:00
Message Length      :  16
Invalid Type        :  Invalid Switch Group
0000: 01 00 10 00 64 64 64 64 e8 00 00 00 0a 00 00 00                                       
-----------------------------------------------------  
Table 9-84  Description of the display multicast-domain invalid-packet 1 verbose command output

Item

Description

Detailed information of invalid packets

Details of the invalid MDT switch message

Packet information (Index 1)

Sequence number of the invalid MDT switch message (numbered in the opposite order that the message is received, for example, the index of the last received message is 1, the index of the last but one message is 2, and so on)

Interface

Interface receiving the invalid MDT switch message

Time

Time when the invalid MDT switch message is received, in any of the following formats:
  • YYYY-MM-DD HH:MM:SS

  • YYYY-MM-DD HH:MM:SS UTC±HH:MM DST

  • YYYY-MM-DD HH:MM:SS UTC±HH:MM

  • YYYY-MM-DD HH:MM:SS DST

UTC±HH:MM indicates that a time zone is configured through the clock timezone command; DST indicates that the daylight saving time is configured through clock daylight-saving-time command.

Message Length

Length of the invalid MDT switch message

Invalid Type

Type of the invalid MDT switch message

0000: 01 00 10 00 64 64 64 64 e8 00 00 00 0a 00 00 00

Contents of the invalid MDT switch message

display multicast-domain vpn-instance share-group

Function

The display multicast-domain vpn-instance share-group command, displays information about the share-group address configured for a specified VPN instance in a multicast domain (MD).

Format

display multicast-domain vpn-instance vpn-instance-name share-group [ local | remote ]

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The name is a case-sensitive character string.
local Indicates the locally configured share-group address. -
remote Indicates the share-group address learned through BGP Update packets. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

In an autonomous system (AS), BGP Auto-Discovery (BGP A-D) ensures the automatic discovery of peers in a multicast VPN. In this manner, a Protocol Independent Multicast-Source-Specific Multicast (PIM-SSM) multicast distribution tree (MDT) can be directly established on the public network to transmit multicast VPN services. The display multicast-domain vpn-instance share-group command displays information about the Share-Group of the remote peer, peer IP address, and tunnel type, which facilitates you to determine whether the multicast tunnel is correctly established to forward multicast services.

When display multicast-domain vpn-instance share-group command is used, the following situations occur:

  • If local is specified, only the information of the share-group configured locally is displayed.

  • If remote is specified, the share-group information learned through the BGP Update packets is displayed.

  • If both local and remote are not specified, information of all share-groups is displayed.

The share-group information learned through BGP Update packets is displayed in an ascending order of share-groups. If the share-groups are the same, the information is displayed in an ascending order of peer addresses.

Example

# Display the share-group information of a specified VPN instance in an MD.

<Huawei> display multicast-domain vpn-instance BLUE share-group
MD local share-group information for VPN-Instance: BLUE
  Share-group: 232.2.2.0
  MTunnel address: 3.3.3.3
MD remote share-group information for VPN-Instance: BLUE
  Share-group     Peer-address    Tunnel-type
  232.2.2.0       1.1.1.1         PIM SSM
Table 9-85  Description of the display multicast-domain vpn-instance share-group command output

Item

Description

MD local share-group information for VPN-Instance

VPN instance to which local share-group information in the multicast domain belongs

Share-group

Configured share-group address on the local device
NOTE:

The local and remote devices must use the same share-group address. If they are using different ones, run the multicast-domain share-group group-address binding mtunnel number command in the VPN instance view to specify the same share-group address as that used on the other end and to bind this address to a specified multicast tunnel interface (MTI).

MTunnel address

Configured IP address of the MTI bound to the share-group on the local device

MD remote share-group information for VPN-Instance

VPN instance to which remote share-group information in the multicast domain belongs

Share-group

Share-group address of the remote provider edge (PE)

Peer-address

IP address of the remote PE

Tunnel-type

Tunnel type, including:
  • PIM SM: indicates that the Share-Group address of the remote PE is in the any-source multicast (ASM) address range.

  • PIM SSM: indicates that the Share-Group address of the remote PE is in the source-specific multicast (SSM) address range.

NOTE:

The Tunnel-type field is displayed only if the remote PE is configured with the MCAST-SAFI A-D mode.

display multicast-domain vpn-instance switch-group receive

Function

The display multicast-domain vpn-instance switch-group receive command displays the Switch-Group information received by a specified VPN instance.

Format

display multicast-domain vpn-instance vpn-instance-name switch-group receive brief

display multicast-domain vpn-instance vpn-instance-name switch-group receive [ active | group group-address | sender source-address | vpn-source-address [ mask { source-mask-length | source-mask } ] | vpn-group-address [ mask { group-mask-length | group-mask } ] ] *

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance. The name is a string of 1 to 31 characters.
active Displays the received Switch-Group that joins the Switch-multicast distribution tree (MDT). -
brief Displays brief information about the received Switch-Group. -
group group-address Displays the Switch-Group related to a multicast group specified by group-address of the public network. group-address specifies the address of the multicast group. The address is in dotted decimal notation and ranges from 224.0.0.0 to 239.255.255.255.
sender source-address Displays the Switch-Group information related to the specified multicast source source-address of the public network. The source-address indicates the multicast. The address is in dotted decimal notation.
vpn-source-address Displays the Switch-Group information related to a VPN multicast source specified by vpn-source-address. The address is in dotted decimal notation.
mask Indicates the mask of the VPN multicast group or source address. -
source-mask-length Specifies the mask length of the VPN multicast source address. The value is an integer that ranges from 0 to 32.
source-mask Specifies the mask of VPN multicast source address. The mask is in dotted decimal notation.
vpn-group-address Displays the Switch-Group information related to a VPN multicast group specified by vpn-group-address. The address is in dotted decimal notation and ranges from 224.0.1.0 to 239.255.255.255.
group-mask-length Specifies the mask length of the VPN multicast group address. The value is an integer that ranges from 4 to 32.
group-mask Specifies the mask of VPN multicast group address. The mask is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Use the display multicast-domain vpn-instance switch-group receive command is run to display the Switch-Group information received by the local industrial switch router:

  • Each VPN instance corresponds to a multicast domain (MD). vpn-instance-name specifies a VPN instance. Use the command to display the information about the Switch-Group of a specified MD.

  • If brief is specified, the brief information of all Switch-Groups is displayed in an ascending order of the Switch-Group address.

  • If active is specified, only the information of the Switch-Group that joins the Switch-Group is displayed in an ascending order of the VPN (S, G).

  • If group is specified, only the Switch-Group information related to the multicast group of the public network is displayed.

  • If the sender is specified, only the Switch-Group information related to the multicast source of the public network is displayed.

  • If vpn-source-address is specified, only information about the Switch-Group related to a specified VPN multicast source is displayed.

  • If vpn-group-address is specified, only information about the Switch-Group related to a specified VPN multicast group is displayed.

Example

# Display Switch-Group information received by a specified VPN instance in an MD.

<Huawei> display multicast-domain vpn-instance VPN1 switch-group receive
MD switch-group information received by VPN-Instance: VPN1
Switch group:  226.1.1.0 ref count: 8, active count: 8
  Sender:  172.100.1.1 active count: 8
    (192.6.1.5, 239.1.1.1)                  
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.1.158)                
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.2.12)                 
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.2.197)                
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.3.62)                 
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.2, 225.1.1.109)                
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.2, 225.1.4.80)                 
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.2, 225.1.4.173)                
    Up time: 01:20:20  expire time: 00:03:10  active
MD switch-group information received by VPN-Instance: VPN1
Switch group:  226.1.1.0 ref count: 8, active count: 8
  Sender:  172.100.1.1 active count: 8
    (192.6.1.5, 239.1.1.1)                  
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.1.158)                
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.2.12)                 
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.2.197)                
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.5, 239.1.3.62)                 
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.2, 225.1.1.109)                
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.2, 225.1.4.80)                 
    Up time: 01:20:20  expire time: 00:03:10  active
    (192.6.1.2, 225.1.4.173)                
    Up time: 01:20:20  expire time: 00:03:10  active
<Huawei> display multicast-domain vpn-instance VPN1 switch-group receive brief  
MD switch-group information received by VPN-Instance: VPN1                      
switch group:  226.1.1.0 ref count: 8, active count: 0                          
switch group:  226.1.1.1 ref count: 4, active count: 0                          
switch group:  226.1.1.2 ref count: 8, active count: 0                          
switch group:  226.1.1.3 ref count: 4, active count: 0                          
switch group:  226.1.1.4 ref count: 8, active count: 0                          
Table 9-86  Description of the display multicast-domain vpn-instance switch-group receive command output

Item

Description

MD switch-group information received by VPN-Instance

VPN instance to which MD Switch-group information belongs.

switch group

Address of the received Switch-group

ref count

Number of VPN multicast groups referenced by the Switch-group

active count

Number of active VPN multicast groups (where receivers exist) referenced by the Switch-group

sender

BGP peer IP address of the PE that sends Switch-group information

Up time

Creation time of switching messages in which the VPN multicast (S, G) entry are referenced by the Switch-group

expire time

Timeout period of switching messages in which the VPN multicast (S, G) entry are referenced by the Switch-group

display multicast-domain vpn-instance switch-group send

Function

The display multicast-domain vpn-instance switch-group send command displays the Switch-Group information sent by the specified VPN instance in a multicast domain (MD).

Format

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

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Specifies the VPN instance. vpn-instance-name specifies the name of the VPN instance. The name is a string of 1 to 31 characters.
group group-address Displays the Switch-Group information related to a multicast group G. The group-address indicates multicast group address. The address is in dotted decimal notation format. The address ranges from 224.0.0.0 to 239.255.255.255.
reuse interval Displays Switch-Group information that is reused by an MD in the specified period. The interval indicates the specified period. The value of the interval is an integer that ranges from 1 to 2147483647 seconds.
vpn-source-address Displays the Switch-Group information related to the specified VPN multicast source. The address is in dotted decimal notation format.
mask Indicates the mask of VPN multicast group or source address. -
source-mask-length Specifies the mask length of a VPN multicast source address. The value is an integer that ranges from 0 to 32.
source-mask Specifies the mask of a VPN multicast source address. The address is in dotted decimal notation.
vpn-group-address Displays the Switch-Group information related to the specified VPN multicast group G. The address is in dotted decimal notation and ranges from 224.0.0.0 to 239.255.255.255.
group-mask-length Specifies the mask length of a VPN multicast group address. The value is an integer that ranges from 4 to 32.
group-mask Specifies the mask of a VPN multicast group address. The address mask is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Use the display multicast-domain vpn-instance switch-group send command to display the Switch-Group information sent by the local Huawei:

  • Each VPN instance corresponds to an MD. vpn-instance-name specifies the VPN instance. The command is only used to display the Switch-Group information related to the specified MD.

  • The Switch-Group information is displayed in an ascending order of VPN (S, G) entry.

  • If reuse interval is specified, the group information that is reused in a specified interval is displayed in an ascending order of Switch-Group address.

Example

# Display the Switch-Group information sent by a specified VPN instance in an MD.

<Huawei> display multicast-domain vpn-instance VPN1 switch-group send
MD switch-group information sent by VPN-Instance: VPN1
  226.1.1.0 reference_count: 3
    (192.168.1.5, 239.1.1.1)                  switch time: 00:00:21
    (192.168.1.5, 239.1.1.158)                switch time: 00:00:21
    (192.168.1.5, 239.1.2.50)                 switch time: 00:00:05
  226.1.1.1 reference_count: 3
    (192.168.1.2, 225.1.1.1)                  switch time: 00:00:21
    (192.168.1.2, 225.1.2.50)                 switch time: 00:00:05
    (192.168.1.5, 239.1.1.159)                switch time: 00:00:21
<Huawei> display multicast-domain vpn-instance VPN1 switch-group send reuse 30
MD switch-group information sent by VPN-Instance: VPN1
  226.1.1.0 reuse_count: 1
  226.1.1.1 reuse_count: 1
  226.1.1.2 reuse_count: 1
Table 9-87  Description of the display multicast-domain vpn-instance switch-group send command output

Item

Description

MD switch-group information sent by VPN-Instance

VPN instance to which MD Switch-group information belongs.

226.1.1.0 reference_count: 3

Number of VPN multicast groups referenced by the Switch-group sent

switch time

Switching time of the VPN multicast (S, G) entry referenced by the Switch-group

226.1.1.0 reuse_count: 1

Number of times of reusing the Switch-group sent in the specified period

mtu (MTI view)

Function

The mtu command sets the MTU for an MTI.

The undo mtu command restores the default MTU of an MTI.

By default, the MTU of an MTI is 1472 bytes.

Format

mtu mti-mtu

undo mtu

Parameters

Parameter Description Value
mti-mtu Specifies the MTU value of an MTI. The value is an integer that ranges from 128 to 1500, in bytes.

Views

MTI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the length of a VPN multicast packet is equal or close to the MTU of the outbound interface of the public network instance, the length of the GRE-encapsulated public network multicast data packet is larger than the MTU of the outbound interface of the public network instance. In this case, the local PE must fragment the encapsulated packet and sends it through the outbound interface of the public network instance. Upon receiving the packet, the remote PE reassembles the packet.

To enable an MTI to fragment a VPN multicast packet before performing GRE encapsulation, run the mtu command to set a smaller MTU for the MTI. This method reduces unnecessary fragmentation on the public network and packet reassembly, improving packet transmission efficiency.

Configuration Impact

If the MTU is set too small and the size of packets is large, packets are broken into a great number of fragments, and may be discarded by QoS queues.

Example

# Set the MTU of MTunnel 10 to 1400.

<Huawei> system-view
[Huawei] interface mtunnel 10
[Huawei-MTunnel10] mtu 1400

multicast extranet select-rpf

Function

The multicast extranet select-rpf command configures a multicast routing policy, setting the upstream of the Reverse Path Forwarding (RPF) route selected by the PIM entry corresponding to a multicast group address to another VPN instance or the public network instance.

The undo multicast extranet select-rpf command deletes the multicast routing policy configured for a VPN.

By default, no multicast routing policy is configured for a VPN.

Format

multicast extranet select-rpf { vpn-instance vpn-instance-name | public } group group-address { group-mask | group-mask-length }

undo multicast extranet select-rpf { all | { vpn-instance vpn-instance-name | public } group group-address { group-mask | group-mask-length } }

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Specifies a source VPN instance. vpn-instance-name specifies the name of the source VPN instance. The value is a string of 1 to 31 case-sensitive characters.
public Indicates that the source VPN instance is a public network instance. -
group group-address Specifies the range of the addresses of multicast groups running the multicast VPN extranet service. The value ranges from 224.0.0.0 to 239.255.255.255, in dotted decimal notation.
group-mask Indicates the mask of a group address. The value ranges from 240.0.0.0 to 255.255.255.255, in dotted decimal notation.
group-mask-length Indicates the length of the mask of a group address. The value is an integer ranging from 4 to 32.
all Indicates all multicast routing policies. -

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In regular multicast VPN applications, multicast traffic can be transmitted only among different VPN sites in the same VPN, and VPN sites that belong to different VPNs cannot access each other.

In actual situations, enterprises in different VPNs need to communicate with each other, or service providers need to provide multicast services for users that reside in other VPNs. Multicast services need to be transmitted between different VPNs so that the multicast data from a VPN user needs to be provided for other VPN users.

Multicast VPN extranet is thereforeintroduced. Through this feature, receivers in a VPN can receive multicast data sent by the multicast sources in other VPNs or in the public network.

In multicast VPN extranet, the multicast source and the multicast receiver can belong to different VPN instances or the multicast source belongs to the public network instance whereas the multicast receiver belongs to a VPN instance. The public network and the VPN can be only PIM-SM/Source-Specific Multicast (SSM) networks.

Prerequisites

The multicast routing-enable command has been run in the public network instance view or the VPN instance view.

Precautions

Before configuring a multicast routing policy, note the following when you deploy multicast services on the network:
  • The rendezvous point (RP) set for source VPN and receiver VPN must be a static RP and the static RP must reside at the source VPN side to serve the multicast groups adopting the multicast VPN extranet service. RPs that server other multicast groups in this VPN can be either dynamic or static. The anycast RP function will not be affected.

  • The address range of the multicast groups adopting the multicast VPN extranet service cannot overlap the multicast group address range internally used by the local VPN; the address range of the multicast groups adopting the multicast VPN extranet service set in the newly configured multicast routing policy cannot overlap the address range that has been configured for the multicast groups adopting the multicast VPN extranet service.

  • The SSM group address range must be set consistently for both the source VPN and the receiver VPN for providing the multicast VPN extranet service.

Example

# Configure a multicast routing policy for VPN RED, specifying VPN BLUE as the upstream of the RPF route selected by group 225.1.1.0/24.

<Huawei> system-view
[Huawei] ip vpn-instance RED
[Huawei-vpn-instance-RED] ipv4-family
[Huawei-vpn-instance-RED-af-ipv4] multicast routing-enable
[Huawei-vpn-instance-RED-af-ipv4] multicast extranet select-rpf vpn-instance BLUE group 225.1.1.0 24

multicast-domain holddown-time

Function

The multicast-domain holddown-time command sets the delay for the switching from the switch-multicast distribution tree (MDT) to the share-MDT.

The undo multicast-domain holddown-time command restores the default value of the interval.

By default, the delay for the switching from the switch-MDT to the share-MDT is 60 seconds.

Format

multicast-domain holddown-time interval

undo multicast-domain holddown-time

Parameters

Parameter Description Value
interval Specifies the delay for the switching from the switch-MDT to the share-MDT. The value of the delay ranges from 0 to 512, in seconds.

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

During the switch-MDT configuration, the forwarding rate of VPN multicast data may fluctuate around the switchover threshold due to network instability. To prevent multicast data traffic from being frequently switched between the switch-MDT and share-MDT, the system does not perform the switchover immediately after it finds that the forwarding rate is smaller than the switching threshold. Instead, the system starts the holddown timer. The system will perform the switchover after the holddown timer expires.

Prerequisites

The multicast-domain share-group command has been run in the corresponding VPN.

Precautions

In actual switchover, from the time when flow changes to the time when device senses the change, there is a delay about 1 to 30 seconds. That is, the delay from the time when the forwarding rate of the data changes and the time when system starts Holddown timer is about 1 to 30 seconds. The delay is not added to the value of the holddown-time. The total delay from the time when the forwarding rate of the data changes to the time when the system completes, the switchover is longer than the Holddown period by 1 to 30 seconds.

When interval is set to 0, the system finds that the forwarding rate is below the threshold and switches from the switch-MDT to the share-MDT.

Example

# Set the delay for the switching from the switch-MDT to the share-MDT to 80 seconds.

<Huawei> system-view
[Huawei] ip vpn-instance mytest
[Huawei-vpn-instance-mytest] ipv4-family
[Huawei-vpn-instance-mytest-af-ipv4] multicast-domain holddown-time 80

multicast-domain log switch-group-reuse

Function

The multicast-domain log switch-group-reuse command enables the output of log information about reusing Switch-Group.

The undo multicast-domain log command restores the default configuration.

By default, the output of log information about reusing Switch-Group is disabled.

Format

multicast-domain log switch-group-reuse

undo multicast-domain log

Parameters

None

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

If Share-Group is not configured in a VPN, you are not recommended to run this command.

Example

# Enable the output of log information about reusing Switch-Group in VPN mytest.

<Huawei> system-view
[Huawei] ip vpn-instance mytest
[Huawei-vpn-instance-mytest] ipv4-family
[Huawei-vpn-instance-mytest-af-ipv4] multicast-domain log switch-group-reuse

multicast-domain share-group

Function

The multicast-domain share-group binding mtunnel command specifies the Share-multicast distribution tree (MDT) group and binds the Multicast Tunnel Interface (MTI) to a VPN instance.

The undo multicast-domain share-group command restores the default configuration.

By default, the group address of Share-MDT is not specified.

Format

multicast-domain share-group group-address binding mtunnel number

undo multicast-domain share-group

Parameters

Parameter Description Value
group-address Specifies the multicast group address. The address is in the dotted decimal notation. The address ranges from 224.0.1.0 to 239.255.255.255.
mtunnel number Specifies the MTI number. The number is an integer that ranges from 0 to 1023.

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

On the same Provider Edge (PE), different VPN instances are configured with the different group addresses. The value of group-address must be different from the Switch-Group address of all the instances on this PE. number cannot be the same with that of the MTI.

You cannot perform the same configuration repeatedly in the same VPN instance view. Instead, you can configure the new address and the MTI only after the previous configuration is deleted.

The IP address and Maximum Transmission Unit (MTU) can be configured on the MTI. The MTU is an integer that ranges from 46 to 1500 bytes.

Run the undo multicast-domain share-group command to delete all configurations related to the MTI.

Enable multicast routing in the VPN before running the command.

Example

# Specify the Share-Group of VPN instance mytest as 224.1.1.1 and bind MTI0.

<Huawei> system-view
[Huawei] ip vpn-instance mytest
[Huawei-vpn-instance-mytest] ipv4-family
[Huawei-vpn-instance-mytest-af-ipv4] multicast-domain share-group 224.1.1.1 binding mtunnel 0

multicast-domain source-interface

Function

The multicast-domain source-interface command allows a Multicast Tunnel Interface (MTI) to use an IP address of a default interface.

The undo multicast-domain source-interface command restores the default setting.

By default, an MTI does not use an IP address of a default interface.

Format

multicast-domain source-interface interface-type interface-number

undo multicast-domain source-interface

Parameters

Parameter Description Value
interface-type interface-number Specifies the type and number of an interface.
NOTE:

To avoid frequent protocol changes caused by interface flapping, use the loopback interface address as the MTI address.

-

Views

System view or VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

The multicast-domain source-interface command can take effect only after multicast routing is enabled.

If the multicast-domain source-interface command is run in the system view, the setting takes effect globally. The command run in the VPN IPv4 address family view takes precedence over that run in the system view. If the command is run in the system view, but not in the VPN IPv4 address family view, the setting in the system view takes effect.

A manually configured IP address on an MTI takes precedence over a default interface address specified using the multicast-domain source-interface command. If an IP address is manually configured on an MTI, the default interface address specified using this command does not take effect.

Example

# Configure the MTI to use the IP address of the default interface named loopback 1.

<Huawei> system-view
[Huawei] multicast-domain source-interface loopback 1

multicast-domain switch-delay

Function

The multicast-domain switch-delay command specifies delay for the switching from Share-multicast distribution tree (MDT) to Switch-MDT.

The undo multicast-domain switch-delay command restores the default value of the delay.

By default, the delay for the switching from Share-MDT to Switch-MDT is 5 seconds.

Format

multicast-domain switch-delay switch-delay

undo multicast-domain switch-delay

Parameters

Parameter Description Value
switch-delay Specifies the delay for the switching from Share-MDT to Switch-MDT. The value of the delay is an integer that ranges from 3 to 60, in seconds.

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a downstream Provider Edge (PE) joins the Switch-Group, it takes certain time to set up the Switch-MDT in the public network. Therefore, the switching delay needs to be configured. The upstream PE sends a switching message. After the delay expires, the system uses the Switch-Group to encapsulate data. That is, data is switched from Share-MDT to Switch-MDT. Before the switch-delay timer times out, the system continues to detect the data forwarding rate. If the rate is always higher than the switchover threshold, the data packets are switched to the Switch-MDT. Otherwise, the packets are still forwarded by using the Share-MDT.

Prerequisites

The multicast-domain share-group command has been run in the corresponding VPN.

Configuration Impact

If the multicast-domain switch-delay command is run several times in the same VPN instance view, the latest configuration will overwrite the previous ones.

Precautions

In actual switchover, from the time when flow changes to the time when device senses the change, there is a delay about 1 to 30 seconds. That is, the delay from the time when the forwarding rate of the data changes and the time when system starts the switch-delay timer is about 1 to 30 seconds. The delay is not added to the value of the switch-delay. The total delay from the time when the forwarding rate of the data changes to the time when the system completes the switchover time is longer than the switch-delay period by 1 to 30 seconds.

Example

# Specify the delay for the switching to Switch-MDT to 20 seconds in VPN instance mytest.

<Huawei> system-view
[Huawei] ip vpn-instance mytest
[Huawei-vpn-instance-mytest] ipv4-family
[Huawei-vpn-instance-mytest-af-ipv4] multicast-domain switch-delay 20

multicast-domain switch-group-pool

Function

The multicast-domain switch-group-pool command specifies the range of the Switch-multicast distribution tree (MDT) switch-group-pool and the switching condition.

The undo multicast-domain switch-group-pool command restores the default configuration.

By default, switch-group-pool is not specified, and the switching to the Switch-MDT is not performed.

Format

multicast-domain switch-group-pool switch-group-pool { network-mask | network-mask-length } [ threshold threshold-value | acl { advanced-acl-number | acl-name } ] *

undo multicast-domain switch-group-pool

Parameters

Parameter Description Value
switch-group-pool Specifies the start address of Switch-Group-pool. The address is in dotted decimal notation and ranges from 224.0.1.0 to 239.255.255.255.
network-mask Specifies the mask of Switch-Group-pool address. The mask is in dotted decimal notation and ranges from 255.255.255.0 to 255.255.255.255.
network-mask-length Specifies the mask length of Switch-Group-pool address. The value is an integer that ranges from 24 to 32; that is, the range of the group address in Switch-MDT switch-group-pool is from 0 to 255.
threshold threshold-value Specifies the switching threshold. The value is an integer that ranges from 0 to 4194304, in kbit/s. By default, it is 0.
acl advanced-acl-number Specifies the (S, G) entry which the Switch-Group-pool takes effect on. advanced-acl-number indicates the advanced ACL number. If the ACL is not specified, the Switch-Group-pool takes effect on all (S, G) entries. The number is an integer that ranges from 3000 to 3999.
acl-name Specifies the name of a Named ACL.
NOTE:
acl-name can only be the name of a named advanced ACL.
It is case-sensitive.

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Between the Provider Edge (PE) connected to the VPN receivers and the PE connected to the VPN multicast source, a special switch-MDT is set up for the high-speed VPN multicast data packets flowing into the public network. The multicast data flow can thereforebe switched from the share-MDT to the switch-MDT. Therefore, on-demand multicast can be realized. This prevents data from be flooded in the public network when the share-MDT is used to transmit VPN multicast data packets.

Prerequisites

A share-group has been configured in the corresponding VPN.

Configuration Impact

In some cases, the forwarding rate of VPN multicast data fluctuates around the switchover threshold. If the rate remains higher than the switchover threshold, data packets are switched to the switch-MDT. Otherwise, the packets are still forwarded by using the share-MDT.

This command is cyclical in nature. That is, the latest command overwrites the previous one, and takes effect.

Precautions

The Named ACL includes the basic ACL and the advanced ACL, whose configurations are same with the numbered ACL.

From the time when data forwarding rate changes to the time when the system starts the switch-delay timer, there is a delay of 1 to 30 seconds because of necessary traffic calculation and protocol processing. In actual switchover, the delay is longer than the switch-delay period by 1 to 30 seconds.

Example

# Set the Switch-group-pool of VPN instance named mytest to be from 225.2.2.1 to 225.2.2.15.

<Huawei> system-view
[Huawei] ip vpn-instance mytest
[Huawei-vpn-instance-mytest] ipv4-family
[Huawei-vpn-instance-mytest-af-ipv4] multicast-domain switch-group-pool 225.2.2.1 28

# Use a Named ACL to set the Switch-group-pool to be from 225.2.2.1 to 225.2.2.15.

<Huawei> system-view
[Huawei] acl name myacl
[Huawei-acl-adv-myacl] rule permit ip source 1.1.1.1 0 destination 225.1.0.0 0.0.255.255
[Huawei] ip vpn-instance mytest
[Huawei-vpn-instance-mytest] ipv4-family
[Huawei-vpn-instance-mytest-af-ipv4] multicast-domain switch-group-pool 225.2.2.1 28 acl myacl

multicast-domain switch-without-register

Function

The multicast-domain switch-without-register command disables the source Provider Edge (PE) from sending null Register messages to the Rendezvous Point (RP) to establish the shortest path tree (SPT) on the public network before the Switch-Group address is used to encapsulate VPN data.

The undo multicast-domain switch-without-register command restores the default setting.

By default, before the Switch-Group address is used to encapsulate VPN data, the source PE sends null Register messages to the RP and establishes the SPT on the public network.

Format

multicast-domain switch-without-register

undo multicast-domain switch-without-register

Parameters

None.

Views

VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In previous implementation, if the Switch-Group address is in the Any-Source Multicast (ASM) address range, when the SPT switchover occurs on the multicast tunnel of the public network, the source PE sends the switchover message to all receiver PEs. After receiving the switchover message, these receiver PEs send the (*, G) Join messages to the RP of the public network to establish the rendezvous point tree (RPT). When the Switch-Group address is used in the VPN to encapsulate multicast data, the public network side of the source PE receives the data forwarded from the VPN based on the Switch-Group address. Afterwards, the forwarding entries are created on the source PE, and the source PE encapsulates the data to the Register messages which are sent to the RP of the public network. Then, the RP decapsulates the Register messages, and sends the data to the receiver PEs. Then, the receiver PEs trigger the SPT switchover towards the source PE. In this manner, the SPT is established on the public network.

When the entries with the SPT switchover are in a large number, the speed of sending Register messages is limited. As a result, sending the first Register message to the RP takes a long time for certain entries, and establishing the SPT on the public network is delayed. In addition, in the process of establishing the SPT on the public network, multicast services are interrupted and certain VPN data may also be discarded, leading to the service interruption on the user end.

To solve the preceding problem, before configuring the VPN to use the Switch-Group address to encapsulate the VPN data, you can configure the source PE to send the null Register message to the RP to establish the SPT on the public network.

Configuration Impact

After the VPN data traffic exceeds the upper limit, the source PE uses the Switch-Group address to encapsulate data and sends the switchover message to the receiver PEs. If the Switch-Group address is allocated for the first time, when sending the switchover message, the source PE sends the Register message that is encapsulated with the VPN Hello message to the RP, and the RP forwards the Register message to the receiver PEs. Based on the received messages, the receiver PEs and the RP directly send the (S,G) Join messages to the source PE and establish the SPT on the public network in advance. In this manner, when the public network tunnel is switched from the RPT to the SPT, the number of discarded multicast messages is reduced and the impact on multicast services is minimized.

Example

# When the Switch-Group address is not used to encapsulate VPN data for vpn1, configure the source PE to send the null Register message to the RP to establish the SPT on the public network.

<Huawei> system-view
[Huawei] ip vpn-instatnce vpn1
[Huawei-vpn-instance-vpn1] ipv4-family
[Huawei-vpn-instance-vpn1-af-ipv4] multicast-domain switch-without-register

reset multicast-domain control-message counters

Function

The reset multicast-domain control-message counters command clears statistics about sent and received MDT switch messages in a specified VPN instance or all VPN instances.

Format

reset multicast-domain { vpn-instance vpn-instance-name | all-instance } control-message counters

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Clears statistics about sent and received MDT switch messages in a specified VPN instance. vpn-instance-name specifies the VPN instance name. The value is a string of case-sensitive characters.
all-instance Clears statistics about sent and received MDT switch messages in all VPN instances. -

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If a fault occurs on a multicast VPN network, you need to check whether MDT switch messages are normally sent and received. If the current device already records a large number of statistics about MDT switch messages, you can run the reset multicast-domain control-message counters command to clear statistics about sent and received messages in a specified VPN instance or all VPN instances and then run the display multicast-domain control-message counters command to check whether the count of MDT switch messages increases, which helps fault location.

Precautions

Running the reset multicast-domain control-message counters command will clear all statistics about MDT switch messages. Therefore, exercise caution before using this command.

Example

# Clear statistics about sent and received MDT switch messages in VPN instance red.

<Huawei> reset multicast-domain vpn-instance red control-message counters

multicast extranet traffic-forward type

Function

The multicast extranet traffic-forward type command enables the traffic forwarding function for VLANIF interfaces on a multicast VPN extranet.

The undo multicast extranet traffic-forward type command restores the default configuration.

By default, the traffic forwarding function is disabled for VLANIF interfaces on a multicast VPN extranet.

Format

multicast extranet traffic-forward type vlanif

undo multicast extranet traffic-forward type vlanif

Parameters

Parameter Description Value
vlanif Enables the traffic forwarding function for VLANIF interfaces on a multicast VPN extranet. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, VLANIF interfaces do not forward traffic on a multicast VPN extranet, causing traffic interruptions. To resolve this issue, run the multicast extranet traffic-forward type command to enable the traffic forwarding function for VLANIF interfaces. After this command is run, forwarding information on the VLANIF interfaces will be delivered from the VPN routing and forwarding (VRF) table for receivers to the VRF table for multicast sources. Then, the VLANIF interfaces will be capable of forwarding traffic to receivers.

Precautions

The multicast extranet traffic-forward type command configuration is ineffective for existing multicast entries. To resolve this issue, run the reset multicast forwarding-table command to delete the existing multicast entries. After the multicast entries are regenerated, the multicast extranet traffic-forward type command will become effective for them.

Example

# Enable the traffic forwarding function for VLANIF interfaces on a multicast VPN extranet.

<Huawei> system-view
[Huawei] multicast extranet traffic-forward type vlanif

rpf-vector compatible standard

Function

The rpf-vector compatible standard command configures a device to use the standard format defined in a relevant RFC to encapsulate Hello or Join/Prune messages carrying vector attributes.

The undo rpf-vector compatible standard command enables a device to use a private format to encapsulate Hello or Join/Prune messages carrying vector attributes.

By default, a private format is used to encapsulate Hello or Join/Prune messages carrying vector attributes.

Format

rpf-vector compatible standard

undo rpf-vector compatible standard

Parameters

None

Views

Public network instance PIM view or VPN instance PIM view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The vector attribute needs to be added to Join/Prune messages as the join attribute on PEs in an inter-AS MVPN Option B scenario. The rpf-vector compatible standard command can be used to configure the Provider Edges (PEs) to use the standard format to encapsulate Hello or Join/Prune messages carrying vector attributes. This command configuration facilitates device communication.

Prerequisites

The multicast routing-enable command has been run in the public network instance view or the VPN instance view.

Example

# Configure a device on the public network to use the standard format to encapsulate Hello and Join/Prune messages carrying vector attributes.

<Huawei> system-view
[Huawei] multicast routing-enable
[Huawei] pim
[Huawei-pim] rpf-vector compatible standard

rpf-vector

Function

The rpf-vector command enables a device to add the vector attribute to a Join/Prune message as the join attribute.

The undo rpf-vector command disables a device from adding the vector attribute to a Join/Prune message as the join attribute.

By default, a device is disabled from adding the vector attribute to a Join/Prune message as the join attribute.

Format

rpf-vector rd

undo rpf-vector rd

Parameters

Parameter Description Value
rd Specifies the RD attribute in a vector. -

Views

Public network instance PIM view or VPN instance PIM view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The rpf-vector rd command needs to be run on Provider Edges (PEs) in an inter-AS MVPN Option B scenario to enable the PEs to add vector attributes with Route Distinguishers (RDs) to Join/Prune messages as join attributes. Then MDTs can be set up and inter-AS MVPN can be implemented.

Prerequisites

The multicast routing-enable command has been run in the public network instance view or the VPN instance view.

Example

# Enable a device on the public network to add the vector attribute to a Join/Prune message as the join attribute.

<Huawei> system-view
[Huawei] multicast routing-enable
[Huawei] pim
[Huawei-pim] rpf-vector rd

# Enable a device in VPN RED to add the vector attribute to a Join/Prune message as the join attribute.

<Huawei> system-view
[Huawei] multicast routing-enable
[Huawei] pim vpn-instance RED
[Huawei-pim-RED] rpf-vector rd
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 50571

Downloads: 102

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next