434
(Distributed devices in IRF mode.) The max-entries argument takes effect on each card of each IRF
member device.
(Centralized devices in IRF mode.) The max-entries argument takes effect on each IRF member
device.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Set the upper limit to 5000 for NetStream entries.
<Sysname> system-view
[Sysname] ip netstream max-entry 5000
ip netstream mpls
Use ip netstream mpls to enable MPLS packet statistics collection.
Use undo ip netstream mpls to disable MPLS packet statistics collection.
Syntax
ip netstream mpls [ label-positions label-position1 [ label-position2 [ label-position3 ] ] ]
[ no-ip-fields ]
undo ip netstream mpls
Default
MPLS packet statistics collection is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
label-positions: Specifies position of the labels to be counted.
label-position1: Specifies the position of the first label in the label stack, in the range of 1 to 6.
label-position2: Specifies the position of the second label in the label stack, in the range of 1 to 6.
label-position3: Specifies the position of the third label in the label stack, in the range of 1 to 6.
no-ip-fields: Specifies not to count IP fields.
Usage guidelines
This command enables statistics collection of MPLS packets for both IPv4 and IPv6 NetStream.
If you do not specify any keywords or options, the top label and IP fields are counted.
If multiple labels are to be counted, the label positions specified cannot be the same and are in
ascending order.