debugging srv6-te-policy

Function

The debugging srv6-te-policy command is used to enable the debugging of the SRv6 TE policy.

The undo debugging srv6-te-policy command is used to disable the debugging of the SRv6 TE policy.

By default, the debugging of the SRv6 TE policy is disabled.

Format

debugging srv6-te-policy { policy | bgp6 | bgp-ls | bgp-topoi | path-verify } filter endpointV6Addr colorValue

debugging srv6-te-policy { policy | tnlm | bgp6 | bgp-ls | bgp-topoi | rm6i | common | gresm | path-verify | bfd } { cfg-event | database-event | fes-event | ha-event | error-event | msg-process | core-process | all }

debugging srv6-te-policy tnlm filter tunnelId

debugging srv6-te-policy rm6i filter topSid

debugging srv6-te-policy flow-group { cfg-event | database-event | fes-event | ha-event | error-event | all }

debugging srv6-te-policy topo-collect { database-event | error-event | all | msg-process | core-process }

debugging srv6-te-policy segr { cfg-event | database-event | fes-event | ha-event | error-event | all }

debugging srv6-te-policy segr filter bsid

undo debugging srv6-te-policy { policy | bgp6 | bgp-ls | bgp-topoi | path-verify } filter [ endpointV6Addr colorValue ]

undo debugging srv6-te-policy { policy | tnlm | bgp6 | bgp-ls | bgp-topoi | rm6i | common | gresm | path-verify | bfd } { cfg-event | database-event | fes-event | ha-event | error-event | msg-process | core-process | all }

undo debugging srv6-te-policy tnlm filter [ tunnelId ]

undo debugging srv6-te-policy rm6i filter [ topSid ]

undo debugging srv6-te-policy flow-group { cfg-event | database-event | fes-event | ha-event | error-event | all }

undo debugging srv6-te-policy topo-collect { database-event | error-event | all | msg-process | core-process }

undo debugging srv6-te-policy segr { cfg-event | database-event | fes-event | ha-event | error-event | all }

undo debugging srv6-te-policy segr filter bsid

Parameters

Parameter Description Value
bgp6

SRv6 TE policy BGP6 events.

-

bgp-ls

SRv6 TE policy BGP-LS events.

-

bgp-topoi

SRv6 TE policy BGP-TOPOI events.

-

path-verify

SRv6 TE Policy path-verify events.

-

filter

Debug filter.

-

endpointV6Addr

Destination of the SRv6 TE policy.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

colorValue

SRv6 TE policy color value.

The value is an integer ranging from 0 to 4294967295.

tnlm

SRv6 TE policy tnlm events.

-

rm6i

SRv6 TE policy RM6I events.

-

common

SRv6 TE policy common events.

-

gresm

SRv6 TE policy gresm events.

-

bfd

SRv6 TE Policy BFD events.

-

cfg-event

Debug cfg and cuMsg events.

-

database-event

Debug db events.

-

fes-event

Debug fes events.

-

ha-event

Debug ha events.

-

error-event

Debug error events.

-

msg-process

SRv6 TE Policy message process.

-

core-process

SRv6 TE Policy core process.

-

all

Debug all.

-

tunnelId

SRv6 TE policy tunnel ID.

The value is an integer ranging from 1 to 4294967295.

topSid

Top SID value.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

flow-group

SRv6 TE flow group events.

-

topo-collect

SRv6 TE Policy topo-collect events.

-

segr

SRv6 TE policy SEGR events.

-

bsid

BSID value.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

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 SRv6 TE Policy. You can locate the problem based on the debugging information.

Example

# Enable the debugging of the SRv6 TE Policy and display debugging information on the terminal.
<HUAWEI> debugging srv6-te-policy policy all
<HUAWEI> debugging srv6-te-policy policy cfg
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[~HUAWEI-segment-routing-ipv6] srv6-te policy aa endpoint 5::13 color 123
[*HUAWEI-segment-routing-ipv6-policy-aa] commit
Jun 10 2019 02:32:45.249 PE1 %%01SRPOLICY/6/POLICY_COMMONSEL(d):CID=0x81460455;ComDbg(EndPoint=5::13, Color=123), CFGM-Policy Create(PolicyName:aa, NameIdx:3, Bsid 1::23
shutDownFlag:0, trafficStatis:0, diffServMode:0, serviceClass:0, serviceColor:0, ttlMode:0)
Jun 10 2019 02:32:45.249 PE1 %%01SRPOLICY/6/POLICY_COMMONSEL(d):CID=0x81460455;ComDbg(EndPoint=5::13, Color=123), Policy-PolicyCfg Create(PolicyName:aa, NameIdx:3)
Jun 10 2019 02:32:45.249 PE1 %%01SRPOLICY/6/POLICY_COMMONSEL(d):CID=0x81460455;ComDbg(EndPoint=5::13, Color=123), FESi-Policy TunnelUpdateTable(tunnelId:0x41, type:52, action:1)
Jun 10 2019 02:32:45.249 PE1 %%01SRPOLICY/6/POLICY_COMMONSEL(d):CID=0x81460455;ComDbg(EndPoint=5::13, Color=123), Policy-PolicyFSM(input:Create, State:Init->Init, Action:A, ret:0 )
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.