Removing Mpls Labels From Incoming Packets - Juniper JUNOS 10.1 - CONFIGURATION GUIDE 1-2010 Configuration Manual

Network interfaces configuration
Table of Contents

Advertisement

JUNOS 10.1 Network Interfaces Configuration Guide
For conformity with cflowd record structure, you must include the
receive-options-packets
mo-fpc/pic/port unit logical-unit-number family inet]
For the monitoring services interface, you can configure multiservice physical interface
properties. For more information, see "Configuring Multiservice Physical Interface
Properties" on page 150 and the JUNOS Services Interfaces Configuration Guide.

Removing MPLS Labels from Incoming Packets

The JUNOS Software can forward only IPv4 packets to a Monitoring Services PIC.
IPv4 packets with MPLS labels cannot be forwarded to a Monitoring Services PIC.
By default, if packets with MPLS labels are forwarded to the Monitoring Services PIC,
they are discarded. To monitor packets with MPLS labels, you must remove the MPLS
labels as the packets arrive on the interface.
You can remove up to two MPLS labels from an incoming packet by including the
pop-all-labels
hierarchy level:
By default, the
two labels. You can specify the number of MPLS labels an incoming packet must
have for the
statement at the
level:
The required depth can be
statement, the
label only. If you include the
takes effect for incoming packets with two labels only. If you include the
[ 1 2 ]
one or two labels. A required depth of
the
When you remove MPLS labels from incoming packets, note the following:
302
Removing MPLS Labels from Incoming Packets
and
[edit interfaces mo-fpc/pic/port unit logical-unit-number family inet]
receive-options-packets;
receive-ttl-exceeded;
statement at the
[edit interfaces interface-name atm-options mpls]
pop-all-labels {
required-depth number;
}
pop-all-labels
statement to take effect by including the
pop-all-labels
[edit interfaces interface-nameatm-options mpls pop-all-labels]
[edit interfaces interface-name atm-options mpls pop-all-labels]
required-depth number;
1
pop-all-labels
statement, the
pop-all-labels
statement.
pop-all-labels
The
statement has no effect on IP packets with three or more MPLS
pop-all-labels
labels.
When you enable MPLS label removal, you must configure all ports on a PIC
with the same label popping mode and required depth.
statements at the
receive-ttl-exceeded
hierarchy level:
[edit interfaces interface-name atm-options mpls]
statement takes effect for incoming packets with one or
,
, or
. If you include the
2
[ 1 2 ]
statement takes effect for incoming packets with one
statement, the
required-depth 2
statement takes effect for incoming packets with
[ 1 2 ]
is equivalent to the default behavior of
[edit interfaces
required-depth
hierarchy
required-depth 1
statement
pop-all-labels
required-depth

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents