FlexFabric 12900E Switch Series MPLS

Aruba FlexFabric 12900E Switch Series MPLS Reference guide

  • Hello! I am an AI chatbot trained to assist you with the Aruba FlexFabric 12900E Switch Series MPLS 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
MPLS 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
Basic MPLS commands ················································································· 1
display mpls forwarding ilm ························································································································ 1
display mpls forwarding nhlfe ····················································································································· 2
display mpls interface ································································································································· 4
display mpls label ······································································································································· 5
display mpls lsp ·········································································································································· 6
display mpls lsp statistics ························································································································· 12
display mpls nib ········································································································································ 14
display mpls nid ········································································································································ 14
display mpls summary ······························································································································ 15
mpls bandwidth-based-sharing ················································································································ 18
mpls enable ·············································································································································· 18
mpls forwarding split-horizon ··················································································································· 19
mpls label advertise ································································································································· 19
mpls label range ······································································································································· 20
mpls label-block ······································································································································· 21
mpls load-sharing mode ··························································································································· 22
mpls lsr-id ················································································································································· 23
mpls mtu ··················································································································································· 24
mpls statistics ··········································································································································· 24
mpls statistics interval ······························································································································ 26
mpls ttl expiration enable ························································································································· 27
mpls ttl propagate ····································································································································· 27
mpls-in-udp ·············································································································································· 28
reset mpls statistics ·································································································································· 29
snmp-agent trap enable mpls··················································································································· 30
Static LSP commands ················································································· 31
display mpls static-lsp ······························································································································ 31
static-lsp egress ······································································································································· 32
static-lsp ingress ······································································································································ 33
static-lsp transit ········································································································································ 33
LDP commands ··························································································· 35
LDP common commands ································································································································· 35
accept target-hello ···································································································································· 35
backoff ······················································································································································ 36
display mpls ldp discovery ······················································································································· 36
display mpls ldp error-packet ··················································································································· 41
display mpls ldp fec ·································································································································· 42
display mpls ldp interface ························································································································· 46
display mpls ldp lsp ·································································································································· 47
display mpls ldp parameter ······················································································································ 49
display mpls ldp peer ······························································································································· 51
display mpls ldp summary ························································································································ 54
dscp ·························································································································································· 56
graceful-restart ········································································································································· 56
graceful-restart timer ································································································································ 57
label-distribution ······································································································································· 58
loop-detect ··············································································································································· 59
lsr-id ························································································································································· 59
maxhops ··················································································································································· 60
md5-authentication ··································································································································· 61
mpls ldp ···················································································································································· 62
mpls ldp timer ··········································································································································· 63
non-stop-routing ······································································································································· 65
pv-limit ······················································································································································ 65
ii
reset mpls ldp ··········································································································································· 66
snmp-agent trap enable ldp ····················································································································· 67
vpn-instance ············································································································································· 68
IPv4 LDP commands ······································································································································· 69
accept-label ·············································································································································· 69
advertise-label ·········································································································································· 70
display mpls ldp igp sync ························································································································· 71
igp sync delay ·········································································································································· 72
igp sync delay on-restart ·························································································································· 73
import bgp ················································································································································ 74
lsp-trigger ················································································································································· 75
mpls ldp enable ········································································································································ 76
mpls ldp igp sync disable ························································································································· 77
mpls ldp sync (IS-IS view) ························································································································ 78
mpls ldp sync (OSPF view/OSPF area view) ··························································································· 79
mpls ldp transport-address ······················································································································· 79
propagate mapping ·································································································································· 81
session protection ···································································································································· 82
targeted-peer ············································································································································ 83
IPv6 LDP commands ······································································································································· 84
ipv6 accept-label ······································································································································ 84
ipv6 advertise-label ·································································································································· 85
ipv6 import bgp ········································································································································· 86
ipv6 lsp-trigger ·········································································································································· 87
mpls ldp ipv6 enable ································································································································ 88
mpls ldp transport-address ······················································································································· 89
targeted-peer ············································································································································ 90
MPLS TE commands ··················································································· 92
auto-bandwidth enable ····························································································································· 92
auto-tunnel backup ··································································································································· 93
backup-path exclude-srlg ························································································································· 93
delete-delay ·············································································································································· 94
destination ················································································································································ 95
disable (explicit path view) ······················································································································· 96
display explicit-path ·································································································································· 96
display isis mpls te advertisement ············································································································ 97
display isis mpls te configured-sub-tlvs ·································································································· 100
display isis mpls te network ···················································································································· 101
display isis mpls te tunnel ······················································································································ 102
display mpls te bit-error-detection tunnel-interface ················································································ 104
display mpls te default-parameter ·········································································································· 105
display mpls te link-management bandwidth-allocation ········································································· 107
display mpls te pce discovery ················································································································ 109
display mpls te pce lspdb ······················································································································· 111
display mpls te pce lspdb last-packet-detail ··························································································· 114
display mpls te pce peer ························································································································ 115
display mpls te pce statistics ·················································································································· 117
display mpls te srlg ································································································································· 119
display mpls te tedb ······························································································································· 119
display mpls te tunnel-interface·············································································································· 125
display ospf mpls te advertisement ········································································································ 129
display ospf mpls te network ·················································································································· 132
display ospf mpls te pce ························································································································· 133
display ospf mpls te tunnel ····················································································································· 135
display te link-management bandwidth-allocation·················································································· 136
display te link-management srlg············································································································· 138
display tunnel-bundle ····························································································································· 139
exclude-srlg ············································································································································ 140
explicit-path ············································································································································ 140
fast-reroute timer ···································································································································· 141
interface tunnel-bundle ··························································································································· 142
iii
link-management periodic-flooding timer ······························································································· 143
log enable ··············································································································································· 143
member interface ··································································································································· 144
mpls te ···················································································································································· 145
mpls te affinity-attribute ·························································································································· 145
mpls te auto-bandwidth ·························································································································· 147
mpls te auto-tunnel backup disable········································································································ 149
mpls te backup ······································································································································· 149
mpls te backup affinity-attribute ············································································································· 150
mpls te backup bandwidth ······················································································································ 151
mpls te backup hop-limit ························································································································ 153
mpls te backup-path ······························································································································· 153
mpls te bandwidth ·································································································································· 154
mpls te bandwidth change thresholds ···································································································· 155
mpls te binding-sid ································································································································· 156
mpls te delegation ·································································································································· 157
mpls te enable (interface view) ·············································································································· 158
mpls te enable (IS-IS view) ···················································································································· 158
mpls te enable (OSPF area view) ·········································································································· 159
mpls te fast-reroute ································································································································ 160
mpls te fast-reroute bypass-tunnel ········································································································· 161
mpls te hop-limit ····································································································································· 162
mpls te igp advertise ······························································································································ 163
mpls te igp metric ··································································································································· 164
mpls te igp shortcut ································································································································ 164
mpls te link-attribute ······························································································································· 165
mpls te load-share ·································································································································· 166
mpls te loop-detection ···························································································································· 167
mpls te max-link-bandwidth ···················································································································· 168
mpls te max-reservable-bandwidth ········································································································ 169
mpls te metric ········································································································································· 170
mpls te passive-delegate report-only ····································································································· 170
mpls te path ············································································································································ 171
mpls te path verification ························································································································· 172
mpls te path-metric-type ························································································································· 173
mpls te priority ········································································································································ 174
mpls te record-route ······························································································································· 175
mpls te reoptimization (tunnel interface view) ························································································ 175
mpls te reoptimization (user view) ·········································································································· 176
mpls te resv-style ··································································································································· 177
mpls te retry ··········································································································································· 177
mpls te route-pinning ······························································································································ 178
mpls te service-class ······························································································································ 179
mpls te signaled-name ··························································································································· 180
mpls te signaling ···································································································································· 181
mpls te srlg ············································································································································· 181
mpls te stateful-pce ································································································································ 182
mpls te static-cr-lsp ································································································································ 183
mpls te statistics ····································································································································· 184
mpls te statistics service-class interval ·································································································· 184
mpls te timer retry ·································································································································· 185
mpls te tunnel-attribute prefer ················································································································ 186
nexthop ·················································································································································· 187
nextsid ···················································································································································· 188
nhop-only ··············································································································································· 189
path exclude overload-node ··················································································································· 190
path verification enable ·························································································································· 190
path-metric-type ····································································································································· 191
pce-client ················································································································································ 192
pce address ············································································································································ 192
pce capability segment-routing ·············································································································· 193
pce deadtimer ········································································································································ 194
iv
pce keepalive ········································································································································· 195
pce peer delegation-priority ···················································································································· 195
pce peer keychain ·································································································································· 196
pce peer source ····································································································································· 197
pce redelegation-timeout ························································································································ 198
pce request-timeout ······························································································································· 199
pce state-timeout ···································································································································· 199
pce static ················································································································································ 200
pce tolerance ·········································································································································· 201
pcep log enable ······································································································································ 202
pcep type ················································································································································ 203
reset mpls te auto-bandwidth-adjustment timers ··················································································· 203
reset mpls te pce statistics ····················································································································· 204
snmp-agent trap enable te ····················································································································· 204
switch-delay ··········································································································································· 205
te attribute enable ·································································································································· 206
te bandwidth change thresholds ············································································································ 207
te link-attribute ········································································································································ 208
te max-link-bandwidth ···························································································································· 209
te metric ················································································································································· 210
te srlg ····················································································································································· 210
te-subtlv ·················································································································································· 211
timers removal unused ··························································································································· 212
tunnel-attribute prefer ····························································································································· 213
tunnel-number ········································································································································ 214
Static CRLSP commands ·········································································· 216
display mpls static-cr-lsp ························································································································ 216
static-cr-lsp egress ································································································································· 217
static-cr-lsp ingress ································································································································ 218
static-cr-lsp transit ·································································································································· 219
RSVP commands ······················································································ 221
authentication challenge ························································································································ 221
authentication key ·································································································································· 222
authentication lifetime ···························································································································· 224
authentication window-size ···················································································································· 225
display rsvp ············································································································································ 227
display rsvp authentication ····················································································································· 229
display rsvp lsp ······································································································································· 233
display rsvp peer ···································································································································· 236
display rsvp request ······························································································································· 238
display rsvp reservation ························································································································· 240
display rsvp sender ································································································································ 242
display rsvp statistics ····························································································································· 246
dscp ························································································································································ 249
graceful-restart enable ··························································································································· 249
hello interval ··········································································································································· 250
hello lost ················································································································································· 251
hello node-session ································································································································· 252
keep-multiplier ········································································································································ 252
peer ························································································································································ 253
refresh interval ······································································································································· 254
reset rsvp ··············································································································································· 255
reset rsvp authentication ························································································································ 255
reset rsvp statistics ································································································································· 256
rsvp ························································································································································ 257
rsvp authentication challenge················································································································· 257
rsvp authentication key ·························································································································· 258
rsvp authentication lifetime ····················································································································· 260
rsvp authentication window-size ············································································································ 261
rsvp bfd enable ······································································································································· 262
v
rsvp enable ············································································································································· 263
rsvp hello enable ···································································································································· 264
rsvp reduction retransmit increment ······································································································· 264
rsvp reduction retransmit interval ··········································································································· 265
rsvp reduction srefresh ··························································································································· 266
Tunnel policy commands ··········································································· 268
binding-destination ································································································································· 268
display mpls tunnel ································································································································· 270
display tunnel-info ipv6 ··························································································································· 272
display tunnel-policy ······························································································································· 273
mpls te reserved-for-binding ·················································································································· 275
preferred-path ········································································································································ 276
select-seq load-balance-number ············································································································ 277
tunnel-policy (system view) ···················································································································· 279
Tunnel selector commands ········································································ 281
apply tunnel-policy ································································································································· 281
apply tunnel-selector ······························································································································ 281
display ip rd-list ······································································································································ 283
display tunnel-selector ··························································································································· 283
if-match community ································································································································ 284
if-match extcommunity ··························································································································· 285
if-match ip ··············································································································································· 286
if-match ipv6 ··········································································································································· 287
if-match rd-list ········································································································································· 288
ip rd-list ··················································································································································· 289
tunnel-selector ········································································································································ 290
MPLS L3VPN commands ·············································································· 1
address-family ipv4 (VPN instance view) ··································································································· 1
address-family vpnv4 ································································································································· 1
advertise route-reoriginate ························································································································· 2
apply-label ·················································································································································· 3
bestroute same-rd ······································································································································ 5
dampening ibgp ·········································································································································· 6
description (VPN instance view) ················································································································ 7
display bgp routing-table ipv4 unicast inlabel····························································································· 8
display bgp routing-table ipv4 unicast outlabel ·························································································· 9
display bgp routing-table vpnv4 ··············································································································· 10
display bgp routing-table vpnv4 inlabel ···································································································· 25
display bgp routing-table vpnv4 outlabel ·································································································· 27
display ip vpn-instance ····························································································································· 28
display ospf sham-link ······························································································································ 30
display vpn-peer ······································································································································· 32
domain-id (OSPF view) ···························································································································· 33
export route-policy ···································································································································· 34
ext-community-type (OSPF view) ············································································································ 35
import route-policy ···································································································································· 36
ip binding vpn-instance ···························································································································· 37
ip public-instance ····································································································································· 38
ip vpn-instance (system view) ·················································································································· 38
mpls per-vrf-label range ··························································································································· 39
nesting-vpn ··············································································································································· 39
network ····················································································································································· 40
peer advertise vpn-reoriginate ibgp (BGP VPNv4 address family view) ·················································· 41
peer next-hop-vpn ···································································································································· 42
peer upe ··················································································································································· 43
peer upe route-policy ······························································································································· 44
policy vpn-target ······································································································································· 45
redirect public enable ······························································································································· 45
route-distinguisher (VPN instance view) ·································································································· 46
vi
route-replicate (public instance IPv4 address family view) ······································································ 47
route-replicate (VPN instance IPv4 address family view) ········································································ 48
route-replicate enable ······························································································································ 50
route-tag (OSPF view) ····························································································································· 51
routing-table independent enable············································································································· 52
routing-table limit ······································································································································ 56
rr-filter (BGP VPNv4 address family view) ······························································································· 57
sham-link (OSPF area view) ···················································································································· 57
snmp context-name ·································································································································· 60
snmp-agent trap enable l3vpn·················································································································· 61
tnl-policy ··················································································································································· 61
ttl-mode ···················································································································································· 62
vpn popgo ················································································································································ 63
vpn-id ······················································································································································· 64
vpn-peer ··················································································································································· 65
vpn-route cross multipath ························································································································· 66
vpn-target ················································································································································· 66
IPv6 MPLS L3VPN commands ···································································· 68
address-family ipv6 (VPN instance view) ································································································· 68
address-family vpnv6 ······························································································································· 68
advertise route-reoriginate ······················································································································· 69
apply-label ················································································································································ 70
disable-dn-bit-check ································································································································· 71
disable-dn-bit-set ······································································································································ 72
display bgp routing-table vpnv6 ··············································································································· 73
display bgp routing-table vpnv6 inlabel ···································································································· 84
display bgp routing-table vpnv6 outlabel ·································································································· 85
display ospfv3 sham-link ·························································································································· 86
domain-id (OSPFv3 view) ························································································································ 88
ext-community-type (OSPFv3 view) ········································································································· 89
peer advertise vpn-reoriginate ibgp (BGP VPNv6 address family view) ·················································· 90
peer next-hop-vpn ···································································································································· 91
policy vpn-target ······································································································································· 92
route-replicate (public instance IPv6 address family view) ······································································ 92
route-replicate (VPN instance IPv6 address family view) ········································································ 93
route-tag (OSPFv3 view) ·························································································································· 95
route-tag-check enable ···························································································································· 96
rr-filter (BGP VPNv6 address family view) ······························································································· 97
sham-link (OSPFv3 area view) ················································································································ 98
MPLS OAM commands ············································································· 100
bfd ip-router-alert ···································································································································· 100
display mpls bfd ····································································································································· 100
display mpls sbfd ···································································································································· 104
mpls bfd (for LSP) ·································································································································· 107
mpls bfd (for TE tunnel) ·························································································································· 109
mpls bfd backup detect-multiplier··········································································································· 111
mpls bfd backup min-receive-interval····································································································· 112
mpls bfd backup min-transmit-interval ··································································································· 113
mpls bfd detect-multiplier ······················································································································· 115
mpls bfd enable ······································································································································ 116
mpls bfd min-receive-interval ················································································································· 116
mpls bfd min-transmit-interval ················································································································ 117
mpls bfd passive delete-delay ················································································································ 118
mpls bfd up-delay ··································································································································· 119
mpls bfd trigger tunnel-down ·················································································································· 120
mpls bfd trigger tunnel-down enable ······································································································ 121
mpls periodic-tracert (for LSP) ··············································································································· 122
mpls sbfd (for LSP) ································································································································ 123
mpls sbfd (for TE tunnel) ························································································································ 124
mpls tunnel-bfd (for LSP) ······················································································································· 126
vii
mpls tunnel-bfd (for TE tunnel) ··············································································································· 128
mpls tunnel-bfd detect-multiplier ············································································································ 130
mpls tunnel-bfd min-receive-interval ······································································································ 131
mpls tunnel-bfd min-transmit-interval ····································································································· 132
mpls tunnel-sbfd (for TE tunnel) ············································································································· 133
ping mpls ipv4 ········································································································································ 135
ping mpls out-labels ······························································································································· 138
ping mpls sr-policy ································································································································· 140
ping mpls te ············································································································································ 143
tracert mpls ipv4 ····································································································································· 145
tracert mpls out-labels ···························································································································· 147
tracert mpls sr-policy ······························································································································ 149
tracert mpls te ········································································································································ 152
MCE commands ························································································ 153
address-family ipv4 (VPN instance view) ······························································································· 153
description (VPN instance view) ············································································································ 153
display ip vpn-instance ··························································································································· 154
export route-policy ·································································································································· 156
import route-policy ·································································································································· 157
ip binding vpn-instance ·························································································································· 158
ip vpn-instance (system view) ················································································································ 158
route-distinguisher (VPN instance view) ································································································ 159
routing-table limit ···································································································································· 160
vpn-id ····················································································································································· 161
vpn-instance-capability simple (OSPF view) ·························································································· 162
vpn-target ··············································································································································· 162
IPv6 MCE commands ················································································ 165
address-family ipv6 (VPN instance view) ······························································································· 165
vpn-instance-capability simple (OSPFv3 view) ······················································································ 165
Document conventions and icons ······························································ 167
Conventions ··················································································································································· 167
Network topology icons ·································································································································· 168
Support and other resources ····································································· 169
Accessing Hewlett Packard Enterprise Support····························································································· 169
Accessing updates ········································································································································· 169
Websites ················································································································································ 170
Customer self repair ······························································································································· 170
Remote support ······································································································································ 170
Documentation feedback ······················································································································· 170
Index ·········································································································· 172
1
Basic MPLS commands
display mpls forwarding ilm
Use display mpls forwarding ilm to display Incoming Label Map (ILM) entries.
Syntax
display mpls forwarding ilm [ label ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
label: Displays the ILM entry with the specified incoming label. The value range for this argument
is 16 to 250000. If you do not specify an incoming label, this command displays ILM entry information
for all incoming labels.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this
command displays ILM entries on the active MPU.
Usage guidelines
An ILM entry records the label operation type, outgoing label, and other forwarding information.
After an LSR receives a labeled packet, it performs the following operations:
1. Identifies the ILM entry that matches the top label of the packet.
2. Performs the specified label operation.
3. Forwards the packet.
Examples
# Display all ILM entries.
<Sysname> display mpls forwarding ilm
Total ILM entries: 3
Flags: T - Forwarded through a tunnel
N - Forwarded through the outgoing interface to the nexthop IP address
B - Backup forwarding information
A - Active forwarding information
M – P2MP forwarding information
InLabel Oper VRF Flag SwapLabel Forwarding Info
--------------------------------------------------------------------------------
30 SWAP 0 T 1000 1024
1279 POP 0 - - -
1407 SWAP 0 NA 1271 HGE1/0/3 50.2.0.2
NB 1270 Tun0 0.0.0.0
2
Table 1 Command output
Field
Description
Total ILM entries Total number of ILM entries.
InLabel Incoming label.
Oper
Operation type:
• POP—Pops the label.
• POPGO—Pops the label and forwards the packet to another tunnel.
• SWAP—Swaps the label.
VRF Index of a VPN instance.
Flag
Forwarding flag:
• T—Forwarded through a tunnel.
• N—Forwarded through the outgoing interface to the next hop IP
address.
• B—Backup forwarding information.
• A—Active forwarding information.
• M—P2MP forwarding information. This flag is not supported in the
current software version.
SwapLabel Outgoing label value.
Forwarding Info
Forwarding information:
• When the forwarding flag is N, the forwarding information records the
outgoing interface and the next hop.
• When the forwarding flag is T, the forwarding information records the
NID.
display mpls forwarding nhlfe
Use display mpls forwarding nhlfe to display Next Hop Label Forwarding Entry (NHLFE)
entries.
Syntax
display mpls forwarding nhlfe [ nid ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
nid: Displays the NHLFE entry with the specified NID. The NID value range is 0 to 4294967294. If
you do not specify an NID, this command displays NHLFE entry information for all NIDs
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this
command displays NHLFE entries on the active MPU.
Usage guidelines
An NHLFE entry records label forwarding information, such as the outgoing label and outgoing
interface. NHLFE entries are mainly used to add multiple labels to packets.
To add multiple labels to a packet, an LSR performs the following operations:
3
1. Obtains the bottom label and NID in the matching FIB or ILM entry.
2. Obtains the outer label in the NHLFE entry identified by the NID.
Examples
# Display the NHLFE entry with NID 2048.
<Sysname> display mpls forwarding nhlfe 2048
Flags: T - Forwarded through a tunnel
N - Forwarded through the outgoing interface to the nexthop IP address
B - Backup forwarding information
A - Active forwarding information
M – P2MP forwarding information
S – Secondary backup path
NID Tnl-Type Flag OutLabel Forwarding Info
--------------------------------------------------------------------------------
2048 LSP NA 2025 HGE1/0/2 10.11.112.26
# Display all NHLFE entries.
<Sysname> display mpls forwarding nhlfe
Total NHLFE entries: 5
Flags: T - Forwarded through a tunnel
N - Forwarded through the outgoing interface to the nexthop IP address
B - Backup forwarding information
A - Active forwarding information
M – P2MP forwarding information
S – Secondary backup path
NID Tnl-Type Flag OutLabel Forwarding Info
--------------------------------------------------------------------------------
10 - TA - 2049
20 - TA - 2050
2048 LSP NA 2025 HGE1/0/2 10.11.112.26
2049 LSP NA 3024 HGE1/0/2 10.11.112.26
TB 3026 20
2050 LSP NA 3025 HGE1/0/1 10.11.113.26
Table 2 Command output
Field
Description
Total NHLFE entries Total number of NHLFE entries.
NID NHLFE entry index.
4
Field
Description
Tnl-Type
Tunnel type:
• LOCAL—Direct LSP tunnel.
• LSP—Static LSP tunnel, or LSP tunnel signaled using LDP or BGP.
• TE—TE tunnel.
• CRLSP—Static CRLSP tunnel or CRLSP tunnel signaled using RSVP.
• SRLSP—Static SRLSP tunnel or SRLSP tunnel signaled using IS-IS or
OSPF.
• SRPolicy—SR-MPLS TE policy tunnel.
• SRPSIDs—Tunnel corresponding to SR-MPLS TE policy SIDs.
• SRPGroup—Tunnel corresponding to SR-MPLS TE policy group.
This field displays a hyphen (-) if the tunnel type is invalid.
Flag
Forwarding flag:
• T—Forwarded through a tunnel.
• N—Forwarded through the outgoing interface to the next hop IP
address.
• B—Backup forwarding information.
• A—Active forwarding information.
• M—P2MP forwarding information. This flag is not supported in the
current software version.
• S—The second backup tunnel.
OutLabel Outgoing label.
Forwarding Info
Forwarding information:
• When the forwarding flag is N, the forwarding information records the
outgoing interface and the next hop.
• When the forwarding flag is T, the forwarding information records the
NID.
display mpls interface
Use display mpls interface to display MPLS interface information, including the interface
name, interface status, and interface MPLS MTU.
Syntax
display mpls interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by the interface type and number.
If you do not specify an interface, this command displays MPLS information for all MPLS-enabled
interfaces.
Examples
# Display all MPLS interfaces.
<Sysname> display mpls interface
5
Interface Status MPLS MTU
HGE1/0/1 Up 1500
HGE1/0/2 Up 1500
Table 3 Command output
Field
Description
Interface Interface name.
Status Interface state.
MPLS MTU MPLS MTU (in bytes) of the interface.
This field displays a hyphen (-) if the interface is not configured
with an MPLS MTU.
Related commands
mpls enable
mpls mtu
display mpls label
Use display mpls label to display MPLS label usage information.
Syntax
display mpls label { label-value1 [ to label-value2 ] | all }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
label-value1: Specifies a label value. The value range for this argument is 16 to 250000. If used
with the label-value2 argument, the label-value1 argument represents the start label of a
label range.
to label-value2: Specifies the end label of the label range. The value range for the end label is
16 to 250000. If you specify a label range by using the label-value1 argument and the to
label-value2
option, this command displays usage information for the specified range of labels.
all: Specifies all labels.
Examples
# Display usage information for labels 1025 through 1027.
<Sysname> display mpls label 1025 to 1027
Label Owner State
1025 LDP Alloc
1026 LDP Alloc
1027 LDP Inuse
6
Table 4 Command output
Field
Description
Label Label value.
Owner
Protocol that is using the label:
• Static—Static LSP.
• LDP.
• BGP.
• StaticCR—Static CRLSP or static SRLSP.
• RSVP.
• ISIS.
• OSPF.
This field displays a hyphen (-) when the label state is Idle.
State
Usage state of the label:
• Idle—The label is idle.
• Alloc—The label has been allocated.
• Pending—The label has been released but is still used by an
LSP entry.
• Inuse—The label has been allocated and used by an LSP
entry.
display mpls lsp
Use display mpls lsp to display LSP information.
Syntax
display mpls lsp [ egress | in-label label-value | ingress |
outgoing-interface interface-type interface-number | protocol { bgp |
isis | ldp | local | ospf | rsvp-te [ p2mp ] | sr-policy | sr-te | static |
static-cr } | transit ] [ vpn-instance vpn-instance-name ] [ ipv4-address
mask-length | ipv6 [ ipv6-address prefix-length ] ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
egress: Displays the LSPs taking the current LSR as egress.
in-label label-value: Displays the LSPs using the specified label as the incoming label. The
value range for the label-value argument is 0 to 250000.
ingress: Displays the LSPs taking the current LSR as ingress.
outgoing-interface interface-type interface-number: Displays the LSPs using the
specified interface as the outgoing interface. The interface-type interface-number
argument specifies an interface by its type and number.
protocol: Displays the LSPs established by a protocol.
bgp: Displays BGP LSPs.
7
isis: Displays IS-IS SRLSPs.
ldp: Displays LDP LSPs.
local: Displays LSPs destined for the direct next hops, or displays LSPs that use the local MPLS
TE tunnel interfaces or tunnel bundle interfaces as the LSP heads.
ospf: Displays OSPF SRLSPs.
rsvp-te: Displays CRLSPs established by RSVP-TE.
p2mp: Displays P2MP CRLSPs established by RSVP-TE. If you do not specify this keyword, the
command displays information about P2P CRLSPs and P2MP CRLSPs established by RSVP-TE.
sr-policy: Displays SRLSPs established by SR-MPLS TE policies.
sr-te: Displays SRLSPs established by SR-TE.
static: Displays static LSPs.
static-cr: Displays static CRLSPs and static SRLSPs.
transit: Displays the LSPs taking the current LSR as a transit LSR.
vpn-instance vpn-instance-name: Displays LSPs for the specified MPLS L3VPN instance.
The vpn-instance-name is a case-sensitive string of 1 to 31 characters. If you do not specify this
option, the command displays LSPs for the public network.
ipv4-address mask-length: Displays the IPv4 LSP for an FEC specified by an IPv4 address
and a mask length. The value range for the mask length is 0 to 32.
ipv6: Displays IPv6 LSP information. If you do not specify this keyword, the command displays IPv4
LSP information.
ipv6-address prefix-length: Displays the IPv6 LSP for an FEC specified by an IPv6
address and a prefix length. The value range for the prefix length is 0 to 128.
verbose: Displays detailed LSP information. If you do not specify this keyword, the command
displays brief LSP information.
Usage guidelines
If you do not specify any parameters, this command displays brief information about all LSPs. If you
specify only the verbose keyword, this command displays detailed information about all LSPs.
Examples
# Display brief information about all IPv4 LSPs.
<Sysname> display mpls lsp
FEC Proto In/Out Label Out Inter/NHLFE/LSINDEX
100.100.100.100/24 LDP -/1049 HGE1/0/1
Backup -/1050 HGE1/0/2
100.100.100.10/24 LDP -/1051 HGE1/0/3
Backup -/1050 HGE1/0/2
100.100.100.10/24 LDP -/1049 HGE1/0/4
101.100.100.10/24 LDP 1026/1049 HGE1/0/1
102.100.100.10/24 LDP 1027/- -
103.100.100.10/24 LDP 1028/1049 Tunnel10
110.100.100.20/24 BGP -/1049 HGE1/0/1
111.100.100.10/24 BGP 2028/1049 HGE1/0/1
112.100.100.10/24 BGP 2029/- HGE1/0/1
113.100.100.10/24 BGP 2030/1049 NHLFE1500
114.100.100.10/24 BGP 2031/1050 Tunnel100
8
100.100.100.100 Local -/- HGE1/0/1
101.101.101.101/32 Static -/100 HGE1/0/1
- Static 100/200 HGE1/0/1
- Static 101/- HGE1/0/1
200.200.200.200/64000/64000 RSVP -/1030 HGE1/0/5
201.200.200.200/64000/64000 RSVP 1024/1031 HGE1/0/5
202.200.200.200/64000/64000 RSVP 1025/- -
150.140.150.100/64001/0 StaticCR -/1000 HGE1/0/5
- StaticCR 50/1001 HGE1/0/5
- StaticCR 51/- -
Table 5 Command output
Field
FEC
Forwarding equivalence class:
• IP address/mask—Classifies FECs by destination address.
• IP address/mask/LSINDEX—Classifies FECs by label stack
index.
• IP address—Classifies FECs by next hop.
• IP address/Out Label—Classifies FECs by next hop and
outgoing label.
• IP address/Color—Classifies FECs by destination address and
color attribute.
• NID—Classifies FECs by NID.
• GroupID—Classifies FECs by SR-MPLS TE policy group ID.
• Ingress LSR ID/Tunnel ID/LSP ID—RSVP TE FEC or static
SRLSP FEC.
• IP address/mask (Flex-Algo ID)—Classifies FECs by
destination address and flexible algorithm ID.
• IP address/private data/VPN instance index—Classifies FECs
by IP address, private data, and VPN instance index.
This field displays a hyphen (-) if the LSP is a static transit LSP,
static egress LSP, static transit CRLSP, static egress CRLSP, or an
adjacency path for static SRLSPs.
This field displays Backup if the LSP is a backup LSP of the primary
LSP.
This field displays SecondBackup if the LSP is the second backup
LSP of the primary LSP.
Proto
Label distribution protocol:
• LDP.
• BGP.
• IS-IS.
• RSVP.
• Static.
• StaticCR—Static CRLSP or static SRLSP.
• Local—LSP to a direct next hop, or LSP that uses a local MPLS
TE tunnel interface or tunnel bundle interface as the LSP head.
• OSPF.
• RSVP-P2MP—P2MP CRLSP established by RSVP-TE.
• SR-TE—SRLSP established by SR-TE.
• SRPolicy—SRLSP established by SR-MPLS TE policies.
In/Out Label Incoming label/outgoing label.
9
Field
Out Inter/NHLFE/LSINDEX
Outgoing interface name, NHLFE entry index, or label stack index of
the LSP.
NHLFEnumber specifies the ingress LSP selected for the current LSP
after route recursion. The ingress LSP is the one that matches the
NHLFE entry with an NID of number.
LSINDEXnumber specifies the ingress LSP selected for the current
LSP after route recursion. The ingress LSP is the one that matches
the LSINDEX entry with a label stack index of number.
# Display IPv6 LSP information.
<Sysname> display mpls lsp ipv6
FEC : 100:100:100:100:100:100:100:100/128
Protocol : BGP In-Label : 1200
Out-Label: 1300 Out-Interface: HGE1/0/1
BkLabel : 1400 BkInterface : HGE1/0/2
Table 6 Command output
Field
FEC
Forwarding equivalence class:
• IP address/mask—Classifies FECs by destination address.
• IP address—Classifies FECs by next hop.
• IP address/Out Label—Classifies FECs by next hop and
outgoing label.
• IP address/Color—Classifies FECs by destination address and
color attribute.
• NID—Classifies FECs by NID.
• GroupID—Classifies FECs by SR-MPLS TE policy group ID.
• Ingress LSR ID/Tunnel ID/LSP ID—RSVP TE FEC or static
SRLSP FEC.
• IP address/mask (Flex-Algo ID)—Classifies FECs by
destination address and flexible algorithm ID.
• IP address/private data/VPN instance index—Classifies FECs
by IP address, private data, and VPN instance index.
This field displays a hyphen (-) if the LSP is a static transit LSP, static
egress LSP, static transit CRLSP, or static egress CRLSP.
Protocol
Label distribution protocol:
• LDP.
• BGP.
• RSVP.
• Static.
• StaticCR—Static CRLSP or static SRLSP.
• Local—LSP to a direct next hop, or LSP that uses a local MPLS
TE tunnel interface or tunnel bundle interface as the LSP head.
• RSVP-P2MP—P2MP CRLSP established by RSVP-TE.
• SR-TE—SRLSP established by SR-TE.
BkLabel Outgoing label of the backup LSP.
BkInterface Outgoing interface of the backup LSP.
# Display detailed information about all LSPs.
<Sysname> display mpls lsp verbose
10
Destination : 56.10.10.2
FEC : 56.10.10.2/32
Protocol : LDP
LSR Type : Egress
Service : Statistics
Create Time : 2021-07-05 11:44:06
Last Chg Time: 2021-07-05 11:44:06
In-Label : 1024
State : Active
Inbound Statistics:
Octets : 13000
Packets : 100
Errors : 0
Discards : 0
Destination : 56.10.10.4
FEC : 56.10.10.2/32
Protocol : LDP
LSR Type : Transit
Service : Statistics
Create Time : 2021-07-05 11:44:06
Last Chg Time: 2021-07-05 11:44:06
In-Label : 1026
Inbound Statistics:
Octets : 10600
Packets : 100
Errors : 0
Discards : 0
Path ID : 0x40000000.1
State : Active
Out-Label : 1800
Nexthop : 10.1.1.2
Out-Interface: HGE1/0/1
BkLabel : 1900
BkNexthop : 20.1.1.2
BkInterface : HGE1/0/2
Outbound Statistics:
Octets : 12600
Packets : 100
Errors : 0
Discards : 0
Destination : 56.10.10.4
FEC : 56.10.10.2/32
Protocol : LDP
LSR Type : Ingress
Service : -
Create Time : 2021-07-05 11:44:06
11
Last Chg Time: 2021-07-05 11:44:06
NHLFE ID : 2000
State : Active
Out-Label : 1800
Nexthop : 10.1.1.2
Out-Interface: HGE1/0/1
Table 7 Command output
Field
Description
Destination LSP destination address.
FEC
Forwarding equivalence class:
• IP address/mask—Classifies FECs by destination address.
• IP address—Classifies FECs by next hop.
• IP address/Out Label—Classifies FECs by next hop and outgoing
label.
• IP address/Color—Classifies FECs by destination address and
color attribute.
• NID—Classifies FECs by NID.
• GroupID—Classifies FECs by SR-MPLS TE policy group ID.
• Ingress LSR ID/Tunnel ID/LSP ID—RSVP TE FEC.
• IP address/mask (Flex-Algo ID)—Classifies FECs by destination
address and flexible algorithm ID.
This field displays a hyphen (-) if the LSP is a static transit LSP, static
egress LSP, static transit CRLSP, static egress CRLSP, or adjacency
path for static SRLSPs.
Protocol
Label distribution protocol:
• LDP.
• BGP (instance-name)—The instance-name specifies a BGP
instance name. The value of default represents the default BGP
instance.
• IS-IS.
• RSVP.
• Static.
• StaticCR—Static CRLSP or static SRLSP.
• Local—
LSP to a direct next hop, or LSP that uses a local MPLS TE
tunnel interface or tunnel bundle interface as the LSP head.
• OSPF.
• RSVP-P2MP—P2MP CRLSP established by RSVP-TE.
• SR-TE.
•
SRPolicy
—SRLSP established by SR-MPLS TE policies.
LSR Type
LSR type:
• Ingress—The current LSR is the ingress node of the LSP.
• Transit—The current LSR is a transit node of the LSP.
• Egress—The current LSR is the egress node of the LSP.
Service Service deployed on the LSP.
The service can only be Statistics, which indicates the MPLS forwarding
statistics feature.
Create Time Time when the LSP generated.
Last Chg Time Time when the LSP changed most recently.
/