An NQA PWE3 trace test detects the forwarding path of an MPLS-based PW and collects statistics about each device along the forwarding path.
The PWE3 trace test provides functions similar to the tracert vc command but provides richer outputs.
The system view is displayed.
An NQA test instance is created and the test instance view is displayed.
The test type is set to PWE3 Trace.
The method of setting up a PW is configured.
The type of the local PW is configured. By default, the type is Ethernet.
A protocol is configured for the LSP test instance.
When label-type is set to control-word, run the remote-pw-id remote-pw-id command to configure the ID of the remote end of the PW. If the PW label type is set to control-word, the control word feature must be enabled for the PW.
When label-type is set to label-alert, run the destination-address ipv4 ipv4-address [ lsp-masklen masklen | lsp-masklen masklen lsp-loopback loopback-address | lsp-loopback loopback-address lsp-masklen masklen ] command to configure the destination IP address of the PWE3 trace test.
When label-type is set to normal, run the destination-address ipv4 ipv4-address [ lsp-masklen masklen | lsp-masklen masklen lsp-loopback loopback-address | lsp-loopback loopback-address lsp-masklen masklen ] command to configure the destination IP address of the PWE3 trace test.
The ID of the local end of the PW is configured.
A peer IP address is configured.
For an NQA PWE3 ping or trace test instance, if the primary and secondary VCs are configured with the same VC ID, the peer-address command must be configured to specify a peer IP address. This configuration determines a unique PW for the NQA test.
A time to live (TTL) copy mode is set.
To configure the response mode of the Echo packet, run the lsp-replymode { no-reply | udp } command.
To configure the LSP EXP value, run the lsp-exp exp command.
To configure maximum hops of the PWE3 trace test, run the tracert-hopfailtimes times command.
To configure the initial TTL value and maximum TTL value of the packet, run the tracert-livetime first-ttl first-ttl max-ttl max-ttl command.