10
Enabling MPLS label forwarding statistics for LSPs
MPLS label forwarding for LSPs forwards a labeled packet based on its incoming label.
Perform this task to enable MPLS label forwarding statistics for LSPs and MPLS statistics reading.
Then, you can use the
display mpls lsp verbose
command to view MPLS label statistics.
To enable MPLS label forwarding statistics:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MPLS label
forwarding statistics for the
specified LSPs.
mpls statistics
{
all
| [
vpn-instance
vpn-instance-name
] {
ipv4
ipv4-destination mask-length
|
ipv6
ipv6-destination prefix-length
} |
static
|
te
ingress-lsr-id tunnel-id
}
By default, MPLS label
forwarding statistics are disabled
for all LSPs.
3.
Enable MPLS label
statistics reading, and set
the reading interval.
mpls statistics interval
interval
By default, MPLS label statistics
reading is disabled.
Enabling MPLS label forwarding statistics for a VPN instance
MPLS label forwarding for a VPN instance performs the following operations:
•
Forwards a labeled packet for the VPN instance based on its incoming label.
•
Adds a label to an unlabeled packet received by the VPN instance and forwards the labeled
packet.
Perform this task to enable MPLS label forwarding statistics for a VPN instance and MPLS statistics
reading. Then, you can use the
display ip vpn-instance mpls statistics
command to view MPLS
label statistics.
To enable MPLS label forwarding statistics:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VPN instance view.
ip vpn-instance
vpn-instance-name
N/A
3.
Enable MPLS label
forwarding statistics for the
VPN instance.
mpls statistics
enable
By default, MPLS label
forwarding statistics are disabled
for all VPN instances.
4.
Enable MPLS label
statistics reading, and set
the reading interval.
mpls statistics interval
interval
By default, MPLS label statistics
reading is disabled.
Enabling split horizon for MPLS forwarding
This feature prevents MPLS packets received from an interface from being forwarded back to that
interface to provide loop-free forwarding.
To enable split horizon for MPLS forwarding:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...