The display segment-routing policy-template command displays details about SR Policy attribute templates.
The actual command output varies according to the device. The command output here is only an example.
<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
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. |