HPE JH951A Reference guide

Category
Software
Type
Reference guide
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.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477

HPE JH951A Reference guide

Category
Software
Type
Reference guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI