Configuring Parameters for the Path MTU Test
A path MTU test can obtain the maximum MTU value that does not require packet fragmentation during the packet transmission on the link.
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 pathmtu
The type of the test instance is configured as path MTU.
- Run destination-address ipv4 ip-address
The destination IP address is configured.
- (Optional) Run the following commands to configure other parameters for the path MTU test.
Run discovery-pmtu-max pmtu-max
The maximum value of the path MTU test range is set.
Run step step
The value of the incremental step is set for the packet length in the path MTU test.
Run vpn-instance vpn-instance-name
The VPN instance to be tested is configured.
Run source-address ipv4 ip-address
The source IP address is configured.
Run probe-count number
The maximum number of probe packets that are allowed to time out consecutively is configured.
- Run start
The NQA test is started.
Select the start mode as required because the start command has several forms.
To perform the NQA test 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.
The test instance is started immediately.
To perform the NQA test at the 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.
The test instance is started at a specified time.
To perform the NQA test after a certain delay period, 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.
The test instance is started after a certain delay.