Configuring the NQA MTrace Test to Check the RPF Path from the Multicast Source to the Destination Host
Context
To check the RPF path from the multicast source to the destination host, you can perform the NQA MTrace test.
By performing this test, you can obtain the possible transmission path of multicast packets. During the test, actual multicast data flows are not required.
The MTrace test can be used in multicast troubleshooting and routine maintenance to locate the faulty nodes and reduce configuration errors.
The querier must meet either of the following conditions:
Connected to the destination host
Pinging through the destination host or the last-hop switch
Procedure
- Run system-view
The system view is displayed.
- (Optional) Run mtrace query-policy [ basic-acl-number ]
The policy for filtering queriers is configured.
basic-acl-number defines the address range for reliable queriers. Based on the specified ACL, the last-hop switch rejects the IGMP-Tracert-Request packets sent by unauthorized queriers.
This command takes effect only on the last hop switch, and the querier is not the last hop switch.
This command filters only the IGMP-Tracert-Query packets encapsulated in unicast IP packets.
This command is not applicable to the tracking initiated from the querier.
- Run nqa test-instance admin-name test-name
An NQA test instance is created and the test instance view is displayed.
- Run test-type mtrace
The test type is set to MTrace.
- Run mtrace-source-address ipv4 ip-address
The address of the multicast source is specified.
- Run destination-address ipv4 ip-address
The IP address of the destination host is configured.
- (Optional) Run vpn-instance vpn-instance-name
The VPN instance name is configured.
- (Optional) Adjust the performance of the NQA MTrace test
instance.
Run ttl number
The TTL value, that is, the maximum hops traced in max-hop mode is set for the IGMP-Tracert-Request packet.
Run tracert-livetime first-ttl first-ttl max-ttl max-ttl
The maximum hops traced in hop-by-hop mode is set. first-ttl must be set to 1.
Run mtrace-response-address ipv4 ip-address [ ttl value ]
The destination IP address and TTL of the IGMP-Tracert-Response packet are set.
Run mtrace-query-type last-hop
The last-hop switch is specified to initiate the MTrace query to the multicast source.
When multiple switches are connected to the specified host, RPF check query from different switches may be different. Therefore, you can uniquely identify an RPF path by specifying the last-hop switch.
When running this command, you must specify the IP address of the last-hop switch.
Run mtrace-last-hop-address ipv4 ip-address
The IP address of the last-hop switch is specified.
If non-Huawei devices are deployed in the multicast network, this step is mandatory.
Run source-address ipv4 ip-address
The source IP address of the IGMP Tracert-Request packet is configured. The address must be the address of the local interface.
If non-Huawei devices are deployed in the multicast network, this step is mandatory.
Run description string
A description is configured for the test instance.
Run frequency interval
The test period is set for the NQA test instance.
Run timeout time
The timeout period of a probe is set for the NQA test instance.
Run probe-count number
The number of probes in each test is set.
Run records result number
The maximum number of result records is set for the NQA test instance.
Run agetime hh:mm:ss
The aging time is set for the NQA test instance.