MTrace

A multicast trace route (MTrace) test instance monitors a multicast forwarding path from a multicast source to the current router or a destination host and collects statistics about routers along the multicast forwarding path.

MTrace is based on a multicast-enabled network, such as a Layer 3 multicast network that has Protocol Independent Multicast (PIM) configured, Rosen MVPN, or NG MVPN.

MTrace probes a multicast forwarding path by sending query messages. Query messages fall into IGMP tracert query messages, IGMP tracert request messages, and IGMP tracert response messages.
  • A device sends an IGMP tracert query message to query the last-hop device on a multicast forwarding path.

  • An IGMP tracert request message completely inherits an IGMP tracert query message, with a response data block being added to the end of the message.

  • An IGMP tracert response message completely inherits an IGMP tracert request message, with only the message type field changed.

Figure 1 MTrace usage scenarios

MTrace applies to the following scenarios.

If the current router is not the last-hop multicast device to a destination host, an IGMP tracert query message sent to the last hop supports the following encapsulation modes.
  • The unicast address of the last-hop router is known: The IP address of the last-hop router is set as the destination address of the message. The current router encapsulates a unicast IGMP tracert query message.
  • The addresses of the last-hop router and destination host are unknown, but the current router directly connects to the destination host: 224.0.0.2 is set as the destination address of the message, and the TTL value is set to 1. The current router encapsulates an IGMP tracert query message and sends it to all routers on the same network segment to find the last-hop router.
  • The address of the last-hop router is unknown but the unicast address of the destination host is known: The IP address of the destination host is set as the destination address of the message. The current router encapsulates an IGMP tracert query message. The message must contain the IP option Router Alert.
  • The address of the last-hop router is unknown but the unicast address of the destination host is known, and the current router is in the multicast distribution tree: The multicast group address is set as the destination address, and the multicast source address is set as the source address. The current router encapsulates an IGMP tracert query message. The message is forwarded along the multicast or RPF path and finally arrives at the last-hop router.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >