180
ip netstream mpls
Use
ip netstream mpls
to collect and export statistics on MPLS packets. If you do not provide any
arguments, the top label and IP fields are also counted. If the
no-ip-fields
keyword is provided, the
command exports data about MPLS packet only.
Use
undo ip netstream mpls
to disable counting and exporting of MPLS packets.
Syntax
ip netstream mpls
[
label-positions
label-position1
[
label-position2
[
label-position3
] ]
]
[
no-ip-fields
]
undo ip netstream mpls
Default
Counting and exporting of MPLS packets are disabled.
Views
System view
Default command level
3: Manage level
Parameters
label-positions
: Specifies position of the labels to be counted.
no-ip-fields
: Specifies not to count IP fields.
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.
Usage guidelines
The
ip netstream mpls
command enables statistics collection of MPLS packets for both IPv4 and IPv6
NetStream.
Examples
# Enable NetStream of MPLS packets with top label counted and exported, but without IP fields.
<Sysname> system-view
[Sysname] ip netstream mpls no-ip-fields
ip netstream sampler
Use
ip netstream sampler
to enable NetStream sampling.
Use
undo ip netstream sampler
to disable NetStream sampling.
Syntax
ip netstream sampler
sampler-name
{
inbound
|
outbound
}
undo ip netstream sampler
sampler-name
{
inbound
|
outbound
}
Default
NetStream sampling is disabled.
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...