< Home

tracert-livetime

Function

The tracert-livetime command sets the time to live (TTL) value for trace test instances in an NQA test.

The undo tracert-livetime command restores the default TTL value for trace test instances in an NQA test.

By default, the initial TTL value is 1 and the maximum TTL value is 30.

Format

tracert-livetime first-ttl first-ttl max-ttl max-ttl

undo tracert-livetime

Parameters

Parameter Description Value
first-ttl first-ttl Specifies the initial TTL value of a packet. The value is an integer that ranges from 1 to 255. The default value is 1.
max-ttl max-ttl Specifies the maximum TTL value of a packet. The value is an integer that ranges from 1 to 255. The value of max-ttl must be greater than the value of first-ttl. By default, the maximum TTL value is 30.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

The tracert-livetime command takes effect only for trace test instances.

You cannot change this configuration of a running test instance.

Example

# Set the initial TTL value of the test instance named user test to 5 and the maximum TTL value to 20.

<HUAWEI> system-view
[HUAWEI] nqa test-instance user test
[HUAWEI-nqa-user-test] test-type trace
[HUAWEI-nqa-user-test] tracert-livetime first-ttl 5 max-ttl 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >