ip path detection enable

Function

The ip path detection enable command enables DSCP-based IPv4 path detection in VXLAN scenarios.

The undo ip path detection enable command disables DSCP-based IPv4 path detection.

The ip path detection enable ipv6 command enables DSCP-based IPv6 path detection in VXLAN scenarios.

The undo ip path detection enable ipv6 command disables DSCP-based IPv6 path detection.

By default, path detection is not configured.

Format

ip path detection enable [ ipv6 ] dscp dscp-value

undo ip path detection enable [ ipv6 ] [ dscp dscp-value ]

Parameters

Parameter Description Value
dscp dscp-value

Specifies a DSCP value.

The value is an integer that ranges from 0 to 63.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pathdetect write

Usage Guidelines

Usage Scenario

In the telco cloud VXLAN scenario, a probe packet with the same 5-tuple information as that of the service flow is constructed on the ingress node and is added with a special DSCP value for the devices through which the service flow passes to identify. This helps restore the device path through which the service flow passes.

This command is used to enable DSCP-based IPv4 or IPv6 path detection.

Precautions

  • The path detection function can detect only the traffic path between any two devices in the VXLAN tunnel scenario.
  • Before using DSCP-based path detection, plan an unoccupied DSCP value that will be used to identify detection packets.

Example

# Configure DSCP-based IPv6 path detection.
<HUAWEI> system-view
[~HUAWEI] ip path detection enable ipv6 dscp 3
# Configure DSCP-based IPv4 path detection.
<HUAWEI> system-view
[~HUAWEI] ip path detection enable dscp 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >