debugging sr-te-policy

Function

The debugging sr-te-policy command is used to enable the debugging of the SR-MPLS TE Policy.

The undo debugging sr-te-policy command is used to disable the debugging of the SR-MPLS TE Policy.

By default, the debugging of the SR-MPLS TE Policy is disabled.

Format

debugging sr-te-policy { policy | policy-group | tnlm | bgp | bfd | dgntl | common | bgp-ls } { cfg-event | producer-event | core-event | db-event | fes-event | ha-event | error-event | all }

debugging sr-te-policy tnlm filter tunnel-id

debugging sr-te-policy policy-group filter group-id

debugging sr-te-policy { policy | bgp | bgp-ls } filter endpoint ipv4-address color color-value

debugging sr-te-policy bfd filter list-id

undo debugging sr-te-policy { policy | policy-group | tnlm | bgp | bfd | dgntl | common | bgp-ls } { cfg-event | producer-event | core-event | db-event | fes-event | ha-event | error-event | all }

undo debugging sr-te-policy policy-group filter [ group-id ]

undo debugging sr-te-policy tnlm filter [ tunnel-id ]

undo debugging sr-te-policy bfd filter [ list-id ]

undo debugging sr-te-policy { policy | bgp | bgp-ls } filter endpoint ipv4-address color color-value

Parameters

Parameter Description Value
policy-group

Indicates an SR-MPLS TE Policy group change event.

-

tnlm

Indicates an SR-MPLS TE Policy TNLM change event.

-

bgp

Indicates an SR-MPLS TE Policy BGP change event.

-

bfd

Indicates an SR-MPLS TE policy BFD change event.

-

dgntl

Indicates an SR-MPLS TE Policy DGNTL change event.

-

common

Indicates an SR-MPLS TE Policy common change event.

-

bgp-ls

Indicates a BGP-LS change event.

-

cfg-event

Indicates an SR-MPLS TE Policy configuration and message event.

-

producer-event

Indicates an SR-MPLS TE Policy producer change event.

-

core-event

Indicates an SR-MPLS TE Policy core change event.

-

db-event

Indicates an SR-MPLS TE Policy DB change event.

-

fes-event

Indicates an SR-MPLS TE Policy FES change event.

-

ha-event

Indicates an SR-MPLS TE Policy active/standby change event.

-

error-event

Indicates an SR-MPLS TE Policy error event.

-

all

Indicates whether to enable the change event function.

-

filter

Indicates debugging filter criteria.

-

tunnel-id

Specifies the tunnel ID of an SR-MPLS TE Policy.

The value is an integer ranging from 1 to 4294967295.

group-id

Specifies the ID of an SR-MPLS TE Policy group.

The value is an integer ranging from 1 to 4294967295.

endpoint ipv4-address

Specifies the endpoint of an SR-MPLS TE Policy.

The value is in dotted decimal notation.

color color-value

Specifies the color of an SR-MPLS TE Policy.

The value is an integer ranging from 0 to 4294967295.

list-id

Specifies the segment list ID of an SR-MPLS TE Policy.

The value is an integer ranging from 1 to 4294967295.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
srpolicy debug

Usage Guidelines

Usage Scenario

You can use the debugging command to view the debugging information of the SR-MPLS TE Policy. You can locate the problem based on the debugging information.

Example

# Add a filter to the Debug switch of the SR-MPLS TE Policy.
<HUAWEI> debugging sr-te-policy filter endpoint 2.2.2.2 color 100
# Enable all the debugging of the SR-MPLS TE Policy.
<HUAWEI> debugging sr-te-policy all
# Enable the core-event Debug switch of the SR-MPLS TE Policy.
<HUAWEI> debugging sr-te-policy bgp-ls core-event
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.