ttl-mode (Segment Routing IPv6 view)

Function

The ttl-mode command to is used to configure the TTL processing mode for the SRv6 TE policy.

The undo ttl-mode command is used to restore the default configuration.

By default, enable SRv6 TE Policy to process the TTL in pipe mode.

Format

ttl-mode { uniform | pipe }

undo ttl-mode

Parameters

Parameter Description Value
uniform

Specifies the processing mode of the TTL for the SRv6 TE Policy to be uniform.

-

pipe

Specifies the processing mode of the TTL for the SRv6 TE Policy to be pipe.

-

Views

Segment routing IPv6 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

In a scenario where a public network IP route recurses to an SRv6 TE Policy or Encaps encapsulation is performed for an SRv6 TE Policy (for example, IPv6 traffic is steered into an SRv6 TE Policy in shortcut or BSID mode), the SRv6 TE Policy processes the TTL value in either of the following modes:

  • Uniform mode: The headend reduces the TTL value in the inner packet by 1 and maps it to the IPv6 TTL field. Then, the packet is processed in standard TTL processing mode on the IPv6 network. The endpoint reduces the IPv6 TTL value by 1 and maps it to the TTL field in the inner packet.
  • Pipe mode: The TTL value in the inner packet is reduced by 1 only on the headend and endpoint, with the entire SRv6 TE Policy being treated as one hop.

Example

# Enable SRv6 TE Policy to process the TTL in uniform mode.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] ttl-mode uniform
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >