Aruba MPLS User guide

  • Hello! I've reviewed the HPE FlexFabric 5940 & 5930 Switch Series MPLS Command Reference. This document details a wide range of commands for configuring and managing MPLS features, including SR, LDP, TE, VPNs, and more. I'm ready to answer your questions about any specific command or feature discussed in this manual.
  • What is the purpose of the 'display mpls forwarding ilm' command?
    What does the 'mpls lsr-id' command configure?
    What is the 'static-lsp egress' command used for?
    What is the function of the 'display mpls ldp peer' command?
    What does the 'mpls te fast-reroute' command configure?
    What does the 'display ip vpn-instance' command show?
HPE FlexFabric 5940 & 5930 Switch Series
MPLS Command Reference
Part number: 5200-6395
Software version: Release 2702 and later
Document version: 6W100-20190628
© Copyright 2019 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
MPLS SR commands ········································································ 1
display isis segment-routing adjacency ···················································································· 1
display isis segment-routing global-block ·················································································· 1
display mpls static-sr-mpls ···································································································· 2
display mpls static-sr-mpls prefix ···························································································· 4
isis prefix-sid ······················································································································ 5
mpls te static-sr-mpls ··········································································································· 6
segment-routing adjacency enable ·························································································· 7
segment-routing global-block ································································································· 8
segment-routing mpls ··········································································································· 8
segment-routing sr-prefer ······································································································ 9
static-sr-mpls adjacency ····································································································· 10
static-sr-mpls lsp ··············································································································· 11
static-sr-mpls prefix ············································································································ 11
Basic MPLS commands ··································································· 14
display mpls forwarding ilm ·································································································· 14
display mpls forwarding nhlfe ······························································································· 15
display mpls interface ········································································································· 17
display mpls label ·············································································································· 18
display mpls lsp ················································································································ 19
display mpls lsp statistics ···································································································· 23
display mpls nib ················································································································ 24
display mpls nid ················································································································ 25
display mpls summary ········································································································ 26
mpls enable ····················································································································· 27
mpls label advertise ··········································································································· 28
mpls lsr-id ························································································································ 29
mpls mtu ························································································································· 29
mpls statistics ··················································································································· 30
mpls statistics interval ········································································································ 31
mpls ttl expiration enable ···································································································· 32
mpls ttl propagate ·············································································································· 33
reset mpls statistics ··········································································································· 34
snmp-agent trap enable mpls ······························································································· 34
Static LSP commands ····································································· 36
display mpls static-lsp ········································································································ 36
static-lsp egress ················································································································ 37
static-lsp ingress ··············································································································· 38
static-lsp transit ················································································································· 39
LDP commands ············································································· 40
LDP common commands ··········································································································· 40
backoff ···························································································································· 40
display mpls ldp discovery ··································································································· 41
display mpls ldp fec ··········································································································· 44
display mpls ldp interface ···································································································· 47
display mpls ldp lsp ············································································································ 49
display mpls ldp parameter ·································································································· 50
display mpls ldp peer ········································································································· 52
display mpls ldp summary ··································································································· 55
dscp ······························································································································· 57
graceful-restart ················································································································· 57
graceful-restart timer ·········································································································· 58
label-distribution ················································································································ 59
loop-detect ······················································································································· 60
ii
lsr-id ······························································································································· 61
maxhops ························································································································· 62
md5-authentication ············································································································ 62
mpls ldp ·························································································································· 63
mpls ldp timer ··················································································································· 64
non-stop-routing ················································································································ 66
pv-limit ···························································································································· 67
reset mpls ldp ··················································································································· 68
snmp-agent trap enable ldp ································································································· 68
vpn-instance ····················································································································· 69
IPv4 LDP commands ················································································································ 70
accept-label ····················································································································· 70
advertise-label ·················································································································· 71
display mpls ldp igp sync ···································································································· 72
igp sync delay ··················································································································· 73
igp sync delay on-restart ····································································································· 74
import bgp ······················································································································· 75
lsp-trigger ························································································································ 76
mpls ldp enable ················································································································· 77
mpls ldp igp sync disable ···································································································· 78
mpls ldp sync (IS-IS view) ··································································································· 78
mpls ldp sync (OSPF view/OSPF area view) ··········································································· 79
mpls ldp transport-address ·································································································· 80
session protection ············································································································· 81
targeted-peer ···················································································································· 82
IPv6 LDP commands ················································································································ 83
ipv6 accept-label ··············································································································· 83
ipv6 advertise-label ············································································································ 84
ipv6 import bgp ················································································································· 85
ipv6 lsp-trigger ·················································································································· 86
mpls ldp ipv6 enable ·········································································································· 87
mpls ldp transport-address ·································································································· 88
targeted-peer ···················································································································· 89
MPLS TE commands ······································································ 91
auto-tunnel backup ············································································································ 91
disable (explicit path view) ··································································································· 91
display explicit-path ··········································································································· 92
display isis mpls te advertisement ························································································· 93
display isis mpls te configured-sub-tlvs ··················································································· 96
display isis mpls te network ································································································· 97
display isis mpls te tunnel ···································································································· 98
display mpls te ds-te ·········································································································· 99
display mpls te link-management bandwidth-allocation ···························································· 100
display mpls te pce discovery ····························································································· 102
display mpls te pce peer ··································································································· 104
display mpls te pce statistics ······························································································ 106
display mpls te tedb ········································································································· 108
display mpls te tunnel-interface ·························································································· 113
display ospf mpls te advertisement ······················································································ 117
display ospf mpls te network ······························································································ 119
display ospf mpls te pce ···································································································· 120
display ospf mpls te tunnel ································································································ 122
ds-te bc-model ················································································································ 123
ds-te mode ····················································································································· 124
ds-te te-class ·················································································································· 125
explicit-path ···················································································································· 126
fast-reroute timer ············································································································· 127
link-management periodic-flooding timer ·············································································· 127
mpls te ·························································································································· 128
mpls te affinity-attribute ····································································································· 129
mpls te auto-tunnel backup disable ····················································································· 130
iii
mpls te backup ··············································································································· 131
mpls te backup bandwidth ································································································· 131
mpls te backup-path ········································································································· 133
mpls te bandwidth ··········································································································· 134
mpls te bandwidth change thresholds ·················································································· 135
mpls te bidirectional ········································································································· 136
mpls te enable (interface view) ··························································································· 138
mpls te enable (IS-IS view) ································································································ 139
mpls te enable (OSPF area view) ······················································································· 140
mpls te fast-reroute ·········································································································· 141
mpls te fast-reroute bypass-tunnel ······················································································ 142
mpls te igp advertise ········································································································ 143
mpls te igp metric ············································································································ 143
mpls te igp shortcut ·········································································································· 144
mpls te link-attribute ········································································································· 145
mpls te loop-detection ······································································································ 146
mpls te max-link-bandwidth ······························································································· 147
mpls te max-reservable-bandwidth ······················································································ 147
mpls te max-reservable-bandwidth mam ·············································································· 148
mpls te max-reservable-bandwidth rdm ················································································ 150
mpls te metric ················································································································· 151
mpls te path ··················································································································· 152
mpls te path-metric-type ··································································································· 153
mpls te priority ················································································································ 154
mpls te record-route ········································································································· 155
mpls te reoptimization (tunnel interface view) ········································································ 156
mpls te reoptimization (user view) ······················································································· 156
mpls te resv-style ············································································································ 157
mpls te retry ··················································································································· 158
mpls te route-pinning ········································································································ 158
mpls te signaling ············································································································· 159
mpls te static-cr-lsp ·········································································································· 160
mpls te timer retry ············································································································ 161
nexthop ························································································································· 161
nhop-only ······················································································································ 162
path-metric-type ·············································································································· 163
pce address ··················································································································· 164
pce deadtimer ················································································································· 165
pce keepalive ················································································································· 165
pce request-timeout ········································································································· 166
pce static ······················································································································· 167
pce tolerance ·················································································································· 168
reset mpls te pce statistics ································································································ 168
snmp-agent trap enable te ································································································· 169
te-subtlv ························································································································ 169
timers removal unused ····································································································· 170
tunnel-number ················································································································ 171
Static CRLSP commands ······························································· 173
display mpls static-cr-lsp ··································································································· 173
static-cr-lsp egress ·········································································································· 174
static-cr-lsp ingress ·········································································································· 175
static-cr-lsp transit ··········································································································· 176
RSVP commands ········································································· 178
authentication challenge ··································································································· 178
authentication key ··········································································································· 179
authentication lifetime ······································································································· 181
authentication window-size ································································································ 182
display rsvp ···················································································································· 184
display rsvp authentication ································································································ 186
display rsvp lsp ··············································································································· 190
iv
display rsvp peer ············································································································· 193
display rsvp request ········································································································· 195
display rsvp reservation ···································································································· 197
display rsvp sender ·········································································································· 199
display rsvp statistics ······································································································· 203
dscp ····························································································································· 206
graceful-restart enable ······································································································ 206
hello interval ··················································································································· 207
hello lost ························································································································ 208
keep-multiplier ················································································································ 209
peer······························································································································ 209
refresh interval ················································································································ 210
reset rsvp authentication ··································································································· 211
reset rsvp statistics ·········································································································· 212
rsvp ······························································································································ 212
rsvp authentication challenge ····························································································· 213
rsvp authentication key ····································································································· 214
rsvp authentication lifetime ································································································ 215
rsvp authentication window-size ························································································· 217
rsvp bfd enable ··············································································································· 218
rsvp enable ···················································································································· 219
rsvp hello enable ············································································································· 219
rsvp reduction retransmit increment ····················································································· 220
rsvp reduction retransmit interval ························································································ 221
rsvp reduction srefresh ····································································································· 221
Tunnel policy commands ······························································· 224
display mpls tunnel ·········································································································· 224
display tunnel-policy ········································································································· 225
preferred-path ················································································································· 226
select-seq load-balance-number ························································································· 227
tunnel-policy (system view) ································································································ 228
MPLS L3VPN commands ······························································ 229
address-family ipv4 (VPN instance view) ·············································································· 229
address-family vpnv4 ······································································································· 229
description (VPN instance view) ························································································· 230
display bgp routing-table ipv4 unicast inlabel ········································································· 231
display bgp routing-table ipv4 unicast outlabel ······································································· 232
display bgp routing-table vpnv4 ·························································································· 233
display bgp routing-table vpnv4 inlabel ················································································· 242
display bgp routing-table vpnv4 outlabel ··············································································· 243
display ip vpn-instance ····································································································· 245
display ospf sham-link ······································································································ 246
domain-id (OSPF view) ····································································································· 248
export route-policy ··········································································································· 249
ext-community-type (OSPF view) ························································································ 250
import route-policy ··········································································································· 251
ip binding vpn-instance ····································································································· 251
ip vpn-instance (system view) ···························································································· 252
nesting-vpn ···················································································································· 253
network ························································································································· 253
peer next-hop-invariable ··································································································· 254
peer next-hop-vpn ··········································································································· 255
peer upe ························································································································ 256
peer upe route-policy ······································································································· 257
policy vpn-target ·············································································································· 258
route-distinguisher (VPN instance view) ··············································································· 258
route-replicate (public instance IPv4 address family view) ························································ 259
route-replicate (VPN instance IPv4 address family view) ·························································· 260
route-tag (OSPF view) ······································································································ 261
routing-table limit ············································································································· 262
v
rr-filter (BGP VPNv4 address family view) ············································································· 263
sham-link (OSPF area view) ······························································································ 264
snmp context-name ········································································································· 267
snmp-agent trap enable l3vpn ···························································································· 268
tnl-policy ························································································································ 269
vpn popgo ······················································································································ 270
vpn-id ··························································································································· 270
vpn-route cross multipath ·································································································· 271
vpn-target ······················································································································ 272
IPv6 MPLS L3VPN commands ························································ 274
address-family ipv6 (VPN instance view) ·············································································· 274
address-family vpnv6 ······································································································· 274
disable-dn-bit-check ········································································································· 275
disable-dn-bit-set ············································································································· 276
display bgp routing-table vpnv6 ·························································································· 277
display bgp routing-table vpnv6 inlabel ················································································· 285
display bgp routing-table vpnv6 outlabel ··············································································· 286
display ospfv3 sham-link ··································································································· 288
domain-id (OSPFv3 view) ································································································· 289
ext-community-type (OSPFv3 view)····················································································· 290
policy vpn-target ·············································································································· 291
route-replicate (public instance IPv6 address family view) ························································ 292
route-replicate (VPN instance IPv6 address family view) ·························································· 293
route-tag (OSPFv3 view) ··································································································· 294
route-tag-check enable ····································································································· 295
rr-filter (BGP VPNv6 address family view) ············································································· 296
sham-link (OSPFv3 area view) ··························································································· 297
MPLS L2VPN commands ······························································ 299
ac interface ···················································································································· 299
address-family l2vpn ········································································································ 300
auto-discovery ················································································································ 301
backup-peer ··················································································································· 302
ccc ······························································································································· 303
connection ····················································································································· 304
connection remote-site-id ·································································································· 305
control-word enable ········································································································· 306
description ····················································································································· 307
display bgp l2vpn signaling ································································································ 307
display l2vpn bgp ············································································································ 311
display l2vpn forwarding ··································································································· 313
display l2vpn ldp ············································································································· 316
display l2vpn pw ·············································································································· 318
display l2vpn pw-class ······································································································ 321
display l2vpn service-instance ···························································································· 323
display l2vpn xconnect-group ····························································································· 325
encapsulation ················································································································· 326
l2vpn enable ··················································································································· 328
l2vpn switchover ············································································································· 328
mtu······························································································································· 329
peer······························································································································ 329
peer signaling ················································································································· 331
policy vpn-target ·············································································································· 332
pw-class (auto-discovery cross-connect group view) ······························································· 333
pw-class (system view) ····································································································· 334
pw-redundancy ·············································································································· 334
pw-type ························································································································· 335
revertive ························································································································ 336
route-distinguisher ··········································································································· 337
rr-filter ··························································································································· 338
service-instance ·············································································································· 339
vi
shutdown (cross-connect group view) ·················································································· 339
site ······························································································································· 340
snmp-agent trap enable l2vpn ···························································································· 341
tunnel-policy (auto-discovery cross-connect view) ·································································· 342
vpn-target ······················································································································ 343
xconnect-group ··············································································································· 344
VPLS commands ········································································· 345
address-family l2vpn ········································································································ 345
auto-discovery ················································································································ 345
backup-peer ··················································································································· 346
bandwidth (service instance view) ······················································································· 348
bandwidth (VSI view) ······································································································· 348
control-word enable ········································································································· 349
default-pw-id ·················································································································· 350
description ····················································································································· 351
display bgp l2vpn auto-discovery ························································································ 351
display bgp l2vpn signaling ································································································ 354
display l2vpn auto-discovery ······························································································ 358
display l2vpn bgp ············································································································ 358
display l2vpn forwarding ··································································································· 361
display l2vpn ldp ············································································································· 363
display l2vpn mac-address ································································································ 366
display l2vpn pw ·············································································································· 368
display l2vpn pw-class ······································································································ 371
display l2vpn service-instance ···························································································· 373
display l2vpn vsi ·············································································································· 374
encapsulation ················································································································· 377
l2vpn enable ··················································································································· 378
l2vpn switchover ············································································································· 379
mac-learning enable ········································································································ 379
mtu······························································································································· 380
peer······························································································································ 381
peer auto-discovery ········································································································· 383
peer signaling ················································································································· 384
policy vpn-target ·············································································································· 384
pw-class (auto-discovery VSI view) ····················································································· 385
pw-class (system view) ····································································································· 386
pw-redundancy ·············································································································· 387
pwsignaling ···················································································································· 388
pw-type ························································································································· 388
reset l2vpn mac-address ··································································································· 390
restrain ·························································································································· 390
revertive ························································································································ 391
route-distinguisher ··········································································································· 392
rr-filter ··························································································································· 393
service-instance ·············································································································· 393
shutdown ······················································································································· 394
signaling-protocol ············································································································ 395
site ······························································································································· 395
snmp-agent trap enable l2vpn ···························································································· 396
tunnel-policy (auto-discovery VSI view) ················································································ 397
vpls-id ··························································································································· 398
vpn-target ······················································································································ 399
vsi ································································································································ 400
xconnect vsi ··················································································································· 401
MPLS OAM commands ································································· 403
bfd discriminator ·············································································································· 403
bfd ip-router-alert ············································································································· 404
display l2vpn pw bfd ········································································································· 404
display mpls bfd ·············································································································· 406
vii
display mpls sbfd ············································································································· 408
mpls bfd (for LSP) ··········································································································· 409
mpls bfd (for TE tunnel) ···································································································· 411
mpls bfd enable ·············································································································· 412
mpls periodic-tracert (for LSP) ···························································································· 413
mpls sbfd (for LSP) ·········································································································· 414
mpls sbfd (for TE tunnel) ··································································································· 415
ping mpls ipv4 ················································································································ 416
ping mpls pw ·················································································································· 419
ping mpls te ··················································································································· 420
tracert mpls ipv4 ·············································································································· 421
tracert mpls te ················································································································· 423
vccv bfd ························································································································· 424
vccv cc ·························································································································· 425
MCE commands ·········································································· 427
address-family ipv4 (VPN instance view) ·············································································· 427
description (VPN instance view) ························································································· 427
display ip vpn-instance ····································································································· 428
export route-policy ··········································································································· 429
import route-policy ··········································································································· 430
ip binding vpn-instance ····································································································· 431
ip vpn-instance (system view) ···························································································· 432
route-distinguisher (VPN instance view) ··············································································· 433
routing-table limit ············································································································· 433
vpn-id ··························································································································· 434
vpn-instance-capability simple (OSPF view) ·········································································· 435
vpn-target ······················································································································ 436
IPv6 MCE commands ··································································· 438
address-family ipv6 (VPN instance view) ·············································································· 438
vpn-instance-capability simple (OSPFv3 view) ······································································· 438
Document conventions and icons ···················································· 440
Conventions ························································································································· 440
Network topology icons ··········································································································· 441
Support and other resources ·························································· 442
Accessing Hewlett Packard Enterprise Support ············································································ 442
Accessing updates ················································································································· 442
Websites ······················································································································· 443
Customer self repair ········································································································· 443
Remote support ·············································································································· 443
Documentation feedback ·································································································· 443
Index ························································································· 445
1
MPLS SR commands
display isis segment-routing adjacency
Use display isis segment-routing adjacency to display IS-IS SR adjacency segment
information.
Syntax
display isis segment-routing adjacency [ process-id ]
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 segment information about all IS-IS processes.
Examples
# Display SR adjacency segment information about IS-IS process 1.
<Sysname> display isis segment-routing adjacency 1
Segment routing adjacency path information for IS-IS(1)
--------------------------------------------------
SystemID Interface Nexthop Label Type
-------------------------------------------------------------------------------
0000.0000.0011 Vlan1 10.123.110.21 24122 L1
0000.0000.0012 Vlan2 192.168.56.21 24121 L1
Table 1 Command output
Field Description
SystemID System ID of the neighbor.
Interface Interface connected to the neighbor.
Nexthop Next hop of the adjacency segment.
Label Incoming label.
Type Link adjacency type of the interface.
display isis segment-routing global-block
Use display isis segment-routing global-block to display IS-IS SRGB information.
2
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.
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 2 Command output
Field 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 mpls static-sr-mpls
Use display mpls static-sr-mpls to display static SRLSP and adjacency segment
information.
3
Syntax
display mpls static-sr-mpls { lsp [ lsp-name ] | adjacency
[ adjacency-path-name ] }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
lsp: Displays static SRLSP information.
lsp-name: Specifies a static SRLSP by its name, a case-sensitive string of 1 to 15 characters. If
you do not specify this argument, the command displays information about all static SRLSPs.
adjacency: Displays static adjacency segment information.
adjacency-path-name: Specifies a static adjacency segment by its name, a case-sensitive
string of 1 to 15 characters. If you do not specify this argument, the command displays information
about all static adjacency segments.
Examples
# Display information about all static SRLSPs.
<Sysname> display mpls static-sr-mpls lsp lsp1
Name : lsp1
Type : LSP
In-Label : -
Out-Label : 60,70,80
Out-Interface : -
Nexthop : -
State : Up
Table 3 Command output
Field Description
Name Name of the static SRLSP or adjacency segment.
Type
Information type:
• LSP—Static SRLSP information.
• Adjacency—Adjacency segment information.
In-Label Incoming label.
Out-Label Outgoing label.
Out-Interface Output interface.
Nexthop Next hop address.
State
Status of the static SRLSP or adjacency segment:
• Down—The static SRLSP or adjacency segment is not available.
• Up—The static SRLSP or adjacency segment is available.
Related commands
static-sr-mpls adjacency
4
static-sr-mpls lsp
display mpls static-sr-mpls prefix
Use display mpls static-sr-mpls prefix to display static prefix segment information.
Syntax
display mpls static-sr-mpls prefix [ path lsp-name | destination
ip-address [ mask | mask-length ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
path lsp-name: Displays static prefix segment information for the specified static SRLSP. The
lsp-name argument specifies a static SRLSP by its name, a case-sensitive string of 1 to 15
characters.
destination ip-address: Displays static prefix segment information for the specified
destination address. The ip-address argument specifies a destination address.
mask: Specifies the destination address mask.
mask-length: Specifies the mask length, in the range of 0 to 32.
Usage guidelines
If you do not specify any parameters, this command displays information about all static prefix
segments.
Examples
# Display information about all static prefix segments.
<Sysname> display mpls static-sr-mpls prefix
Prefix Name : prefixname
Destination : 2.2.2.2/32
In-Label : 1024
Active : Yes(1)
Out-Interface : Vlan2
Nexthop : 10.0.0.2
Out-Label : 600000
Status : up
Out-Interface : Vlan3
Nexthop : 11.0.0.2
Out-Label : 600002
Status : down(No Route)
Out-Interface : Vlan4
Nexthop : 12.0.0.2
Out-Label : 600001
Status : down(No Mpls)
5
Table 4 Command output
Field Description
Prefix Name Name of the prefix segment.
Destination Destination IP address of the prefix segment.
In-Label Incoming label of the prefix segment.
Active
Status of the prefix segment:
• Yes(count)—The prefix segment is active. The value of count represents the number
of egresses in up status.
• No—The prefix segment is inactive.
Out-Interface Outgoing interface of the prefix segment.
Nexthop Next hop of the prefix segment.
Out-Label Outgoing label of the prefix segment.
Status
Status of the egress:
• down—The egress is inactive. The cause is displayed in brackets, which can be No
Route or No Mpls. No Route means that the device has no route to reach the
destination IP address over the outgoing interface. No Mpls means that MPLS is
disabled on the output interface.
• up—The egress is active.
• duplicate—An egress conflict has occurred because the output interface is already
used by another prefix segment.
Related commands
static-sr-mpls prefix
isis prefix-sid
Use isis prefix-sid to configure an IS-IS prefix SID.
Use undo isis prefix-sid to restore the default.
Syntax
isis prefix-sid { absolute absolute-value | index index-value }
[ n-flag-clear ] [ explicit-null ]
undo isis prefix-sid
Default
No IS-IS prefix SID is configured.
Views
Loopback interface view
Predefined user roles
network-admin
Parameters
absolute absolute-value: Specifies an absolute value as the prefix SID. The
absolute-value argument is in the range of 0 to 1048575.
index index-value: Specifies an index value. The index-value argument is in the range of 0
to 1048575.
6
n-flag-clear: Sets the Node-SID flag bit of the prefix SID to 0 to use the prefix SID for a group of
SR nodes. If you do not specify this keyword, the flag bit is 1 and the prefix SID is used for a single
SR node.
explicit-null: Sets the Explicit-null flag bit of the prefix SID to 1. This setting requires that the
upstream neighbor uses an explicit null label to replace the prefix SID. If you do not specify this
keyword, the flag bit is 0 and the upstream neighbor continues to forward the packet based on the
prefix SID. For more information about the explicit null label, see MPLS basics configuration in MPLS
Configuration Guide.
Usage guidelines
An absolute value used as the prefix SID must be in the SRGB of the node.
If you specify an index value, the sum of the index value and the SRGB base value is used as the
prefix SID. The prefix SID must be in the SRGB of the node.
To use a prefix SID for a group of SR nodes in anycast scenarios, specify the n-flag-clear
keyword to set the Node-SID flag bit of the prefix SID to 0.
To configure an IS-IS prefix SID, you must enable an IS-IS process on the loopback interface.
Examples
# Set the IS-IS prefix SID index to 20 on loopback interface 1.
<Sysname> system-view
[Sysname] interface loopback 1
[Sysname-LoopBack1] isis enable 1
[Sysname-LoopBack1] isis prefix-sid index 20
mpls te static-sr-mpls
Use mpls te static-sr-mpls to bind a static SRLSP to an MPLS TE tunnel interface.
Use undo mpls te static-sr-mpls to unbind a static SRLSP from an MPLS TE tunnel
interface.
Syntax
mpls te static-sr-mpls lsp-name [ backup ]
undo mpls te static-sr-mpls lsp-name
Default
An MPLS TE tunnel interface does not use any static SRLSPs.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
lsp-name: Specifies a static SRLSP by its name, a case-sensitive string of 1 to 15 characters. The
specified static SRLSP must be already created by using the static-sr-mpls lsp command.
backup: Specifies the backup static SRLSP. If you do not specify this keyword, this command
specifies the main static SRLSP.
Usage guidelines
Execute this command only on the ingress node of a static SRLSP.
7
This command takes effect only if you have configured the mpls te signaling static
command in tunnel interface view.
You can specify the backup keyword to bind a backup static SRLSP only if both the main and
backup SRLSPs are established by using the adjacency segment method.
If you execute both the mpls te static-sr-mpls and mpls te static-cr-lsp commands
on the device, only the mpls te static-cr-lsp command takes effect. For the mpls te
static-sr-mpls command to take effect, execute the undo mpls te static-cr-lsp
command.
Examples
# Bind static SRLSP static-sr-3 to MPLS TE tunnel interface 0.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te static-sr-mpls static-sr-3
Related commands
display mpls te tunnel-interface (MPLS Command Reference)
mpls te signaling (MPLS Command Reference)
mpls te static-cr-lsp (MPLS Command Reference)
static-sr-mpls lsp
segment-routing adjacency enable
Use segment-routing adjacency enable to enable MPLS SR adjacency label allocation.
Use undo segment-routing adjacency enable to disable MPLS SR adjacency label
allocation.
Syntax
segment-routing adjacency enable
undo segment-routing adjacency enable
Default
MPLS SR adjacency label allocation is disabled.
Views
IS-IS IPv4 unicast address family view
Predefined user roles
network-admin
Usage guidelines
For this command to take effect, you must enable MPLS SR.
Examples
# Enable MPLS SR adjacency label allocation for IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv4
[Sysname-isis-1-ipv4] segment-routing adjacency enable
8
Related commands
segment-routing mpls
segment-routing global-block
Use segment-routing global-block to configure the MPLS SRGB.
Use undo segment-routing global-block to restore the default.
Syntax
segment-routing global-block minimum-value maximum-value
undo segment-routing global-block
Default
The minimum label value is 16000. The maximum label value is 24000.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
minimum-value: Specifies the minimum label value, in the range of 16000 to 23999.
maximum-value: Specifies the maximum label value, in the range of 16001 to 24000.
Usage guidelines
To configure the SRGB successfully, make sure the SRGB contains the configured prefix SID.
Examples
# Configure the MPLS SRGB to be from 17000 to 22000 for IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] segment-routing global-block 17000 22000
segment-routing mpls
Use segment-routing mpls to enable MPLS SR.
Use undo segment-routing mpls to disable MPLS SR.
Syntax
segment-routing mpls
undo segment-routing mpls
Default
MPLS SR is disabled.
Views
IS-IS IPv4 unicast address family view
Predefined user roles
network-admin
9
Usage guidelines
For MPLS SR to take effect, set the IS-IS cost style to wide, compatible, or wide-compatible before
configuring IS-IS to support MPLS SR. For more information about the cost style, see IS-IS
configuration in Layer 3
—
IP Routing Configuration Guide.
Examples
# Enable MPLS SR in IS-IS IPv4 unicast address family view of IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] cost-style wide
[Sysname-isis-1] address-family ipv4
[Sysname-isis-1-ipv4] segment-routing mpls
Related commands
cost-style (Layer 3
—
IP Routing Command Reference)
segment-routing sr-prefer
Use segment-routing sr-prefer to configure the device to prefer SRLSPs in traffic
forwarding.
Use undo segment-routing sr-prefer to restore the default.
Syntax
segment-routing sr-prefer [ prefix-list prefix-list-name ]
undo segment-routing sr-prefer
Default
The device prefers LDP LSPs in traffic forwarding.
Views
IS-IS IPv4 unicast address family view
Predefined user roles
network-admin
Parameters
prefix-list prefix-list-name: Specifies an IP address prefix list by its name, a
case-sensitive string of 1 to 63 characters. The device preferentially uses SRLSPs to forward traffic
destined for addresses on the prefix list, and preferentially uses LDP LSPs to forward traffic destined
for other addresses. If you do not specify an IP address prefix list, the device preferentially uses
SRLSPs to forward all traffic.
Usage guidelines
This command determines whether the device prefers SRLSPs or LDP LSPs when both SRLSPs
and LDP LSPs are available for traffic forwarding.
This command takes effect only when MPLS SR is enabled and the SRLSPs use prefix SIDs.
Examples
# Configure the device to preferentially use SRLSPs established by IS-IS process 1 to forward traffic
destined for the IPv4 unicast address family.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv4
10
[Sysname-isis-1-ipv4] segment-routing sr-prefer
Related commands
ip prefix-list (Layer 3—IP Routing Command Reference)
segment-routing mpls
static-sr-mpls adjacency
Use static-sr-mpls adjacency to configure an adjacency segment for static MPLS SR.
Use undo static-sr-mpls adjacency to delete an adjacency segment.
Syntax
static-sr-mpls adjacency adjacency-path-name in-label label-value
{ nexthop ip-address | outgoing-interface interface-type
interface-number }
undo static-sr-mpls adjacency adjacency-path-name
Default
No adjacency segments exist.
Views
System view
Predefined user roles
network-admin
Parameters
adjacency-path-name: Specifies the adjacency segment name, a case-sensitive string of 1 to
15 characters.
in-label label-value: Specifies the incoming label, in the range of 16 to 1023.
nexthop ip-address: Specifies the next hop address.
outgoing-interface interface-type interface-number: Specifies an output
interface by its type and number. The output interface must be a P2P interface.
Usage guidelines
Execute this command on all nodes of a static SRLSP.
If you specify the next hop address, make sure the following requirements are met:
• The device has a route to reach the next hop address.
• MPLS is enabled on the output interface of the route.
If you specify an output interface, make sure the following requirements are met:
• The interface is up.
• The interface can receive direct routes.
• MPLS is enabled on the interface.
The incoming label specified by this command must be different than existing static LSPs, static PWs,
and static CRLSPs. If not, the configured adjacency segment is unavailable. The adjacency segment
cannot become available even if you change the incoming label of the static LSP, static PW, or static
CRLSP. To resolve this problem, you must delete the existing adjacency segment and configure a
new one with a different incoming label.
11
Examples
# Configure an adjacency segment named adj1. Set the incoming label to 100 and the next hop
address to 12.2.1.2.
<Sysname> system-view
[Sysname] static-sr-mpls adjacency adj1 in-label 100 nexthop 12.2.1.2
Related commands
display static-sr-mpls
static-sr-mpls lsp
static-sr-mpls lsp
Use static-sr-mpls lsp to configure a static SRLSP.
Use undo static-sr-mpls lsp to delete a static SRLSP.
Syntax
static-sr-mpls lsp lsp-name out-label out-label-value&<1-n>
undo static-sr-mpls lsp lsp-name
Default
No static SRLSPs exist.
Views
System view
Predefined user roles
network-admin
Parameters
lsp-name: Specifies the static SRLSP name, a case-sensitive string of 1 to 15 characters.
out-label out-label-value&<1-4>: Specifies a space-separated list of up to 4 outgoing
labels, corresponding to the labels from top to bottom in the label stack. The value range for the
out-label-value argument is 0, 3, and 16 to 1048575.
Usage guidelines
Execute this command only on the ingress node of a static SRLSP.
The outgoing labels represent an ordered list of labels allocated for the adjacencies or nodes that a
static SRLSP traverses. The top label is the label that the ingress node allocates for the adjacency or
destination prefix.
Examples
# Configure a static SRLSP named lsp1. Specify outgoing labels 100 and 200 for the SRLSP.
<Sysname> system-view
[Sysname] static-sr-mpls lsp lsp1 out-label 100 200
Related commands
static-sr-mpls adjacency
static-sr-mpls prefix
Use static-sr-mpls prefix to configure a prefix segment for static MPLS SR.
/