R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

60
Usage guidelines
The command is effective only when MPLS is enabled on the interface.
If the MPLS MTU is larger than the interface MTU, data forwarding might fail.
The command does not apply to TE tunnel interfaces.
Examples
# Configure the MPLS MTU of interface GigabitEthernet 2/1/1 as 1000.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] quit
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls
[Sysname-GigabitEthernet2/1/1] mpls mtu 1000
mpls statistics enable
Use mpls statistics enable to enable MPLS statistics for an interface, LSP, or public network tunnel.
Use undo mpls statistics enable to disable MPLS statistics.
Syntax
mpls statistics enable { interface interface-type interface-number | lsp in-label in-label | tunnel token
token }
undo mpls statistics enable { interface interface-type interface-number | lsp in-label in-label | tunnel
token token }
Default
MPLS statistics is disabled.
Views
System view
Default command level
2: System level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number.
lsp in-label in-label: Specifies an LSP by its incoming label.
The following matrix shows the value ranges for the in-label argument:
6602 HSR6602 6604/6608/6616
0 to 57343 0 to 57343
With the RSE-X1 MPU: 0 to 97279
With other MPUs: 0 to 57343
tunnel token token: Specifies a public network tunnel by its LSP token. The value range for the token is 0
to 4294967295.
Examples
# Enable statistics for the LSP with the incoming label of 1024.