A virtual private local area network service (VPLS) pseudo wire (PW) trace test instance monitors the PW connectivity, packet loss ratios, and delay time on a VPLS network.
Procedure
- Run system-view
The system view is displayed.
- Create an NQA test instance and set the test instance type to VPLS PW ping.
- Run nqa test-instance admin-name test-name
An NQA test instance is created, and the test instance view is displayed.
- Run test-type vplspwtrace
The test instance type is set to VPLS PW trace.
- (Optional) Run description description
A description is configured for the NQA test instance.
- (Optional) Run fragment enable
MPLS packet fragmentation is enabled for the NQA test instance.
- Set parameters for the VPLS network to be monitored.
- Run vsi vsi-name
The name of a virtual switching instance (VSI) to be monitored is specified.
- Run destination-address ipv4 destAddress
An IP address of the remote PE is specified.
- (Optional) Run local-pw-id pwIdValue
A PW ID is set on the local PE.
- (Optional) Set parameters for the test instance and simulate packets.
- Run lsp-exp exp
The LSP EXP value is set for the NQA test instance.
- Run lsp-replymode { level-control-channel | no-reply | udp }
The mode in which LSPs are returned is set for the NQA test instance.
- Ru probe-count number
The number of probes is set for the NQA test instance.
- Run ttl ttlValue
The TTL value of NQA test packets is set.
- (Optional) Configure test failure conditions.
- Run timeout time
The timeout period of response packets is set.
- (Optional) Configure the NQA statistics function.
Run records { history number | result number }
The maximum number of history records and the maximum number of result records that can be saved for the NQA test instance are set.
- (Optional) Enable the device to send traps to the NMS.
Run probe-failtimes failTimes
The device is enabled to send traps to the NMS after the number of consecutive probe failures reaches the specified threshold.
Run test-failtimes failTimes
The device is enabled to send traps to the NMS after the number of consecutive failures of the test instance reaches the specified threshold.
- Run threshold rtd thresholdRtd
The RTD threshold is set.
- Run send-trap { all | [ rtd | testfailure | probefailure | testcomplete ]* }
The condition for triggering a trap is configured.
- (Optional) Run lsp-path full-display
All devices, including Ps along an LSP, are displayed in an NQA test result.
- Schedule the NQA test instance.
- (Optional) Run frequency frequencyValue
The test period is set for the NQA test instance.
- Run start
The NQA test is started.
You can start an NQA test instance immediately, at a specified time, after a delay, or periodically.
To start an NQA test instance immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
To start an NQA test instance at a specified time, run the start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
To start an NQA test instance after a specified delay, run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
To start an NQA test instance at a specified time every day, run the start daily hh:mm:ss to hh:mm:ss [ begin yyyy/mm/dd ] [ end yyyy/mm/dd ] command.
- Run commit
The configuration is committed.