endpoint

Function

The endpoint command configures an endpoint for an SR-MPLS TE Policy group.

The undo endpoint command deletes the endpoint configured for an SR-MPLS TE Policy group.

By default, no endpoint is configured for an SR-MPLS TE Policy group.

Format

endpoint ipv4-address

undo endpoint [ ipv4-address ]

Parameters

Parameter Description Value
ipv4-address

Specifies an endpoint for an SR-MPLS TE Policy group.

The value is in dotted decimal notation.

Views

SR-MPLS TE policy group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

DSCP-based traffic steering does not support color-based route recursion. Instead, it recurses a route into an SR-MPLS TE Policy based on the next-hop address in the route. Specifically, it searches for the SR-MPLS TE Policy group matching specific endpoint information and then finds the corresponding SR-MPLS TE Policy based on the DSCP value of packets. Each SR-MPLS TE Policy group can be configured with only one endpoint.

Example

# Configure an endpoint for an SR-MPLS TE Policy group.
<HUAWEI> system-view
[*HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te-policy group 1
[*HUAWEI-segment-routing-te-policy-group-1] endpoint 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >