JH951A

Aruba JH951A, JG619A, JH103A, JH113A, JH255A, JH262A, JH345A, R9F19A, R9F20A Reference guide

  • Hello! I am an AI chatbot trained to assist you with the Aruba JH951A Reference guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
HPE FlexFabric 12900E Switch Series
Segment Routing Command Reference
Software
version: Release 5210
Document version: 6W100-20230424
© Copyright 2023 Hewlett Packard Enterprise Development LP
The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise products and services are set forth in the express warranty statements accompanying such
products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett
Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use, or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s
standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise
website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the
United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
SR-MPLS commands ···················································································· 1
bfd detect-multiplier ···································································································································· 1
bfd enable ·················································································································································· 1
bfd min-echo-receive-interval ····················································································································· 2
bfd min-receive-interval ······························································································································ 3
bfd min-transmit-interval ····························································································································· 4
display bgp egress-engineering ipv4 ·········································································································· 5
display bgp egress-engineering peer-set ··································································································· 7
display bgp segment-routing label-range ··································································································· 8
display isis segment-routing adjacency······································································································ 9
display isis segment-routing global-block································································································· 10
display isis segment-routing prefix-sid-map ····························································································· 11
display isis segment-routing routing-table ································································································ 13
display mpls static-sr-mpls adjacency ······································································································ 16
display mpls static-sr-mpls ipv6 adjacency ······························································································ 17
display mpls static-sr-mpls lsp ················································································································· 18
display mpls static-sr-mpls prefix ············································································································· 19
display mpls static-sr-mpls ipv6 prefix ······································································································ 20
display mpls te segment-routing tunnel path ···························································································· 22
display mpls te tunnel lsp-event ··············································································································· 23
display ospf segment-routing adjacency ·································································································· 26
display ospf segment-routing global-block ······························································································· 27
display ospf segment-routing prefix-sid-map ··························································································· 28
display ospf segment-routing routing-table ······························································································ 30
display segment-routing label-block ········································································································· 32
display segment-routing mapping-server prefix-sid-map ········································································· 33
egress-engineering peer-set ···················································································································· 35
fast-reroute microloop-avoidance enable ································································································· 36
fast-reroute microloop-avoidance rib-update-delay·················································································· 37
fast-reroute ti-lfa ······································································································································· 38
global-block ·············································································································································· 40
isis adjacency-sid ····································································································································· 40
isis adjacency-sid weight ·························································································································· 42
isis fast-reroute ti-lfa disable ···················································································································· 43
isis label-conflict-check enable················································································································· 43
isis member-port adjacency-sid ··············································································································· 44
isis prefix-sid ············································································································································ 46
local-block ················································································································································ 47
mapping-server prefix-sid-map ················································································································ 48
mpls te path-selection adjacency-sid ······································································································· 49
mpls te static-sr-mpls ······························································································································· 49
mpls te static-sr-mpls wtr ························································································································· 50
ospf adjacency-sid ··································································································································· 51
ospf adjacency-sid weight ························································································································ 52
ospf fast-reroute ti-lfa disable ··················································································································· 53
ospf prefix-sid ··········································································································································· 54
peer egress-engineering ·························································································································· 55
peer peer-set ············································································································································ 56
sbfd detect-multiplier ································································································································ 57
sbfd enable ··············································································································································· 58
sbfd min-receive-interval ·························································································································· 59
sbfd min-transmit-interval ························································································································· 60
segment-routing ······································································································································· 61
segment-routing adjacency enable ·········································································································· 61
segment-routing global-block ··················································································································· 62
segment-routing lsp-trigger ······················································································································ 63
segment-routing mapping-server advertise-local ····················································································· 63
ii
segment-routing mapping-server receive································································································· 64
segment-routing member-port adjacency enable····················································································· 65
segment-routing microloop-avoidance enable ························································································· 66
segment-routing microloop-avoidance rib-update-delay ·········································································· 67
segment-routing mpls ······························································································································· 68
segment-routing sr-prefer ························································································································· 69
static-sr-mpls adjacency ··························································································································· 70
static-sr-mpls ipv6 adjacency ··················································································································· 71
static-sr-mpls lsp ······································································································································ 72
static-sr-mpls prefix ·································································································································· 73
static-sr-mpls ipv6 prefix ·························································································································· 75
tunnel-bfd detect-multiplier ······················································································································· 76
tunnel-bfd enable ····································································································································· 77
tunnel-bfd min-echo-receive-interval ········································································································ 78
tunnel-bfd min-receive-interval ················································································································· 79
tunnel-bfd min-transmit-interval ················································································································ 79
SR-MPLS TE policy commands ··································································· 81
address-family ipv4 sr-policy ···················································································································· 81
advertise ebgp enable ······························································································································ 81
affinity (SR-TE-ODN dynamic view) ········································································································· 82
affinity (constraints view) ·························································································································· 82
affinity-map ··············································································································································· 83
backup hot-standby ·································································································································· 84
best-effort default ····································································································································· 85
bfd echo ··················································································································································· 86
bfd trigger path-down ······························································································································· 87
binding-sid ················································································································································ 89
candidate-paths ········································································································································ 89
color end-point ········································································································································· 90
color match dscp ······································································································································ 91
constraints ················································································································································ 92
default-color (public instance IPv4/IPv6 address family view) ································································· 93
default-color (VPN instance IPv4/IPv6 unicast address family view) ······················································· 94
delete-delay ·············································································································································· 94
display bgp routing-table ipv4 sr-policy ···································································································· 95
display pce segment-routing policy database ························································································ 103
display pce segment-routing policy initiate-cache ·················································································· 107
display segment-routing te bfd ··············································································································· 108
display segment-routing te database ····································································································· 110
display segment-routing te forwarding ··································································································· 116
display segment-routing te policy ··········································································································· 120
display segment-routing te policy last-down-reason ·············································································· 126
display segment-routing te policy statistics ···························································································· 128
display segment-routing te policy-group ································································································ 130
display segment-routing te sbfd ············································································································· 131
distribute bgp-ls ······································································································································ 133
dynamic (SR-MPLS TE policy path preference view) ············································································ 133
dynamic (SR-TE-ODN view) ·················································································································· 134
end-point ················································································································································ 135
exclude-any ············································································································································ 135
explicit segment-list ································································································································ 136
forwarding statistics ································································································································ 137
forwarding statistics enable ···················································································································· 138
forwarding statistics interval ··················································································································· 139
import-route sr-policy ····························································································································· 139
include-all ··············································································································································· 140
include-any ············································································································································· 141
index ······················································································································································· 141
maximum-sid-depth ································································································································ 142
metric ····················································································································································· 143
name ······················································································································································ 144
iii
name bit-position ···································································································································· 145
on-demand ············································································································································· 146
pce capability segment-routing ·············································································································· 147
pce delegation ········································································································································ 147
pce passive-delegate report-only ··········································································································· 148
pcep (SR-TE-ODN dynamic view) ········································································································· 149
pcep (SR-MPLS TE policy path preference dynamic view) ··································································· 150
policy ······················································································································································ 151
policy-group ············································································································································ 151
preference ·············································································································································· 152
reoptimization ········································································································································· 153
reset segment-routing te forwarding statistics························································································ 154
restrict ···················································································································································· 154
router-id filter ·········································································································································· 155
sbfd ························································································································································ 156
segment-list ············································································································································ 158
segments ················································································································································ 158
service-class ·········································································································································· 159
shutdown ················································································································································ 160
sid-algorithm ··········································································································································· 160
sid-limit ··················································································································································· 161
source-address ······································································································································ 162
sr-policy backup hot-standby enable······································································································ 164
sr-policy bfd echo ··································································································································· 165
sr-policy bfd first-fail-timer ······················································································································ 166
sr-policy bfd trigger path-down enable ··································································································· 167
sr-policy calc-schedule-interval ·············································································································· 168
sr-policy immediate-reoptimization ········································································································· 169
sr-policy log enable ································································································································ 170
sr-policy pce delegation enable·············································································································· 170
sr-policy pce passive-delegate report-only enable ················································································· 171
sr-policy reoptimization ·························································································································· 172
sr-policy sbfd enable ······························································································································ 173
sr-policy sbfd timer ································································································································· 175
sr-policy switch-delay delete-delay ········································································································ 176
sr-policy up-delay ··································································································································· 176
strict-sid-only enable ······························································································································ 177
traffic-engineering ·································································································································· 178
type ························································································································································ 179
up-delay ················································································································································· 180
SRv6 commands ······················································································· 182
advertise srv6 locator ····························································································································· 182
anycast enable ······································································································································· 183
diffserv-mode ········································································································································· 183
display bgp egress-engineering ipv6 ······································································································ 185
display bgp egress-engineering srv6 peer-set ······················································································· 187
display isis segment-routing ipv6 capability ··························································································· 188
display isis segment-routing ipv6 locator ······························································································· 189
display isis segment-routing ipv6 sid-info conflict ·················································································· 192
display isis segment-routing ipv6 sid-info locator ··················································································· 193
display isis segment-routing ipv6 sid-info sid ························································································· 196
display isis segment-routing ipv6 sid-info statistics ················································································ 198
display isis segment-routing ipv6 sid-info system-id ·············································································· 199
display ospfv3 segment-routing ipv6 capability ······················································································ 201
display ospfv3 segment-routing ipv6 locator ·························································································· 202
display segment-routing ipv6 available-static-sid ··················································································· 203
display segment-routing ipv6 brief ········································································································· 205
display segment-routing ipv6 forwarding································································································ 205
display segment-routing ipv6 local-sid ··································································································· 207
display segment-routing ipv6 local-sid forwarding statistics··································································· 212
display segment-routing ipv6 local-sid statistics ···················································································· 214
iv
display segment-routing ipv6 locator······································································································ 216
display segment-routing ipv6 locator-statistics······················································································· 218
egress-engineering srv6 peer-set ·········································································································· 219
encapsulation source-address ··············································································································· 220
fast-reroute microloop-avoidance enable ······························································································· 221
fast-reroute microloop-avoidance rib-update-delay················································································ 222
fast-reroute ti-lfa ····································································································································· 223
flavor-mode switch no-psp ····················································································································· 224
isis ipv6 fast-reroute ti-lfa disable ··········································································································· 225
locator ···················································································································································· 226
local-sid forwarding statistics enable······································································································ 227
local-sid forwarding statistics interval ····································································································· 228
opcode ··················································································································································· 229
ospfv3 fast-reroute ti-lfa disable ············································································································· 232
path-mtu ················································································································································· 232
path-mtu reserved ·································································································································· 233
peer egress-engineering srv6 ················································································································ 234
peer peer-set ·········································································································································· 235
reset segment-routing ipv6 local-sid forwarding statistics ······································································ 236
segment-routing ipv6 (system view) ······································································································· 237
segment-routing ipv6 advertise l3-service-sid ························································································ 237
segment-routing ipv6 egress-engineering locator ·················································································· 238
segment-routing ipv6 end-x delete-delay ······························································································· 239
segment-routing ipv6 locator (IS-IS IPv6 address family view) ······························································ 240
segment-routing ipv6 locator (OSPFv3 process view) ··········································································· 241
segment-routing microloop-avoidance enable ······················································································· 242
segment-routing microloop-avoidance rib-update-delay ········································································ 243
srh-mode switch normal ························································································································· 244
SRv6 TE policy commands ········································································ 246
address-family ipv6 sr-policy ·················································································································· 246
advertise ebgp enable ···························································································································· 246
autoroute enable ···································································································································· 247
autoroute metric ····································································································································· 248
backup hot-standby ································································································································ 248
best-effort default ··································································································································· 249
bestroute encap-type ····························································································································· 250
bfd echo ················································································································································· 252
bfd srv6-encapsulation-mode ················································································································· 253
bfd trigger path-down ····························································································································· 254
binding-sid ·············································································································································· 256
bypass enable ········································································································································ 257
candidate-paths ······································································································································ 257
color end-point ······································································································································· 258
color match dscp (SRv6 TE Policy group view) ····················································································· 259
default-color (public instance IPv4/IPv6 address family view) ······························································· 260
default-color (VPN instance IPv4/IPv6 address family view) ································································· 261
delete-delay ············································································································································ 261
display bgp mirror remote-sid ················································································································· 262
display bgp routing-table ipv6 sr-policy ·································································································· 263
display evpn srv6 mirror remote-sid ······································································································· 272
display pce segment-routing ipv6 policy database ················································································· 273
display pce segment-routing ipv6 policy initiate-cache ·········································································· 276
display segment-routing ipv6 te database······························································································ 278
display segment-routing ipv6 te bfd ······································································································· 286
display segment-routing ipv6 te forwarding···························································································· 287
display segment-routing ipv6 te policy ··································································································· 291
display segment-routing ipv6 te policy last-down-reason······································································· 298
display segment-routing ipv6 te policy statistics ···················································································· 299
display segment-routing ipv6 te policy status························································································· 301
display segment-routing ipv6 te policy-group ························································································· 303
display segment-routing ipv6 te policy-group last-down-reason ···························································· 305
v
display segment-routing ipv6 te policy-group statistics ·········································································· 306
display segment-routing ipv6 te sbfd······································································································ 307
display segment-routing ipv6 te segment-list ························································································· 308
display segment-routing ipv6 te source-sid ···························································································· 310
distribute bgp-ls ······································································································································ 311
drop-upon-invalid ··································································································································· 312
dynamic (SRv6 TE policy path preference view) ··················································································· 313
dynamic (SRv6-TE-ODN view) ·············································································································· 314
encapsulation-mode encaps include local-end.x ··················································································· 314
end-point ················································································································································ 315
explicit segment-list ································································································································ 316
fast-reroute mirror delete-delay ·············································································································· 317
fast-reroute mirror enable ······················································································································· 318
forwarding ignore-last-sid ······················································································································· 319
forwarding statistics ································································································································ 320
group-color ············································································································································· 321
import-route sr-policy ····························································································································· 321
index ······················································································································································· 322
mirror remote-sid delete-delay ··············································································································· 323
on-demand ············································································································································· 324
path verification ······································································································································ 325
pce capability segment-routing ipv6 ······································································································· 326
pce delegation ········································································································································ 327
pce passive-delegate report-only ··········································································································· 328
pcep (SRv6 TE policy path preference dynamic view) ··········································································· 329
policy ······················································································································································ 330
policy-group ············································································································································ 330
preference ·············································································································································· 331
reset segment-routing ipv6 te forwarding statistics ················································································ 332
restrict ···················································································································································· 332
router-id filter ·········································································································································· 333
sbfd ························································································································································ 334
segment-list ············································································································································ 336
service-class ·········································································································································· 336
shutdown ················································································································································ 337
snmp-agent trap enable srv6-policy ······································································································· 338
source-address ······································································································································ 338
sr-policy steering ···································································································································· 340
sr-te frr enable ········································································································································ 341
srv6-policy alarm-threshold ···················································································································· 342
srv6-policy autoroute enable ·················································································································· 343
srv6-policy backup hot-standby enable ·································································································· 344
srv6-policy bfd echo ······························································································································· 345
srv6-policy bfd first-fail-timer ·················································································································· 346
srv6-policy bfd trigger path-down enable ······························································································· 347
srv6-policy drop-upon-invalid enable ····································································································· 348
srv6-policy encapsulation-mode encaps include local-end.x ································································· 349
srv6-policy forwarding ignore-last-sid ····································································································· 350
srv6-policy forwarding statistics enable ·································································································· 351
srv6-policy forwarding statistics interval ································································································· 351
srv6-policy locator ·································································································································· 352
srv6-policy log enable ···························································································································· 353
srv6-policy path verification enable ········································································································ 354
srv6-policy pce delegation enable ·········································································································· 355
srv6-policy pce passive-delegate report-only enable ············································································· 356
srv6-policy sbfd ······································································································································ 357
srv6-policy switch-delay delete-delay····································································································· 358
srv6-policy up-delay ······························································································································· 359
traffic-engineering ·································································································································· 360
up-delay ················································································································································· 360
vi
SRv6 VPN commands ··············································································· 362
default color ············································································································································ 362
display l2vpn forwarding srv6 ················································································································· 362
display l2vpn peer srv6 ·························································································································· 365
display l2vpn vsi ····································································································································· 371
display l2vpn xconnect-group ················································································································· 375
evpn encapsulation srv6 ························································································································ 378
evpn encapsulation srv6 binding instance ····························································································· 378
locator-sbfd enable ································································································································· 379
nexthop interface (BGP IPv4 SR next hop view/BGP-VPN IPv4 SR next hop view/BGP-VPN IPv4 EVPN
SR next hop view) ·································································································································· 380
nexthop interface (BGP SRv6 next hop view/BGP-VPN SRv6 next hop view/BGP-VPN IPv6 EVPN SR
next hop view) ········································································································································ 382
peer advertise encap-type srv6 ·············································································································· 383
peer prefix-sid ········································································································································ 384
peer srv6-vpn compatible ······················································································································· 385
ping evpn vpls srv6 ································································································································ 386
ping evpn vpws srv6 ······························································································································· 388
segment-routing ipv6 ······························································································································ 390
segment-routing ipv6 apply-sid all-nexthop (BGP IPv4/IPv6 address family view) ································ 391
segment-routing ipv6 apply-sid all-nexthop (BGP-VPN IPv4/IPv6 address family view) ······················· 392
segment-routing ipv6 apply-sid specify-nexthop (BGP IPv4/IPv6 address family view) ························ 393
segment-routing ipv6 apply-sid specify-nexthop (BGP-VPN IPv4/IPv6 address family view)················ 394
segment-routing ipv6 best-effort ············································································································ 396
segment-routing ipv6 locator ·················································································································· 397
segment-routing ipv6 locator (cross-connect view, EVPN instance view, and VSI EVPN instance view)
······························································································································································· 398
segment-routing ipv6 locator anycast ···································································································· 400
segment-routing ipv6 traffic-engineering ································································································ 402
srv6-pw-type ··········································································································································· 403
tracert evpn vpls srv6 ····························································································································· 405
tracert evpn vpws srv6 ··························································································································· 406
unicast-forwarding dx2-based ················································································································ 408
SRv6 OAM commands ·············································································· 410
ping ipv6-sid ··········································································································································· 410
ping srv6-te policy ·································································································································· 413
remote end-op ········································································································································ 415
tracert ipv6-sid ········································································································································ 416
tracert srv6-te policy ······························································································································· 418
Document conventions and icons ······························································ 422
Conventions ··················································································································································· 422
Network topology icons ·································································································································· 423
Support and other resources ····································································· 424
Accessing Hewlett Packard Enterprise Support····························································································· 424
Accessing updates ········································································································································· 424
Websites ················································································································································ 425
Customer self repair ······························································································································· 425
Remote support ······································································································································ 425
Documentation feedback ······················································································································· 425
Index ·········································································································· 427
1
SR-MPLS commands
bfd detect-multiplier
Use bfd detect-multiplier to set the BFD detection time multiplier for SRLSPs.
Use undo bfd detect-multiplier to restore the default.
Syntax
bfd detect-multiplier value
undo bfd detect-multiplier
Default
The BFD detection time multiplier is not set for SRLSPs. The BFD detection time multiplier set by the
bfd multi-hop detect-multiplier command applies.
Views
Segment Routing view
Predefined user roles
network-admin
Parameters
value: Specifies a detection time multiplier, which is the maximum number of consecutive BFD
packets that can be discarded. The value range for this argument is 3 to 50.
Usage guidelines
The device sends BFD packets to a peer periodically. If the device does not receive BFD packets
from the peer within the actual detection interval, it determines that the session is down. The actual
detection interval of the sender is the detection time multiplier of the receiver × the actual sending
interval of the receiver.
This command takes effect only on BFD sessions created by the bfd enable command.
Examples
# Set the BFD detection time multiplier to 3 for SRLSPs.
<Sysname> system-view
[Sysname] segment-routing
[Sysname-segment-routing] bfd detect-multiplier 3
Related commands
bfd enable
bfd multi-hop detect-multiplier (High Availability Command Reference)
bfd enable
Use bfd enable to enable BFD for SRLSPs.
Use undo bfd enable to restore the default.
Syntax
bfd enable [ prefix-list prefix-list-name ] [ echo | nil-fec ]
2
undo bfd enable
Default
BFD for SRLSPs is not enabled.
Views
Segment routing view
Predefined user roles
network-admin
Parameters
prefix-list prefix-list-name: Specifies an IPv4 prefix list by the prefix list name, a
case-sensitive string of 1 to 63 characters. The device can create BFD sessions only for the SRLSPs
permitted by the specified IPv4 prefix list. If you do not specify an IPv4 prefix list, the device can
create BFD sessions for all SRLSPs.
echo: Specifies the BFD echo packet mode. If you do not specify this keyword, the BFD control
packet mode is used to verify SRLSP connectivity.
nil-fec: Encapsulates the Nil FEC in MPLS echo request packets when BFD control packet mode
is used to detect SRLSPs. In SR to LDP interworking mode, the ingress node (source node) cannot
determine whether the LDP LSP is connected to the SRLSP. When the ingress node uses MPLS
BFD to detect LSPs, it encapsulates LDP FEC in MPLS echo request packets, which will fail the FEC
type verification on the egress node (end-point node). Then, the BFD session will go down. To
resolve this issue, specify the nil-fec keyword to enable the ingress node to encapsulate the Nil
FEC in MPLS echo request packets. The egress node will not check the FEC type of packets
encapsulated with the Nil FEC.
Usage guidelines
This command enables the device to create a BFD session for each primary SRLSP to verify the
connectivity of the primary SRLSP. When a primary SRLSP fails, BFD can quickly detect the failure
and switches traffic to the backup SRLSP to reduce packet loss.
Before you execute this command, enable MPLS BFD by using the mpls bfd enable command.
If you execute both the bfd enable command and the mpls bfd command for SRLSPs, the mpls
bfd command takes effect on the SRLSPs.
Examples
# Enable BFD for SRLSPs.
<Sysname> system-view
[Sysname] segment-routing
[Sysname-segment-routing] bfd enable
Related commands
mpls bfd (for LSP) (MPLS Command Reference)
mpls bfd enable (MPLS Command Reference)
bfd min-echo-receive-interval
Use bfd min-echo-receive-interval to set the minimum interval for receiving BFD echo
packets for SRLSP BFD.
Use undo bfd min-echo-receive-interval to restore the default.
3
Syntax
bfd min-echo-receive-interval interval
undo bfd min-echo-receive-interval
Default
The minimum interval for receiving BFD echo packets is not set for SRLSP BFD. The interval set by
the bfd multi-hop min-echo-receive-interval command applies.
Views
Segment routing view
Predefined user roles
network-admin
Parameters
interval: Specifies the minimum interval for receiving BFD echo packets, in milliseconds. The
value range for this argument is 3 to 10000.
Usage guidelines
The interval for receiving BFD echo packets is also the interval for sending BFD echo packets. By
executing this command, you can control both the receiving interval and sending interval for BFD
echo packets.
This command takes effect only on the echo mode BFD sessions created by the bfd enable
command.
Examples
# Set the minimum BFD echo packet receiving interval for SRLSP BFD to 450 milliseconds.
<Sysname> system-view
[Sysname] segment-routing
[Sysname-segment-routing] bfd min-echo-receive-interval 450
Related commands
bfd enable
bfd multi-hop min-echo-receive-interval (High Availability Command Reference)
bfd min-receive-interval
Use bfd min-receive-interval to set the minimum BFD packet receiving interval for SRLSP
BFD.
Use undo bfd min-receive-interval to restore the default.
Syntax
bfd min-receive-interval interval
undo bfd min-receive-interval
Default
The minimum interval for receiving BFD packets is not set for SRLSP BFD. The interval set by the
bfd multi-hop min-receive-interval command applies.
Views
Segment routing view
4
Predefined user roles
network-admin
Parameters
interval: Specifies the minimum interval for receiving BFD packets, in milliseconds. The value
range for this argument is 3 to 10000.
Usage guidelines
Use this command to prevent the packet sending rate of the peer end from exceeding the packet
receiving rate of the local end. If the receiving rate is exceeded, the peer end dynamically adjusts the
BFD packet transmitting interval to the minimum receiving interval of the local end.
This command takes effect only on BFD sessions created by the bfd enable command.
Examples
# Set the minimum BFD packet receiving interval for SRLSP BFD to 550 milliseconds.
<Sysname> system-view
[Sysname] segment-routing
[Sysname-segment-routing] bfd min-receive-interval 550
Related commands
bfd enable
bfd multi-hop min-receive-interval (High Availability Command Reference)
bfd min-transmit-interval
Use bfd min-transmit-interval to set the minimum BFD packet transmitting interval for
SRLSP BFD.
Use undo bfd min-transmit-interval to restore the default.
Syntax
bfd min-transmit-interval interval
undo bfd min-transmit-interval
Default
The minimum interval for transmitting BFD packets is not set for SRLSP BFD. The interval set by the
bfd multi-hop min-transmit-interval command applies.
Views
Segment routing view
Predefined user roles
network-admin
Parameters
interval: Specifies the minimum interval for transmitting BFD packets, in milliseconds. The value
range is 3 to 10000.
Usage guidelines
Use this command to prevent the BFD packet sending rate from exceeding the packet receiving rate
of the peer end.
The actual BFD packet transmitting interval on the local end is the greater value between the
following values:
5
•
Minimum interval for transmitting BFD packets on the local end.
•
Minimum interval for receiving BFD packets on the peer end.
This command takes effect only on BFD sessions created by the bfd enable command.
Examples
# Set the minimum BFD packet transmitting interval for SRLSP BFD to 450 milliseconds.
<Sysname> system-view
[Sysname] segment-routing
[Sysname-segment-routing] bfd min-transmit-interval 450
Related commands
bfd enable
bfd multi-hop min-transmit-interval (High Availability Command Reference)
display bgp egress-engineering ipv4
Use display bgp egress-engineering ipv4 to display BGP EPE information.
Syntax
display bgp [ instance instance-name ] egress-engineering ipv4
[ ipv4-address ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to
31 characters. If you do not specify this option, the command displays information about the default
BGP instance.
ipv4-address: Specifies the IPv4 address of an existing peer. If you do not specify this argument,
the command displays information about all peers and peer groups.
verbose: Displays detailed BGP EPE information. If you do not specify this keyword, the command
displays brief BGP EPE information.
Examples
# Display brief BGP EPE information.
<Sysname> display bgp egress-engineering ipv4
PeerSet : 192.168.1.2
Local AS number : 1
Remote AS number : 2
Local router ID : 1.1.1.3
Remote router ID : 1.1.1.4
OriginNextHop : 192.168.1.2
RelyNextHop : 192.168.1.2
Interface : HGE1/0/1
# Display brief BGP EPE information for a peer.
6
<Sysname> display bgp egress-engineering ipv4 192.168.1.5
BGP peering segment type: Node-Adjacency
PeerNodeAdj : 192.168.1.5
Local AS number : 1
Remote AS number : 2
Local router ID : 1.1.1.3
Remote router ID : 1.1.1.5
OriginalNextHop : 192.168.1.5
RelayNextHop : 192.168.1.5
Interface : HGE1/0/5
# Display detailed BGP EPE information for a peer.
<Sysname> display bgp egress-engineering ipv4 1.1.1.1 verbose
BGP peering segment type : Node
PeerAdj Num : 2
PeerNode : 1.1.1.1
Local AS number : 1
Remote As number : 2
Local router ID : 1.1.1.3
Remote router ID : 1.1.1.4
Local interface address : 2.2.2.2
Remote interface address : 1.1.1.1
OriginalNextHop : 1.1.1.1
RelayNextHop : 100.0.27.7
OriginalNextHop : 1.1.1.1
RelayNextHop : 100.0.28.7
Label : 15000
TunnelPolicy : abc
BGP peering segment type : Adjacency
PeerAdj : 100.0.27.7
Local AS number : 1
Remote AS number : 2
Local router ID : 1.1.1.1
Remote router ID : 2.2.2.2
OriginalNextHop : 100.0.27.7
RelayNextHop : 100.0.27.7
Local interface address : 100.0.27.2
Remote interface address : 100.0.27.7
Interface : GE1/0/1
Label : 24001
TunnelPolicy : abc
BGP peering segment type : Adjacency
PeerAdj : 100.0.28.7
Local AS number : 1
Remote AS number : 2
Local router ID : 1.1.1.1
Remote router ID : 2.2.2.2
OriginalNextHop : 100.0.28.7
RelayNextHop : 100.0.28.7
7
Local interface address : 100.0.28.2
Remote interface address : 100.0.28.7
Interface : GE1/0/2
Label : 24002
TunnelPolicy : abc
Table 1 Command output
Field
Description
BGP peering segment type
Type of the BGP peering segments to the specified peer:
• Node.
• Adjacency.
• Set.
• Node-Adjacency.
PeerAdj Num Number of peering adjacencies.
Interface Interface on which the neighborship is established.
OriginalNextHop Original next hop.
RelayNextHop Recursive next hop.
display bgp egress-engineering peer-set
Use display bgp egress-engineering peer-set to display BGP EPE peer set information.
Syntax
display bgp [ instance instance-name ] egress-engineering peer-set
[ peer-set-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to
31 characters. If you do not specify a BGP instance, this command displays BGP EPE peer set
information for the default BGP instance.
peer-set-name: Specifies a BGP EPE peer set by its name, a case-sensitive string of 1 to 63
characters. If you do not specify a peer set, this command displays information about all BGP EPE
peer sets.
Examples
# Display information about all BGP EPE peer sets.
<Sysname> display bgp egress-engineering peer-set
BGP egress peering segment peer-set: a
PeerSet label : 2172
Members: 0
8
BGP egress peering segment peer-set: b
PeerSet label : 5555
Members: 1
BGP PeerNodeAdj : 3.3.3.3
BGP egress peering segment peer-set: c
PeerSet label: 65001
Label : 65001
Members: 2
BGP PeerNode: 1.1.1.1
BGP PeerAdj : 10.1.1.1
PeerSet name: d
PeerSet label: 65002
Members: 2
BGP PeerNode: 2.2.2.2
BGP PeerAdj : 11.1.1.1
Table 2 Command output
Field
Description
BGP egress peering segment peer-set Name of a BGP EPE peer set.
PeerSet label SID used by the BGP EPE peer set.
Label SID assigned to the BGP EPE peer set.
Members Number of peers in the BGP EPE peer set.
BGP PeerNode Address of the node peer.
BGP PeerAdj Address of the adjacency peer.
BGP PeerNodeAdj Address of the node-adjacency peer.
display bgp segment-routing label-range
Use display bgp segment-routing label-range to display BGP SR label ranges.
Syntax
display bgp [ instance instance-name ] segment-routing label-range
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to
31 characters. If you do not specify this option, the command displays information about the default
BGP instance.
9
Examples
# Display BGP SR label ranges.
<Sysname> display bgp segment-routing label-range
BGP peering segment labels:
56000-250000
Prefix labels:
16000-55999
display isis segment-routing adjacency
Use display isis segment-routing adjacency to display IS-IS SR adjacency SID
information.
Syntax
display isis [ process-id ] segment-routing adjacency [ { member-port |
non-member-port } | sid sid-value | vpn-instance vpn-instance-name ] *
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies an IS-IS process ID in the range of 1 to 65535. If you do not specify this
argument, the command displays SR adjacency SID information about all IS-IS processes.
member-port: Displays SR adjacency SID information on Layer 3 aggregation group member
interfaces.
non-member-port: Displays SR adjacency SID information on Layer 3 Ethernet interfaces except
aggregation group member interfaces.
sid sid-value: Specifies an adjacency SID value in the range of 15000 to 250000.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a
case-sensitive string of 1 to 31 characters.
Usage guidelines
If you do not specify the member-port or non-member-port keyword, this command displays
SR adjacency SID information on all interfaces.
If you do not specify the sid sid-value option, this command displays information about all IS-IS
SR adjacency SIDs.
If you do not specify the vpn-instance vpn-instance-name option, this command displays
SR adjacency SID information on the public network.
Examples
# Display SR adjacency SID information about IS-IS process 1.
<Sysname> display isis 1 segment-routing adjacency
Adjacency SID: 15020 Type: Non-member-port Request result: Init
SystemID Interface NextHop State ProcessID
10
0000.0000.0000.00 HGE1/0/1 2.2.2.2 Inactive 1
Table 3 Command output
Field
Description
Adjacency SID Adjacency SID value.
Type
Type of the adjacency SID assigned to the adjacency link:
• Member-port—Adjacency SID assigned to a Layer 3
aggregation group member interface.
• Non-member-port—Adjacency SID assigned to a
Layer 3 Ethernet interface that is not an aggregation
group member interface.
Request result
Adjacency SID application result:
• Succeeded—The application succeeded.
• Conflicting—The adjacency SID is already used.
• Init—The application is in progress or the adjacency
SID allocation feature is not enabled.
• Out-of-range—The adjacency SID is not the in the
range of the SRLB.
SystemID System ID of the neighbor.
Interface Interface connected to the neighbor.
Nexthop Next hop of the adjacency SID.
State
SID status:
• Active—The SID is effective and is available for use.
• Inactive—The SID is not effective and is not available
for use.
ProcessID IS-IS process ID.
display isis segment-routing global-block
Use display isis segment-routing global-block to display IS-IS SRGB information.
Syntax
display isis segment-routing global-block [ level-1 | level-2 ]
[ process-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
level-1: Specifies Level-1 SRGB.
level-2: Specifies Level-2 SRGB.
process-id: Specifies an IS-IS process ID in the range of 1 to 65535. If you do not specify this
argument, the command displays the SRGBs of all IS-IS processes.
11
Usage guidelines
If you do not specify the level-1 or level-2 keyword, the command displays information about
both the Level-1 SRGB and Level-2 SRGB.
Examples
# Display information about the SRGBs for IS-IS process 1.
<Sysname> display isis segment-routing global-block 1
Segment routing global block information for IS-IS(1)
-----------------------------------------------------
Level-1 SRGB
-------------------------
System ID Base Range
-------------------------------------------------------------------------------
0000.0000.0011 16666 5557
0000.0000.0012 18012 4001
Table 4 Command output
Description
System ID System ID of the neighbor.
Base Minimum label value of the SRGB.
Range Number of labels in the SRGB.
Related commands
segment-routing global-block
display isis segment-routing prefix-sid-map
Use display isis segment-routing prefix-sid-map to display IS-IS SR prefix-SID
mappings.
Syntax
display isis segment-routing prefix-sid-map [ active-policy |
backup-policy ] [ process-id ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
active-policy: Displays active prefix-SID mappings.
backup-policy: Displays backup prefix-SID mappings.
process-id: Specifies an IS-IS process ID in the range of 1 to 65535. If you do not specify this
argument, the command displays information about all IS-IS processes.
12
verbose: Displays detailed information. If you do not specify this keyword, the command displays
brief information.
Usage guidelines
If you do not specify the active-policy or backup-policy keyword, the command displays
information about both active and backup prefix-SID mappings.
Examples
# Display active IS-IS SR prefix-SID mappings.
<Sysname> display isis segment-routing prefix-sid-map active-policy
ISIS 1 - Active policy
Number of mappings: 5
Prefix SID index Range Flags
2.2.2.2/32 10 10 -
3.3.3.3/32 300 1 -
8.8.8.8/32 600 20 -
11.11.11.11/32 100 10 -
12.12.12.1/32 44 3 -
# Display detailed information about active IS-IS SR prefix-SID mappings.
<Sysname> display isis segment-routing prefix-sid-map active-policy verbose
ISIS 1 - Active policy
Number of mappings: 2
Prefix 1.1.1.1 32
Source : Local
Router ID : 1010.1020.1030
Level : Not set
SID index : 100
Range : 1
Last prefix : 1.1.1.1/32
Last SID index: 100
Flags : -
Prefix 2.2.2.2 32
Source : Remote
Router ID : 1010.1020.1040
Level : L1
SID index : 200
Range : 1
Last prefix : 2.2.2.2/32
Last SID index: 200
Flags : -
# Display backup IS-IS SR prefix-SID mappings.
<Sysname> display isis segment-routing prefix-sid-map backup-policy
ISIS 1 - Backup policy
/