A Pseudowire Emulation Edge-to-Edge(PWE3) trace test monitors the pseudo wire (PW) connectivity, packet loss ratios, and delay time on virtual private wire service (VPWS) networks.
Procedure
- Run system-view
- Create an NQA test instance and set the test instance type to PWE3 trace.
- Run nqa test-instance admin-name test-name
- Run the test-type pwe3trace command to set the test instance type to PWE3 trace.
- (Optional) Run description description
- (Optional) Run fragment enable
MPLS packet fragmentation is enabled for the NQA test instance.
- Set parameters for the Layer 2 virtual private network (L2VPN) to be monitored.
- Run local-pw-type pwTypeValue
An encapsulation type is set for the PW on the local PE.
- Run label-type { control-word | { { label-alert | normal } [ no-control-word ] } }
An encapsulation type is set for packets.
- Run lsp-version { rfc4379 | ptn-mode }
A protocol is configured for the LSP test instance.
- Run local-pw-id pwIdValue
A PW ID is set on the local PE.
- (Optional) Run peer-address peeraddress
The peer IP address is configured.
- (Optional) Configure remote provider edge (PE) information for a multi-segment PW to be monitored.
An MS-PW can be monitored only after you specify control-word or normal.
- Run destination-address ipv4 destAddress
An IP address is configured for the remote PE.
- Run remote-pw-id pwIdValue
A PW ID is set for the remote PE.
- (Optional) Run ttl-copymode { pipe | uniform }
A time to live (TTL) propagation mode is set.
- (Optional) Set parameters for the test instance and simulate packets.
- Run lsp-exp exp
- Run lsp-replymode { level-control-channel | no-reply | udp } command to configure the LSP packet return mode for the NQA test instance.
- Run the probe-count number command to configure the number of probes in an NQA test instance.
- Run tracert-livetime first-ttl first-ttl max-ttl max-ttl
The TTL of an NQA traceroute test instance is set.
- (Optional) Configure test failure conditions.
- Run the timeout time command to configure the timeout period of response packets.
- (Optional) Configure the NQA statistics function. Run the records { history number | result number } command to configure the maximum number of history records and the maximum number of result records for the NQA test instance.
- (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.
- Schedule the test instance.
- (Optional) Run frequency frequencyValue
- Run the start command to start an NQA test.
An NQA test instance can be started immediately, at a specified time, or after a specified delay.
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 immediately.
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 at a specified time.
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 after a specified delay.
Run the start daily hh:mm:ss to hh:mm:ss [ begin yyyy/mm/dd ] [ end yyyy/mm/dd ] command to start the test instance at the specified time every day.
- Run commit