display segment-routing policy-template

Function

The display segment-routing policy-template command displays details about SR Policy attribute templates.

Format

display segment-routing policy-template [ template-id templateValue ]

Parameters

Parameter Description Value
template-id templateValue

Specifies the ID of an SR Policy attribute template.

The value is an integer ranging from 1 to 4294967295.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
srpolicy read

Usage Guidelines

Usage Scenario

The display segment-routing policy-template command displays details about SR Policy attribute templates.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed information about an SR Policy attribute template.
<HUAWEI> display segment-routing policy-template
Template ID                     : 1
Description                     : 111
BFD                             : Unaffiliated
Path Verify                     : Enable
BFD Bypass                      : Bypass
Static Path Reference Count     : 2
BGP Path Reference Count        : 0

Template ID                     : 2
BFD                             : Seamless
Traffic Statistics              : Enable
Static Path Reference Count     : 1
BGP Path Reference Count        : 0

Template ID                     : 3
Hot Standby                     : Enable
BFD                             : Disable
BFD Bypass                      : No-bypass
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967270
Hot Standby                     : Disable
BFD                             : Disable
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967271
Hot Standby                     : Disable
BFD                             : Seamless
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967272
Hot Standby                     : Disable
BFD                             : Disable
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967273
Hot Standby                     : Disable
BFD                             : Seamless
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967274
Hot Standby                     : Enable
BFD                             : Disable
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967275
Hot Standby                     : Enable
BFD                             : Seamless
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967276
Hot Standby                     : Enable
BFD                             : Disable
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967277
Hot Standby                     : Enable
BFD                             : Seamless
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967278
BFD                             : Disable
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967279
BFD                             : Seamless
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967280
BFD                             : Disable
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967281
BFD                             : Seamless
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967282
Hot Standby                     : Disable
BFD                             : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967283
Hot Standby                     : Disable
BFD                             : Seamless
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967284
Hot Standby                     : Enable
BFD                             : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967285
Hot Standby                     : Enable
BFD                             : Seamless
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967286
Hot Standby                     : Disable
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967287
Hot Standby                     : Disable
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967288
Hot Standby                     : Enable
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967289
Hot Standby                     : Enable
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967290
BFD                             : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967291
BFD                             : Seamless
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967292
Traffic Statistics              : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967293
Traffic Statistics              : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967294
Hot Standby                     : Disable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0

Template ID                     : 4294967295
Hot Standby                     : Enable
Static Path Reference Count     : 0
BGP Path Reference Count        : 0
Table 1 Description of the display segment-routing policy-template command output
Item Description
Template ID

ID of an SR Policy attribute template.

Description

Description of an SR Policy attribute template.

BFD

State of the BFD function in an SR Policy attribute template.

BFD Bypass

State of the BFD bypass function in an SR Policy attribute template.

Path Verify

State of the fault detection function in an SR Policy attribute template.

Static Path Reference Count

Number of static paths that reference the template.

BGP Path Reference Count

Number of dynamic BGP paths that reference the template.

Traffic Statistics

State of the traffic statistics collection function in an SR Policy attribute template.

Hot Standby

Whether the hot standby function is enabled in an SR Policy attribute template.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >