Configuring a PWE3 Ping Test Instance on a Single-Hop PW
Context
An NQA PWE3 ping test checks the reachability of an MPLS-based PW.
The PWE3 ping test provides functions similar to the ping vc command but provides richer outputs.
Procedure
- Run system-view
The system view is displayed.
- Run nqa test-instance admin-name test-name
An NQA test instance is created and the test instance view is displayed.
- Run test-type pwe3ping
The test type is set to PWE3 Ping.
- (Optional) Run vc-type ldp
The method of setting up a PW is configured.
- (Optional) Run local-pw-type local-pw-type
The type of the local PW is configured. By default, the type is Ethernet.
- Run lsp-version { rfc4379 | draft6 }
A protocol is configured for the LSP test instance.
- (Optional) Run label-type { control-word | { label-alert | normal } [ no-control-word ] }
The type of the PW label is configured.
If the PW label type is set to control-word, the control word feature must be enabled for the PW.
- Run local-pw-id local-pw-id
The ID of the local end of the PW is configured.
- (Optional) Run peer-address peer-address
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.
- (Optional) Run the following commands to configure other
parameters for the PWE3 ping test:
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.