Interfaces Fundamentals
Interfaces Fundamentals
Interfaces Fundamentals
Published
2021-04-18
ii
Juniper Networks, the Juniper Networks logo, Juniper, and Junos are registered trademarks of Juniper Networks, Inc.
in the United States and other countries. All other trademarks, service marks, registered marks, or registered service
marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right
to change, modify, transfer, or otherwise revise this publication without notice.
The information in this document is current as of the date on the title page.
Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related
limitations through the year 2038. However, the NTP application is known to have some difficulty in the year 2036.
The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use
with) Juniper Networks software. Use of such software is subject to the terms and conditions of the End User License
Agreement ("EULA") posted at https://support.juniper.net/support/eula/. By downloading, installing or using such
software, you agree to the terms and conditions of that EULA.
iii
Table of Contents
About This Guide | xv
1 Router Interfaces
Router Interfaces Overview | 2
Types of Interfaces | 3
TX Matrix Plus and T1600 Router (Routing Matrix) Management Ethernet Interfaces | 55
Requirements | 100
Overview | 100
Configuration | 100
Verification | 104
Requirements | 129
Overview | 130
Configuration | 130
Verification | 132
Operational Behavior of Interfaces When the Same IPv4 Address Is Assigned to Them | 163
Configuring a Preferred Source Address for Unnumbered Ethernet or Demux Interfaces | 172
Displaying the Configuration for Unnumbered Ethernet Interface as the Next Hop for a
Static Route | 177
2 Other Interfaces
Discard Interfaces | 205
Example: Configuring Two Addresses on the Loopback Interface with Subnetwork Routes | 231
Example: Configuring an IPv4 and an IPv6 Address on the Loopback Interface with
Subnetwork Routes | 231
Verification | 263
4 Configuration Statements
accounting | 303
accounting-profile | 304
acfc | 306
activation-delay | 309
activation-priority | 310
backup-options | 316
callback | 317
x
callback-wait-period | 319
caller | 320
calling-number | 322
clock-rate | 324
clocking-mode | 326
control-polarity | 327
control-signal | 329
cts | 331
cts-polarity | 332
dcd | 337
dcd-polarity | 338
deactivation-delay | 340
dce-options | 341
destination-class-usage | 356
destination-profile | 357
dial-string | 359
dialer | 361
xi
dot1x | 362
dsr | 366
dsr-polarity | 368
dte-options | 369
dtr | 371
dtr-circuit | 373
dtr-polarity | 375
encoding | 376
f-max-period | 378
forward-and-send-to-re | 379
forward-only | 381
hierarchical-policer | 382
idle-timeout | 384
ignore-all | 388
incoming-map | 389
indication | 391
indication-polarity | 393
init-command-string | 394
initial-route-check | 396
input-list | 398
interface-range | 401
interface-transmit-statistics | 403
interface-shared-with | 406
isdn-options | 408
keep-address-and-control | 409
key | 411
lcp-max-conf-req | 413
lcp-restart-timer | 414
line-protocol | 416
line-rate | 418
load-interval | 419
load-threshold | 421
local-password | 422
loopback-clear-timer | 426
modem-options | 427
monitor-session | 429
multipoint | 430
ncp-max-conf-req | 432
ncp-restart-timer | 434
operating-mode | 435
pfc | 439
point-to-point | 440
pool | 444
preferred-source-address | 445
xiii
redial-delay | 449
rts | 451
rts-polarity | 452
serial-options | 454
shdsl-options | 456
snr-margin | 458
snext | 459
spid1 | 461
spid2 | 462
static-tei-val | 463
switch-type | 465
t310 | 467
tei-option | 468
then | 470
tm | 471
tm-polarity | 473
transmit-clock | 478
watch-list | 484
5 Operational Commands
Common Output Fields Description | 488
Use this guide to configure, monitor and troubleshoot various interfaces installed on a Juniper Networks
router with the Junos OS command-line interface (CLI).
1 CHAPTER
Router Interfaces
IN THIS SECTION
Types of Interfaces | 3
TX Matrix Plus and T1600 Router (Routing Matrix) Management Ethernet Interfaces | 55
The interfaces on a router provide network connectivity to the router. This topic discusses about the
various router interfaces supported on Junos like, transient interfaces, services interfaces, container
interfaces, and internal ethernet interfaces. This topic also provides basic interface related information
like, interface naming conventions, overview of interface encapsulation, and overview of interface
descriptors.
Routers typically contain several different types of interfaces suited to various functions. For the
interfaces on a router to function, you must configure them. Specify the interface location (that is, the
slot where the Flexible PIC Concentrator [FPC], Dense Port Concentrator [DPC], or Modular Port
Concentrator [MPC] is installed. You must also specify the location of the Physical Interface Card [PIC]
or Modular Interface Card [MIC] , and the interface type, for example, SONET/SDH, Asynchronous
3
Transfer Mode [ATM], or Ethernet). Finally, you must specify the encapsulation type and any interface-
specific properties that may apply.
You can configure interfaces that are currently present in the router, as well as interfaces that are not
currently present but that are expected to be added in the future. Junos OS detects the interface once
the hardware has been installed and applies the pre-set configuration to it.
To see which interfaces are currently installed in the router, issue the show interfaces terse operational
mode command. If an interface is listed in the output, it is physically installed in the router. If an
interface is not listed in the output, it is not installed in the router.
For information about which interfaces are supported on your router, see your router’s Interface Module
Reference.
You can configure Junos OS class-of-service (CoS) properties to provide a variety of classes of service
for different applications, including multiple forwarding classes for managing packet transmission,
congestion management, and CoS-based forwarding. For more information about configuring CoS
properties, see the Junos OS Class of Service User Guide for Routing Devices.
Types of Interfaces
Interfaces can be permanent or transient, and are used for networking or services:
Permanent interfaces in the router consist of management Ethernet interfaces and internal Ethernet
interfaces, which are described separately in the following topics:
• Transient interfaces—Interfaces that can be inserted into or removed from the router depending on
your network configuration needs.
• Services interfaces—Interfaces that provide specific capabilities for manipulating traffic before it is
delivered to its destination.
Junos OS internally generates nonconfigurable interfaces which are described in Interfaces Command
Reference and Services Interfaces.
SEE ALSO
IN THIS SECTION
Each interface has an interface name, which specifies the media type, the slot in which the FPC or DPC
is located, the location on the FPC where the PIC is installed, and the PIC or DPC port. The interface
name uniquely identifies an individual network connector in the system. You use the interface name
5
when configuring interfaces and when enabling various functions and properties, such as routing
protocols, on individual interfaces. The system uses the interface name when displaying information
about the interface, for example, in the show interfaces command.
The interface name is represented by a physical part, a channel part, and a logical part in the following
format:
physical<:channel>.logical
The channel part of the name is optional for all interfaces except channelized DS3, E1, OC12, and STM1
interfaces.
The EX Series, QFX Series, NFX Series, OCX1100, QFabric System, and EX4600 devices use a naming
convention for defining the interfaces that are similar to that of other platforms running under Juniper
Networks Junos OS. For more information, see Understanding Interface Naming Conventions.
The physical part of an interface name identifies the physical device, which corresponds to a single
physical network connector.
NOTE:
The internal interface is dependent on the Routing Engine. To identify if the Routing Engine is
using this type of interface, use the following command:
lsi up up
mtun up up
pimd up up
pime up up
tap up up
For more information on the Routing Engines that each chassis supports, the first supported
release for the Routing Engine in the specified chassis, the management Ethernet interface, and
the internal Ethernet interfaces for each Routing Engine, please refer the link titled Supported
Routing Engines by Chassis under Related Documentation section.
type-fpc/pic/port
type is the media type, which identifies the network device that can be one of the following:
• ae—Aggregated Ethernet interface. This is a virtual aggregated link and has a different naming format
from most PICs; for more information, see Aggregated Ethernet Interfaces Overview.
• as—Aggregated SONET/SDH interface. This is a virtual aggregated link and has a different naming
format from most PICs; for more information, see Configuring Aggregated SONET/SDH Interfaces.
• at—ATM1 or ATM2 intelligent queuing (IQ) interface or a virtual ATM interface on a circuit
emulation (CE) interface.
• bcm—The bcm0 internal Ethernet process is supported on specific Routing engines for various M
series and T series routers. For more information please refer the link titled Supported Routing
Engines by Chassis under Related Documentation section.
• ci—Container interface.
• coc3—Channelized OC3 IQ interface (configured on the Channelized OC3 IQ and IQE PICs).
• coc12—Channelized OC12 IQ interface (configured on the Channelized OC12 IQ and IQE PICs).
7
• coc48—Channelized OC48 interface (configured on the Channelized OC48 and Channelized OC48
IQE PICs).
• cstm4—Channelized STM4 IQ interface (configured on the Channelized OC12 IQ and IQE PICs).
• ct1—Channelized T1 IQ interface (configured on the Channelized DS3 IQ and IQE PICs, Channelized
OC3 IQ and IQE PICs, Channelized OC12 IQ and IQE PICs, or Channelized T1 IQ PIC).
• ct3—Channelized T3 IQ interface (configured on the Channelized DS3 IQ and IQE PICs, Channelized
OC3 IQ and IQE PICs, or Channelized OC12 IQ and IQE PICs).
• demux—Interface that supports logical IP interfaces that use the IP source or destination address to
demultiplex received packets. Only one demux interface (demux0) exists per chassis. All demux
logical interfaces must be associated with an underlying logical interface.
• dfc—Interface that supports dynamic flow capture processing on T Series or M320 routers containing
one or more Monitoring Services III PICs. Dynamic flow capture enables you to capture packet flows
on the basis of dynamic filtering criteria. Specifically, you can use this feature to forward passively
monitored packet flows that match a particular filter list to one or more destinations using an on-
demand control protocol.
• ds—DS0 interface (configured on the Multichannel DS3 PIC, Channelized E1 PIC, Channelized OC3
IQ and IQE PICs, Channelized OC12 IQ and IQE PICs, Channelized DS3 IQ and IQE PICs,
Channelized E1 IQ PIC, Channelized STM1 IQ or IQE PIC, or Channelized T1 IQ).
• dsc—Discard interface.
• em—Management and internal Ethernet interfaces. For M Series routers, MX Series routers, T Series
routers, and TX Series routers, you can use the show chassis hardware command to display hardware
information about the router, including its Routing Engine model. To determine which management
interface is supported on your router and Routing Engine combination, see Understanding
Management Ethernet Interfaces and Supported Routing Engines by Router.
• es—Encryption interface.
• et—100-Gigabit Ethernet interfaces (10, 40, and 100-Gigabit Ethernet interface for PTX Series
Packet Transport Routers only).
8
• fxp—Management and internal Ethernet interfaces. For M Series routers, MX Series routers, T Series
routers, and TX Series routers, you can use the show chassis hardware command to display hardware
information about the router, including its Routing Engine model. To determine which management
interface is supported on your router and Routing Engine combination, see Understanding
Management Ethernet Interfaces and Supported Routing Engines by Router.
NOTE:
• The XENPAK 10-Gigabit Ethernet interface PIC, which is supported only on M series
routers, is configured using the ge interface naming convention instead of the xe interface
naming convention. Refer the following show commands for more information:
• In MX and SRX series devices, the 1 and 10-Gigabit SFP or SFP+ optical interfaces are
always named as xe even if a 1-Gigabit SFP is inserted. However, in EX and QFX series
devices, the interface name is shown as ge or xe based on the speed of the optical device
inserted.
• gre—Internally generated interface that is configurable only as the control channel for Generalized
MPLS (GMPLS). For more information about GMPLS, see the Junos OS MPLS Applications User
Guide.
NOTE: You can configure GRE interfaces (gre-x/y/z) only for GMPLS control channels. GRE
interfaces are not supported or configurable for other applications..
• ixgbe—The internal Ethernet process ixgbe0 and ixgbe1 are used by the RE-DUO-C2600-16G
Routing Engine, which is supported on TX Matrix Plus and PTX5000.
• iw—Logical interfaces associated with the endpoints of Layer 2 circuit and Layer 2 VPN connections
(pseudowire stitching Layer 2 VPNs). For more information about VPNs, see the Junos OS VPNs
Library for Routing Devices.
• lo—Loopback interface. The Junos OS automatically configures one loopback interface (lo0). The
logical interface lo0.16383 is a nonconfigurable interface for router control traffic.
• mo—Monitoring services interface (including monitoring services and monitoring services II). The
logical interface mo-fpc/pic/port.16383 is an internally generated, nonconfigurable interface for
router control traffic.
• ms—Multiservices interface.
• mt—Multicast tunnel interface (internal router interface for VPNs). If your router has a Tunnel PIC,
the Junos OS automatically configures one multicast tunnel interface (mt) for each virtual private
network (VPN) you configure. Although it is not necessary to configure multicast interfaces, you can
use the multicast-only statement to configure the unit and family so that the tunnel can transmit and
receive multicast traffic only. For more information, see multicast-only.
• oc3—OC3 IQ interface (configured on the Channelized OC12 IQ and IQE PICs or Channelized OC3
IQ and IQE PICs).
10
• pe—Interface on the first-hop PIM router that encapsulates packets destined for the RP router.
• rlsq—Container interface, numbered from 0 through 127, used to tie the primary and secondary LSQ
PICs together in high availability configurations. Any failure of the primary PIC results in a switch to
the secondary PIC and vice versa.
• so—SONET/SDH interface.
• xe—10-Gigabit Ethernet interface. Some older 10-Gigabit Ethernet interfaces use the ge media type
(rather than xe) to identify the physical part of the network device.
• xt—Logical interface for Protected System Domains to establish a Layer 2 tunnel connection.
11
fpc identifies the number of the FPC or DPC card on which the physical interface is located. Specifically,
it is the number of the slot in which the card is installed.
M40, M40e, M160, M320, M120, T320, T640, and T1600 routers each have eight FPC slots that are
numbered 0 through 7, from left to right as you are facing the front of the chassis. For information about
compatible FPCs and PICs, see the hardware guide for your router.
The M20 router has four FPC slots that are numbered 0 through 3, from top to bottom as you are facing
the front of the chassis. The slot number is printed adjacent to each slot.
MX Series routers support DPCs, FPCs, and Modular Interface Cards (MICs). For information about
compatible DPCs, FPCs, PICs, and MICs, see the MX Series Interface Module Reference.
For M5, M7i, M10, and M10i routers, the FPCs are built into the chassis; you install the PICs into the
chassis.
The M5 and M7i routers have space for up to four PICs. The M7i router also comes with an integrated
Tunnel PIC, or an optional integrated AS PIC, or an optional integrated MS PIC.
The M10 and M10i routers have space for up to eight PICs.
For more information about interface naming for a routing matrix, see "Interface Naming for a Routing
Matrix Based on a TX Matrix Router" on page 13.
pic identifies the number of the PIC on which the physical interface is located. Specifically, it is the
number of the PIC location on the FPC. FPCs with four PIC slots are numbered 0 through 3. FPCs with
three PIC slots are numbered 0 through 2. The PIC location is printed on the FPC carrier board. For PICs
that occupy more than one PIC slot, the lower PIC slot number identifies the PIC location.
port identifies a specific port on a PIC or DPC. The number of ports varies depending on the PIC. The
port numbers are printed on the PIC.
The logical unit part of the interface name corresponds to the logical unit number. The range of number
available varies for different interface types. See unit for current range values.
In the virtual part of the name, a period (.) separates the port and logical unit numbers:
• Other platforms:
type-fpc/pic/port.logical
12
In the physical part of the name, a hyphen (-) separates the media type from the FPC number, and a
slash (/) separates the FPC, PIC, and port numbers.
In the virtual part of the name, a period (.) separates the channel and logical unit numbers.
A colon (:) separates the physical and virtual parts of the interface name.
The channel identifier part of the interface name is required only on channelized interfaces. For
channelized interfaces, channel 0 identifies the first channelized interface. For channelized IQ and
channelized IQE interfaces, channel 1 identifies the first channelized interface. A nonconcatenated (that
is, channelized) SONET/SDH OC48 interface has four OC12 channels, numbered 0 through 3.
To determine which types of channelized PICs are currently installed in the router, use the show chassis
hardware command from the top level of the command-line interface (CLI). Channelized IQ and IQE
PICs are listed in the output with “intelligent queuing IQ” or “enhanced intelligent queuing IQE” in the
description. For more information, see Channelized Interfaces Overview.
For ISDN interfaces, you specify the B-channel in the form bc-pim/0/port:n. n is the B-channel ID and
can be 1 or 2. You specify the D-channel in the form dc-pim/0/port:0.
NOTE: For ISDN, the B-channel and D-channel interfaces do not have any configurable
parameters. However, when interface statistics are displayed, B-channel and D-channel
interfaces have statistical values.
NOTE: In the Junos OS implementation, the term logical interfaces generally refers to interfaces
you configure by including the unit statement at the [edit interfaces interface-name] hierarchy
level. Logical interfaces have the .logical descriptor at the end of the interface name, as in
ge-0/0/0.1 or t1-0/0/0:0.1, where the logical unit number is 1.
Although channelized interfaces are generally thought of as logical or virtual, the Junos OS sees
T3, T1, and NxDS0 interfaces within a channelized IQ or IQE PIC as physical interfaces. For
example, both t3-0/0/0 and t3-0/0/0:1 are treated as physical interfaces by the Junos OS. In
contrast, t3-0/0/0.2 and t3-0/0/0:1.2 are considered logical interfaces because they have the .2
at the end of the interface names.
13
A routing matrix based on a Juniper Networks TX Matrix router is a multichassis architecture composed
of one TX Matrix router and from one to four interconnected T640 routers. From the perspective of the
user interface, the routing matrix appears as a single router. The TX Matrix router controls all the T640
routers, as shown in Figure 1 on page 13.
A TX Matrix router is also referred to as a switch-card chassis (SCC). The CLI uses scc to refer to the TX
Matrix router. A T640 router in a routing matrix is also referred to as a line-card chassis (LCC). The CLI
uses lcc as a prefix to refer to a specific T640 router.
LCCs are assigned numbers 0 through 3, depending on the hardware setup and connectivity to the TX
Matrix router. For more information, see the TX Matrix Router Hardware Guide. A routing matrix can
have up to four T640 routers, and each T640 router has up to eight FPCs. Therefore, the routing matrix
as a whole can have up to 32 FPCs (0 through 31).
14
type-fpc/pic/port
When you specify the fpc number for a T640 router in a routing matrix, the Junos OS determines which
T640 router contains the specified FPC based on the following assignment:
For example, the 1 in se-1/0/0 refers to FPC hardware slot 1 on the T640 router labeled lcc0. The 11 in
t1-11/2/0 refers to FPC hardware slot 3 on the T640 router labeled lcc1. The 20 in so-20/0/1 refers to
FPC hardware slot 4 on the T640 router labeled lcc2. The 31 in t3-31/1/0 refers to FPC hardware slot 7
on the T640 router labeled lcc3.
Table 1 on page 14 summarizes the FPC numbering for a T640 router in a routing matrix.
0 0 through 7
1 8 through 15
2 16 through 23
3 24 through 31
Table 2 on page 15 lists each FPC hardware slot and the corresponding configuration numbers for
LCCs 0 through 3.
15
LCC 0
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 0 1 2 3 4 5 6 7
LCC 1
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 8 9 10 11 12 13 14 15
LCC 2
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 16 17 18 19 20 21 22 23
LCC 3
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 24 25 26 27 28 29 30 31
A routing matrix based on a Juniper Networks TX Matrix Plus Router is a multichassis architecture
composed of one TX Matrix Plus router and from one to four interconnected T1600 routers. From the
16
perspective of the user interface, the routing matrix appears as a single router. The TX Matrix Plus
router controls all the T1600 routers, as shown in Figure 2 on page 16.
A TX Matrix Plus router is also referred to as a switch-fabric chassis (SFC). The CLI uses sfc to refer to
the TX Matrix Plus router. A T1600 router in a routing matrix is also referred to as a line-card chassis
(LCC). The CLI uses lcc as a prefix to refer to a specific T1600 router.
LCCs are assigned numbers, 0 through 3, depending on the hardware setup and connectivity to the TX
Matrix Plus router. For more information, see the TX Matrix Plus Router Hardware Guide. A routing
matrix based on a TX Matrix Plus router can have up to four T1600 routers, and each T1600 router has
up to eight FPCs. Therefore, the routing matrix as a whole can have up to 32 FPCs (0 through 31).
type-fpc/pic/port
When you specify the fpc number for a T1600 router in a routing matrix, the Junos OS determines
which T1600 router contains the specified FPC based on the following assignment:
17
For example, the 1 in se-1/0/0 refers to FPC hardware slot 1 on the T1600 router labeled lcc0. The 11
in t1-11/2/0 refers to FPC hardware slot 3 on the T1600 router labeled lcc1. The 20 in so-20/0/1 refers
to FPC hardware slot 4 on the T1600 router labeled lcc2. The 31 in t3-31/1/0 refers to FPC hardware
slot 7 on the T1600 router labeled lcc3.
Table 3 on page 17 summarizes the FPC numbering for a routing matrix based on a TX Matrix Plus
router.
0 0 through 7
1 8 through 15
2 16 through 23
3 24 through 31
Table 4 on page 17 lists each FPC hardware slot and the corresponding configuration numbers for
LCCs 0 through 3.
LCC 0
Hardware Slots 0 1 2 3 4 5 6 7
18
Table 4: One-to-One FPC Numbering for T1600 Routers in a Routing Matrix (Continued)
Configuration Numbers 0 1 2 3 4 5 6 7
LCC 1
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 8 9 10 11 12 13 14 15
LCC 2
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 16 17 18 19 20 21 22 23
LCC 3
Hardware Slots 0 1 2 3 4 5 6 7
Configuration Numbers 24 25 26 27 28 29 30 31
You configure some PIC properties, such as framing, at the [edit chassis] hierarchy level. Chassis
interface naming varies depending on the routing hardware.
• To configure PIC properties for a standalone router, you must specify the FPC and PIC numbers, as
follows:
[edit chassis]
fpc slot-number {
pic pic-number {
...
19
}
}
• To configure PIC properties for a T640 or T1600 router configured in a routing matrix, you must
specify the LCC, FPC, and PIC numbers, as follows:
[edit chassis]
lcc lcc-number {
fpc slot-number { # Use the hardware FPC slot number
pic pic-number {
...
}
}
}
For the FPC slot in a T640 router in a routing matrix, specify the actual hardware slot number, as
labeled on the T640 router chassis. Do not use the corresponding software FPC configuration
numbers shown in Table 2 on page 15.
For the FPC slot in a T1600 router in a routing matrix, specify the actual hardware slot number, as
labeled on the T1600 router chassis. Do not use the corresponding software FPC configuration
numbers shown in Table 3 on page 17.
For more information about the [edit chassis] hierarchy, see the Junos OS Administration Library for
Routing Devices.
20
This section provides examples of naming interfaces. For an illustration of where slots, PICs, and ports
are located, see Figure 3 on page 20.
For an FPC in slot 1 with two OC3 SONET/SDH PICs in PIC positions 0 and 1, each PIC with two ports
uses the following names:
so-1/0/0.0
so-1/0/1.0
so-1/1/0.0
so-1/1/1.0
21
An OC48 SONET/SDH PIC in slot 1 and in concatenated mode appears as a single FPC with a single
PIC, which has a single port. If this interface has a single logical unit, it has the following name:
so-1/0/0.0
An OC48 SONET/SDH PIC in slot 1 and in channelized mode has a number for each channel. For
example:
so-1/0/0:0
so-1/0/0:1
For an FPC in slot 1 with a Channelized OC12 PIC in PIC position 2, the DS3 channels have the
following names:
t3-1/2/0:0
t3-1/2/0:1
t3-1/2/0:2
...
t3-1/2/0:11
For an FPC in slot 1 with four OC12 ATM PICs (the FPC is fully populated), the four PICs, each with a
single port and a single logical unit, have the following names:
at-1/0/0.0
at-1/1/0.0
at-1/2/0.0
at-1/3/0.0
In a routing matrix on the T640 router labeled lcc1, for an FPC in slot 5 with four SONET OC192 PICs,
the four PICs, each with a single port and a single logical unit, have the following names:
so-13/0/0.0
so-13/1/0.0
so-13/2/0.0
so-13/3/0.0
22
For an FPC in slot 1 with one 4-port ISDN BRI interface card, port 4 has the following name:
br-1/0/4
The first B-channel, the second B-channel, and the control channel have the following names:
bc-1/0/4:1
bc-1/0/4:2
dc-1/0/4:0
SEE ALSO
When you configure an interface, you are effectively specifying the properties for a physical interface
descriptor. In most cases, the physical interface descriptor corresponds to a single physical device and
consists of the following parts:
Each physical interface descriptor can contain one or more logical interface descriptors. These allow you
to map one or more logical (or virtual) interfaces to a single physical device. Creating multiple logical
interfaces is useful for ATM, Frame Relay, and Gigabit Ethernet networks, in which you can associate
multiple virtual circuits, data-link connections, or virtual LANs (VLANs) with a single interface device.
Each logical interface descriptor can have one or more family descriptors to define the protocol family
that is associated with and allowed to run over the logical interface.
• Multilink Frame Relay user-to-network interface network-to-network interface (MLFR UNI NNI)
• (M Series, T Series, and MX Series routers only) Virtual private LAN service (VPLS)
Finally, each family descriptor can have one or more address entries, which associate a network address
with a logical interface and hence with the physical interface.
• You configure the physical interface descriptor by including the interfaces interface-name statement.
• You configure the logical interface descriptor by including the unit statement within the interfaces
interface-name statement or by including the .logical descriptor at the end of the interface name, as
in t3-0/0/0.1, where the logical unit number is 1, as shown in the following examples:
[edit]
user@host# set interfaces t3-0/0/0 unit 1
[edit]
user@host# edit interfaces t3-0/0/0.1
[edit interfaces t3-0/0/0]
user@host# set unit 1
• You configure the family descriptor by including the family statement within the unit statement.
• You configure address entries by including the address statement within the family statement.
• You configure tunnels by including the tunnel statement within the unit statement.
24
NOTE: The address of a logical interface cannot be the same as a tunnel interface’s source or
destination address. If you try to configure a logical interface with a tunnel interface’s address or
vice versa, a commit failure will occur.
IN THIS SECTION
In the physical part of the interface name, a hyphen (-) separates the media type from the FPC number,
and a slash (/) separates the FPC, PIC, and port numbers:
type-fpc/pic/port
SEE ALSO
In the physical part of the interface name, a hyphen (-) separates the media type from the FPC number,
and a slash (/) separates the FPC, PIC, and port numbers:
type-fpc/pic/port
NOTE: Exceptions to the type-fpc/pic/port physical description include the aggregated Ethernet
and aggregated SONET/SDH interfaces, which use the syntax ae number and as number,
respectively.
NOTE: Although the MX Series routers use DPCs, FPCs, MPCs, MICs, and PICs, command syntax
in this book is shown as fpc/pic/port for simplicity.
In the physical part of the interface name, a hyphen (-) separates the media type from the FPC number,
and a slash (/) separates the DPC, FPC or MPC, MIC or PIC, and port numbers:
type-fpc/pic/port
For DPCs, MICs, and the 16-port MPC, the PIC value is a logical grouping of ports and varies on
different platforms.
NOTE:
• The PTX router supports Ethernet type interfaces only. The media type portion of the
physical interface name,type supports the Ethernet interface type only: et.
• In the CLI, all PTX3000 PICs are represented as pic0. For more information, see PTX3000 PIC
Description
In the physical part of the interface name, a hyphen (-) separates the media type (et) from the FPC
number, and a slash (/) separates the FPC, PIC, and port numbers:
type-fpc/pic/port
To display a configuration, use either the show command in configuration mode or the show
configuration top-level command. Interfaces are listed in numerical order, from lowest to highest slot
number, then from lowest to highest PIC number, and finally from lowest to highest port number.
extended-vlan-vpls—Extended VLAN
virtual private LAN service
flexible-ethernet-services—Allows
per-unit Ethernet encapsulation
configuration
ethernet-vpls—Ethernet virtual
private LAN service
atm-snap—ATM LLC/SNAP
encapsulation
atm-tcc-vc-mux—ATM VC for a
translational cross-connect
atm-vc-mux—ATM VC multiplexing
ether-over-atm-llc—Ethernet over
ATM (LLC/SNAP) encapsulation
29
atm-snap—ATM LLC/SNAP
encapsulation
atm-tcc-vc-mux—ATM VC for a
translational cross-connect
atm-vc-mux—ATM VC multiplexing
ether-over-atm-llc—Ethernet over
ATM (LLC/SNAP) encapsulation
ether-vpls-over-atm-llc—Ethernet
VPLS over ATM (bridging)
encapsulation
bcm—Gigabit NA NA
Ethernet internal
interfaces
30
br—Integrated NA NA
Services Digital
Network (ISDN)
interface
extended-frame-relay-ccc—Any
Frame Relay DLCI for a cross-connect
extended-frame-relay-tcc—Any
Frame Relay DLCI for a translational
cross-connect
flexible-frame-relay—Multiple Frame
Relay encapsulations
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
multilink-frame-relay-uni-nni—
Multilink Frame Relay UNI NNI
(FRF.16) encapsulation
dsc—Discard interface NA NA
33
extended-frame-relay-ccc—Any
Frame Relay DLCI for a cross-connect
extended-frame-relay-tcc—Any
Frame Relay DLCI for a translational
cross-connect
flexible-frame-relay—Multiple Frame
Relay encapsulations
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
multilink-frame-relay-uni-nni—
Multilink Frame Relay UNI NNI
(FRF.16) encapsulation
extended-frame-relay-ccc—Any
Frame Relay DLCI for a cross-connect
extended-frame-relay-tcc—Any
Frame Relay DLCI for a translational
cross-connect
flexible-frame-relay—Multiple Frame
Relay encapsulations
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
em—Management NA NA
and internal Ethernet
interfaces
extended-vlan-ccc—Nonstandard
TPID tagging for a cross-connect
extended-vlan-tcc—802.1Q tagging
for a translational cross-connect
extended-vlan-vpls—Extended VLAN
virtual private LAN service
fxp—Management NA NA
and internal Ethernet
interfaces
37
extended-vlan-tcc—802.1Q tagging
for a translational cross-connect
extended-vlan-vpls—Extended VLAN
virtual private LAN service
flexible-ethernet-services—Allows
per-unit Ethernet encapsulation
configuration
ixgbe—10-Gigabit NA NA
Ethernet internal
interfaces
lo—Loopback NA NA
interface; the Junos
OS automatically
configures one
loopback interface
(lo0)
38
multilink-ppp—Multilink PPP
multilink-ppp—Multilink PPP
ethernet-ccc—Ethernet cross-connect
frame-relay—Frame Relay
encapsulation
vlan—VLAN service
ml—Multilink NA multilink-frame-relay-end-to-end—
interface (including Multilink Frame Relay end-to-end
Multilink Frame Relay (FRF.15)
and MLPPP)
multilink-ppp—Multilink PPP
39
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
flexible-frame-relay—Multiple Frame
Relay encapsulations
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
extended-frame-relay-ccc—Any
Frame Relay DLCI for a cross-connect
extended-frame-relay-tcc—Any
Frame Relay DLCI for a translational
cross-connect
flexible-frame-relay—Multiple Frame
Relay encapsulations
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
multilink-frame-relay-uni-nni—
Multilink Frame Relay UNI NNI
(FRF.16) encapsulation
extended-frame-relay-ccc—Any
Frame Relay DLCI for a cross-connect
extended-frame-relay-tcc—Any
Frame Relay DLCI for a translational
cross-connect
flexible-frame-relay—Multiple Frame
Relay encapsulations
frame-relay—Frame Relay
encapsulation
frame-relay-port-ccc—Frame Relay
port encapsulation for a cross-connect
Controller-level NA NA
channelized IQ
interfaces (cau4,
coc1, coc3, coc12,
cstm1, ct1, ct3, ce1)
Services interfaces NA NA
(cp, gr, ip, mo, vt, es,
mo, rsp, sp)
Unconfigurable, NA NA
internally generated
interfaces (gre, ipip,
learning-chip (lc), lsi,
tap, mt, mtun, pd, pe,
pimd, pime)
NOTE: You can configure GRE interfaces (gre-x/y/z) only for GMPLS control channels. GRE
interfaces are not supported or configurable for other applications. For more information about
GMPLS, see the Junos OS MPLS Applications User Guide.
The M Series, MX Series, and T Series routers contain slots for installing Flexible PIC Concentrator [FPC]
or Dense Port Concentrator [DPC] (for MX Series routers) or Modular Port Concentrator [MPC] (for MX
Series routers). Physical Interface Card [PIC] can be installed in FPCs. Modular Interface Card [MIC] can
be inserted into MPCs.
The number of PICs that can be installed varies by router and type of FPC. The PICs provide the actual
physical interfaces to the network. The MX Series routers contain slots for installing either DPC boards
that provide the physical interfaces to the network or for installing FPCs in which PICs can be installed.
45
You can insert any DPC or FPC into any slot that supports them in the appropriate router. Typically, you
can place any combination of PICs, compatible with your router, in any location on an FPC. (You are
limited by the total FPC bandwidth, and by the fact that some PICs physically require two or four of the
PIC locations on the FPC. In some cases, power limitations or microcode limitations may also apply.) To
determine DPC and PIC compatibility, see the see your router’s Interface Module Reference.
You can insert MPC into any slot that supports them in the appropriate router. You can install up to two
MICs of different media types in the same MPC as long as the MPC supports those MICs.
These physical interfaces are transient interfaces of the router. They are referred to as transient because
you can hot-swap a DPC or FPC or MPC and its PICs or MICs at any time.
You must configure each transient interface based on the slot in which the FPC or DPC or MPC is
installed, the location in which the PIC or MIC is installed, and for multiple port PICs or MICs , the port
to which you are connecting.
You can configure the interfaces on PICs or MICs that are already installed in the router as well as
interfaces on PICs or MICs that you plan to install later. The Junos OS detects which interfaces are
actually present, so when the software activates its configuration, it activates only the present interfaces
and retains the configuration information for the interfaces that are not present. When the Junos OS
detects that an FPC containing PICs or MPC containing MICs has been inserted into the router, the
software activates the configuration for those interfaces.
Services interfaces enable you to incrementally add services to your network. The Junos OS supports
the following services PICs:
• Adaptive Services (AS) PICs—Allow you to provide multiple services on a single PIC by configuring a
set of services and applications. The AS PICs offer a special range of services you configure in one or
more service sets.
• ES PIC—Provides a security suite for the IP version 4 (IPv4) and IP version 6 (IPv6) network layers.
The suite provides functionality such as authentication of origin, data integrity, confidentiality, replay
protection, and nonrepudiation of source. It also defines mechanisms for key generation and
exchange, management of security associations, and support for digital certificates.
• Monitoring Services PICs—Enable you to monitor traffic flow and export the monitored traffic.
Monitoring traffic allows you to gather and export detailed information about IPv4 traffic flows
between source and destination nodes in your network; sample all incoming IPv4 traffic on the
monitoring interface and present the data in cflowd record format; perform discard accounting on an
incoming traffic flow; encrypt or tunnel outgoing cflowd records, intercepted IPv4 traffic, or both;
and direct filtered traffic to different packet analyzers and present the data in its original format. On a
46
Monitoring Services II PIC, you can configure either monitoring interfaces or collector interfaces. A
collector interface allows you to combine multiple cflowd records into a compressed ASCII data file
and export the file to an FTP server.
• Multilink Services, MultiServices, Link Services, and Voice Services PICs—Enable you to split,
recombine, and sequence datagrams across multiple logical data links. The goal of multilink operation
is to coordinate multiple independent links between a fixed pair of systems, providing a virtual link
with greater bandwidth than any of the members.
• Tunnel Services PIC—By encapsulating arbitrary packets inside a transport protocol, tunneling
provides a private, secure path through an otherwise public network. Tunnels connect discontinuous
subnetworks and enable encryption interfaces, virtual private networks (VPNs), and Multiprotocol
Label Switching (MPLS).
• On M Series and T Series routers, logical tunnel interfaces allow you to connect logical systems,
virtual routers, or VPN instances. For more information about VPNs, see the Junos OS VPNs Library
for Routing Devices. For more information about configuring tunnels, see the Junos OS Services
Interfaces Library for Routing Devices.
IN THIS SECTION
• Automatic protection switching (APS) on SONET/SDH and ATM links are supported using the
container infrastructure.
• APS parameters are auto-copied from the container interface to the member links.
47
NOTE: Paired groups and true unidirectional APS are not currently supported.
For more information on SONET/SDH configuration, see Configuring Container Interfaces for
APS on SONET Links.
Traditional APS is configured on two independent physical SONET/SDH interfaces: one configured as
the working circuit and the other as the protect circuit (see Figure 4 on page 47). The circuit, named
Circuit X in the figure, is the link between the two SONET interfaces.
Traditional APS uses routing protocols that run on each individual SONET/SDH interface (since circuit is
an abstract construct, instead of being an actual interface). When the working link goes down, the APS
infrastructure brings up the protect link and its underlying logical interfaces, and brings down the
working link and its underlying logical interfaces, causing the routing protocols to reconverge. This
consumes time and leads to traffic loss even though the APS infrastructure has performed the switch
quickly.
48
To solve this problem, the Junos OS provides a soft interface construct called a container interface (see
Figure 5 on page 48).
The container interface allows routing protocols to run on the logical interfaces associated with a virtual
container interface instead of on the physical SONET/SDH and ATM interfaces. When APS switches the
underlying physical link based on a fault condition, the container interface remains up, and the logical
interface on the container interface does not flap. The routing protocols remain unaware of the APS
switching.
With the container interface, APS is configured on the container interface itself. Individual member
SONET/SDH and ATM links are either marked as primary (corresponding to the working circuit) or
standby (corresponding to the protect circuit) in the configuration. No circuit or group name is specified
in the container interface model; physical SONET/SDH and ATM links are put in an APS group by linking
them to a single container interface. APS parameters are specified at the container interface level, and
are propagated to the individual SONET/SDH and ATM links by the APS daemon.
Typical applications require copying APS parameters from the working circuit to the protect circuit, since
most of the parameters must be the same for both circuits. This is automatically done in the container
49
interface. APS parameters are specified only once under the container physical interface configuration,
and are internally copied over to the individual physical SONET/SDH and ATM links.
SEE ALSO
Within a router or packet transport router, internal Ethernet interfaces provide communication between
the Routing Engine and the Packet Forwarding Engines. The Junos OS automatically configures internal
Ethernet interfaces when the Junos OS boots. The Junos OS boots the packet-forwarding component
hardware. When these components are running, the Control Board uses the internal Ethernet interface
to transmit hardware status information to the Routing Engine. Information transmitted includes the
internal router temperature, the condition of the fans, whether an FPC has been removed or inserted,
and information from the LCD on thecraft interface.
To determine the supported internal Ethernet interfaces for your router, see Supported Routing Engines
by Router.
NOTE: Do not modify or remove the configuration for the internal Ethernet interface that the
Junos OS automatically configures. If you do, the router or packet transport routerwill stop
functioning.
• M Series, and MX Series routers and T Series routers—The Junos OS creates the internal Ethernet
interface. The internal Ethernet interface connects the Routing Engine re0 to the Packet Forwarding
Engines.
If the router has redundant Routing Engines, another internal Ethernet interface is created on each
Routing Engine (re0 and re1) in order to support fault tolerance, two physical links between re0 and
re1 connect the independent control planes. If one of the links fails, both Routing Engines can use
the other link for IP communication.
• TX Matrix Plus routers—On a TX Matrix Plus router, the Routing Engine and Control Board function
as a unit, or host subsystem. For each host subsystem in the router, the Junos OS automatically
creates two internal Ethernet interfaces, ixgbe0 and ixgbe1.
50
The ixgbe0 and ixgbe1 interfaces connect the TX Matrix Plus Routing Engine to the Routing Engines
of every line-card chassis (LCC) configured in the routing matrix.
The TX Matrix Plus Routing Engine connects to a high-speed switch through a 10-Gbps link within
the host subsystem. The switch provides a 1-Gbps link to each T1600 Routing Engine. The 1-Gbps
links are provided through the UTP Category 5 Ethernet cable connections between the TXP-CBs
and the LCC-CBs in the LCCs.
• The TX Matrix Plus Routing Engine connects to a high-speed switch in the local Control Board
through a 10-Gbps link within the host subsystem.
• The Gigabit Ethernet switch connects the Control Board to the remote Routing Engines of every
LCC configured in the routing matrix.
If a TX Matrix Plus router contains redundant host subsystems, the independent control planes are
connected by two physical links between the two 10-Gigabit Ethernet ports on their respective
Routing Engines.
• The primary link to the remote Routing Engine is at the ixgbe0 interface; the 10-Gigabit Ethernet
switch on the local Control Board also connects the Routing Engine to the 10-Gigabit Ethernet
port accessed by the ixgbe1 interface on the remote Routing Engine.
• The alternate link to the remote Routing Engine is the 10-Gigabit Ethernet port at the ixgbe1
interface. This second port connects the Routing Engine to the 10-Gigabit Ethernet switch on the
remote Control Board, which connects to the 10-Gigabit Ethernet port at the ixgbe0 interface on
the remote Routing Engine.
If one of the two links between the host subsystems fails, both Routing Engines can use the other
link for IP communication.
• LCC in a routing matrix—On an LCC configured in a routing matrix, the Routing Engine and Control
Board function as a unit, or host subsystem. For each host subsystem in the LCC, the Junos OS
automatically creates two internal Ethernet interfaces, bcm0 and em1, for the two Gigabit Ethernet
ports on the Routing Engine.
The bcm0 interface connects the Routing Engine in each LCCto the Routing Engines of every other
LCC configured in the routing matrix.
• The Routing Engine connects to a Gigabit Ethernet switch on the local Control Board through a.
• The switch connects the Control Board to the remote Routing Engines of every other LCC
configured in the routing matrix.
If an LCC in a routing matrix contains redundant host subsystems, the independent control planes are
connected by two physical links between the Gigabit Ethernet ports on their respective Routing
Engines.
51
• The primary link to the remote Routing Engine is at the bcm0 interface; the Gigabit Ethernet
switch on the local Control Board also connects the Routing Engine to the Gigabit Ethernet port
accessed by the em1 interface on the remote Routing Engine.
• The alternate link to the remote Routing Engine is at the em1 interface. This second port
connects the Routing Engine to the Gigabit Ethernet switch on the remote Control Board, which
connects to the Gigabit Ethernet port at the bcm0 interface on the remote Routing Engine.
If one of the two links between the host subsystems fails, both Routing Engines can use the other
link for IP communication.
Each router also has two serial ports, labeled console and auxiliary, for connecting tty type terminals to
the router using standard PC-type tty cables. Although these ports are not network interfaces, they do
provide access to the router.
SEE ALSO
IN THIS SECTION
The ACX Series routers support time-division multiplexing (TDM) T1 and E1 interfaces and Ethernet (1
GbE copper, 1GbE, 10 GbE, and 40 GbE fiber) interfaces to support both the legacy and evolution needs
of the mobile network. Support for Power over Ethernet (PoE+) at 65 watts per port mitigates the need
for additional electrical cabling for microwaves or other access interfaces.
NOTE: ACX5048 and ACX5096 routers do not support T1 or E1 ports and Inverse
Multiplexing for ATM (IMA).
• The ACX1000 router contains eight Gigabit Ethernet ports. The ACX1000 router also supports
either four RJ45 (Cu) ports or installation of four Gigabit Ethernet small form-factor pluggable
(SFP) transceivers.
• The ACX2000 router contains 16 Gigabit Ethernet ports and two PoE ports. The ACX2000 router
also supports installation of two Gigabit Ethernet SFP transceivers and two 10-Gigabit Ethernet
SFP+ transceivers.
• The ACX5448 router is a 10-Gigabit Ethernet enhanced small form-factor pluggable (SFP+) top-
of-rack router with 48 SFP+ ports, and four 100-Gigabit Ethernet QSFP28 ports. Each SFP+ port
can operate as a native 10-Gigabit Ethernet port, or as a 1-Gigabit Ethernet port when 1-Gigabit
optics are inserted. The 48 ports on ACX5448 router can be configured as 1GE or 10GE modes
and these ports are represented by xe interface type. The PIC 1 of FPC 0 has 4x100GE ports,
where each port can be channelized as 1x100GE, or 1x40GE, or 4x25GE modes and these ports
are represented by et interface type. By default, the port speed in PIC 1 is 100GE.
NOTE: 40GbE is supported only on ACX5048, ACX5096, and ACX5448 routers. ACX5448
router support 40GbE channeling to 10GbE.
On the ACX Series routers, existing Junos OS TDM features are supported without changes to
statements or functionality. The following key TDM features for T1 (ct1) interfaces and E1 (ce1)
interfaces are supported:
53
• T1 and E1 channelization
• T1 and E1 encapsulation
T1 and E1 mode selection is at the PIC level. To set the T1 or E1 mode at the PIC level, include the
framing statement with the t1 or e1 option at the [chassis fpc slot-number pic slot-number] hierarchy
level. All ports can be T1 or E1. Mixing T1s and E1s is not supported.
The ACX2000 router has a T1 or E1 building-integrated timing supply (BITS) interface that you can
connect to an external clock. After you connect the interface to the external clock, you can configure
the BITS interface so that the BITS interface becomes a candidate source for chassis synchronization to
the external clock. The frequency of the BITS interface depends on the Synchronous Ethernet
equipment client clock (EEC) selected with the network-option statement at the [edit chassis
synchronization] hierarchy level.
NOTE: The ACX1000 router does not support the BITS interface.
Defined by the ATM Forum, IMA specification version 1.1 is a standardized technology used to
transport ATM traffic over a bundle of T1 and E1 interfaces, also known as an IMA group. Up to eight
links per bundle and 16 bundles per PIC are supported. The following key IMA features are supported:
• ATM CoS
• Denied packets counter in the output for the show interfaces at-fpc/pic/port extensive command
On the ACX Series routers, existing Junos OS Ethernet features are supported without changes to
statements or functionality. The following key features are supported:
• Media type specification (ACX1000 router with Gigabit Ethernet SFP and RJ45 interfaces)
54
• Flow control
NOTE: The ACX Series router does not support flow control based on PAUSE frames.
• Loopback
The Gigabit Ethernet ports on the router have the capacity to work as a 1 or 10-Gigabit Ethernet
interface, depending on the type of small form-factor pluggable (SFP) transceiver inserted. When you
insert an SFP+ transceiver, the interface works at the 10-Gigabit speed. When you insert an SFP
transceiver, the interface works at the 1-Gigabit speed. Configuration is not required because the speed
is determined automatically based on the type of inserted SFP transceiver. The dual-speed interface is
automatically created with the xe prefix, for example, xe-4/0/0.
The same configuration statements are used for both speeds and CoS parameters are scaled as a
percentage of the port speed. To configure a dual-speed Gigabit Ethernet interface, include the interface
xe-fpc/pic/port statement at the [edit interfaces] hierarchy level. To display the interface speed and
other details, issue the show interfaces command.
NOTE: You need to use industrial grade of SFP below 0dC for ACX 1100 and ACX 2100 boards.
SEE ALSO
For TX Matrix Plus Routers and for T1600 Core Routers with RE-C1800 configured in a routing matrix,
the Junos OS automatically creates the router’s management Ethernet interface, em0. To use em0 as a
management port, you must configure its logical port, em0.0, with a valid IP address.
When you enter the show interfaces command on a TX Matrix Plus router, the management Ethernet
interfaces (and logical interfaces) are displayed:
NOTE: The Routing Engines in the TX Matrix Plus router and in the T1600 routers with RE-
C1800 configured in a routing matrix do not support the management Ethernet interface fxp0, or
the internal Ethernet interfaces fxp1 or fxp2.
SEE ALSO
Displaying Internal Ethernet Interfaces for a Routing Matrix with a TX Matrix Plus Router
show interfaces (M Series, MX Series, T Series Routers, and PTX Series Management and Internal
Ethernet)
On a T1600 router configured in a routing matrix, the Routing Engine (RE-TXP-LCC) and Control Board
(LCC-CB) function as a unit, or host subsystem. For each host subsystem in the router, the Junos OS
56
automatically creates two internal Ethernet interfaces, bcm0 and em1, for the two Gigabit Ethernet
ports on the Routing Engine.
SEE ALSO
Displaying Internal Ethernet Interfaces for a Routing Matrix with a TX Matrix Plus Router
show interfaces (M Series, MX Series, T Series Routers, and PTX Series Management and Internal
Ethernet)
IN THIS SECTION
This topic discusses on how to configure various physical interface properties with examples.
The software driver for each network media type sets reasonable default values for general interface
properties, such as the interface’s maximum transmission unit (MTU) size, receive and transmit leaky
bucket properties, link operational mode, and clock source.
To modify any of the default general interface properties, include the appropriate statements at the [edit
interfaces interface-name] hierarchy level:
The media maximum transmission unit (MTU) is the largest data unit that can be forwarded without
fragmentation.
The default media MTU size used on a physical interface depends on the encapsulation used on that
interface. In some cases, the default IP Protocol MTU depends on whether the protocol used is IP
version 4 (IPv4) or International Organization for Standardization (ISO).
When you are configuring point-to-point connections, the MTU sizes on both sides of the connections
must be the same. Also, when you are configuring point-to-multipoint connections, all interfaces in the
subnet must use the same MTU size.
The actual frames transmitted also contain cyclic redundancy check (CRC) bits, which are not part of the
media MTU. For example, the media MTU for a Gigabit Ethernet Version 2 interface is specified as 1514
bytes, but the largest possible frame size is actually 1518 bytes; you need to consider the extra bits in
calculations of MTUs for interoperability.
The physical MTU for Ethernet interfaces does not include the 4-byte frame check sequence (FCS) field
of the Ethernet frame.
A SONET/SDH interface operating in concatenated mode has a “c” added to the rate descriptor. For
example, a concatenated OC48 interface is referred to as OC48c.
If you do not configure an MPLS MTU, the Junos OS derives the MPLS MTU from the physical interface
MTU. From this value, the software subtracts the encapsulation-specific overhead and space for the
maximum number of labels that might be pushed in the Packet Forwarding Engine. Currently, the
software provides for three labels of four bytes each, for a total of 12 bytes.
In other words, the formula used to determine the MPLS MTU is the following:
If you configure an MTU value by including the mtu statement at the [edit interfaces interface-name
unit logical-unit-number family mpls] hierarchy level, the configured value is used. Junos OS Release
16.2R1.6 and later releases do not support family mpls MTU.
Because tunnel services interfaces are considered logical interfaces, you cannot configure the MTU
setting for the physical interface. This means you cannot include the mtu statement at the [edit
interfaces interface-name] hierarchy level for the following interface types: generic routing
encapsulation (gr-), IP-IP (ip-), loopback (lo-), link services (ls-), multilink services (ml-), and multicast (pe-,
pd-). You can, however, configure the protocol MTU on all tunnel interfaces except virtual tunnel (vt)
interfaces. Starting in Junos OS Release 17.1R3, you cannot configure the maximum transmission unit
(MTU) size for vt interfaces because the mtu bytes option is deprecated for vt interfaces. Junos OS sets
the MTU size for vt interfaces by default to unlimited.
59
IN THIS SECTION
| 59
The media maximum transmission unit (MTU) is the largest data unit that can be forwarded without
fragmentation.
If you change the size of the media MTU, you must ensure that the size is equal to or greater than the
sum of the protocol MTU and the encapsulation overhead.
Media MTU Sizes by Interface Type for M5 and M7i Routers with CFEB, M10 and M10i
Routers with CFEB, and M20 and M40 Routers
Table 6: Media MTU Sizes by Interface Type for M5 and M7i Routers with CFEB, M10 and M10i
Routers with CFEB, and M20 and M40 Routers
Table 6: Media MTU Sizes by Interface Type for M5 and M7i Routers with CFEB, M10 and M10i
Routers with CFEB, and M20 and M40 Routers (Continued)
1532 (8-port)
1532 (12-port)
9192 (4-port)
Gigabit Ethernet 1514 9192 (1- or 2-port) 1500 (IPv4), 1497 (ISO)
9192 (4-port)
Table 7: Media MTU Sizes by Interface Type for M40e Routers (Continued)
Table 8: Media MTU Sizes by Interface Type for M160 Routers (Continued)
Gigabit Ethernet 1514 9192 (1- or 2-port) 1500 (IPv4), 1497 (ISO)
4500 (4-port)
4500 (4-port)
64
Media MTU Sizes by Interface Type for M7i Routers with CFEB-E, M10i Routers with CFEB-
E, and M320 and M120 Routers
Table 9: Media MTU Sizes by Interface Type for M7i Routers with CFEB-E, M10i Routers with CFEB-E,
and M320 and M120 Routers
Table 9: Media MTU Sizes by Interface Type for M7i Routers with CFEB-E, M10i Routers with CFEB-E,
and M320 and M120 Routers (Continued)
(excluding M120)
Table 10: Media MTU Sizes by Interface Type for MX Series Routers
Table 10: Media MTU Sizes by Interface Type for MX Series Routers (Continued)
Table 10: Media MTU Sizes by Interface Type for MX Series Routers (Continued)
NOTE: Starting in Junos OS Release 16.1R1, the MTU size for a media or protocol is increased from
9192 to 9500 for Ethernet interfaces on the following MX Series MPCs:
• MPC1
• MPC2
• MPC2E
• MPC3E
• MPC4E
• MPC5E
• MPC6E
NOTE: Starting in Junos OS Release 16.1R1, the MTU size for a media or protocol is increased
from 9192 to 9500 for Ethernet interfaces on the following MX Series MPCs:
• MPC1
• MPC2
• MPC2E
• MPC3E
• MPC4E
• MPC5E
67
• MPC6E
Starting in Junos OS Release 16.1R1, the MTU size has been increased to 16,000 bytes for certain
MPCs. The MTU size for the following MPCs has been increased to 16000 bytes:
• MPC8E (MX2K-MPC8E)
• MPC9E (MX2K-MPC9E)
Starting in Junos OS Release 17.3R1, the MTU size for MX10003 MPC is 16,000 bytes.
Starting in Junos OS Release 17.4R1, the MTU size for MX204 is 16,000 bytes.
In all Junos OS releases, the maximum MTU size for MX5, MX10, MX40, and MX80 routers is 9192
bytes.
In all Junos OS releases, the maximum MTU size for MPC2E-NG and MPC3E-NG is 9500 bytes.
Starting in Junos OS Release 19.1R1, the maximum configurable MTU size for MPC10E-15C-MRATE is
16,000 bytes.
Starting in Junos OS Release 19.2R1, the maximum configurable MTU size for MPC10E-10C-MRATE is
16,000 bytes.
Starting in Junos OS Release 19.3R2, the maximum configurable MTU size for MX2K-MPC11E is 16,000
bytes.
Table 11: Media MTU Sizes by Interface Type for T320 Routers
Table 11: Media MTU Sizes by Interface Type for T320 Routers (Continued)
Table 12: Media MTU Sizes by Interface Type for T640 Platforms
Table 12: Media MTU Sizes by Interface Type for T640 Platforms (Continued)
Media MTU Sizes by Interface Type for EX Series Switches and ACX Series Routers
Table 13: Media MTU Sizes by Interface Type for EX Series Switches
Table 14: Media MTU Sizes by Interface Type for ACX Series Routers
NOTE: On ACX Series routers, you can configure the protocol MTU by including the mtu
statement at the [edit interfaces interface-name unit logical-unit-number family inet] or [edit
interfaces interface-name unit logical-unit-number family inet6] hierarchy level.
• If you configure the protocol MTU at any of these hierarchy levels, the configured value is
applied to all families that are configured on the logical interface.
• If you are configuring the protocol MTU for both inet and inet6 families on the same logical
interface, you must configure the same value for both the families. It is not recommended to
configure different MTU size values for inet and inet6 families that are configured on the
same logical interface.
Media MTU Sizes by Interface Type for PTX Series Packet Transport Routers
Table 15: Media MTU Sizes by Interface Type for PTX Series Packet Transport Routers
Table 16: Media MTU Sizes by Interface Type for JRR200 Series Routers
The media maximum transmission unit (MTU) is the largest data unit that can be forwarded without
fragmentation. The default media MTU size used on a physical interface depends on the encapsulation
being used on that interface. For a listing of MTU sizes for each encapsulation type, see Media MTU
Sizes by Interface Type.
[edit ]
user@host# [edit interfaces interface-name]
• If you change the size of the media MTU, you must ensure that the size is equal to or greater than
the sum of the protocol MTU and the encapsulation overhead. You configure the protocol MTU by
including the mtu statement at the following hierarchy levels:
NOTE: Changing the media MTU or protocol MTU causes an interface to be deleted and added
again.
• If you configure an MTU value by including the mtu statement at the [edit interfaces
interface-name unit logical-unit-number family mpls] hierarchy level, the configured value is
used.
IN THIS SECTION
The default media MTU size used on a physical interface depends on the encapsulation used on that
interface. In some cases, the default IP Protocol MTU depends on whether the protocol used is IP
version 4 (IPv4) or International Organization for Standardization (ISO).
When you are configuring point-to-point connections, the MTU sizes on both sides of the connections
must be the same. Also, when you are configuring point-to-multipoint connections, all interfaces in the
subnet must use the same MTU size.
NOTE: The actual frames transmitted also contain cyclic redundancy check (CRC) bits, which are
not part of the media MTU. For example, the media MTU for a Gigabit Ethernet Version 2
73
interface is specified as 1514 bytes, but the largest possible frame size is actually 1518 bytes;
you need to consider the extra bits in calculations of MTUs for interoperability.
The physical MTU for Ethernet interfaces does not include the 4-byte frame check sequence
(FCS) field of the Ethernet frame.
If you do not configure an MPLS MTU, the Junos OS derives the MPLS MTU from the physical
interface MTU. From this value, the software subtracts the encapsulation-specific overhead and
space for the maximum number of labels that might be pushed in the Packet Forwarding Engine.
Currently, the software provides for three labels of four bytes each, for a total of 12 bytes.
In other words, the formula used to determine the MPLS MTU is the following:
If you configure an MTU value by including the mtu statement at the [edit interfaces interface-
name unit logical-unit-number family mpls] hierarchy level, the configured value is used. Junos
OS Release 16.2R1.6 and later releases do not support family mpls MTU.
To modify the default media MTU size for a physical interface, include the mtu statement at the [edit
interfaces interface-name] hierarchy level:
If you change the size of the media MTU, you must ensure that the size is equal to or greater than the
sum of the protocol MTU and the encapsulation overhead.
NOTE: Changing the media MTU or protocol MTU causes an interface to be deleted and added
again.
You configure the protocol MTU by including the mtu statement at the following hierarchy levels:
If you configure the protocol MTU at any of these hierarchy levels, the configured value is applied to all
families that are configured on the logical interface.
74
NOTE: If you are configuring the protocol MTU for both inet and inet6 families on the same
logical interface, you must configure the same value for both the families. It is not recommended
to configure different MTU size values for inet and inet6 families that are configured on the same
logical interface.
If you change the size of the media MTU, you must ensure that the size is equal to or greater than the
sum of the protocol MTU and the encapsulation overhead. The following table lists the interface
encapsulation and corresponding encapsulation overhead.
802.1Q/Ethernet 802.3 21
802.1Q/Ethernet version 2 18
Cisco HDLC 4
Ethernet 802.3 17
Ethernet SNAP 22
Ethernet version 2 14
Frame Relay 4
PPP 4
VLAN CCC 4
VLAN VPLS 4
VLAN TCC 22
You can include a text description of each physical interface in the configuration file. Any descriptive
text you include is displayed in the output of the show interfaces commands, and is also exposed in the
ifAlias Management Information Base (MIB) object. It has no impact on the interface’s configuration.
76
To add a text description, include the description statement at the [edit interfaces interface-name]
hierarchy level:
[edit]
user@host# set interfaces interface-name description text
For example:
[edit]
user@host# set interfaces fe-0/0/1 description "Backbone connection to PHL01"
The description can be a single line of text. If the text contains spaces, enclose it in quotation marks.
NOTE: You can configure the extended DHCP relay to include the interface description in the
option 82 Agent Circuit ID suboption. See Using DHCP Relay Agent Option 82 Information in
the Junos OS Subscriber Management and Services Library .
For information about describing logical units, see Adding a Logical Unit Description to the
Configuration.
To display the description from the router or switch CLI, use the show interfaces command:
To display the interface description from the interfaces MIB, use the snmpwalk command from a server.
To isolate information for a specific interface, search for the interface index shown in the SNMP ifIndex
field of the show interfaces command output. The ifAlias object is in ifXTable.
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifOutBroadcastPkts.23 = Counter32: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInUcastPkts.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInMulticastPkts.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInBroadcastPkts.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.23 = Counter64: 42
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutUcastPkts.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutMulticastPkts.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutBroadcastPkts.23 = Counter64: 0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifLinkUpDownTrapEnable.23 = enabled(1)
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHighSpeed.23 = Gauge32: 100
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifPromiscuousMode.23 = false(2)
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifConnectorPresent.23 = true(1)
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifAlias.23 = Backbone connection to PHL01
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifCounterDiscontinuityTime.23 = Timeticks:
(0) 0:00:00.00
SEE ALSO
IN THIS SECTION
NOTE: This task uses Junos OS for EX Series switches that does not support the Enhanced Layer
2 Software (ELS) configuration style. If your switch runs software that supports ELS, see
Configuring Interface Ranges for EX Series Switches with ELS. For ELS details, see Using the
Enhanced Layer 2 Software CLI.
The Junos OS allows you to group a range of identical interfaces into an interface range. You first specify
the group of identical interfaces in the interface range. Then you can apply a common configuration to
the specified interface range, reducing the number of configuration statements required and saving time
while producing a compact configuration.
The interface-range statement accepts only physical networking interface names in its definition. The
following interface types are supported and example CLI descriptors are shown:
• ATM—at-fpc/pic/port
• Channelized—(coc | cstm)n-fpc/pic/port
• DPC—xe-fpc/pic/port
• E1/E3—(e1 | e3)-fpc/pic/port
• Ethernet—(xe | ge | fe)-fpc/pic/port
• ISDN—isdn-fpc/pic/port
• Serial—se-fpc/pic/port
• SONET/SDH—so-fpc/pic/port
• T1/T3—(t1 | t3)-fpc/pic/port
Interfaces can be grouped either as a range of interfaces or using a number range under the interface-
range statement definition.
To specify a member range, use the member-range statement at the [edit interfaces interface-range
name] hierarchy level.
To specify interfaces in lexical order, use the member-range start-range to end-range statement.
79
CAUTION: The wildcard * in a member statement does not take into account the
interface numbers supported by a specific interface type. Irrespective of the interface
type, * includes interface numbers ranging from 0 through 47 to the interface group.
Therefore, use * in a member statement with caution.
• [num1, num2, num3]—Numbers num1, num2, and num3 specify multiple specific interfaces.
To specify one or multiple members, use the member statement at the [edit interfaces interface-range
name] hierarchy level.
To specify the list of interface range members individually or for multiple interfaces using regex, use the
member list of interface names statement.
member ge-0/0/0;
member ge-0/*/*
member ge-0/[1-10]/0;
member ge-0/[1,2,3]/3;
Regex or wildcards are not supported for interface-type prefixes. For example, prefixes ge, fe, and xe
must be mentioned explicitly.
An interface-range definition can contain both member and member-range statements within it. There
is no maximum limit on the number of member or member-range statements within an interface-range.
However, at least one member or member-range statement must exist within an interface-range
definition.
Configuration common to an interface range can be added as a part of the interface-range definition, as
follows:
[edit]
interfaces {
+ interface-range foo {
+ member-range ge-1/0/0 to ge-4/0/40;
+ member ge-0/1/1;
+ member ge-5/[1-10]/*;
}
}
These defined interface ranges can be used in other configuration hierarchies, in places where an
interface node exists.
protocols {
dot1x {
authenticator {
interface foo{
retries 1;
}
}
}
}
81
foo should be an interface-range defined at the [interfaces] hierarchy level. In the above example, the
interface node can accept both individual interfaces and interface ranges.
TIP: To view an interface range in expanded configuration, use the (show | display inheritance)
command. For more information, see the Junos OS CLI User Guide.
By default, interface-range is not available to configure in the CLI where the interface statement is
available. The following locations are supported; however, some of the hierarchies shown in this list are
product specific:
SEE ALSO
[edit]
interfaces {
interface-range range-1 {
member-range ge-0/0/0 to ge-4/0/20;
member ge-10/1/1;
member ge-5/[0-5]/*;
}
}
84
For the member-range statement, all possible interfaces between start-range and end-range are
considered in expanding the members. For example, the following member-range statement:
expands to:
ge-5/[0-5]/*
expands to:
ge-5/1/[2,3,6,10]
85
expands to:
ge-5/1/2
ge-5/1/3
ge-5/1/6
ge-5/1/10
Foreground interface configuration takes priority compared to configuration inherited by the interface
through the interface-range.
interfaces {
interface-range range-1 {
member-range ge-1/0/0/ to ge-10/0/47;
mtu 256;
}
ge-1/0/1 {
mtu 1024;
}
}
In the preceding example, interface ge-1/0/1 will have an MTU value of 1024.
This can be verified with output of the show interfaces | display inheritance command, as follows:
ge-1/0/1 {
mtu 1024;
}
##
## 'ge-1/0/2' was expanded from interface-range 'range-1'
##
ge-1/0/2 {
##
## '256' was expanded from interface-range 'range-1'
##
mtu 256;
}
.........
.........
##
## 'ge-10/0/47' was expanded from interface-range 'range-1'
##
ge-10/0/47 {
##
## '256' was expanded from interface-range 'range-1'
##
mtu 256;
}
groups {
global {
interfaces {
<*> {
hold-time up 10;
}
}
}
}
apply-groups [global];
interfaces {
87
interface-range range-1 {
member-range ge-1/0/0 to ge-10/0/47;
mtu 256;
}
}
hold-time up 10;
}
SEE ALSO
[edit]
interfaces {
interface-range range-1 {
member-range ge-1/0/0 to ge-10/0/47;
mtu 256;
}
}
interfaces {
interface-range range-1 {
member-range ge-10/0/0 to ge-10/0/47;
hold-time up 10;
}
}
In this example, interfaces ge-10/0/0 through ge-10/0/47 will have both hold-time and mtu.
[edit]
interfaces {
interface-range int-grp-one {
member-range ge-0/0/0 to ge-4/0/40;
member ge-1/1/1;
89
interfaces {
interface-range int-grp-two {
member-range ge-5/0/0 to ge-10/0/40;
member ge-1/1/1;
mtu 1024;
}
}
Interface ge-1/1/1 exists in both interface-range int-grp-one and interface-range int-grp-two. This
interface inherits mtu 256 from interface-range int-grp-one because it was defined first.
[edit]
interfaces {
interface-range range-1 {
member ge-10/1/1;
member ge-5/5/1;
mtu 256;
hold-time up 10;
ether-options {
flow-control;
speed {
100m;
}
802.3ad primary;
}
}
protocols {
dot1x {
authenticator {
90
interface range-1 {
retries 1;
}
}
}
}
}
The interface node present under authenticator is expanded into member interfaces of the interface-
range range-1 as follows:
protocols {
dot1x {
authenticator {
interface ge-10/1/1 {
retries 1;
}
interface ge-5/5/1 {
retries 1;
}
}
}
}
The interface range-1 statement is expanded into two interfaces, ge-10/1/1 and ge-5/5/1, and
configuration retries 1 is copied under those two interfaces.
This configuration can be verified using the show protocols dot1x | display inheritance command.
RELATED DOCUMENTATION
Physical Interfaces
The M Series, MX Series, and T Series routers support aggregated interfaces. To specify an aggregated
interface assign a number with the aggregated interface name. For example, configure aex at the [edit
interfaces] hierarchy level, where x is an integer ranging 0 through 127 for M Series and T Series routers
and 0 through 479 on MX Series routers.
91
For aggregated SONET/SDH interfaces, configure asx at the [edit interfaces] hierarchy level.
NOTE: SONET/SDH aggregation is proprietary to the Junos OS and might not work with other
software.
If you are configuring VLANs for aggregated Ethernet interfaces, you must include the vlan-tagging
statement at the [edit interfaces aex] hierarchy level to complete the association.
SEE ALSO
IN THIS SECTION
[edit ]
user@host# edit interfaces interface-name
2. To configure the speed, include the speed statement at the [edit interfaces interface-name] hierarchy
level.
NOTE:
• By default, the M Series and T Series routers management Ethernet interface autonegotiates
whether to operate at 10 megabits per second (Mbps) or 100 Mbps. All other interfaces
automatically choose the correct speed based on the PIC type and whether the PIC is
configured to operate in multiplexed mode (using the no-concatenate statement in the [edit
chassis] configuration hierarchy.
• Starting with Junos OS Release 14.2 the auto-10m-100m option allows the fixed tri-speed
port to auto negotiate with ports limited by 100m or 10mmaximum speed. This option must
be enabled only for Tri-rate MPC port, that is, 3D 40x 1GE (LAN) RJ45 MIC on MX platform.
This option does not support other MICs on MX platform.,
• When you manually configure Fast Ethernet interfaces on the M Series and T Series routers,
link mode and speed must both be configured. If both these values are not configured, the
router uses autonegotiation for the link and ignores the user-configured settings.
• If the link partner does not support autonegotiation, configure either Fast Ethernet port
manually to match its link partner's speed and link mode. When the link mode is configured,
autonegotiation is disabled.
• On MX Series routers with tri-rate copper SFP interfaces, if the port speed is negotiated to
the configured value and the negotiated speed and interface speed do not match, the link will
not be brought up.
• When you configure the Tri-Rate Ethernet copper interface to operate at 1 Gbps,
autonegotiation must be enabled.
93
• Starting with Junos OS Release 11.4, half-duplex mode is not supported on Tri-Rate Ethernet
copper interfaces. When you include the speed statement, you must include the link-mode
full-duplex statement at the same hierarchy level.
SEE ALSO
speed
Starting with Junos OS Release 13.2, aggregated Ethernet supports mixed rates and mixed modes on
T640, T1600, T4000, and TX Matrix Plus routers. For example, these mixes are supported:
• Member links of different modes (WAN and LAN) for 10-Gigabit Ethernet links.
• Member links of different rates: 10-Gigabit Ethernet, 40-Gigabit Ethernet, 50-Gigabit Ethernet, 100-
Gigabit Ethernet, and OC192 (10-Gigabit Ethernet WAN mode)
Starting with Junos OS Release 14.1R1 and 14.2, support for mixed rates on aggregated Ethernet
bundles is extended to MX240, MX480, MX960, MX2010, and MX2020 routers.
Starting with Junos OS Release 14.2, aggregated Ethernet supports mixed link speeds on PTX Series
Packet Transport Routers.
NOTE:
• Member links of 50-Gigabit Ethernet can only be configured using the 50-Gigabit Ethernet
interfaces of 100-Gigabit Ethernet PIC with CFP (PD-1CE-CFP-FPC4).
• Starting with Junos OS Release 13.2, 100-Gigabit Ethernet member links can be configured
using the two 50-Gigabit Ethernet interfaces of 100-Gigabit Ethernet PIC with CFP. This 100-
Gigabit Ethernet member link can be included in an aggregated Ethernet link that includes
member links of other interfaces as well. In releases before Junos OS Release 13.2, the 100-
Gigabit Ethernet member link configured using the two 50-Gigabit Ethernet interfaces of
94
100-Gigabit Ethernet PIC with CFP cannot be included in an aggregated Ethernet link that
includes member links of other interfaces.
To configure member links of mixed rates and mixed modes on T640, T1600, T4000, TX Matrix Plus, and
PTX routers, you need to configure the mixed option for the [edit interfaces aex aggregated-ether-
options link-speed] statement.
speed can be in bits per second either as a complete decimal number or as a decimal number
followed by the abbreviation k (1000), m (1,000,000), or g (1,000,000,000).
Aggregated Ethernet interfaces on the M120 router can have one of the following speeds:
Aggregated Ethernet links on EX Series switches can be configured to operate at one of the following
speeds:
Aggregated Ethernet links on T Series, MX Series, PTX Series routers, and QFX5100, QFX5120,
QFX10002, QFX10008, and QFX10016 switches can be configured to operate at one of the
following speeds:
SEE ALSO
aggregated-ether-options
1. In configuration mode, go to the [edit interfaces interface-name] hierarchy level, where the
interface-name is so-fpc/pic/port.
[edit]
user@host# edit interfaces so-fpc/pic/port
1. In configuration mode, go to the [edit interfaces interface-name] hierarchy level, where the
interface-name is so-fpc/pic/port.
[edit]
user@host# edit interfaces so-fpc/pic/port
For example, each port of 4-port OC12 PIC can be configured to be in OC3 or OC12 speed
independently when this PIC is in 4xOC12 concatenated mode.
1. In configuration mode, go to the [edit chassis fpc slot-number pic pic-number] hierarchy level.
[edit]
user@host# [edit chassis fpc slot-number pic pic-number]
NOTE: On SONET/SDH OC3/STM1 (Multi-Rate) MIC with SFP, Channelized SONET/SDH OC3/
STM1 (Multi-Rate) MIC with SFP, and Channelized OC3/STM1 (Multi-Rate) Circuit Emulation
MIC with SFP, you cannot set the interface speed at the [edit interfaces] hierarchy level. To
enable the speed on these MICs, you need to set the port speed at the [edit chassis fpc slot-
number pic pic-number port port-number] hierarchy level.
For more information about using the non-concatenate statement, see the Junos OS
Administration Library for Routing Devices.
97
SEE ALSO
Release Description
14.2 Starting with Junos OS Release 14.2 the auto-10m-100m option allows the fixed tri-speed port to auto
negotiate with ports limited by 100m or 10mmaximum speed. This option must be enabled only for Tri-
rate MPC port, that is, 3D 40x 1GE (LAN) RJ45 MIC on MX platform. This option does not support other
MICs on MX platform.
14.2 Starting with Junos OS Release 14.2, aggregated Ethernet supports mixed link speeds on PTX Series
Packet Transport Routers.
14.1 Starting with Junos OS Release 14.1R1 and 14.2, support for mixed rates on aggregated Ethernet
bundles is extended to MX240, MX480, MX960, MX2010, and MX2020 routers.
13.2 Starting with Junos OS Release 13.2, aggregated Ethernet supports mixed rates and mixed modes on
T640, T1600, T4000, and TX Matrix Plus routers.
13.2 Starting with Junos OS Release 13.2, 100-Gigabit Ethernet member links can be configured using the
two 50-Gigabit Ethernet interfaces of 100-Gigabit Ethernet PIC with CFP.
11.4 Starting with Junos OS Release 11.4, half-duplex mode is not supported on Tri-Rate Ethernet copper
interfaces. When you include the speed statement, you must include the link-mode full-duplex
statement at the same hierarchy level.
By default, the router’s management Ethernet interface, fxp0 or em0, autonegotiates whether to
operate in full-duplex or half-duplex mode. Fast Ethernet interfaces can operate in either full-duplex or
half-duplex mode, and all other interfaces can operate only in full-duplex mode. For Gigabit Ethernet,
the link partner must also be set to full duplex.
98
NOTE: When you configure the Tri-Rate Ethernet copper interface to operate at 1 Gbps,
autonegotiation must be enabled.
NOTE: When you manually configure Fast Ethernet interfaces on the M Series and T Series
routers, link mode and speed must both be configured. If both these values are not configured,
the router uses autonegotiation for the link and ignores the user-configured settings.
NOTE: When the Fast Ethernet interface on Juniper Networks routers with autonegotiation
enabled interoperates with a device configured to operate in half-duplex mode (autonegotiation
disabled), the interface defaults to half-duplex mode after the PIC is taken offline and brought
back online. This results in packet loss and cyclic redundancy check (CRC) errors.
To explicitly configure an Ethernet interface to operate in either full-duplex or half-duplex mode, include
the link-mode statement at the [edit interfaces interface-name] hierarchy level:
You can configure a textual description of a logical unit on a physical interface to be the alias of an
interface name. Interface aliasing is supported only at the unit level. If you configure an alias name, the
alias name is displayed instead of the interface name in the output of all show, show interfaces, and
other operational mode commands. In Junos OS Release 12.3R8 and later, display of the alias can be
suppressed in favor of the actual interface name by using the display no-interface-alias parameter along
with the show command. Configuring an alias for a logical unit of an interface has no effect on how the
interface on the router or switch operates.
When you configure the alias name of an interface, the CLI saves the alias name as the value of the
interface-name variable in the configuration database. To enable backward compatibility with Junos OS
releases in which the support for interface aliases is not available, when the Junos OS processes query
the configuration database for the interface-name variable, the actual, exact value of the interface-
name variable is returned instead of the alias name for system operations and computations.
99
This capability to define interface alias names for physical and logical interfaces is useful in a Junos Node
Unifier (JNU) environment that contains a Juniper Networks MX Series 5G Universal Routing Platform
as a controller and EX Series Ethernet switches, QFX Series devices, and ACX Series Universal Metro
Routers as satellite devices. The following are the benefits of configuring an alias name, which enables a
meaningful, single, and easily identifiable name to be allocated to an interface:
• You can group physical interfaces as one aggregated interface (link aggregation group or LAG bundle)
and name that bundle as a satellite connection interface (for example, sat1).
• You can select a logical interface as a member of the LAG bundle or the entire LAG, and name that
interface to represent a satellite device port or a service instance (for example, ge-0/0/1).
• You can combine the satellite name and the interface name aliases to wholly represent the satellite
port name (for example, sat1:ge-0/0/1 or ge-sat1/0/0/1 or ge-1/0/0/1) in the most easily
distinguishable format that denotes a combination of port and satellite parts of the name.
To specify an interface alias, you can use the alias statement at the [edit interfaces interface-name unit
logical-unit-number] and [edit logical-systems logical-system-name interfaces interface-name unit
logical-unit-number] hierarchy levels.
NOTE: In Juniper Networks M Series Multiservice Edge Routers, if the same alias name is
configured on more than one logical interface, the router displays an error message and commit
fails.
SEE ALSO
alias
IN THIS SECTION
Requirements | 100
Overview | 100
Configuration | 100
Verification | 104
100
This example shows how to add an alias to the logical unit of an interface. Using an alias to identify
interfaces as they appear in the output for operational commands can allow for more meaningful naming
conventions and easier identification.
Requirements
This example uses the following hardware and software components:
Overview
You can create an alias for each logical unit on a physical interface. The descriptive text you define for
the alias is displayed in the output of the show interfaces commands. In Junos OS Release 12.3R8 and
later, display of the alias can be suppressed in favor of the actual interface name by using the display no-
interface-alias parameter along with the show command. The alias configured for a logical unit of an
interface has no effect on how the interface on the router or switch operates – it is only a cosmetic
label.
Configuration
IN THIS SECTION
Results | 102
Consider a scenario in which alias names are configured on the interfaces of a JNU controller that are
connected to a satellite, sat1, in the downlink direction in the JNU management network by using two
links. The alias names enable effective, streamlined identification of these interfaces in the operational
mode commands that are run on the controller and satellites.
101
To quickly configure this example, copy the following commands, paste them in a text file, remove any
line breaks, change any details necessary to match your network configuration, and then copy and paste
the commands into the CLI at the [edit] hierarchy level:
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For
information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the Junos OS
CLI User Guide.
To add an alias name to the controller interfaces that are used to connect to the satellite devices in the
downlink direction:
1. Configure an alias name for the logical unit of an aggregated Ethernet interface that is used to
connect to a satellite, sat1, in the downlink direction. Configure inet family and address for the
interface.
[edit]
user@host# set interfaces ae0 unit 0 alias "controller-sat1-downlink1"
user@host# set interfaces ae0.0 family inet address 10.0.0.1/24
102
2. Configure an alias name for the logical unit of another aggregated Ethernet interface that is used to
connect to the same satellite, sat1, in downlink direction. Configure INET family and address for the
interface.
[edit]
user@host# set interfaces ae0 unit 1 alias "controller-sat1-downlink2"
user@host# set interfaces ae0.0 family inet address 10.0.0.3/24
3. Configure an alias name for the Gigabit Ethernet interface on the controller and configure its
parameters.
[edit]
user@host# set interfaces ge-0/0/0 vlan-tagging
user@host# set interfaces ge-0/0/0 unit 0 alias "ge-to-corp-gw1"
user@host# set interfaces ge-0/0/0.0 vlan-id 101
user@host# set interfaces ge-0/0/0.0 family inet address 1.1.1.1/23
[edit]
user@host# set interfaces ge-0/1/0 gigether-options 802.3ad ae0
user@host# set interfaces ge-0/1/1 gigether-options 802.3ad ae0
5. Configure RIP in the network between the controller and the firewall gateway.
[edit]
user@host# set protocols rip group corporate-firewall neighbor ge-to-corp-gw1
Results
In configuration mode, confirm your configuration by entering the show command. If the output does
not display the intended configuration, repeat the configuration instructions in this example to correct it.
[edit]
interfaces {
ae0 {
unit 0 {
103
alias "controller-sat1-downlink1";
family inet {
address 10.0.0.1/24;
}
}
unit 1 {
alias "controller-sat1-downlink2";
family inet {
address 10.0.0.3/24;
}
}
}
ge-0/0/0 {
vlan-tagging;
unit 0 {
alias "ge-to-corp-gw1";
vlan-id 101;
family inet {
address 1.1.1.1/23;
}
}
}
ge-0/1/0 {
gigether-options {
802.3ad ae0;
}
}
ge-0/1/1 {
gigether-options {
802.3ad ae0;
}
}
}
protocols rip {
group corporate-firewall {
neighbor ge-to-corp-gw1;
}
}
After you have confirmed that the interfaces are configured, enter the commit command in
configuration mode.
104
NOTE: In Juniper Networks M Series Multiservice Edge Routers, if the same alias name is
configured on more than one logical interface, the router displays an error message and commit
fails.
Verification
IN THIS SECTION
Verifying the Configuration of the Alias Name for the Controller Interfaces | 104
To verify that the alias name is displayed instead of the interface name, perform these steps:
Verifying the Configuration of the Alias Name for the Controller Interfaces
Purpose
Verify that the alias name is displayed instead of the interface name.
Action
Meaning
The output displays the details of the benchmarking test that was performed. For more information
about the show rip neighbor operational command, see show rip neighbor in the CLI Explorer.
105
SEE ALSO
alias
For both the router and interfaces, the clock source can be an external clock that is received on the
interface or the router’s internal Stratum 3 clock.
For example, interface A can transmit on interface A’s received clock (external, loop timing) or the
Stratum 3 clock (internal, line timing, or normal timing). Interface A cannot use a clock from any other
source. For interfaces such as SONET/SDH that can use different clock sources, you can configure the
source of the transmit clock on each interface.
The clock source resides on the System Control Board (SCB) for M40 routers, the System and Switch
Board (SSB) for M20 routers, the Control Board (CB) for M120 routers, and the Miscellaneous Control
Subsystem (MCS) for M40e and M160 routers. M7i and M10i routers have a clock source on the
Compact Forwarding Engine Board (CFEB) and Enhanced Compact Forwarding Engine Board (CFEB-E).
For T Series and MX Series, the clock source internal Stratum 3 clock resides on the SONET Clock
Generator and Switch Control Board (SCB) respectively. By default, the 19.44-MHz Stratum 3 reference
clock generates the clock signal for all serial PICs (SONET/SDH) and Plesiochronous Digital Hierarchy
(PDH) PICs. PDH PICs include DS3, E3, T1, and E1 PICs.
NOTE: M7i and M10i routers do not support external clocking of SONET interfaces.
For information about clocking on channelized interfaces, see Channelized IQ and IQE Interfaces
Properties. Also see Configuring the Clock Source on SONET/SDH Interfaces and Configuring the
Channelized T3 Loop Timing.
For information about configuring an external synchronization interface that can be used to synchronize
the internal Stratum 3 clock to an external source on the M40e, M120, M320, routers and T Series
routers, see Junos OS Administration Library for Routing Devices, Configuring Junos OS to Support an
External Clock Synchronization Interface for M Series, MX Series, and T Series Routers.
For information about configuring Synchronous Ethernet on MX 80, MX240, MX480, and MX960
Universal Routing Platforms, see Junos OS Administration Library for Routing Devices, Synchronous
Ethernet Overview and Configuring Clock Synchronization Interface on MX Series Routers.
106
SEE ALSO
For both the router and interfaces, the clock source can be an external clock that is received on the
interface or the router’s internal Stratum 3 clock.
[edit]
user@host# edit interfaces interface-name
NOTE: M7i and M10i routers do not support external clocking of SONET interfaces.
NOTE: On Channelized SONET/SDH PICs, if you set the parent (or the primary) controller clock
to external, then you must set the child controller clocks to the default value—that is, internal.
For example, on the Channelized STM1 PIC, if the clock on the Channelized STM1 interface
(which is the primary controller) is set to external, then you must not configure the CE1 interface
(which is the child controller) clock to external. Instead you must configure the CE1 interface
clock to internal.
107
For information about clocking on channelized interfaces, see Channelized IQ and IQE Interfaces
Properties. Also see Configuring the Clock Source on SONET/SDH Interfaces and Configuring the
Channelized T3 Loop Timing.
For information about configuring an external synchronization interface that can be used to synchronize
the internal Stratum 3 clock to an external source on the M40e, M120, and M320 routers and on the T
Series routers, see Junos OS Administration Library for Routing Devices, Configuring Junos OS to
Support an External Clock Synchronization Interface for M Series, MX Series, and T Series Routers.
For information about configuring Synchronous Ethernet on MX80, MX240, MX480, and MX960
Universal Routing Platforms, see Junos OS Administration Library for Routing Devices, Synchronous
Ethernet Overview and Configuring Clock Synchronization Interface on MX Series Routers.
SEE ALSO
IN THIS SECTION
For physical interfaces that do not support PPP encapsulation, you must configure an encapsulation to
use for packets transmitted on the interface. You can optionally configure an encapsulation on a logical
interface, which is the encapsulation used within certain packet types.
Ethernet CCC encapsulation for Ethernet interfaces with standard TPID tagging requires that the
physical interface have only a single logical interface. Ethernet interfaces in VLAN mode can have
multiple logical interfaces.
For Ethernet interfaces in VLAN mode, VLAN IDs are applicable as follows:
• For encapsulation type vlan-ccc, VLAN IDs 1 through 511 are reserved for normal VLANs. VLAN IDs
512 and above are reserved for VLAN CCCs.
• For encapsulation type vlan-vpls, VLAN IDs 1 through 511 are reserved for normal VLANs, and
VLAN IDs 512 through 4094 are reserved for VPLS VLANs. For 4-port Fast Ethernet interfaces, you
can use VLAN IDs 512 through 1024 for VPLS VLANs.
• For Gigabit Ethernet interfaces and Gigabit Ethernet IQ and IQE PICs with SFPs (except the 10-port
Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i router), you can configure
flexible Ethernet services encapsulation on the physical interface. For interfaces with flexible-
ethernet-services encapsulation, all VLAN IDs are valid. VLAN IDs from 1 through 511 are not
reserved.
• For encapsulation types extended-vlan-ccc and extended-vlan-vpls, all VLAN IDs are valid.
The upper limits for configurable VLAN IDs vary by interface type.
When you configure a TCC encapsulation, some modifications are needed to handle VPN connections
over unlike Layer 2 and Layer 2.5 links and terminate the Layer 2 and Layer 2.5 protocol locally.
• PPP TCC—Both Link Control Protocol (LCP) and Network Control Protocol (NCP) are terminated on
the router. Internet Protocol Control Protocol (IPCP) IP address negotiation is not supported. The
Junos OS strips all PPP encapsulation data from incoming frames before forwarding them. For
output, the next hop is changed to PPP encapsulation.
109
• Cisco HDLC TCC—Keepalive processing is terminated on the router. The Junos OS strips all Cisco
HDLC encapsulation data from incoming frames before forwarding them. For output, the next hop is
changed to Cisco HDLC encapsulation.
• Frame Relay TCC—All Local Management Interface (LMI) processing is terminated on the router. The
Junos OS strips all Frame Relay encapsulation data from incoming frames before forwarding them.
For output, the next hop is changed to Frame Relay encapsulation.
• ATM—Operation, Administration, and Maintenance (OAM) and Interim Local Management Interface
(ILMI) processing is terminated at the router. Cell relay is not supported. The Junos OS strips all ATM
encapsulation data from incoming frames before forwarding them. For output, the next hop is
changed to ATM encapsulation.
[edit]
user@host# set interfaces so-fpc/pic/port
NOTE:
• When vlan-vpls encapsulation is set at the physical interface level, commit check will
validate that there should not be any inet family configured within it.
IN THIS SECTION
Purpose | 110
Action | 110
Meaning | 111
Purpose
To display the configured encapsulation and its associated set options on a physical interface when the
following are set at the [edit interfaces interface-name] hierarchy level:
• interface-name—so-7/0/0
• Encapsulation—ppp
• Unit—0
• Family—inet
• Address—192.168.1.113/32
• Destination—192.168.1.114
Action
Run the show command at the [edit interfaces interface-name] hierarchy level.
unit 0 {
point-to-point;
family inet {
address 192.168.1.113/32 {
destination 192.168.1.114;
}
}
family iso;
family mpls;
}
Meaning
The configured encapsulation and its associated set options are displayed as expected. Note that the
second set of two family statements allow IS-IS and MPLS to run on the interface.
RELATED DOCUMENTATION
encapsulation
This topic describes how to configure interface encapsulation on PTX Series Packet Transport Routers.
Use the flexible-ethernet-services configuration statement to configure different encapsulation for
different logical interfaces under a physical interface. With flexible Ethernet services encapsulation, you
can configure each logical interface encapsulation without range restrictions for VLAN IDs.
• flexible-ethernet-services
• ethernet-ccc
• ethernet-tcc
• ethernet
• vlan-ccc
112
• vlan-tcc
NOTE: PTX Series Packet Transport Routers do not support extended-vlan-cc and extended-
vlan-tcc encapsulation on logical interfaces. Instead, you can configure a tag protocol ID (TPID)
value of 0x9100 to achieve the same results.
interfaces {
et-fpc/pic/port {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 1000;
family inet {
address 11.0.0.20/24;
}
}
unit 1 {
encapsulation vlan-ccc;
vlan-id 1010;
}
unit 2 {
encapsulation vlan-tcc;
vlan-id 1020;
family tcc {
proxy {
inet-address 11.0.2.160;
}
remote {
inet-address 11.0.2.10;
}
}
}
}
}
113
Configuring Keepalives
By default, physical interfaces configured with Cisco HDLC or PPP encapsulation send keepalive packets
at 10-second intervals. The Frame Relay term for keepalives is LMI packets; the Junos OS supports both
ANSI T1.617 Annex D LMIs and ITU Q933 Annex A LMIs. On ATM networks, OAM cells perform the
same function. You configure OAM cells at the logical interface level; for more information, see Defining
the ATM OAM F5 Loopback Cell Period.
[edit ]
user@host# edit interfaces interface-name
2. Include the no-keepalives statement at the [edit interfaces interface-name] hierarchy level.
To disable the sending of keepalives on a physical interface configured with Cisco HDLC encapsulation
for a translational cross-connection:
[edit ]
user@host# edit interfaces interface-name
2. Include the no-keepalives statement with the encapsulation cisco-hdlc-tcc statement at the [edit
interfaces interface-name] hierarchy level.
To disable the sending of keepalives on a physical interface configured with PPP encapsulation for a
translational cross-connection:
114
[edit ]
user@host# edit interfaces interface-name
2. Include the no-keepalives statement with the encapsulation ppp-tcc statement at the [edit
interfaces interface-name] hierarchy level.
For more information about translation cross-connections, see Circuit and Translational Cross-Connects
Overview.
When you configure PPP over ATM or Multilink PPP over ATM encapsulation, you can enable or disable
keepalives on the logical interface. For more information, see Configuring PPP over ATM2
Encapsulation.
[edit ]
user@host# edit interfaces interface-name
2. Include the keepalives statement at the [edit interfaces interface-name] hierarchy level.
[edit interfacesinterface-name]
keepalives;
[edit ]
user@host# edit interfaces interface-name
115
2. Include the keepalives statement with the appropriate option as intervalseconds, down-
countnumber, and the up-countnumber..
On interfaces configured with Cisco HDLC or PPP encapsulation, you can include the following three
keepalive statements; note that Frame Relay encapsulation is not affected by these statements:
• interval seconds—The time in seconds between successive keepalive requests. The range is from 1
second through 32767 seconds, with a default of 10 seconds.
• down-count number—The number of keepalive packets a destination must fail to receive before the
network takes a link down. The range is from 1 through 255, with a default of 3.
• up-count number—The number of keepalive packets a destination must receive to change a link’s
status from down to up. The range is from 1 through 255, with a default of 1.
CAUTION: If interface keepalives are configured on an interface that does not support
the keepalives configuration statement (for example, 10-Gigabit Ethernet), the link layer
may go down when the PIC is restarted. Avoid configuring the keepalives on interfaces
that do not support the keepalives configuration statement.
For information about Frame Relay keepalive settings, see Configuring Frame Relay Keepalives.
On MX Series routers with Modular Port Concentrators/Modular Interface Cards (MPCs/MICs), the
Packet Forwarding Engine on an MPC/MIC processes and responds to Link Control Protocol (LCP) Echo-
Request keepalive packets that the PPP subscriber (client) initiates and sends to the router. The
mechanism by which LCP Echo-Request packets are processed by the Packet Forwarding Engine instead
of by the Routing Engine is referred to as PPP fast keepalive For more information about how PPP fast
keepalive works on an MX Series router with MPCs/MICs, see the Junos OS Subscriber Access
Configuration Guide.
SEE ALSO
no-keepalives
Configuring Frame Relay Keepalives
Circuit and Translational Cross-Connects Overview
Configuring PPP over ATM2 Encapsulation Overview
By default, physical interfaces are bidirectional; that is, they both transmit and receive traffic. You can
configure unidirectional link mode on a 10-Gigabit Ethernet interface that creates two new physical
interfaces that are unidirectional. The new transmit-only and receive-only interfaces operate
independently, but both are subordinate to the original parent interface.
The unidirectional interfaces enable the configuration of a unidirectional link topology. Unidirectional
links are useful for applications such as broadband video services where almost all traffic flow is in one
direction, from the provider to the user. Unidirectional link mode conserves bandwidth by enabling it to
be differentially dedicated to transmit and receive interfaces. In addition, unidirectional link mode
conserves ports for such applications because the transmit-only and receive-only interfaces act
independently. Each can be connected to different routers, for example, reducing the total number of
ports required.
NOTE: Unidirectional link mode is currently supported on only the following hardware:
• 10–Gigabit Ethernet IQ2 PIC and 10–Gigabit Ethernet IQ2E PIC on the T Series router
The transmit-only interface is always operationally up. The operational status of the receive-only
interface depends only on local faults; it is independent of remote faults and of the status of the
transmit-only interface.
On the parent interface, you can configure attributes common to both interfaces, such as clocking,
framing, gigether-options, and sonet-options. On each of the unidirectional interfaces, you can configure
encapsulation, MAC address, MTU size, and logical interfaces.
Unidirectional interfaces support IP and IPv6. Packet forwarding takes place by means of static routes
and static ARP entries. which you can configure independently on both unidirectional interfaces.
Only transmit statistics are reported on the transmit-only interface (and shown as zero on the receive-
only interface). Only receive statistics are reported on the receive-only interface (and shown as zero on
the transmit-only interface). Both transmit and receive statistics are reported on the parent interface.
117
SEE ALSO
unidirectional
By default, physical interfaces are bidirectional; that is, they both transmit and receive traffic. You can
configure unidirectional link mode on a 10-Gigabit Ethernet interface that creates two new physical
interfaces that are unidirectional. The new transmit-only and receive-only interfaces operate
independently, but both are subordinate to the original parent interface.
To enable unidirectional link mode on a physical interface, perform the following steps:
[edit]
user@host# edit interfaces interface-name
2. Configure the unidirectional option to create two new, unidirectional (transmit-only and receive-
only) physical interfaces subordinate to the original parent interface.
NOTE: Unidirectional link mode is currently supported on only the following hardware:
• 4–port 10–Gigabit Ethernet DPC on the MX960 router
• 10–Gigabit Ethernet IQ2 PIC and 10–Gigabit Ethernet IQ2E PIC on the T Series router
SEE ALSO
unidirectional
118
IN THIS SECTION
Physical interface damping limits the advertisement of the up and down transitions (flapping) on an
interface. Each time a transition occurs, the interface state is changed, which generates an
advertisement to the upper-level routing protocols. Damping helps reduce the number of these
advertisements.
From the viewpoint of network deployment, physical interface flaps fall into the following categories:
Figure 6 on page 118 is used to describe these types of interface flaps and the damping configuration
that you can use in each case.
NOTE: We recommend that you use similar damping configurations on both ends of the physical
interface. Configuring damping on one end and not having interface damping on the other end
can result in undesired behavior.
The following sections describe the types of interface damping depending upon the transition time
length.
119
Figure 6 on page 118 shows two routers with two transport devices between them. If a redundant link
between the two transport devices fails, link switching is performed. Link switching takes a number of
milliseconds. As shown in Figure 7 on page 119, during switching, both router interfaces might
encounter multiple flaps with an up-and-down duration of several milliseconds. These multiple flaps, if
advertised to the upper-level routing protocols, might result in undesired route updates. This is why you
might want to damp these interface flaps.
For shorter physical interface transitions, you configure interface damping with the hold-time statement
on the interface. The hold timer enables interface damping by not advertising interface transitions until
the hold timer duration has passed. When a hold-down timer is configured and the interface goes from
up to down, the down hold-time timer is triggered. Every interface transition that occurs during the
hold-time is ignored. When the timer expires and the interface state is still down, then the router begins
to advertise the interface as being down. Similarly, when a hold-up timer is configured and an interface
goes from down to up, the up hold-time timer is triggered. Every interface transition that occurs during
the hold-time is ignored. When the timer expires and the interface state is still up, then the router
begins to advertise the interface as being up.
When the link between a router interface and the transport devices is not stable, this can lead to
periodic flapping, as shown in Figure 8 on page 120. Flaps occur in the order of seconds or more, with
an up-and-down flap duration in the order of a second or more. In this case, using the hold timer feature
might not produce optimal results as it cannot suppress the relatively longer and repeated interface
flaps. Increasing the hold time duration to seconds still allows the system to send route updates on the
flapping interface, so fails to suppress periodically flapping interfaces on the system.
For longer periodic interface flaps, you configure interface damping with the damping statement on the
interface. This damping method uses an exponential back-off algorithm to suppress interface up-and-
down event reporting to the upper-level protocols. Every time an interface goes down, a penalty is
added to the interface penalty counter. If at some point the accumulated penalty exceeds the suppress
level, the interface is placed in the suppress state, and further interface link up and down events are not
reported to the upper-level protocols.
NOTE:
121
• Only PTX Series routers, T Series routers, MX960 routers, MX480 routers, MX240 routers,
MX80 routers, and M10i routers support interface damping for longer periodic interface flaps
on all the line cards.
• The system does not indicate whether an interface is down because of suppression or that is
the actual state of the physical interface. Because of this, SNMP link traps and Operation,
Administration, and Maintenance (OAM) protocols cannot differentiate the damped version of
the link state from the real version. Therefore, the traps and protocols might not work as
expected.
• You can verify suppression by viewing the information in the Damping field of the show
interface extensive command output.
At all times, the interface penalty counter follows an exponential decay process. Figure 9 on page 123
and Figure 10 on page 125 show the decay process as it applies to recovery when the physical level link
is down or up. As soon as the accumulated penalty reaches the lower boundary of the reuse level, the
interface is marked as unsuppressed, and further changes in the interface link state are again reported to
the upper-level protocols. You use the max-suppress option to configure the maximum time for
restricting the accumulation of the penalty beyond the value of the maximum penalty. The value of the
maximum penalty is calculated by the software. The maximum penalty corresponds to the time it would
take max-suppress to decay and reach the reuse level. The penalty continues to decay after crossing the
reuse level.
Figure 9 on page 123 and Figure 10 on page 125 show the accumulated penalty, and the decay over
time as a curve. Whenever the penalty is below the reuse level and the physical level link changes state,
state changes are advertised to the system and cause SNMP state changes.
122
Figure 9 on page 123 shows the penalty dropping below the reuse level when the physical link is down.
The system is notified of a state change only after the physical level link transitions to up.
123
Figure 9: Physical-Level Link Is Down When the Penalty Falls Below the Reuse Level
124
Figure 10 on page 125 shows the penalty dropping below the reuse level when the physical link is up.
The system is notified of a state change immediately.
125
Figure 10: Physical-Level Link Is Up When the Penalty Falls Below the Reuse Level
126
SEE ALSO
By default, when an interface changes from being up to being down, or from down to up, this transition
is advertised immediately to the hardware and Junos OS. In some situations—for example, when an
interface is connected to an add/drop multiplexer (ADM) or wavelength-division multiplexer (WDM), or
to protect against SONET/SDH framer holes—you might want to damp interface transitions. This means
not advertising the interface’s transition until a certain period of time has passed, called the hold-time.
When you have damped interface transitions and the interface goes from up to down, the down hold-
time timer is triggered. Every interface transition that occurs during the hold-time is ignored. When the
timer expires and the interface state is still down, then the router begins to advertise the interface as
being down. Similarly, when an interface goes from down to up, the up hold-time timer is triggered.
Every interface transition that occurs during the hold-time is ignored. When the timer expires and the
interface state is still up, then the router begins to advertise the interface as being up. For information
about physical interface damping, see Physical Interface Damping Overview.
This task applies to damping shorter physical interface transitions in milliseconds. To damp longer
physical interface transitions in seconds, see Damping Longer Physical Interface Transitions.
[edit]
user@host# edit interfaces interface-name
The hold time can be a value from 0 through 4,294,967,295 milliseconds. The default value is 0, which
means that interface transitions are not damped. Junos OS advertises the transition within
100 milliseconds of the time value you specify.
127
For most Ethernet interfaces, hold timers are implemented using a one-second polling algorithm. For 1-
port, 2-port, and 4-port Gigabit Ethernet interfaces with small form-factor pluggable transceivers (SFPs),
hold timers are interrupt-driven.
SEE ALSO
Physical interface damping limits the advertisement of the up and down transitions (flapping) on an
interface. An unstable link between a router Interface and the transport devices can lead to periodic
flapping. Longer flaps occur with a period of about five seconds or more, with an up-and-down duration
of one second. For these longer periodic interface flaps, you configure interface damping with the
damping statement on the interface. This damping method uses an exponential back-off algorithm to
suppress interface up and down event reporting to the upper-level protocols. Every time an interface
goes down, a penalty is added to the interface penalty counter. If at some point the accumulated penalty
exceeds the suppress level max-suppress, the interface is placed in the suppress state, and further
interface state up and down transitions are not reported to the upper-level protocols.
NOTE:
• Only PTX Series routers, T Series routers, MX2010 routers, MX2020 routers, MX960 routers,
MX480 routers, MX240 routers, MX80 routers, and M10i routers support interface damping
for longer periodic interface flaps.
• The system does not indicate whether an interface is down because of suppression or that is
the actual state of the physical interface. Because of this, SNMP link traps and Operation,
Administration, and Maintenance (OAM) protocols cannot differentiate the damped version of
the link state from the real version. Therefore, the traps and protocols might not work as
expected.
128
• You can verify suppression by viewing the information in the Damping field of the show
interface extensive command output.
You can view the damping parameters with the show interfaces extensive command.
1. Select the interface to damp, where the interface name is interface-type-fpc/pic/port or an interface
range:
[edit]
user@host# edit interfaces interface-name
3. (Optional) Set the maximum time in seconds that an interface can be suppressed no matter how
unstable the interface has been.
NOTE: Configure max-suppress to a value that is greater than the value of half-life;
otherwise, the configuration is rejected.
4. (Optional) Set the decay half-life in seconds, which is the interval after which the accumulated
interface penalty counter is reduced by half if the interface remains stable.
NOTE: Configure max-suppress to a value that is greater than the value of half-life;
otherwise, the configuration is rejected.
5. (Optional) Set the reuse threshold (no units). When the accumulated interface penalty counter falls
below this value, the interface is no longer suppressed.
6. (Optional) Set the suppression threshold (no units). When the accumulated interface penalty counter
exceeds this value, the interface is suppressed.
SEE ALSO
IN THIS SECTION
Requirements | 129
Overview | 130
Configuration | 130
Verification | 132
This example shows how to configure damping for a physical interface on a PTX Series Packet Transport
Router.
Requirements
This example uses the following hardware and software components:
• One or more routers that provide input packets and receive output packets
Overview
Physical interface damping provides a smoothing of the up and down transitions (flapping) on an
interface. Each time a transition occurs, the interface state is changed, which generates an
advertisement to the upper-level routing protocols. Damping helps reduce the number of these
advertisements.
From the viewpoint of network deployment, physical interface flaps fall into these categories:
• Nearly instantaneous multiple flaps of short duration (milliseconds). For shorter physical interface
transitions, you configure interface damping with the hold-time statement on the interface. The hold
timer enables interface damping by not advertising interface transitions until the hold timer duration
has passed. When a hold-down timer is configured and the interface goes from up to down, the
interface is not advertised to the rest of the system as being down until it has remained down for the
hold-down timer period. Similarly, when a hold-up timer is configured and an interface goes from
down to up, it is not advertised as being up until it has remained up for the hold-up timer period.
• Periodic flaps of long duration (seconds). For longer periodic interface flaps, you configure interface
damping with the damping statement on the interface. This damping method uses an exponential
back-off algorithm to suppress interface up and down event reporting to the upper-level protocols.
Every time an interface goes down, a penalty is added to the interface penalty counter. If at some
point the accumulated penalty exceeds the suppress level, the interface is placed in the suppress
state, and further interface state up transitions are not reported to the upper-level protocols.
Configuration
IN THIS SECTION
Procedure | 131
Results | 131
131
To quickly configure this example, copy the following commands, paste them into a text file, remove any
line breaks, change any details necessary to match your network configuration, and then copy and paste
the commands into the CLI at the [edit] hierarchy level.
set interfaces xe-6/0/0 damping half-life 11 max-suppress 2222 reuse 3333 suppress 4444 enable
Procedure
Step-by-Step Procedure
1. Set the half-life interval, maximum suppression, reuse, suppress values, and enable:
[edit interface]
user@router# set xe-6/0/0 damping half-life 11 max-suppress 2222 reuse 3333 suppress 4444 enable
2. Commit configuration:
[edit]
user@router# commit
Results
From configuration mode, confirm your configuration by entering the show interfaces command. If the
output does not display the intended configuration, repeat the instructions in this example to correct
the configuration.
enable;
}
Verification
IN THIS SECTION
Purpose
Verify that damping is enabled on the interface and that the damping parameter values are correctly set.
Action
Meaning
SEE ALSO
damping
By default, Simple Network Management Protocol (SNMP) notifications are sent when the state of an
interface or a connection changes. You can enable or disable these notification based on you
requirements.
To explicitly enable sending SNMP notifications on the physical interface, perform the following steps:
[edit]
user@host# edit interfaces interface-name
2. Configure the traps option to enable sending of Simple Network Management Protocol (SNMP)
notifications when the state of the connection changes.
To disable sending SNMP notifications on the physical interface, perform the following steps:
[edit]
user@host# edit interfaces interface-name
134
2. Configure the no-traps option to disable sending of Simple Network Management Protocol (SNMP)
notifications when the state of the connection changes.
SEE ALSO
traps
IN THIS SECTION
• The number of files that the router or switch retains before discarding, and the number of bytes per
file
• The polling period that the system uses to record the data
You configure the profiles and define a unique name for each profile using statements at the [edit
accounting-options] hierarchy level. There are two types of accounting profiles: interface profiles and
filter profiles. You configure interface profiles by including the interface-profile statement at the [edit
accounting-options] hierarchy level. You configure filter profiles by including the filter-profile statement
135
at the [edit accounting-options] hierarchy level. For more information, see the Junos OS Network
Management Administration Guide for Routing Devices.
You apply filter profiles by including the accounting-profile statement at the [edit firewall filter filter-
name] and [edit firewall family family filter filter-name] hierarchy levels. For more information, see the
Routing Policies, Firewall Filters, and Traffic Policers User Guide.
You must configure a profile to collect error and statistic information for input and output packets on a
particular physical interface. An accounting profile specifies what statistics should be collected and
written to a log file. For more information on how to configure an accounting-data log file, see the
Configuring Accounting-Data Log Files.
An interface profile specifies the information collected and written to a log file. You can configure a
profile to collect error and statistic information for input and output packets on a particular physical
interface.
1. To configure which statistics should be collected for an interface, include the fields statement at the
[edit accounting-options interface-profile profile-name] hierarchy level.
2. Each accounting profile logs its statistics to a file in the /var/log directory. To configure which file to
use, include the file statement at the [edit accounting-options interface-profile profile-name]
hierarchy level.
NOTE: You must specify a file statement for the interface profile that has already been
configured at the [edit accounting-options] hierarchy level. For more information, see the
Configuring Accounting-Data Log Files
3. Each interface with an accounting profile enabled has statistics collected once per interval time
specified for the accounting profile. Statistics collection time is scheduled evenly over the configured
136
interval. To configure the interval, include the interval statement at the [edit accounting-options
interface-profile profile-name] hierarchy level.
NOTE: The minimum interval allowed is 1 minute. Configuring a low interval in an accounting
profile for a large number of interfaces might cause serious performance degradation.
4. To configure the interfaces on which the accounting needs to be performed, apply the interface
profile to a physical interface by including the accounting-profile statement at the [edit interfaces
interface-name] hierarchy level.
[edit interfaces]
user@host# set interface-name accounting-profile profile-name
SEE ALSO
IN THIS SECTION
Purpose | 136
Action | 137
Meaning | 137
Purpose
To display the configured accounting profile a particular physical interface at the [edit accounting-
options interface-profile profile-name] hierarchy level:
• interface-name—ge-1/0/1
137
• File name—if_stats
• Interval—15 minutes
Action
• Run the show command at the [edit edit interfaces ge-1/0/1] hierarchy level.
interface-profile if_profile {
interval 15;
file if_stats {
fields {
input-bytes;
output-bytes;
input-packets;
output-packets;
input-errors;
output-errors;
}
}
}
Meaning
The configured accounting and its associated set options are displayed as expected.
138
IN THIS SECTION
CAUTION: Dynamic subscribers and logical interfaces use physical interfaces for
connection to the network. The Junos OS allows you to set the interface to disable and
commit the change while dynamic subscribers and logical interfaces are still active. This
action results in the loss of all subscriber connections on the interface. Use care when
disabling interfaces.
[edit]
user@host# edit interfaces ge-fpc/pic/port
NOTE: On the router, when you use the disable statement at the edit interfaces hierarchy level,
depending on the PIC type, the interface might or might not turn off the laser. Older PIC
139
transceivers do not support turning off the laser, but newer Gigabit Ethernet PICs with SFP and
XFP transceivers do support it and the laser will be turned off when the interface is disabled.
LASER WARNING: Do not stare into the laser beam or view it directly with optical
instruments even if the interface has been disabled.
[edit interfaces]
user@host# show
ge-0/3/2 {
unit 0 {
description CE2-to-PE1;
family inet {
address 20.1.1.6/24;
}
}
}
RELATED DOCUMENTATION
disable
Release Description
19.3R2 Starting in Junos OS Release 19.3R2, the maximum configurable MTU size for MX2K-MPC11E is 16,000
bytes.
19.2R1 Starting in Junos OS Release 19.2R1, the maximum configurable MTU size for MPC10E-10C-MRATE is
16,000 bytes.
19.1R1 Starting in Junos OS Release 19.1R1, the maximum configurable MTU size for MPC10E-15C-MRATE is
16,000 bytes.
17.4R1 Starting in Junos OS Release 17.4R1, the MTU size for MX204 is 16,000 bytes.
17.3R1 Starting in Junos OS Release 17.3R1, the MTU size for MX10003 MPC is 16,000 bytes.
16.1R1 Starting in Junos OS Release 16.1R1, the MTU size has been increased to 16,000 bytes for certain
MPCs.
14.2 Starting with Junos OS Release 14.2 the auto-10m-100m option allows the fixed tri-speed port to auto
negotiate with ports limited by 100m or 10mmaximum speed. This option must be enabled only for Tri-
rate MPC port, that is, 3D 40x 1GE (LAN) RJ45 MIC on MX platform. This option does not support other
MICs on MX platform.
14.2 Starting with Junos OS Release 14.2, aggregated Ethernet supports mixed link speeds on PTX Series
Packet Transport Routers.
14.1 Starting with Junos OS Release 14.1R1 and 14.2, support for mixed rates on aggregated Ethernet
bundles is extended to MX240, MX480, MX960, MX2010, and MX2020 routers.
13.2 Starting with Junos OS Release 13.2, aggregated Ethernet supports mixed rates and mixed modes on
T640, T1600, T4000, and TX Matrix Plus routers.
13.2 Starting with Junos OS Release 13.2, 100-Gigabit Ethernet member links can be configured using the
two 50-Gigabit Ethernet interfaces of 100-Gigabit Ethernet PIC with CFP.
11.4 Starting with Junos OS Release 11.4, half-duplex mode is not supported on Tri-Rate Ethernet copper
interfaces. When you include the speed statement, you must include the link-mode full-duplex
statement at the same hierarchy level.
142
IN THIS SECTION
This topic discusses how to configure various logical interface properties with examples.
For a physical interface device to function, you must configure at least one logical interface on that
device. For each logical interface, you must specify the protocol family that the interface supports. You
can also configure other logical interface properties. These vary by Physical Interface Card (PIC) and
encapsulation type, but include the IP address of the interface, and whether the interface supports
multicast traffic, data-link connection identifiers (DLCIs), virtual channel identifiers (VCIs) and virtual
path identifiers (VPIs), and traffic shaping.
To configure logical interface properties, include the statements at the following hierarchy levels:
SEE ALSO
Each logical interface must have a logical unit number. The logical unit number corresponds to the
logical unit part of the interface name. For more information, see Interface Naming Overview.
Point-to-Point Protocol (PPP), Cisco High-level Data Link Control (HDLC), and Ethernet circuit cross-
connect (CCC) encapsulations support only a single logical interface, whose logical unit number must be
0. Frame Relay and ATM encapsulations support multiple logical interfaces, so you can configure one or
more logical unit numbers.
You specify the logical unit number by including the unit statement:
unit logical-unit-number {
...
}
The range of number available for the logical unit number varies for different interface types. See unit
for current range values.
You can include a text description of each logical unit in the configuration file. Any descriptive text you
include is displayed in the output of the show interfaces commands, and is also exposed in the ifAlias
Management Information Base (MIB) object. It has no impact on the interface’s configuration. To add a
text description, include the description statement:
description text;
The description can be a single line of text. If the text contains spaces, enclose it in quotation marks.
NOTE: You can configure the extended DHCP relay to include the interface description in the
option 82 Agent Circuit ID suboption. See “Using DHCP Relay Agent Option 82 Information” in
the Junos OS Subscriber Management and Services Library .
For information about describing physical interfaces, see Configuring Interface Description.
By default, the Junos OS uses the physical interface’s speed for the MIB-II object, ifSpeed. You can
configure the logical unit to populate the ifSpeed variable by configuring a bandwidth value for the
logical interface. The bandwidth statement sets an informational-only parameter; you cannot adjust the
actual bandwidth of an interface with this statement.
NOTE: We recommend that you be careful when setting this value. Any interface bandwidth
value that you configure using the bandwidth statement affects how the interface cost is
calculated for a dynamic routing protocol, such as OSPF. By default, the interface cost for a
dynamic routing protocol is calculated using the following formula:
cost = reference-bandwidth/bandwidth,
where bandwidth is the physical interface speed. However, if you specify a value for bandwidth
using the bandwidth statement, that value is used to calculate the interface cost, rather than the
actual physical interface bandwidth.
To configure the bandwidth value for a logical interface, include the bandwidth statement:
bandwidth rate;
rate is the peak rate, in bps or cps. You can specify a value in bits per second either as a complete
decimal number or as a decimal number followed by the abbreviation k (1000), m (1,000,000), or
g (1,000,000,000). You can also specify a value in cells per second by entering a decimal number
followed by the abbreviation c; values expressed in cells per second are converted to bits per second
using the formula 1 cps = 384 bps. The value can be any positive integer. The bandwidth statement is
valid for all logical interfaces, except multilink interfaces.
IN THIS SECTION
• With the atm-nlpid, atm-cisco-nlpid, and atm-vc-mux encapsulations, you can configure the inet
family only.
• With the CCC circuit encapsulations, you cannot configure a family on the logical interface.
• A logical interface cannot have frame-relay-ccc encapsulation unless the physical device also has
frame-relay-ccc encapsulation.
• A logical interface cannot have frame-relay-tcc encapsulation unless the physical device also has
frame-relay-tcc encapsulation. In addition, you must assign this logical interface a DLCI from 512
through 1022 and configure it as point-to-point.
• For frame-relay-ether-type-tcc encapsulation, you must assign this logical interface a DLCI from 512
through 1022.
146
• For interfaces that carry IP version 6 (IPv6) traffic, you cannot configure ether-over-atm-llc
encapsulation.
• When you use ether-over-atm-llc encapsulation, you cannot configure multipoint interfaces.
• A logical interface cannot have vlan-ccc or vlan-vpls encapsulation unless the physical device also has
vlan-ccc or vlan-vpls encapsulation, respectively. In addition, you must assign this logical interface a
VLAN ID from 512 through 1023; if the VLAN ID is 511 or lower, it is subject to the normal
destination filter lookups in addition to source address filtering. For more information, see
Configuring VLAN and Extended VLAN Encapsulation.
• You can create an ATM cell-relay circuit by configuring an entire ATM physical device or an individual
virtual circuit (VC). When you configure an entire device, only cell-relay encapsulation is allowed on
the logical interfaces. For more information, see Configuring an ATM1 Cell-Relay Circuit Overview.
[edit]
user@host# set interfaces at-fpc/pic/port unit logical-unit-number
IN THIS SECTION
Purpose | 147
147
Action | 147
Meaning | 147
Purpose
To display the configured encapsulation and its associated set options on a physical interface when the
following are set at the [edit interfaces interface-name] or [edit logical-systems logical-system-name
interfaces interface-name] hierarchy level:
• interface-name—at-1/1/0
• Encapsulation—atm-ccc-cell-relay
• Unit—120
Action
Run the show command at the [edit interfaces interface-name] hierarchy level.
Meaning
The configured encapsulation and its associated set options are displayed as expected.
RELATED DOCUMENTATION
This topic describes how to configure interface encapsulation on PTX Series Packet Transport Routers.
Use the flexible-ethernet-services configuration statement to configure different encapsulation for
different logical interfaces under a physical interface. With flexible Ethernet services encapsulation, you
can configure each logical interface encapsulation without range restrictions for VLAN IDs.
• flexible-ethernet-services
• ethernet-ccc
• ethernet-tcc
• ethernet
• vlan-ccc
• vlan-tcc
NOTE: PTX Series Packet Transport Routers do not support extended-vlan-cc and extended-
vlan-tcc encapsulation on logical interfaces. Instead, you can configure a tag protocol ID (TPID)
value of 0x9100 to achieve the same results.
interfaces {
et-fpc/pic/port {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 1000;
family inet {
address 11.0.0.20/24;
}
}
unit 1 {
encapsulation vlan-ccc;
149
vlan-id 1010;
}
unit 2 {
encapsulation vlan-tcc;
vlan-id 1020;
family tcc {
proxy {
inet-address 11.0.2.160;
}
remote {
inet-address 11.0.2.10;
}
}
}
}
}
By default, all interfaces are assumed to be point-to-point connections. You must ensure that the
maximum transmission unit (MTU) sizes on both sides of the connection are the same.
For all interfaces except aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet, you can explicitly
configure an interface to be a point-to-point connection by including the point-to-point statement:
point-to-point;
multipoint;
A dynamic profile acts as a template that enables you to create, update, or remove a configuration that
includes attributes for client access (for example, interface or protocol) or service (for example, IGMP).
Using these profiles you can consolidate all of the common attributes of a client (and eventually a group
of clients) and apply the attributes simultaneously.
After they are created, the profiles reside in a profile library on the router. You can then use the
dynamic-profile statement to attach profiles to interfaces. To assign a dynamic profile to a PPP interface,
you can include the dynamic-profile statement at the [edit interfaces interface-name unit logical-unit-
number ppp-options] hierarchy level:
For information about dynamic profiles, see Dynamic Profiles Overview in the Junos Subscriber Access
Configuration Guide.
For information about creating dynamic profiles, see Configuring a Basic Dynamic Profile in the Junos
Subscriber Access Configuration Guide.
For information about assigning a dynamic profile to a PPP interface, see Attaching Dynamic Profiles to
Static PPP Subscriber Interfaces in the Junos Subscriber Access Configuration Guide.
For information about using dynamic profiles to authenticate PPP subscribers, see Configuring Dynamic
Authentication for PPP Subscribers.
151
NOTE: Dynamic profiles for PPP subscribers are supported only on PPPoE interfaces for this
release.
IN THIS SECTION
• The number of files that the router or switch retains before discarding, and the number of bytes per
file
• The polling period that the system uses to record the data
You configure the profiles and define a unique name for each profile using statements at the [edit
accounting-options] hierarchy level. There are two types of accounting profiles: interface profiles and
filter profiles. You configure interface profiles by including the interface-profile statement at the [edit
accounting-options] hierarchy level. You configure filter profiles by including the filter-profile statement
at the [edit accounting-options] hierarchy level. For more information, see the Junos OS Network
Management Administration Guide for Routing Devices.
You apply filter profiles by including the accounting-profile statement at the [edit firewall filter filter-
name] and [edit firewall family family filter filter-name] hierarchy levels. For more information, see the
Routing Policies, Firewall Filters, and Traffic Policers User Guide.
152
You must configure a profile to collect error and statistic information for input and output packets on a
particular logical interface. An accounting profile specifies what statistics should be collected and
written to a log file. For more information on how to configure an accounting-data log file, see the
Configuring Accounting-Data Log Files.
An interface profile specifies the information collected and written to a log file. You can configure a
profile to collect error and statistic information for input and output packets on a particular logical
interface.
1. To configure which statistics should be collected for an interface, include the fields statement at the
[edit accounting-options interface-profile profile-name] hierarchy level.
2. Each accounting profile logs its statistics to a file in the /var/log directory. To configure which file to
use, include the file statement at the [edit accounting-options interface-profile profile-name]
hierarchy level.
NOTE: You must specify a file statement for the interface profile that has already been
configured at the [edit accounting-options] hierarchy level. For more information, see the
Configuring Accounting-Data Log Files
3. Each interface with an accounting profile enabled has statistics collected once per interval time
specified for the accounting profile. Statistics collection time is scheduled evenly over the configured
interval. To configure the interval, include the interval statement at the [edit accounting-options
interface-profile profile-name] hierarchy level.
NOTE: The minimum interval allowed is 1 minute. Configuring a low interval in an accounting
profile for a large number of interfaces might cause serious performance degradation.
4. To configure the interfaces on which the accounting needs to be performed, apply the interface
profile to a logial interface by including the accounting-profile statement at the [edit interfaces
interface-name unit logical-unit-number] hierarchy level.
[edit interfaces]
user@host# set interface-name unit logical-unit-numberaccounting-profile profile-name
SEE ALSO
IN THIS SECTION
Purpose | 153
Action | 154
Meaning | 154
Purpose
To display the configured accounting profile a particular logical interface at the [edit accounting-options
interface-profile profile-name] hierarchy level:
• interface-name—ge-1/0/1
• File name—if_stats
• Interval—15 minutes
154
Action
• Run the show command at the [edit interfaces ge-1/0/1 unit 1] hierarchy level.
interface-profile if_profile {
interval 15;
file if_stats {
fields {
input-bytes;
output-bytes;
input-packets;
output-packets;
input-errors;
output-errors;
}
}
}
Meaning
The configured accounting and its associated set options are displayed as expected.
By default, Simple Network Management Protocol (SNMP) notifications are sent when the state of an
interface or a connection changes. To explicitly enable these notifications on the logical interface,
include the traps statement; to disable these notifications on the logical interface, include the no-traps
statement:
(traps | no-traps);
You can unconfigure a logical interface, effectively disabling that interface, without removing the logical
interface configuration statements from the configuration. To do this, include the disable statement:
disable;
When an interface is disabled, a route (pointing to the reserved target “REJECT”) with the IP address of
the interface and a 32–bit subnet mask is installed in the routing table. See Routing Protocols.
[edit interfaces]
user@host# show
et-2/1/1 {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 1000;
family inet {
address 11.0.0.20/24;
}
}
}
156
IN THIS SECTION
Operational Behavior of Interfaces When the Same IPv4 Address Is Assigned to Them | 163
This section discusses on how to configure protocol family and interface address properties.
A protocol family is a group of logical properties within an interface configuration. Protocol families
include all the protocols that make up a protocol suite. To use a protocol within a particular suite, you
must configure the entire protocol family as a logical property for an interface.
• Inet—Supports IP protocol traffic, including OSPF, BGP, and Internet Control Message Protocol
(ICMP).
• Inet6—Supports IPv6 protocol traffic, including RIP for IPv6 (RIPng), IS-IS, and BGP.
• MPLS—Supports MPLS.
In addition to the common protocol suites, JUNOS protocol families sometimes use the following
protocol suites. For more information see, family.
To configure the logical interface’s protocol family, include the family statement, specifying the selected
family. To configure the protocol family, following are the minimum configuration tasks under the [edit
interfaces interface-name unit logical-unit-number family family] hierarchy.
Configure the unit and family so that the interface can Restricting Tunnels to Multicast Traffic
transmit and receive multicast traffic only
158
Disable the sending of redirect messages by the router Protocol Redirect Messages
SEE ALSO
family
You assign an address to an interface by specifying the address when configuring the protocol family.
For the inet or inet6 family, configure the interface IP address. For the iso family, configure one or more
addresses for the loopback interface. For the ccc, ethernet-switching, tcc, mpls, tnp, and vpls families,
you never configure an address.
NOTE: The point-to-point (PPP) address is taken from the loopback interface address that has
the primary attribute. When the loopback interface is configured as an unnumbered interface, it
takes the primary address from the donor interface.
1. Configure the interface address at the [edit interfaces interface-name unit logical-unit-number
family family] hierarchy level.
• To configure an IPv4 address on routers and switches running Junos OS, use the interface
interface-name unit number family inet address a.b.c.d/nn statement at the [edit interfaces]
hierarchy level.
You can also assign multiple IPv4 addresses on the same interface.
[edit interfaces ]
user@host# set interface-name unit logical-unit-number family inet address a.b.c.d/nn
159
NOTE:
• Juniper Networks routers and switches support /31 destination prefixes when used in
point-to-point Ethernet configurations; however, they are not supported by many other
devices, such as hosts, hubs, routers, or switches. You must determine if the peer
system also supports /31 destination prefixes before configuration.
• You can configure the same IPv4 address on multiple physical interfaces. When you
assign the same IPv4 address to multiple physical interfaces, the operational behavior
of those interfaces differs, depending on whether they are implicitly or explicitly point-
to-point .
• By default, all interfaces are assumed to be point-to-point (PPP) interfaces. For all
interfaces except aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet, you can
explicitly configure an interface to be a point-to-point connection.
• If you configure the same IP address on multiple interfaces in the same routing
instance, Junos OS applies the configuration randomly on one of the interfaces. The
other interfaces will remain without an IP address.
• To configure an IPv6 address on routers and switches running Junos OS, use the interface
interface-name unit number family inet6 address aaaa:bbbb:...:zzzz/nn statement at the [edit
interfaces] hierarchy level.
[edit interfaces ]
user@host# set interface-name unit logical-unit-number family inet6 address aaaa:bbbb:...:zzzz/nn
NOTE:
• You must manually configure the router or switch advertisement and advertise the
default prefix for autoconfiguration to work on a specific interface.
NOTE: The broadcast address must have a host portion of either all ones or all zeros. You
cannot specify the addresses 0.0.0.0 or 255.255.255.255
3. [Optional] specify the remote address of the connection for the encrypted, PPP-encapsulated, and
tunnel interfaces.
4. [Optional] For interfaces that carry IP version 6 (IPv6) traffic, configure the host to assign iteslf a
unique 64-Bit IP Version 6 interface identifier (EUI-64).
IN THIS SECTION
The default address of the router is used as the source address on unnumbered interfaces. The routing
protocol process tries to pick the default address as the router ID, which is used by protocols, including
OSPF and internal BGP (IBGP).
161
The primary interface for the router is the interface that packets go out when no interface name is
specified and when the destination address does not imply a particular outgoing interface.
An interface’s primary address is used by default as the local address for broadcast and multicast packets
sourced locally and sent out the interface. An interface’s preferred address is the default local address
used for packets sourced by the local router to destinations on the subnet.
The default address of the router is chosen using the following sequence:
1. The primary address on the loopback interface lo0 that is not 127.0.0.1 is used.
• It is the interface that packets go out when you type a command such as ping 255.255.255.255—that
is, a command that does not include an interface name (there is no interface type-0/0/0.0 qualifier)
and where the destination address does not imply any particular outgoing interface.
• It is the interface on which multicast applications running locally on the router, such as Session
Announcement Protocol (SAP), do group joins by default.
• It is the interface from which the default local address is derived for packets sourced out an
unnumbered interface if there are no non-127 addresses configured on the loopback interface, lo0.
By default, the multicast-capable interface with the lowest-index address is chosen as the primary
interface. If there is no such interface, the point-to-point interface with the lowest index address is
chosen. Otherwise, any interface with an address could be picked. In practice, this means that, on the
router, the fxp0 or em0 interface is picked by default.
To configure a different interface to be the primary interface, include the primary statement:
primary;
primary;
To set a different preferred address for the subnet, include the preferred statement:
preferred;
You can configure the same IPv4 address on multiple physical interfaces. When you assign the same
IPv4 address to multiple physical interfaces, the operational behavior of those interfaces differs,
depending on whether they are (implicitly) point-to-point or not.
NOTE: For all interfaces except aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet, you
can explicitly configure an interface to be a point-to-point connection.
If you configure the same IP address on multiple interfaces in the same routing instance, Junos OS
applies the configuration randomly on one of the interfaces. The other interfaces will remain without an
IP address.
The following examples show the sample configuration of assigning the same IPv4 address to implicitly
and explicitly point-to-point interfaces, and their corresponding show interfaces terse command outputs
to see their operational status.
[edit]
user@host# show
ge-0/1/0 {
unit 0 {
family inet {
address 200.1.1.1/24;
}
}
}
ge-3/0/1 {
unit 0 {
family inet {
address 200.1.1.1/24;
}
}
}
164
The sample output shown below for the above configuration reveals that only ge-0/1/0.0 was
assigned the same IPv4 address 200.1.1.1/24 and its link state was up, while ge-3/0/1.0 was not
assigned the IPv4 address, though its link state was up, which means that it will be operational only
when it gets a unique IPv4 address other than 200.1.1.1/24.
[edit]
user@host# show
so-0/0/0 {
unit 0 {
family inet {
address 200.1.1.1/24;
}
}
}
so-0/0/3 {
unit 0 {
family inet {
address 200.1.1.1/24;
}
}
}
The sample output shown below for the above configuration reveals that both so-0/0/0.0 and
so-0/0/3.0 were assigned the same IPv4 address 200.1.1.1/24 and that their link states were down.
The interfaces are down due to an issue with the link and not because same IPv4 address is assigned
to both the interfaces. It is expected that not more than one of the interface is up at any given time
165
(following a redundancy scheme outside of the JUNOS devices scope) as both being up may cause
adverse effects.
[edit interfaces]
user@host# show
ge-0/0/1 {
vlan-tagging;
unit 0 {
vlan-id 1;
family inet {
address 1.1.1.1/24;
}
}
unit 1{
vlan-id 2;
family inet {
address 1.1.1.1/24;
}
}
}
166
On a non-P2P interface, you cannot configure the same local address on different units of different
interfaces. In this case, commit error will be thrown and the configuration will not be successful.
4. Configuring same IPv4 address in multiple instances of the same p2p interface
[edit interfaces]
user@host# show
gr-0/0/10 {
unit 0 {
tunnel {
source 1.1.1.1;
destination 1.1.1.2;
}
family inet {
mtu 1500;
address 1.2.2.2/24;
}
}
unit 1{
family inet {
address 1.2.2.2/24;
}
}
}
The sample output shown below for the above configuration reveals that only one interfaces gets
successfully configured on P2P interfaces, when you try to configure same IPv4 address for multiple
instance of different interfaces.
For interfaces with PPP encapsulation, you can configure IPCP to negotiate IP address assignments and
to pass network-related information such as Windows Name Service (WINS) and Domain Name System
167
(DNS) servers, as defined in RFC 1877, PPP Internet Protocol Control Protocol Extensions for Name
Server Addresses.
When you enable a PPP interface, you can configure an IP address, enable the interface to negotiate an
IP address assignment from the remote end, or allow the interface to be unnumbered. You can also
assign a destination profile to the remote end. The destination profile includes PPP properties, such as
primary and secondary DNS and NetBIOS Name Servers (NBNSs). These options are described in the
following sections:
NOTE: The Junos OS does not request name servers from the remote end; the software does,
however, send name servers to the remote end if requested.
You must configure the PPP encapsulation on the interface before configuring the IPCP option. On the
logical interface, the following PPP encapsulation types are supported:
• atm-mlppp-llc
• atm-ppp-llc
• atm-ppp-vc-mux
• multilink-ppp
For more information about PPP encapsulation, see Configuring Interface Encapsulation on Logical
Interfaces and Configuring ATM Interface Encapsulation
• To configure an IP address for the interface, include the address statement in the configuration. For
more information, see Configuring the Interface Address.
If you include the address statement in the configuration, you cannot include the negotiate-address
or unnumbered-address statement in the configuration.
When you include the address statement in the interface configuration, you can assign PPP
properties to the remote end.
NOTE: The option to negotiate an IP address is not allowed in MLFR and MFR
encapsulations.
168
• To enable the interface to obtain an IP address from the remote end, include the negotiate-address
statement at the [edit interfaces interface-name unit logical-unit-number family inet] hierarchy
level.
NOTE: If you include the negotiate-address statement in the configuration, you cannot
include the address or unnumbered-address statement in the configuration.
NOTE:
• The unnumbered-address statement enables the local address to be derived from the
specified interface. The interface name must include a logical unit number and must have a
configured address (see Configuring the Interface Address). Specify the IP address of the
remote interface with the destination statement.
• If you include the unnumbered-address statement in the configuration, you cannot include
the address or negotiate-address statement in the interface configuration.
169
• To assign PPP properties to the remote end include the destination-profile statement:
NOTE:
• You can assign PPP properties to the remote end, after you include the address or
unnumbered-address statement in the interface configuration.
• You define the profile at the [edit access group-profile name ppp] hierarchy level. For more
information, see Configuring the Group Profile for L2TP and PPP.
SEE ALSO
IN THIS SECTION
Configuring a Preferred Source Address for Unnumbered Ethernet or Demux Interfaces | 172
Displaying the Configured Preferred Source Address for an Unnumbered Ethernet Interface | 176
170
Displaying the Configuration for Unnumbered Ethernet Interface as the Next Hop for a Static
Route | 177
When you need to conserve IP addresses, you can configure unnumbered interfaces. Setting up an
unnumbered interface enables IP processing on the interface without assigning an explicit IP address to
the interface. For IPv6, in which conserving addresses is not a major concern, you can configure
unnumbered interfaces to share the same subnet across multiple interfaces. IPv6 unnumbered interfaces
are only supported on Ethernet interfaces. The statements you use to configure an unnumbered
interface depend on the type of interface you are configuring: a point-to-point interface or an Ethernet
interface:
[edit ]
user@host# edit interfaces interface-name unit logical-unit-number
2. To configure an unnumbered point-to-point interface, configure the protocol family, but do not
include the address statement.
NOTE:
• For interfaces with PPP encapsulation, you can configure an unnumbered interface by
including the unnumbered-interface statement in the configuration. For more information,
see Configuring IPCP Options for Interfaces with PPP Encapsulation.
• When configuring unnumbered interfaces, you must ensure that a source address is
configured on some interface in the router. This address is the default address. We
recommend that you do this by assigning an address to the loopback interface (lo0), as
171
[edit ]
user@host# edit interfaces interface-name unit logical-unit-number family
family-name
3. (Optional) To specify the unnumbered Ethernet interface as the next-hop interface for a configured
static route, include the qualified-next-hop statement at the [edit routing-options static route
destination-prefix] hierarchy level. This feature enables you to specify independent preferences and
metrics for static routes on a next-hop basis.
NOTE:
• The interface that you configure to be unnumbered borrows an assigned IP address from
another interface, and is referred to as the borrower interface. The interface from which the
172
• When you configure an unnumbered Ethernet or demux interface, the IP address of the donor
interface becomes the source address in packets generated by the unnumbered interface.
• You can configure a host route that points to an unnumbered Ethernet or demux interface.
For information about host routes, see the MPLS Applications User Guide.
[edit ]
user@host# edit interfaces interface-name unit logical-unit-number family
family-name
2. To configure a secondary address on a loopback donor interface as the preferred source address for
an unnumbered Ethernet or demux interface, include the preferred-source-address option in the
unnumbered-address statement:
NOTE: The following considerations apply when you configure a preferred source address on an
unnumbered Ethernet or demux interface:
• If you do not specify the preferred source address, the router uses the default primary IP
address of the donor interface.
• You cannot delete an address on a donor loopback interface while it is being used as the
preferred source address for an unnumbered Ethernet or demux interface.
• You cannot assign an IP address to an Ethernet interface that is already configured as an unnumbered
interface.
• The donor interface for an unnumbered Ethernet interface must have one or more configured IP
addresses.
• The donor interface for an unnumbered Ethernet interfaced cannot be configured as unnumbered.
• An unnumbered Ethernet interface does not support configuration of the following address
statement options: arp, broadcast, primary, preferred, and vrrp-group. For information about these
options, see Configuring the Interface Address.
• Running IGMP and PIM are supported only on unnumbered Ethernet interfaces that directly face the
host and have no downstream PIM neighbors. IGMP and PIM are not supported on unnumbered
Ethernet interfaces that act as upstream interfaces in a PIM topology.
• Running OSPF and IS-IS on unnumbered Ethernet interfaces is not supported. However, you can run
OSPF over unnumbered Ethernet interfaces configured as a Point-to-Point connection.
For link-state distribution using an interior gateway protocol (IGP), ensure that OSPF is enabled on
the donor interface for an unnumbered interface configuration, so the donor IP address is reachable
to establish OSPF sessions.
174
NOTE: If you configure the same address on multiple interfaces in the same routing instance,
Junos OS uses only the first configuration, the remaining address configurations are ignored and
can leave interfaces without an address. Interfaces that do not have an assigned address cannot
be used as a donor interface for an unnumbered Ethernet interface.
For example, in the following configuration the address configuration of interface xe-0/0/1.0 is
ignored:
interfaces {
xe-0/0/0 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
}
}
xe-0/0/1 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
}
}
For more information on configuring the same address on multiple interfaces, see Configuring
the Interface Address.
IN THIS SECTION
Purpose | 175
Action | 175
Meaning | 175
175
Purpose
To display the configured unnumbered interface at the [edit interfaces interface-name unit logical-unit-
number] hierarchy level:
Action
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 4.4.4.1/24;
}
}
}
ge-1/0/0 {
unit 0 {
family inet {
unnumbered-address ge-0/0/0.0;
}
}
}
}
Meaning
The sample configuration that is described works correctly on M and T Series routers. For unnumbered
interfaces on MX Series routers, you must additionally configure static routes on an unnumbered
Ethernet interface by including the qualified-next-hop statement at the [edit routing-options static
route destination-prefix] hierarchy level to specify the unnumbered Ethernet interface as the next-hop
interface for a configured static route.
176
IN THIS SECTION
Purpose | 176
Action | 176
Meaning | 177
Purpose
To display the configuration of preferred source address for an unnumbered interface at the [edit
interfaces interface-name unit logical-unit-number family inet] hierarchy level:
Action
interfaces {
lo0 {
unit 0 {
family inet {
address 2.2.2.1/32;
address 3.3.3.1/32;
}
}
}
}
interfaces {
ge-4/0/0 {
unit 0 {
family inet {
177
Meaning
The loopback interface lo0 is the donor interface from which unnumbered Ethernet interface ge-4/0/0
“borrows” an IP address.
The example shows one of the loopback interface’s secondary addresses, 3.3.3.1, as the preferred
source address for the unnumbered Ethernet interface.
Displaying the Configuration for Unnumbered Ethernet Interface as the Next Hop for
a Static Route
IN THIS SECTION
Purpose | 177
Action | 178
Meaning | 178
Purpose
To display the unnumbered interface configured as the next hop for the static route at the [edit
interfaces interface-name unit logical-unit-number family inet] hierarchy level:
• Static route—7.7.7.1/32
178
Action
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
unnumbered-address lo0.0;
}
}
}
}
lo0 {
unit 0 {
family inet {
address 5.5.5.1/32;
address 6.6.6.1/32;
}
}
}
• The following configuration enables the kernel to install a static route to address 7.7.7.1/32 with a
next hop through unnumbered interface ge-0/0/0.0.
static {
route 7.7.7.1/32 {
qualified-next-hop ge-0/0/0.0;
}
}
Meaning
In this example, ge-0/0/0 is the unnumbered interface and a loopback interface, lo0, is the donor
interface from which ge-0/0/0 “borrows” an IP address. The example also configures a static route to
7.7.7.1/32 with a next hop through unnumbered interface ge-0/0/0.0.
179
When you initially configure an interface, the protocol maximum transmission unit (MTU) is calculated
automatically. If you subsequently change the media MTU, the protocol MTU on existing address
families automatically changes.
For a list of default protocol MTU values, see Media MTU Sizes by Interface Type.
To modify the MTU for a particular protocol family, include the mtu statement:
mtu bytes;
If you increase the size of the protocol MTU, you must ensure that the size of the media MTU is equal to
or greater than the sum of the protocol MTU and the encapsulation overhead. For a list of encapsulation
overhead values, see Encapsulation Overhead by Interface Encapsulation Type. If you reduce the media
MTU size, but there are already one or more address families configured and active on the interface, you
must also reduce the protocol MTU size. (You configure the media MTU by including the mtu statement
at the [edit interfaces interface-name] hierarchy level.)
NOTE: Changing the media MTU or protocol MTU causes an interface to be deleted and added
again.
The maximum number of data-link connection identifiers (DLCIs) is determined by the MTU on the
interface. If you have keepalives enabled, the maximum number of DLCIs is 1000, with the MTU set to
5012.
The actual frames transmitted also contain cyclic redundancy check (CRC) bits, which are not part of the
MTU. For example, the default protocol MTU for a Gigabit Ethernet interface is 1500 bytes, but the
largest possible frame size is actually 1504 bytes; you need to consider the extra bits in calculations of
MTUs for interoperability.
SEE ALSO
For Point-to-Point Protocol (PPP) CCC-encapsulated interfaces, the address and control bytes are
removed by default before the packet is encapsulated into a tunnel.
You can disable the removal of address and control bytes. To do this, include the keep-address-and-
control statement:
keep-address-and-control;
SEE ALSO
keep-address-and-control
By default, the interface sends protocol redirect messages. To disable the sending of these messages on
an interface, include the no-redirects statement:
no-redirects;
To disable the sending of protocol redirect messages for the entire router or switch, include the no-
redirects statement at the [edit system] hierarchy level.
181
SEE ALSO
no-redirects
IN THIS SECTION
IN THIS SECTION
When applying a firewall filter, you can define an interface to be part of an interface group. Packets
received on that interface are tagged as being part of the group. You can then match these packets using
the interface-group match statement, as described in the Routing Policies, Firewall Filters, and Traffic
Policers User Guide.
To define the interface to be part of an interface group, include the group statement:
group filter-group-number;
When an FBF filter is installed as an output filter, a packet that is forwarded to the filter has already
undergone at least one route lookup. After the packet is classified at the egress interface by the FBF
filter, it is redirected to another routing table for additional route lookup. To avoid packet looping inside
the Packet Forwarding Engine, the route lookup in the latter routing table (designated by an FBF routing
instance) must result in a different next hop from any next hop specified in a table that has already been
applied to the packet.
If an input interface is configured for FBF, the source lookup is disabled for those packets headings to a
different routing instance, since the routing table is not set up to handle the source lookup.
For more information about FBF configuration, see the Junos OS Routing Protocols Library for Routing
Devices. For more information about port mirroring, see the Junos OS Services Interfaces Library for
Routing Devices.
filter {
group filter-group-number;
input filter-name;
input-list [ filter-names ];
output filter-name;
output-list [ filter-names ];
}
filter {
input filter-name;
}
183
To apply a list of filters to evaluate packets received on an interface, include the input-list statement.
filter {
input-list [ filter-names ];
}
To apply a list of filters to evaluate packets transmitted on an interface, include the output-list
statement.
filter {
output-list [ filter-names ];
}
When you apply filters using the input-list statement or the output-list statement, a new filter is created
with the name <interface-name>.<unit-direction>. This filter is exclusively interface-specific.
In the family statement, the protocol family can be ccc, inet, inet6, mpls, or vpls.
In the group statement, specify the interface group number to associate with the filter.
In the input statement, list the name of one firewall filter to be evaluated when packets are received on
the interface.
In the input-list statement, list the names of filters to evaluate when packets are received on the
interface. You can include up to 16 filter names.
In the output statement, list the name of one firewall filter to be evaluated when packets are transmitted
on the interface.
NOTE: Output filters do not work for broadcast and multicast traffic, including VPLS traffic
(except in MX Series routers with MPC/MIC interfaces), as shown in "Applying a Filter to an
Interface".
184
NOTE: MPLS family firewall filters applied on the output interface are not supported on the
PTX10003 router due to product limitation.
NOTE: On an MX Series router, you cannot apply as an output filter, a firewall filter configured at
the [edit firewall filter family ccc] hierarchy level. Firewall filters configured for the family ccc
statement can be applied only as input filters.
In the output-list statement, list the names of filters to evaluate when packets are transmitted on the
interface. You can include up to 16 filter names.
You can use the same filter one or more times. On M Series routers (except the M320 and M120
routers), if you apply a firewall filter or policer to multiple interfaces, the filter or policer acts on the sum
of traffic entering or exiting those interfaces.
On T Series, M120, and M320 routers, interfaces are distributed among multiple packet forwarding
components. Therefore, on these routers, if you apply a firewall filter or policer to multiple interfaces,
the filter or policer acts on the traffic stream entering or exiting each interface, regardless of the sum of
traffic on the multiple interfaces.
For more information on Understanding Ethernet Frame Statistics, see the MX Series Layer 2
Configuration Guide.
If you apply the filter to the interface lo0, it is applied to packets received or transmitted by the Routing
Engine. You cannot apply MPLS filters to the management interface (fxp0 or em0) or the loopback
interface (lo0).
Filters applied at the [set interfaces lo0 unit 0 family any filter input] hierarchy level are not installed on
T4000 Type 5 FPCs.
For more information about firewall filters, see the Routing Policies, Firewall Filters, and Traffic Policers
User Guide. For more information about MPLS filters, see the MPLS Applications User Guide.
For M Series and T Series routers only, apply an input filter to VPLS traffic. Output filters do not work
for broadcast and multicast traffic, including VPLS traffic. Note that on MX Series routers with
MPC/MIC interfaces, the VPLS filters on the egress is applicable to broadcast, multicast, and unknown
unicast traffic.
[edit interfaces]
fe-2/2/3 {
185
vlan-tagging;
encapsulation vlan-vpls;
unit 601 {
encapsulation vlan-vpls;
vlan-id 601;
family vpls {
filter {
input filter1; # Works for multicast destination MAC address
output filter1; # Does not work for multicast destination MAC
address
}
}
}
}
[edit firewall]
family vpls {
filter filter1 {
term 1 {
from {
destination-mac-address {
01:00:0c:cc:cc:cd/48;
}
}
then {
discard;
}
}
term 2 {
then {
accept;
}
}
}
}
The following example illustrates the configuration of filter-based forwarding at the output interface. In
this example, the packet flow follows this path:
186
1. A packet arrives at interface fe-1/2/0.0 with source and destination addresses 10.50.200.1 and
10.50.100.1 respectively.
2. The route lookup in routing table inet.0 points to the egress interface so-0/0/3.0.
3. The output filter installed at so-0/0/3.0 redirects the packet to routing table fbf.inet.0.
4. The packet matches the entry 10.50.100.0/25 in the fbf.inet.0 table, and finally leaves the router
from interface so-2/0/0.0.
[edit interfaces]
so-0/0/3 {
unit 0 {
family inet {
filter {
output fbf;
}
address 10.50.10.2/25;
}
}
}
fe-1/2/0 {
unit 0 {
family inet {
address 10.50.50.2/25;
}
}
}
so-2/0/0 {
unit 0 {
family inet {
address 10.50.20.2/25;
}
}
}
[edit firewall]
filter fbf {
term 0 {
from {
source-address {
10.50.200.0/25;
}
}
187
IN THIS SECTION
For interfaces that carry IPv4, IPv6, MPLS, or peer AS billing traffic, you can maintain packet counts
based on the entry and exit points for traffic passing through your network. Entry and exit points are
identified by source and destination prefixes grouped into disjoint sets defined as source classes and
destination classes. You can define classes based on a variety of parameters, such as routing neighbors,
autonomous systems, and route filters.
Source class usage (SCU) counts packets sent to customers by performing lookup on the IP source
address. SCU makes it possible to track traffic originating from specific prefixes on the provider core and
destined for specific prefixes on the customer edge. You must enable SCU accounting on both the
inbound and outbound physical interfaces, and the route for the source of the packet must be in located
in the forwarding table.
NOTE: SCU and DCU accounting do not work with directly connected interface routes. Source
class usage does not count packets coming from sources with direct routes in the forwarding
table because of software architecture limitations.
Destination class usage (DCU) counts packets from customers by performing lookup of the
IP destination address. DCU makes it possible to track traffic originating from the customer edge and
destined for specific prefixes on the provider core router.
NOTE: We recommend that you stop the network traffic on an interface before you modify the
DCU or SCU configuration for that interface. Modifying the DCU or SCU configuration without
stopping the traffic might corrupt the DCU or SCU statistics. Before you restart the traffic after
modifying the configuration, enter the clear interfaces statistics command.
Figure 1 illustrates an Internet service provider (ISP) network. In this topology, you can use DCU to
count packets customers send to specific prefixes. For example, you can have three counters, one per
customer, that count the packets destined for prefix 210.210/16 and 220.220/16.
189
You can use SCU to count packets the provider sends from specific prefixes. For example, you can count
the packets sent from prefix 210.210/16 and 215.215/16 and transmitted on a specific output
interface.
You can configure up to 126 source classes and 126 destination classes. For each interface on which you
enable destination class usage and source class usage, the Junos OS maintains an interface-specific
counter for each corresponding class up to the 126 class limit.
NOTE: For transit packets exiting the router through the tunnel, forwarding path features, such
as RPF, forwarding table filtering, source class usage, and destination class usage are not
supported on the interfaces you configure as the output interface for tunnel traffic. For firewall
filtering, you must allow the output tunnel packets through the firewall filter applied to input
traffic on the interface that is the next-hop interface towards the tunnel destination.
NOTE: Performing DCU accounting when an output service is enabled produces inconsistent
behavior in the following configuration:
• Both SCU input and DCU are configured on the packet input interface.
For an incoming packet with source and destination prefixes matching the SCU and DCU classes
respectively configured in the router, both SCU and DCU counters will be incremented. This
behavior is not harmful or negative. However, it is inconsistent with non-serviced packets, in that
only the SCU count will be incremented (because the SCU class ID will override the DCU class ID
in this case).
accounting {
destination-class-usage;
source-class-usage {
direction;
}
}
• input output—On a single interface, configure at least one expected ingress point and one expected
egress point.
For SCU to work, you must configure at least one input interface and at least one output interface.
The ability to count a single packet for both SCU and DCU accounting depends on the underlying
physical interface.
• For traffic over MPC/MIC interfaces , a single incoming packet is counted for both SCU and DCU
accounting if both SCU and DCU are configured. To ensure the outgoing packet is counted, include
the source-class-usage output statements in the configuration of the outgoing interface.
• For traffic over DPC interfaces, an incoming packet is counted only once, and SCU takes priority over
DCU. This means that when a packet arrives on an interface on which you include the source-class-
usage input and destination-class-usage statements in the configuration, and when the source and
191
destination both match accounting prefixes, the Junos OS associates the packet with the source class
only.
For traffic over MPC interfaces , SCU and DCU accounting is performed after output filters are
evaluated. If a packet matches a firewall filter match condition, the packet is included in SCU or DCU
accounting except in the case where the action of the matched term is discard.
On T Series, M120, and M320 routers, the source class and destination classes are not carried across
the router fabric. The implications of this are as follows:
• On T Series, M120, and M320 routers, SCU and DCU accounting is performed before the packet
enters the fabric.
• On M7i, M10i, M120, and M320 routers, on MX Series routers with non-MPC, and on T Series
routers, SCU and DCU accounting is performed before output filters are evaluated. Consequently, if a
packet matches a firewall filter match condition, the packet is included in SCU or DCU accounting;
the packet is counted for any term action (including the discard action).
• On M120, M320, and T Series routers, the destination-class and source-class statements are
supported at the [edit firewall family family-name filter filter-name term term-name from] hierarchy
level only for the filter applied to the forwarding table. On M7i, M10i, and MX Series routers, these
statements are supported.
Once you enable accounting on an interface, the Junos OS maintains packet counters for that interface,
with separate counters for inet, inet6, and mpls protocol families. You must then configure the source
class and destination class attributes in policy action statements, which must be included in forwarding-
table export policies.
NOTE: When configuring policy action statements, you can configure only one source class for
each matching route. In other words, more than one source class cannot be applied to the same
route.
In Junos OS Release 9.3 and later, you can configure SCU accounting for Layer 3 VPNs configured with
the vrf-table-label statement. Include the source-class-usage statement at the [edit routing-instances
routing-instance-name vrf-table-label] hierarchy level. The source-class-usage statement at this
hierarchy level is supported only for the virtual routing and forwarding (VRF) instance type.
NOTE: DCU counters cannot be enabled on the label-switched interface (LSI) that is created
dynamically when the vrf-table-label statement is configured within a VRF. For more
information, see the Junos OS VPNs Library for Routing Devices.
192
For a complete discussion about source and destination class accounting profiles, see the Junos OS
Network Management Administration Guide for Routing Devices. For more information about MPLS,
see the MPLS Applications User Guide.
[edit]
interfaces {
so-6/1/0 {
unit 0 {
family inet {
accounting {
destination-class-usage;
source-class-usage {
output;
}
}
}
}
}
}
Source routers A and B use loopback addresses as the prefixes to be monitored. Most of the
configuration tasks and actual monitoring occur on transit Router SCU.
The loopback address on Router A contains the origin of the prefix that is to be assigned to source
class A on Router SCU. However, no SCU processing happens on this router. Therefore, configure
Router A for basic OSPF routing and include your loopback interface and interface so-0/0/2 in the
OSPF process.
2.
Router A
[edit]
interfaces {
so-0/0/2 {
unit 0 {
family inet {
address 10.255.50.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.255.192.10/32;
}
}
}
}
protocols {
ospf {
area 0.0.0.0 {
interface so-0/0/2.0;
interface lo0.0;
}
}
}
Router SCU handles the bulk of the activity in this example. On Router SCU, enable source class
usage on the inbound and outbound interfaces at the [edit interfaces interface-name unit unit-
194
number family inet accounting] hierarchy level. Make sure you specify the expected traffic: input,
output, or, in this case, both.
Next, configure a route filter policy statement that matches the prefixes of the loopback addresses
from routers A and B. Include statements in the policy that classify packets from Router A in one
group named scu-class-a and packets from Router B in a second class named scu-class-b. Notice the
efficient use of a single policy containing multiple terms.
Router SCU
[edit]
interfaces {
so-0/0/1 {
unit 0 {
family inet {
accounting {
source-class-usage {
input;
output;
}
}
address 10.255.50.1/24;
}
}
}
so-0/0/3 {
unit 0 {
family inet {
accounting {
source-class-usage {
input;
output;
}
}
address 10.255.10.3/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.255.6.111/32;
}
195
}
}
}
protocols {
ospf {
area 0.0.0.0 {
interface so-0/0/1.0;
interface so-0/0/3.0;
}
}
}
routing-options {
forwarding-table {
export scu-policy;
}
}
policy-options {
policy-statement scu-policy {
term 0 {
from {
route-filter 10.255.192.0/24 orlonger;
}
then source-class scu-class-a;
}
term 1 {
from {
route-filter 10.255.165.0/24 orlonger;
}
then source-class scu-class-b;
}
}
}
4. Just as Router A provides a source prefix, Router B's loopback address matches the prefix assigned to
scu-class-b on Router SCU. Again, no SCU processing happens on this router, so configure Router B
for basic OSPF routing and include your loopback interface and interface so-0/0/4 in the OSPF
process.
Router B
interfaces {
so-0/0/4 {
unit 0 {
196
family inet {
address 10.255.10.4/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.255.165.226/32;
}
}
}
}
protocols {
ospf {
area 0.0.0.0 {
interface so-0/0/4.0;
interface lo0.0;
}
}
}
5. You can use SCU and DCU to count packets on Layer 3 VPNs. To enable packet counting for Layer 3
VPN implementations at the egress point of the MPLS tunnel, you must configure a virtual loopback
tunnel interface (vt) on the PE router, map the virtual routing and forwarding (VRF) instance type to
the virtual loopback tunnel interface, and send the traffic received from the VPN out the source class
output interface, as shown in the following example:
Configure a virtual loopback tunnel interface on a provider edge router equipped with a tunnel PIC:
}
}
6. Map the VRF instance type to the virtual loopback tunnel interface.
In Junos OS Release 9.3 and later, you can configure SCU accounting for Layer 3 VPNs configured
with the vrf-table-label statement. Include the source-class-usage statement at the [edit routing-
instances routing-instance-name vrf-table-label] hierarchy level. The source-class-usage statement
at this hierarchy level is supported only for the virtual routing and forwarding (VRF) instance type.
DCU is not supported when the vrf-table-label statement is configured. For more information, see
the Junos OS VPNs Library for Routing Devices.
[edit routing-instances]
VPN-A {
instance-type vrf;
interface at-2/1/1.0;
interface vt-0/3/0.0;
route-distinguisher 10.255.14.225:100;
vrf-import import-policy-A;
vrf-export export-policy-A;
protocols {
bgp {
group to-r4 {
local-address 10.27.253.1;
peer-as 400;
neighbor 10.27.253.2;
}
}
}
}
7. Send traffic received from the VPN out the source class output interface:
[edit interfaces]
at-2/1/0 {
unit 0 {
family inet {
accounting {
source-class-usage {
output;
}
}
198
}
}
}
For more information about VPNs, see the Junos OS VPNs Library for Routing Devices. For more
information about virtual loopback tunnel interfaces, see the Junos OS Services Interfaces Library for
Routing Devices.
SEE ALSO
accounting
destination-classes
family
forward-and-send-to-re
source-classes
targeted-broadcast
unit
Targeted broadcast is a process of flooding a target subnet with Layer 3 broadcast IP packets originating
from a different subnet. The intent of targeted broadcast is to flood the target subnet with the broadcast
packets on a LAN interface without broadcasting to the entire network. Targeted broadcast is configured
with various options on the egress interface of the router or switch and the IP packets are broadcast
only on the LAN (egress) interface. Targeted broadcast helps you implement remote administration tasks
such as backups and wake-on LAN (WOL) on a LAN interface, and supports virtual routing and
forwarding (VRF) instances.
Regular Layer 3 broadcast IP packets originating from a subnet are broadcast within the same subnet.
When these IP packets reach a different subnet, they are forwarded to the Routing Engine (to be
forwarded to other applications). Because of this, remote administration tasks such as backups cannot
be performed on a particular subnet through another subnet. As a workaround you can enable targeted
broadcast, to forward broadcast packets that originate from a different subnet.
Layer 3 broadcast IP packets have a destination IP address that is a valid broadcast address for the
target subnet. These IP packets traverse the network in the same way as unicast IP packets until they
reach the destination subnet. In the destination subnet, if the receiving router has targeted broadcast
enabled on the egress interface, the IP packets are forwarded to an egress interface and the Routing
199
Engine or to an egress interface only. The IP packets are then translated into broadcast IP packets which
flood the target subnet only through the LAN interface (if there is no LAN interface, the packets are
discarded), and all hosts on the target subnet receive the IP packets. If targeted broadcast is not enabled
on the receiving router, the IP packets are treated as regular Layer 3 broadcast IP packets and are
forwarded to the Routing Engine. If targeted broadcast is enabled without any options, the IP packets
are forwarded to the Routing Engine.
Targeted broadcast can be configured to forward the IP packets only to an egress interface, which is
helpful when the router is flooded with packets to process, or to both an egress interface and the
Routing Engine.
NOTE: Targeted broadcast does not work when the targeted broadcast option forward-and-
send-to-re and the traffic sampling option sampling are configured on the same egress interface
of an M320 router, a T640 router, or an MX960 router. To overcome this scenario, you must
either disable one of the these options or enable the sampling option with the targeted
broadcast option forward-only on the egress interface. For information about traffic sampling,
see Configuring Traffic Sampling.
NOTE: Any firewall filter that is configured on the Routing Engine loopback interface (lo0) cannot
be applied to IP packets that are forwarded to the Routing Engine as a result of a targeted
broadcast. This is because broadcast packets are forwarded as flood next hop and not as local
next hop traffic, and you can only apply a firewall filter to local next hop routes for traffic
directed towards the Routing Engine.
SEE ALSO
targeted-broadcast
IN THIS SECTION
The following sections explain how to configure targeted broadcast on an egress interface and its
options:
[edit]
user@host# set interfaces interface-name
2. Configure the logical unit number at the [edit interfaces interface-name hierarchy level.
3. Configure the protocol family as inet at the [edit interfaces interface-name unit interface-unit-
number hierarchy level.
• To allow IP packets destined for a Layer 3 broadcast address to be forwarded on the egress
interface and to send a copy of the IP packets to the Routing Engine.
NOTE: Targeted broadcast does not work when the targeted broadcast option forward-and-
send-to-re and the traffic sampling option sampling are configured on the same egress interface
of an M320 router, a T640 router, or an MX960 router. To overcome this scenario, you must
either disable one of the these options or enable the sampling option with the targeted
broadcast option forward-only on the egress interface. For information about traffic sampling,
see Configuring Traffic Sampling.
IN THIS SECTION
Forward IP Packets On the Egress Interface and To the Routing Engine | 202
The following topics display targeted broadcast configuration with its various options:
202
IN THIS SECTION
Purpose | 202
Action | 202
Purpose
Display the configuration when targeted broadcast is configured on the egress interface to forward the
IP packets on the egress interface and to send a copy of the IP packets to the Routing Engine.
Action
To display the configuration run the show command at the [edit interfaces interface-name unit
interface-unit-number family inet] where the interface name is ge-2/0/0, the unit value is set to 0, the
protocol family is set to inet.
IN THIS SECTION
Purpose | 203
Action | 203
203
Purpose
Display the configuration when targeted broadcast is configured on the egress interface to forward the
IP packets on the egress interface only.
Action
To display the configuration run the show command at the [edit interfaces interface-name unit
interface-unit-number family inet] where the interface name is ge-2/0/0, the unit value is set to 0, the
protocol family is set to inet.
RELATED DOCUMENTATION
targeted-broadcast
2 CHAPTER
Other Interfaces
Discard Interfaces
IN THIS SECTION
The discardinterface dsc is not a physical interface, but a virtual interface that discards packets.
IN THIS SECTION
Discard Interfaces
You can configure the inet family protocol on the discard interface, which allows you to apply an output
filter to the interface. If you apply an output filter to the interface, the action specified by the filter is
executed before the traffic is discarded.
After you configure a discard interface, you must then configure a local policy to forward attacking
traffic to the discard interface.
• The discard interface allows you to identify the ingress point of a denial-of-service (DoS) attack.
When your network is under attack, the target host IP address is identified, and the local policy
forwards attacking packets to the discard interface. When traffic is routed out of the discard
interface, the traffic is silently discarded.
206
Keep the following guidelines in mind when configuring the discard interface:
• Although you can configure an input filter and a filter group, these configuration statements have no
effect because traffic is not transmitted from the discard interface.
IN THIS SECTION
The discard (dsc) interface is a virtual interface that silently discards packets as they arrive. It is especially
useful if the network is under a denial-of-service (DoS) attack, because you can configure a policy to
drop millions of requests from being sent to a given target address, or set of addresses.
In addition, with a discard interface, you can configure filters for counting, logging, and sampling the
traffic (which you cannot do with discard static routes).
Note that a discard interface can have only one logical unit (unit 0), but you can configure multiple IP
addresses on that unit.
In M and MX series routers, the discard interface is supported for inet, mpls, and vpls traffic families.
Starting in Junos release 20.1, for MX Series routers, the discard interface is also supported for the inet6
family.
[edit]
user@host# edit interfaces
2. Configure the discard interface. Note that you must use ’dsc’ to configure discard interface and
ensure that there is no discard interface already configured.
[edit interfaces]
user@host# edit dsc
[edit]
user@host# edit policy-options
208
[edit policy-options]
user@host# edit policy-statement statement-name
5. Configure the action that is to be taken when the if and to conditions match with the then
statement. In this case, configure the BGP community properties (set, add, and delete) associated
with a route.
RELATED DOCUMENTATION
Release Description
20.1 Starting in Junos release 20.1, for MX Series routers, the discard interface is also supported for the inet6
family.
209
IP Demultiplexing Interfaces
IN THIS SECTION
Demultiplexing (demux) interfaces are logical interfaces that share a common, underlying interface. You
can create logical subscriber interfaces using static or dynamic demultiplexing interfaces. In addition,
you can use IP demultiplexing interfaces or VLAN demultiplexing interfaces when creating logical
subscriber interfaces.
IN THIS SECTION
Demux interfaces support only Gigabit Ethernet, Fast Ethernet, 10-Gigabit Ethernet, or aggregated
Ethernet underlying interfaces.
NOTE: You can also configure demux interfaces dynamically. For information about how to
configure dynamic IP demux or dynamic VLAN demux interfaces, see Configuring Dynamic
210
To configure static demux interfaces, see Configuring a VLAN Demultiplexing Interface and Configuring
an IP Demultiplexing Interface.
IP demux interfaces use the IP source address or IP destination address to demultiplex received packets
when the subscriber is not uniquely identified by a Layer 2 circuit.
To determine which IP demux interface to use, the destination or source prefix is matched against the
destination or source address of packets that the underlying interface receives. The underlying interface
family type must match the demux interface prefix type.
VLAN demux interfaces use the VLAN ID to demultiplex received packets when the subscriber is not
uniquely identified. A VLAN demux interface uses an underlying logical interface to receive packets.
To determine which VLAN demux interface to use, the VLAN ID is matched against that which the
underlying interface receives.
NOTE: VLAN demux subscriber interfaces over aggregated Ethernet physical interfaces are
supported only for MX Series routers that have only Trio MPCs installed. If the router has other
MPCs in addition to Trio MPCs, theCLI accepts the configuration but errors are reported when
the subscriber interfaces are brought up.
Keep the following guidelines in mind when configuring the demux interface:
• Only demux0 is supported. If you configure another demux interface, such as demux1, the
configuration commit fails.
• You can configure only one demux0 interface per chassis, but you can define logical demux
interfaces on top of it (for example, demux0.1, demux0.2, and so on).
211
• If the address in a received packet does not match any demux prefix, the packet is logically received
on the underlying interface. For this reason, the underlying interface is often referred to as the
primary interface.
In addition to the guidelines in "Guidelines to Remember When Configuring A Demux Interface" on page
210, the following guidelines are to be noted when configuring an IP demux interface:
NOTE: IP demux interfaces currently support only Gigabit Ethernet, Fast Ethernet, 10-Gigabit
Ethernet, and aggregated Ethernet underlying interfaces.
• The demux underlying interface must reside on the same logical system as the demux interfaces that
you configure over it.
• IP demux interfaces currently supports the Internet Protocol version 4 (IPv4) suite inet and Internet
Protocol version 6 (IPv6) suite inet6 family types.
• You can configure more than one demux prefix for a given demux unit. However, you cannot
configure the exact same demux prefix on two different demux units with the same underlying
interface.
• You can configure overlapping demux prefixes on two different demux units with the same
underlying prefix. However, under this configuration, best match rules apply (in other words, the
most specific prefix wins).
In addition to the guidelines in "Guidelines to Remember When Configuring A Demux Interface" on page
210, the following guidelines are to be noted when configuring a VLAN demux interface:
• You must associate VLAN demux interfaces with an underlying logical interface.
NOTE: VLAN demux interfaces currently support only Gigabit Ethernet, Fast Ethernet, 10-
Gigabit Ethernet, and aggregated Ethernet underlying interfaces.
• The demux underlying interface must reside on the same logical system as the demux interfaces that
you configure over it.
212
• VLAN demux interfaces currently supports the Internet Protocol version 4 (IPv4) suite inet and
Internet Protocol version 6 (IPv6) suite inet6 family types.
MAC address validation enables the router to validate that received packets contain a trusted IP source
and an Ethernet MAC source address.
MAC address validation is supported on static demux interfaces on MX Series routers only.
There are two types of MAC address validation that you can configure:
Loose
Forwards packets when both the IP source address and the MAC source address match one of the
trusted address tuples.
Drops packets when the IP source address matches one of the trusted tuples, but the MAC address
does not support the MAC address of the tuple
Continues to forward packets when the source address of the incoming packet does not match any of
the trusted IP addresses.
Strict
Forwards packets when both the IP source address and the MAC source address match one of the
trusted address tuples.
Drops packets when the MAC address does not match the tuple's MAC source address, or when IP
source address of the incoming packet does not match any of the trusted IP addresses.
SEE ALSO
IN THIS SECTION
Demultiplexing (demux) interfaces are logical interfaces that share a common, underlying interface. You
can configure IP demultiplexing interfaces or VLAN demultiplexing interfaces.
To configure an IP demux interface, you must configure the demux prefixes that are used by the
underlying interface and then configure the IP demultiplexing interface as explained in the following
tasks:
NOTE: IP demux interfaces currently support only Gigabit Ethernet, Fast Ethernet, 10-Gigabit
Ethernet, and aggregated Ethernet underlying interfaces.
[edit]
user@host# edit interfaces
2. Configure the interface as fe-x/y/z and the logical interface with the unit statement. Note that IP
demux interfaces currently support only Gigabit Ethernet, Fast Ethernet, 10-Gigabit Ethernet, and
214
aggregated Ethernet underlying interfaces. In this procedure, we show a Fast Ethernet interface as an
example.
[edit interfaces]
user@host# edit fe-x/y/z unit logical-unit-number
3. Configure the logical demux source family type on the IP demux underlying interface as inet or inet6,
or both.
or
4. (Optional) To improve datapath performance for DHCPv4 subscribers, specify that only subscribers
with 32-bit prefixes are allowed to come up on the interface.
NOTE: This step requires that you specify the demux-source as only inet. A commit error
occurs if you specify only inet6 or both inet and inet6.
[edit]
user@host# edit interfaces
2. Configure the interface as fe-x/y/z and the logical interface with the unit statement. Note that IP
demux interfaces currently support only Gigabit Ethernet, Fast Ethernet, 10-Gigabit Ethernet, and
aggregated Ethernet underlying interfaces.
[edit interfaces]
user@host# edit fe-x/y/z unit logical-unit-number unit logical-unit-number
3. Configure the logical demux destination family type on the IP demux underlying interface as inet or
inet6.
You configure demux prefixes for use by the underlying interface. The demux prefixes can represent
individual hosts or networks. For a given demux interface unit, you can configure either demux source or
demux destination prefixes but not both.
You can choose not to configure a demux source or demux destination prefix. This type of configuration
results in a transmit-only interface.
[edit]
user@host# edit interfaces
2. Configure the interface as a logical demux interface (for example, demux0 interface) and configure
the logical interface with the unit statement.
NOTE: You can configure only one demux0 interface per chassis, but you can define logical
demux interfaces on top of it (for example, demux0.1, demux0.2, and so on).
[edit interfaces]
user@host# edit demux0 unit logical-unit-number
3. Configure the underlying interface on which the demux interface is running under the demux-
options statement.
5. Configure one or more logical demux source prefixes (IP address). The prefixes are matched against
the source address of packets that the underlying interface receives. When a match occurs, the
packet is processed as if it was received on the demux interface.
[edit]
user@host# edit interfaces
2. Configure the interface as a logical demux interface (for example, demux0 interface) and configure
the logical interface with the unit statement.
NOTE: You can configure only one demux0 interface per chassis, but you can define logical
demux interfaces on top of it (for example, demux0.1, demux0.2, and so on).
[edit interfaces]
user@host# edit demux0 unit logical-unit-number
3. Configure the underlying interface on which the demux interface is running under the demux-
options statement.
5. Configure one or more logical demux destination prefixes. The prefixes are matched against the
destination address of packets that the underlying interface receives. When a match occurs, the
packet is processed as if it was received on the demux interface.
1. In configuration mode, go to the [edit interfaces demux0 unit logical-unit-number] hierarchy level:
[edit]
user@host# edit interfaces demux0 unit logical-unit-number
3. Configure the mac-validate statement to validate source MAC address with loose or strict options.
IN THIS SECTION
Demultiplexing (demux) interfaces are logical interfaces that share a common, underlying interface. You
can configure IP demultiplexing interfaces or VLAN demultiplexing interfaces.
To configure a VLAN demux interface, you must configure the demux prefixes that are used by the
underlying interface and then configure the VLAN demultiplexing interface as explained by the following
tasks:
NOTE: VLAN demux interfaces currently support only Gigabit Ethernet, Fast Ethernet, 10-
Gigabit Ethernet, and aggregated Ethernet underlying interfaces.
VLAN demux subscriber interfaces over aggregated Ethernet physical interfaces are supported
only for MX Series routers that have only Trio MPCs installed. If the router has other MPCs in
addition to Trio MPCs, the CLI accepts the configuration but errors are reported when the
subscriber interfaces are brought up
To configure a logical interface as a VLAN demux underlying interface with demux source:
[edit]
user@host# edit interfaces
220
2. Configure the interface as fe-x/y/z and the logical interface with the unit option.
[edit interfaces]
user@host# edit fe-x/y/z unit logical-unit-number unit logical-unit-number
3. Configure the VLAN ID. The VLAN ID is used to determine which VLAN demux interface to use, that
is the VLAN ID is matched against that which the underlying interface receives.
4. Configure the logical demux source family type on the VLAN demux underlying interface as inet or
inet6.
To configure a logical interface as a VLAN demux underlying interface with demux destination:
[edit]
user@host# edit interfaces
2. Configure the interface as fe-x/y/z and the logical interface with the unit option.
[edit interfaces]
user@host# edit fe-x/y/z unit logical-unit-number unit logical-unit-number
221
3. Configure the VLAN ID. The VLAN ID is used to determine which VLAN demux interface to use, that
is the VLAN ID is matched against that which the underlying interface receives.
4. Configure the logical demux destination family type on the VLAN demux underlying interface as inet
or inet6.
You configure demux prefixes for use by the underlying interface. The demux prefixes can represent
individual hosts or networks. For a given demux interface unit, you can configure either demux source
prefix or demux destination prefixes but not both.
You can choose not to configure a demux source prefix or a demux destination prefix. This type of
configuration results in a transmit-only interface
[edit]
user@host# edit interfaces
2. Configure the interface as a logical demux interface (for example, demux0 interface) and configure
the logical interface with the unit statement.
222
NOTE: You can configure only one demux0 interface per chassis, but you can define logical
demux interfaces on top of it (for example, demux0.1, demux0.2, and so on).
[edit interfaces]
user@host# edit demux0 unit logical-unit-number
3. Configure the underlying interface on which the demux interface is running under the demux-
options statement.
5. Configure one or more logical demux source prefixes. The prefixes are matched against the source
address of packets that the underlying interface receives. When a match occurs, the packet is
processed as if it was received on the demux interface.
[edit]
user@host# edit interfaces
223
2. Configure the interface as a logical demux interface (for example, demux0 interface) and configure
the logical interface with the unit statement.
NOTE: You can configure only one demux0 interface per chassis, but you can define logical
demux interfaces on top of it (for example, demux0.1, demux0.2, and so on).
[edit interfaces]
user@host# edit demux0 unit logical-unit-number
3. Configure the underlying interface on which the demux interface is running under the demux-
options statement.
5. Configure one or more logical demux destination prefixes. The prefixes are matched against the
destination address of packets that the underlying interface receives. When a match occurs, the
packet is processed as if it was received on the demux interface.
1. In configuration mode, go to the [edit interfaces demux0 unit logical-unit-number] hierarchy level:
[edit]
user@host# edit interfaces demux0 unit logical-unit-number
3. Configure the mac-validate statement to validate source MAC address with loose or strict options.
IN THIS SECTION
Purpose | 225
Action | 225
225
Purpose
Check the configuration of a demux interface and its underlying interface when the following are
configured:
• Two VLANs are configured, where each VLAN consists of two IP demux interfaces.
Action
From configuration mode on the MX Series router, run the show interfaces fe-0/0/0 and show
interfaces demux0 configuration mode commands.
vlan-tagging;
unit 100 {
vlan-id 100;
demux-source inet; # Enable demux of inet prefixes
family inet {
address 10.1.1.1/24;
filter {
input vlan1-primary-in-filter;
output vlan1-primary-out-filter;
}
mac-validate loose;
}
}
unit 200 {
vlan-id 200;
demux-destination inet; # Enable demux of inet using destination addresses
family inet {
address 20.1.1.1/24;
}
}
unit 300 {
vlan-id 300;
demux-source inet; # Enable demux of inet using source addresses
family inet {
address 20.1.2.1/24;
226
}
}
unit 101 {
description vlan1-sub1;
demux-options {
underlying-interface fe-0/0/0.100;
}
family inet {
demux-source 10.1.1.0/24;
filter {
input vlan1-sub1-in-filter;
output vlan1-sub1-out-filter;
}
mac-validate loose;
}
}
unit 102 {
description vlan1-sub2;
demux-options {
underlying-interface fe-0/0/0.100;
}
family inet {
demux-source {
10.1.0.0/16;
10.2.1.0/24;
}
filter {
input vlan1-sub2-in-filter;
output vlan1-sub2-out-filter;
}
mac-validate loose;
}
}
unit 202 {
description vlan2-sub2;
demux-options {
underlying-interface fe-0/0/0.200;
}
227
family inet {
demux-destination 100.1.2.0/24;
}
}
unit 302 {
description vlan2-sub2;
demux-options {
underlying-interface fe-0/0/0.300;
}
family inet {
demux-source 100.1.2.0/24;
}
}
Loopback Interfaces
IN THIS SECTION
This topic discusses about the use of loopback interface, step-by-step procedure on how to configure
loopback interfaces with examples.
The Internet Protocol (IP) specifies a loopback network with the (IPv4) address 127.0.0.0/8. Most IP
implementations support a loopback interface (lo0) to represent the loopback facility. Any traffic that a
computer program sends on the loopback network is addressed to the same computer. The most
commonly used IP address on the loopback network is 127.0.0.1 for IPv4 and ::1 for IPv6. The standard
domain name for the address is localhost.
A network device also includes an internal loopback address (lo0.16384). The internal loopback address
is a particular instance of the loopback address with the logical unit number 16384.
228
The loopback interface is used to identify the device. While any interface address can be used to
determine if the device is online, the loopback address is the preferred method. Whereas interfaces
might be removed or addresses changed based on network topology changes, the loopback address
never changes.
When you ping an individual interface address, the results do not always indicate the health of the
device. For example, a subnet mismatch in the configuration of two endpoints on a point-to-point link
makes the link appear to be inoperable. Pinging the interface to determine whether the device is online
provides a misleading result. An interface might be unavailable because of a problem unrelated to the
device's configuration or operation. You can use the loopback interface to address these issues.
• As the loopback address never changes, it is the best way to identify a device in the network.
• The loopback interface is always up and it is reachable as long as the route to that IP address is
available in the IP routing table. Hence you can use the loopback interface for diagnostics and
troubleshooting purposes.
• Protocols such as OSPF use the loopback address to determine protocol-specific properties for the
device or network. Further, some commands such as ping mpls require a loopback address to
function correctly.
• You can apply stateless firewall filters to the loopback address to filter packets originating from, or
destined for, the Routing Engine.
• Junos OS creates the loopback interface for the internal routing instance, which prevents any filter
on lo0.0 from disrupting internal traffic.
SEE ALSO
Understanding Interfaces
IN THIS SECTION
Example: Configuring Two Addresses on the Loopback Interface with Host Routes | 230
229
Example: Configuring Two Addresses on the Loopback Interface with Subnetwork Routes | 231
Example: Configuring an IPv4 and an IPv6 Address on the Loopback Interface with Subnetwork
Routes | 231
NOTE: For Layer 3 virtual private networks (VPNs), you can configure multiple logical units for
the loopback interface. This allows you to configure a logical loopback interface for each virtual
routing and forwarding (VRF) routing instance. For more information, see the Junos OS VPNs
Library for Routing Devices.
For some applications, such as SSL for Junos XML protocol, the address for the interface lo0.0
must be 127.0.0.1.
You can configure loopback interfaces using a subnetwork address for both inet and inet6 address
families. Many protocols require a subnetwork address as their source address. Configuring a
subnetwork loopback address as a donor interface enables these protocols to run on unnumbered
interfaces.
If you configure the loopback interface, it is automatically used for unnumbered interfaces. If you do not
configure the loopback interface, the router chooses the first interface to come online as the default. If
you configure more than one address on the loopback interface, we recommend that you configure one
to be the primary address to ensure that it is selected for use with unnumbered interfaces. By default,
the primary address is used as the source address when packets originate from the interface.
On the router, you can configure the physical loopback interface, lo0, and one or more addresses on the
interface. You can configure more than just unit 0 for lo0, but each additional unit needs to be applied
somewhere other than the main instance.
To configure the physical loopback interface, include the following statements at the [edit interfaces]
hierarchy level:
[edit interfaces]
lo0 {
unit 0 {
family inet {
address loopback-address;
230
address <loopback-address2>;
...
}
family inet6 {
address loopback-address;
}
}
}
Example: Configuring Two Addresses on the Loopback Interface with Host Routes
To configure two addresses on the loopback interface with host routes:
[edit]
user@host# edit interfaces lo0 unit 0 family inet
[edit interfaces lo0 unit 0 family inet]
user@host# set address 172.16.0.1
[edit interfaces lo0 unit 0 family inet]
user@host# set address 10.0.0.1
[edit interfaces lo0 unit 0 family inet]
user@host# top
[edit]
user@host# show
interfaces {
lo0 {
unit 0 {
family inet {
10.0.0.1/32;
127.0.0.1/32;
172.16.0.1/32;
}
}
}
}
231
[edit]
user@host# edit interfaces lo0 unit 0 family inet
[edit interfaces lo0 unit 0 family inet]
user@host# set address 192.16.0.1/24
[edit interfaces lo0 unit 0 family inet]
user@host# set address 10.2.0.1/16
[edit interfaces lo0 unit 0 family inet]
user@host# top
[edit]
user@host# show
interfaces {
lo0 {
unit 0 {
family inet {
10.2.0.1/16;
127.0.0.1/32;
192.16.0.1/24;
}
}
}
}
Example: Configuring an IPv4 and an IPv6 Address on the Loopback Interface with
Subnetwork Routes
To configure an IPv4 and an IPv6 address on the loopback interface with subnetwork routes:
[edit]
user@host# edit interfaces lo0 unit 0 family inet
[edit interfaces lo0 unit 0 family inet]
user@host# set address 192.16.0.1/24
[edit interfaces lo0 unit 0 family inet]
user@host# up
[edit interfaces lo0 unit 0 family]
user@host# edit interfaces lo0 unit 0 family inet6
232
RELATED DOCUMENTATION
Serial Interfaces
IN THIS SECTION
This topic discusses about the serial interfaces, and how to configure serial line protocol, serial clocking
mode, serial signal handling, serial DTR circuit, serial signal polarities, serial loopback capability, and
serial line encoding.
IN THIS SECTION
Devices that communicate over a serial interface are divided into two classes: data terminal equipment
(DTE) and data circuit-terminating equipment (DCE). Juniper Networks Serial Physical Interface Cards
(PICs) have two ports per PIC and support full-duplex data transmission. These PICs support DTE mode
only. On the Serial PIC. Table 20 on page 233 specifies the key details of the serial interfaces.
Supported on For information about platforms support, see hardware compatibility tool (HCT).
234
Logical properties There are no serial interface-specific logical properties. For information about
general logical properties that you can configure, see Configuring Logical
Interface Properties. This support on serial interfaces is the same as the existing
LFI and MLPPP support on T1 and E1 interfaces.
Serial Transmissions
In basic serial communications, nine signals are critical to the transmission. Each signal is associated with
a pin in either the 9-pin or 25-pin connector. Table 21 on page 234 lists and defines serial signals and
their sources.
CD Carrier detect –
RI Ring indicator –
• The DCE transmits a DSR signal to the DTE, which responds with a DTR signal. This establishes the
link and traffic can pass.
• It sets its RTS signal to a marked state all 1s to indicate to the DCE that it can transmit data. If the
DTE is not able to receive data—because of buffer conditions, for example—it sets the RTS signal
to all 0s.
• It sets its CTS signal to a marked state to indicate to the DTE that it can transmit data. If the DCE
is not able to receive data, it sets the CTS signal to all 0s.
• When you send the information, it transmits data across the transmitted data (TD) lines and receives
data across received data (RD) lines:
• TD line—Line through which the data transmits from a DTE device to a DCE device
• RD line—Line through which the data transmits from a DCE device to a DTE device
236
• The wire name does not indicate the direction of data flow.
When a serial port is opens, the DTE device sets its DTR signal to a marked state. Similarly, the DCE sets
its DSR signal to a marked state. However, because of the negotiation that takes place with the RTS and
CTS signals, the DTR and DSR signals are hardly utilized.
The carrier detect and ring indicator signals detect connections with remote modems and these signals
are hardly used.
A Gigabit-Backplane Physical Interface Module (GPIM) is a network interface card (NIC) that you can
install in the front slots of the SRX550 Services Gateway to provide physical connections to a LAN or a
WAN. The 8-port synchronous serial GPIM provides the physical connection to serial network media
types, receiving incoming packets and transmitting outgoing packets of the network. Besides forwarding
packets for processing, the GPIM performs framing and line-speed signaling. This GPIM provides 8 ports
that operate in sync mode and supports a line rate of 64 Mbps or 8 Mbps per port.
For information on configuration of 8-Port Serial GPIM, see 8-Port Serial GPIM Basic Configuration.
Table 22 on page 236 lists the features supported on the 8-port synchronous serial GPIM.
Features Description
Features Description
• Rx clock modes
HDLC features • Idle flag/fill (0x7e or all ones), default idle flag is (0x7e)
Data cables Separate cable for each line protocol (both DTE/DCE mode)
Features Description
• Tx clock absent
• DCD absent
• RTS/CTS absent
• DSR/DTR absent
• PPP
• Cisco HDLC
• Frame Relay
• MLPPP
• MLFR
239
Features Description
• IF-MIB - rfc2863a.mib
• jnx-chassis.mib
• Serial interface are a simple, cost-effective way to connect transmitting and receiving devices or ICs.
A serial interface requires fewer conducting wires (often only one) than other interfaces, which eases
implementation.
IN THIS SECTION
• EIA-530
• V.35
240
• X.21
Include the line-protocol statement, specifying the eia530, v.35, or x.21 option:
line-protocol protocol;
For more information about serial interfaces, see the following sections:
IN THIS SECTION
If you do not include the line-protocol statement or if you explicitly configure the default EIA-530 line
protocol, the default settings are as follows:
dce-options | dte-options {
cts normal;
dcd normal;
dsr normal;
dtr normal;
rts normal;
tm normal;
}
clock-rate 16.384mhz;
clocking-mode loop;
241
cts-polarity positive;
dcd-polarity positive;
dsr-polarity positive;
dtr-circuit balanced;
dtr-polarity positive;
encoding nrz;
rts-polarity positive;
tm-polarity positive;
NOTE: On M Series routers, you can set the DCE clocking mode for EIA-530 interfaces and
commit. An error message is not displayed and the CLI is not blocked.
You can include the line-protocol statement at the following hierarchy levels:
If you include the line-protocol v.35 statement, the default settings are as follows:
dce-options | dte-options {
cts normal;
dcd normal;
dsr normal;
dtr normal;
rts normal;
}
clock-rate 16.384mhz;
clocking-mode loop;
cts-polarity positive;
dcd-polarity positive;
dsr-polarity positive;
dtr-circuit balanced;
dtr-polarity positive;
encoding nrz;
rts-polarity positive;
You can include the line-protocol statement at the following hierarchy levels:
242
If you include the line-protocol x.21 statement, the default settings are as follows:
dce-options | dte-options {
control-signal normal;
indication normal;
}
clock-rate 16.384mhz;
clocking-mode loop;
control-polarity positive;
encoding nrz;
indication-polarity positive;
You can include the line-protocol statement at the following hierarchy levels:
The following sections show the invalid configuration statements for each type of serial interface. If you
include the following statements in the configuration, an error message indicates the location of the
error and the configuration is not activated.
If you do not include the line-protocol statement or if you explicitly configure the default EIA-530 line
protocol, the following statements are invalid:
dce-options | dte-options {
control-signal (assert | de-assert | normal);
indication (ignore | normal | require);
}
control-polarity (negative | positive);
indication-polarity (negative | positive);
243
You can include the line-protocol statement at the following hierarchy levels:
If you include the line-protocol v.35 statement, the following statements are invalid:
dce-options | dte-options {
control-signal (assert | de-assert | normal);
indication (ignore | normal | require);
tm (ignore | normal | require);
}
control-polarity (negative | positive);
indication-polarity (negative | positive);
loopback (dce-local | dce-remote);
tm-polarity (negative | positive);
You can include the line-protocol statement at the following hierarchy levels:
If you include the line-protocol x.21 statement, the following statements are invalid:
dce-options | dte-options {
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr (assert | de-assert | normal);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
clocking-mode (dce | internal);
cts-polarity (negative | positive);
dce-polarity (negative | positive);
dsr-polarity (negative | positive);
244
You can include the line-protocol statement at the following hierarchy levels:
IN THIS SECTION
• Loop clocking mode—Uses the DCE’s RX clock to clock data from the DCE to the DTE.
• DCE clocking mode—Uses the TXC clock, which is generated by the DCE specifically to be used by
the DTE as the DTE’s transmit clock.
• Internal clocking mode—Also known as line timing, uses an internally generated clock. You can
configure the speed of this clock by including the clock-rate statement at the [edit interfaces se-
pim/0/port serial-options] or [edit interfaces se-fpc/pic/port dte-options] hierarchy levels. For more
information about the DTE clock rate, see "Configuring the DTE Clock Rate".
Note that DCE clocking mode and loop clocking mode use external clocks generated by the DCE.
245
Figure 1 shows the clock sources of loop, DCE, and internal clocking modes.
To configure the clocking mode of a serial interface, include the clocking-mode statement:
By default, the transmit clock is not inverted. To invert the transmit clock, include the transmit-clock
invert statement:
transmit-clock invert;
clock-rate rate;
• 2.048 MHz
• 2.341 MHz
• 2.731 MHz
• 3.277 MHz
• 4.096 MHz
• 5.461 MHz
• 8.192 MHz
• 16.384 MHz
Although the serial interface is intended for use at the default rate of 16.384 MHz, you might need to
use a slower rate if any of the following conditions prevail:
• The interconnecting cable is exposed to an extraneous noise source that might cause an unwanted
voltage in excess of +1 volt measured differentially between the signal conductor and circuit
common at the load end of the cable, with a 50-ohm resistor substituted for the generator.
For detailed information about the relationship between signaling rate and interface cable distance, see
the following standards:
By default, normal signal handling is enabled for all signals. For each signal, the normal option applies to
the normal signal handling for that signal, as defined by the following standards:
Table 23 on page 247 shows the serial interface modes that support each signal type.
From-DCE signals
To-DCE signals
248
You configure serial interface signal characteristics by including the dce-options or dte-options
statement:
dce-options |dte-options {
control-signal (assert | de-assert | normal);
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr signal-handling-option;
ignore-all;
indication (ignore | normal | require);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
For EIA-530 and V.35 interfaces, configure to-DCE signals by including the dtr and rts statements,
specifying the assert, de-assert, or normal option:
For X.21 interfaces, configure to-DCE signals by including the control-signal statement, specifying the
assert, de-assert, or normal option:
Assertion is when the positive side of a given signal is at potential high-level output voltage (Voh), while
the negative side of the same signal is at potential low-level output voltage (Vol). Deassertion is when
the positive side of a given signal is at potential Vol, while the negative side of the same signal is at
potential Voh.
For the DTR signal, you can configure normal signal handling using the signal for automatic
resynchronization by including the dtr statement, and specifying the auto-synchronize option:
dtr {
auto-synchronize {
duration milliseconds;
interval seconds;
}
}
The pulse duration of resynchronization can be from 1 through 1000 milliseconds. The offset interval for
resynchronization can be from 1 through 31 seconds.
For EIA-530 and V.35 interfaces, configure from-DCE signals by including the cts, dcd, and dsr
statements, specifying the ignore, normal, or require option:
For X.21 interfaces, configure from-DCE signals by including the indication statement, specifying the
ignore, normal, or require option:
For EIA-530 interfaces only, you can configure from-DCE test-mode (TM) signaling by including the tm
statement, specifying the ignore, normal, or require option:
To specify that the from-DCE signal must be asserted, include the require option in the configuration. To
specify that the from-DCE signal must be ignored, include the ignore option in the configuration.
NOTE: For V.35 and X.21 interfaces, you cannot include the tm statement in the configuration.
For X.21 interfaces, you cannot include the cts, dcd, dsr, dtr, and rts statements in the
configuration.
For EIA-530 and V.35 interfaces, you cannot include the control-signal and indication
statements in the configuration.
For a complete list of serial options statements that are not supported by each serial interface
mode, see Invalid Serial Interface Statements.
To return to the default normal signal handling, delete the require, ignore, assert, de-assert, or auto-
synchronize statement from the configuration, as shown in the following example:
[edit]
user@host# delete interfaces se-fpc/pic/port dte-options control-leads cts require
To explicitly configure normal signal handling, include the control-signal statement with the normal
option:
control-signal normal;
You can configure the serial interface to ignore all control leads by including the ignore-all statement:
ignore-all;
You can include the ignore-all statement in the configuration only if you do not explicitly enable other
signal handling options at the [edit interfaces se-pim/0/port serial-options dce-options] or [edit
interfaces se-fpc/pic/port serial-options dte-options] hierarchy levels.
You can include the control-signal, cts, dcd, dsr, dtr, indication, rts, and tm statements at the following
hierarchy levels:
A balanced circuit has two currents that are equal in magnitude and opposite in phase. An unbalanced
circuit has one current and a ground; if a pair of terminals is unbalanced, one side is connected to
electrical ground and the other carries the signal. By default, the DTR circuit is balanced.
For EIA-530 and V.35 interfaces, configure the DTR circuit by including the dtr-circuit statement:
Serial interfaces use a differential protocol signaling technique. Of the two serial signals associated with
a circuit, the one referred to as the A signal is denoted with a plus sign, and the one referred to as the B
signal is denoted with a minus sign; for example, DTR+ and DTR–. If DTR is low, then DTR+ is negative
with respect to DTR–. If DTR is high, then DTR+ is positive with respect to DTR–.
By default, all signal polarities are positive. You can reverse this polarity on a Juniper Networks serial
interface. You might need to do this if signals are miswired as a result of reversed polarities.
For EIA-530 and V.35 interfaces, configure signal polarities by including the cts-polarity, dcd-polarity,
dsr-polarity, dtr-polarity, rts-polarity, and tm-polarity statements:
For X.21 interfaces, configure signal polarities by including the control-polarity and indication-polarity
statements:
From the router, remote line interface unit (LIU) loopback loops the TX (transmit) data and TX clock back
to the router as RX (receive) data and RX clock. From the line, LIU loopback loops the RX data and RX
clock back out the line as TX data and TX clock, as shown in Figure 14 on page 252.
DCE local and DCE remote control the EIA-530 interface-specific signals for enabling local and remote
loopback on the link partner DCE. Local loopback is shown in Figure 15 on page 253.
For EIA-530 interfaces, you can configure DCE local, DCE remote, local, and remote (LIU) loopback
capability.
For V.35, you can configure remote LIU and local loopback capability. DCE local and DCE remote
loopbacks are not supported on V.35 and X.21 interfaces. Local and remote loopbacks are not supported
on X.21 interfaces.
To configure the loopback capability on a serial interface, include the loopback statement, specifying the
dce-local, dce-remote, local, or remote option:
loopback mode;
To disable the loopback capability, remove the loopback statement from the configuration:
[edit]
user@host# delete interfaces se-fpc/pic/port serial-options loopback
254
You can determine whether there is an internal or external problem by checking the error counters in
the output of the show interface se-fpc/pic/port extensive command:
1. To determine the source of a problem, loop the packets on the local router, the local DCE, the remote
DCE, and the remote line interface unit (LIU).
2. To do this, include the no-keepalives and encapsulation cisco-hdlc statements at the [edit interfaces
se-fpc/pic/port] hierarchy level, and the loopback local option at the [edit interfaces se-pim/0/port
serial-options] or [edit interfaces se-fpc/pic/port serial-options] hierarchy level. With this
configuration, the link stays up, so you can loop ping packets to a remote router. The loopback local
statement causes the interface to loop within the PIC just before the data reaches the transceiver.
[edit interfaces]
se-1/0/0 {
no-keepalives;
encapsulation cisco-hdlc;
serial-options {
loopback local;
}
unit 0 {
family inet {
address 10.100.100.1/24;
}
}
}
By default, serial interfaces use non-return to zero (NRZ) line encoding. You can configure non-return to
zero inverted (NRZI) line encoding if necessary.
To have the interface use NRZI line encoding, include the encoding statement, specifying the nrzi
option:
encoding nrzi;
255
To explicitly configure the default NRZ line encoding, include the encoding statement, specifying the nrz
option:
encoding nrz;
When setting the line encoding parameter, you must set the same value for paired ports. Ports 0 and 1
must share the same value.
IN THIS SECTION
Verification | 263
In this example you learn how to complete the initial configuration on a serial interface, how to delete a
serial interface and how to configure serial interface 8-Port Synchronous Serial GPIM.
For information on installation of a serial PIM in the SRX Series device, see SRX Series Services
Gateways for the Branch Physical Interface Modules Hardware Guide.
In this example:
2. Set the encapsulation type to ppp and create the basic configuration for se-1/0/0.
3. Set the logical interface to 0 and logical unit number can range from 0 through 16,384.
4. Enter additional values for properties you need to configure on the logical interface, such as logical
encapsulation or protocol family.
256
When you delete the se-1/0/0 interface, the interface is disabled and removed from the software
configuration. Network interfaces remain physically present, and their identifiers continue to appear on
J-Web pages.
set interfaces se-1/0/0 encapsulation ppp unit 0 family inet address 10.10.10.10/24
[edit]
user@host# edit interfaces se-1/0/0
After completing the configuration successfully, view the parameters by using the show interfaces
se-1/0/0 command.
257
[edit]
user@host# delete se-1/0/0
2. After you are done configuring the device, commit the configuration.
[edit]
user@host# commit
After completing the configuration successfully, to verify the configuration use the show interfaces
command.
In this scenario, you can configure serial interface using two interfaces. You can configure all ports with
different encapsulations, such as Cisco High-Level Data Link Control (HDLC), Frame Relay, and Point-to-
Point Protocol (PPP). When Frame Relay is set, then the data link connection identifier (in this example,
111) must also be set. All the eight ports on Device 1 (SRX650) are configured in DTE mode and their
respective eight ports on Device 2 (SRX650) are configured in DCE mode.
• Set the encapsulation type to ppp and the logical interface to 0. The logical unit number can range
from 0 through 16,384.
• Enter additional values for properties you need to configure on the logical interface, such as logical
encapsulation or protocol family.
For Device 2, you follow a procedure similar to Device 1, but you set the clocking mode to dce.
258
Device 1
Device 2
1. Specify the maximum transmission unit (MTU) value for the interface.
[edit interfaces]
user@host# set se-7/0/0 mtu 9192
[edit interfaces]
user@host# set se-7/0/0 encapsulation ppp
[edit interfaces]
user@host# set se-7/0/0 serial-options clocking-mode internal
[edit interfaces]
user@host# set se-7/0/0 unit 0 family inet address 10.10.10.1/24
[edit routing-options]
user@host# set static route 21.21.21.0/24 next-hop 10.10.10.2
Repeat the same configuration for the other seven ports on Device 1.
262
6. After you are done configuring the device, commit the configuration.
[edit]
user@host# commit
[edit interfaces]
user@host# set se-3/0/0 mtu 9192
[edit interfaces]
user@host# set se-3/0/0 encapsulation ppp
[edit interfaces]
user@host# set se-3/0/0 serial-options clocking-mode dce
[edit interfaces]
user@host# set se-3/0/0 unit 0 family inet address 10.10.10.2/24
[edit routing-options]
user@host# set static route 20.20.20.0/24 next-hop 10.10.10.1
Repeat the same configuration for the other seven ports on Device 2.
263
6. After you are done configuring the device, commit the configuration.
[edit]
user@host# commit
Verification
IN THIS SECTION
Purpose | 263
Action | 263
Purpose
Action
• You can use the ping tool on each peer address in the network to verify that all interfaces on the
device are operational. To verify the link state of all interfaces:
2. In the Remote Host box, type the address of the interface for which you want to verify the link
state.
If the interface is operational, it generates an ICMP response. If this response is received, the round-
trip time, in milliseconds, is listed in the time field.
264
• To verify that the interface properties are correct, use the show interfaces detail command to display
a summary of interface information. Verify the following information:
• The physical interface is Enabled. If the interface is shown as Disabled, do one of the following:
• In the CLI configuration editor, delete the disable statement at the [edit interfaces se-1/0/0]
level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces > se-1/0/0
page.
• The physical link is Up. A link state of Down indicates a problem with the interface module,
interface port, or physical connection (link-layer errors).
• The Last Flapped time is an expected value. It indicates the last time the physical interface
became unavailable and then available again. Unexpected flapping indicates likely link-layer
errors.
• The traffic statistics reflect expected input and output rates. Verify that the number of inbound
and outbound bytes and packets matches expected throughput for the physical interface. To clear
the statistics and see only new changes, use the clear interfaces statistics se-1/0/0 command.
• To verify and that the interface link status is up, use the enter the show interface terse se-7/0/*
command:
se-7/0/7 up up
se-7/0/7.0 up up inet 17.17.17.1/24
The output displays a list of all interfaces configured. If the Link column displays up for all interfaces,
the configuration is correct. This verifies that the GPIM is up and end-to-end ping is working.
• To verify the interface statistics for DCE, use the show interface se-7/0/0 extensive | no-more
command:
continue......................................................................
..........
..............................................................................
............
The output displays a list of all DCE verification parameters and the mode configured. If the local
mode displays DCE, the configuration is correct.
• To verify the interface statistics for DTE, use the show interface se-3/0/0 extensive | no-more
command:
Output errors:
Carrier transitions: 1, Errors: 0, Drops: 0, MTU errors: 0,
Resource errors: 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped
packets
0 best-effort 2
2 0
1 expedited-fo 0
0 0
2 assured-forw 0
0 0
3 network-cont 777
777 0
Queue number: Mapped forwarding classes
0 best-effort
1 expedited-forwarding
2 assured-forwarding
3 network-control
Serial media information:
Line protocol: eia530
Resync history:
Sync loss count: 0
Data signal:
Rx Clock: OK
Control signals:
Local mode: DTE
To DCE: DTR: up, RTS: up
From DCE: CTS: up, DCD: up, DSR: up
Clocking mode: loop-timed
Loopback: none
Tx clock: non-invert
Line encoding: nrz
Packet Forwarding Engine configuration:
Destination slot: 3
CoS information:
Direction : Output
CoS transmit queue Bandwidth Buffer
Priority Limit
% bps % usec
0 best-effort 95 7600000 95 0
low none
3 network-control 5 400000 5 0
269
low none
continue .....................................................................
......
..............................................................................
.......
The output displays a list of all DTE verification parameters and the mode configured. If the local
mode displays DTE, the configuration is correct.
RELATED DOCUMENTATION
Monitoring Interfaces
IN THIS SECTION
This topic discusses about tracing operations of individual router interface, interface process, and pppd
process.
You can trace the operations of individual router interfaces and those of the interface process (dcd). For
a general discussion of tracing and of the precedence of multiple tracing operations, see the Junos OS
Administration Library for Routing Devices.
For information about the operations of Virtual Router Resolution Protocol (VRRP)-enabled interfaces,
see the Junos OS High Availability User Guide.
SEE ALSO
To trace the operations of individual router interfaces, perform the following steps:
272
[edit]
user@host# edit interfaces interface-name
The interfaces traceoptions statement does not support a trace file. The logging is done by the kernel,
so the tracing information is placed in the system syslog files.
For more information about trace operations, see Tracing Operations of the Interface Process.
SEE ALSO
traceoptions
To trace the operations of the router or switch interface process, dcd, perform the following steps:
273
[edit]
user@host# edit interfaces
[edit interfaces]
user@host# edit traceoptions
5. Configure the files number option, match regular-expression option, size size option, and world-
readable | no-world-readable option.
7. Configure the disable option in flag flag-option statement to disable the tracing operation. You can
use this option to disable a single operation when you have defined a broad group of tracing
operations, such as all.
You can specify the following flags in the interfaces traceoptions statement:
By default, interface process operations are placed in the file named dcd and three 1-MB files of tracing
information are maintained.
For general information about tracing, see the tracing and logging information in the Junos OS
Administration Library for Routing Devices.
SEE ALSO
Troubleshooting Interfaces
IN THIS SECTION
Troubleshooting: Faulty Ethernet Physical Interface on an M Series, an MX Series, or a T Series Router | 280
IN THIS SECTION
Problem | 275
Diagnosis | 276
Resolution | 277
Problem
Description
Ethernet Link Down alarm is raised when you run the show chassis alarm operational mode command
on a T640 router, a T1600 router, T4000 router, or a TX Matrix Plus router.
276
Diagnosis
Perform the following tests to check if the em0 management interface is down on the primary Routing
Engine or the backup Routing Engine:
Is the alarm Ethernet Link Down displayed against the em0 interface of the primary Routing Engine
(Host 0)?
1. Run the show interfaces em0 and the show interfaces em0 terse operational mode commands.
Resolution
From the aforementioned diagnosis, we ascertain that the chassis alarm has been raised for the em0
management interface in the backup Routing Engine (Host 1) and not for the primary Routing Engine
(Host 0).
Implement one of the following solutions on the backup Routing Engine to resolve this issue:
2. Ignore the Ethernet link down alarm on the management interface by setting the management-
ethernet link-down alarm option to ignore.
[edit chassis]
user@host1# set alarm management-ethernet link-down ignore
SEE ALSO
IN THIS SECTION
Problem | 278
Diagnosis | 278
Resolution | 279
Problem
Description
Ethernet Link Down alarm is raised when you run the show chassis alarm operational mode command
on an M Series router, an MX Series router, a T320 router, a T640 router, a T1600 router, or on a TX
Matrix router.
Diagnosis
Perform the following tests to check if the fxp0 interface is down on the primary Routing Engine or the
backup Routing Engine:
Is the alarm Ethernet Link Down displayed against the fxp0 interface of the primary Routing Engine
(Host 0)?
1. Run the show interfaces fxp0 and the show interfaces fxp0 terse operational mode commands.
Resolution
From the diagnosis, we ascertain that the chassis alarm has been raised for the fxp0 management
interface in the backup Routing Engine (Host 1) and not for the primary Routing Engine (Host 0).
Implement one of the following solutions on the backup Routing Engine to avoid this issue:
2. Ignore the Ethernet link down alarm on the management interface by setting the management-
ethernet link-down alarm option to ignore.
[edit chassis]
user@host1# set alarm management-ethernet link-down ignore
SEE ALSO
IN THIS SECTION
You can follow the basic troubleshooting checklist as explained in the following topics from one through
five to troubleshoot an Ethernet physical interface on an M Series, MX Series, or a T Series router.
IN THIS SECTION
Problem | 281
Diagnosis | 281
Resolution | 281
Problem
Description
Packets are not received or transmitted over the Ethernet physical interface.
Diagnosis
Resolution
Perform one or more of the following steps to resolve the cabling issue:
1. Connect the cable properly on the local and remote ends without any loose connections.
2. Swap the Ethernet cable for a known good cable if the existing cable is damaged.
282
3. Connect a single-mode fiber cable to a single-mode interface only and a multimode fiber cable to a
multimode interface only. To check fiber optic cable integrity, see "Checking Fiber Optic Cable
Integrity".
4. Connect the correct small form-factor pluggable transceiver (SFP) on both sides of the cable.
To check the integrity of fiber optic cable with an external cable diagnostic testing tool:
NOTE: A single-mode fiber cable must be connected to a single-mode interface and a multi-
mode fiber cable must be connected to a multi-mode interface.
1. Measure the received light level at the receiver (RX) port to see whether the received light level is
within the receiver specification of the Ethernet interface.
2. Measure transmitted light level at the transmitter (TX) port to see whether the transmitted light level
is within the transmitter specification of the Ethernet interface.
IN THIS SECTION
Problem | 282
Solution | 283
Diagnosis | 284
Problem
Description
Unable to transmit and receive packets on the Ethernet interface even though the cable connection is
correct.
283
Solution
To display the physical link status of the interface, run the show interface interface-name media
operational mode command. For example, on the ge-5/0/1 interface.
For information about show interfaces interface-name media, see show interfaces .
284
Diagnosis
1. Are there any connectivity problems such as input errors and packet loss even though the Enabled
field displays Physical link is Up status and the Active alarms and Active defect field displays None?
1. Does the Enabled field display Physical link is Down status and the Active alarms and Active defect
field display Link?
• Yes: The interface is either not connected correctly or is not receiving a valid signal. Go to
"Resolving Cabling Issue".
• No: Continue.
IN THIS SECTION
Problem | 284
Solution | 284
Diagnosis | 287
Problem
Description
The physical interface is not working even though the Enabled field displays Physical link is Up status
and the Active alarms and Active defect field displays None.
Solution
To display the interface statistics in detail, run the show interface interface-name extensive operational
command. For example, on ge-5/0/1 interface.
Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps, BPDU Error: None, MAC-
REWRITE Error: None, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online, Speed-negotiation: Disabled,
Auto-MDIX: Enabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 2c:6b:f5:4c:26:73, Hardware address: 2c:6b:f5:4c:26:73
Last flapped : 2012-11-30 01:25:37 UTC (04:38:32 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 806283 0 bps
Output bytes : 1153215 424 bps
Input packets: 10818 0 pps
Output packets: 11536 0 pps
IPv6 transit statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Label-switched interface (LSI) traffic statistics:
Input bytes : 0 0 bps
Input packets: 0 0 pps
Dropped traffic statistics due to STP State:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Input errors:
Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 233060,
L3 incompletes: 0, L2 channel errors: 0,
L2 mismatch timeouts: 0, FIFO errors: 0, Resource errors: 0
Output errors:
Carrier transitions: 11, Errors: 0, Drops: 0, Collisions: 0, Aged packets:
0, FIFO errors: 0, HS link CRC errors: 0,
MTU errors: 0, Resource errors: 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 3216 3216 0
1 expedited-fo 0 0 0
286
2 assured-forw 0 0 0
3 network-cont 8320 8320 0
Queue number: Mapped forwarding classes
0 best-effort
1 expedited-forwarding
2 assured-forwarding
3 network-control
Active alarms : None
Active defects : None
MAC statistics: Receive Transmit
Total octets 1007655 1082219
Total packets 10886 11536
Unicast packets 4350 4184
Broadcast packets 32 77
Multicast packets 6504 7275
CRC/Align errors 0 0
FIFO errors 0 0
MAC control frames 0 0
MAC pause frames 0 0
Oversized frames 0
Jabber frames 0
Fragment frames 0
VLAN tagged frames 0
Code violations 0
Filter statistics:
Input packet count 10886
Input packet rejects 68
Input DA rejects 68
Input SA rejects 0
Output packet count 11536
Output packet pad count 0
Output packet error count 0
CAM destination filters: 0, CAM source filters: 0
Autonegotiation information:
Negotiation status: Complete
Link partner:
Link mode: Full-duplex, Flow control: Symmetric/Asymmetric, Remote
fault: OK
Local resolution:
Flow control: Symmetric, Remote fault: Link OK
Packet Forwarding Engine configuration:
Destination slot: 5
CoS information:
287
Direction : Output
CoS transmit queue Bandwidth Buffer Priority
Limit
% bps % usec
0 best-effort 95 950000000 95 0 low
none
3 network-control 5 50000000 5 0 low
none
Interface transmit statistics: Disabled
For information about show interfaces interface-name detail, see show interfaces .
Diagnosis
1. Does the Policed discards, L2 channel errors, Input DA rejects, or the Input SA rejects field display
any errors?
• Yes: Resolve the errors as needed. Resolving these errors is beyond the scope of this topic.
IN THIS SECTION
Problem | 287
Solution | 288
Diagnosis | 289
Problem
Description
The interface cable is connected correctly and there are no alarms or errors associated with the Ethernet
physical interface yet the interface is not working.
288
Solution
To check whether the Ethernet port or PIC is faulty, you must perform the internal loopback test and
hardware loopback test.
To perform a internal loopback diagnostic test on an Ethernet interface, for example on ge-5/0/1
interface:
[edit]
user@host# edit interface ge-5/0/1
2. Set the gigether-options option as loopback, commit the configuration and quit configuration mode.
Input bytes: 901296, Input packets: 9799, Output bytes: 976587, Output
packets: 10451
Filter statistics:
Filtered packets: 68, Padded packets: 0, Output packet errors: 0
Autonegotiation information:
Negotiation status: Complete
Link partner:
Link mode: Full-duplex, Flow control: Symmetric/Asymmetric, Remote
fault: OK
Local resolution:
Flow control: Symmetric, Remote fault: Link OK
Interface transmit statistics: Disabled
Execute one of the following steps for a hardware loopback diagnostic test as needed:
• For an Ethernet PIC with a fiber optic interface—Physically loop the TX and RX port and check the
status of the physical link with the show interfaces interface-name media operational mode
command.
• For an Ethernet PIC with an RJ-45 Ethernet interface—Build a loopback plug by crossing pin 1 (TX +)
to pin 3 (RX +) together and pin 2 (TX -) and pin 6 (RX -) together and check the status of the physical
link with the show interfaces interface-name media operational mode command.
NOTE: For information about loopback testing, see Performing Loopback Testing for Fast
Ethernet and Gigabit Ethernet Interfaces.
Diagnosis
1. Does the Enabled field display Physical link is Up status and the Active alarms and Active defect
field display None when you perform the loopback test?
1. When the Ethernet interface is connected to a remote Ethernet device over multiple patch panels,
check to see whether the connection can be looped back at the different patch panels so you can
conduct a loopback diagnostic test. Is the loopback diagnostic test successful?
290
IN THIS SECTION
Problem | 290
Solution | 290
Diagnosis | 290
Problem
Description
Loopback diagnostic test is successful but unable to transmit and receive packets on the Ethernet
interface.
Solution
Use the following commands as needed to troubleshoot an Ethernet interface, for example, an ge-5/0/1
interface:
• Run the show interfaces interface-name terse operational command to check if the physical
interface and logical interfaces are administratively disabled. For example, on ge-5/0/1 interface.
Diagnosis
1. Does the physical interface and its corresponding logical interfaces display down in the output of the
show interfaces interface-name terse operational mode command?
1. Are the speed, duplex, and auto-negotiation fields in the output of show interfaces interface-name
extensive operational mode command correctly set for the interface?
NOTE: Check if the associated Flexible PIC Concentrator (FPC), Modular Port Concentrator
(MPC), or Dense Port Concentrator (DPC) and its Modular Interface Card (MIC) or PIC with its
10-gigabit small form-factor pluggable transceiver (XFP) or SFP supports speed and auto-
negotiation settings.
• Yes: Check Monitoring Fast Ethernet and Gigabit Ethernet Interfaces for more troubleshooting
tips.
[edit]
user@host# edit interfaces
2. Check if the interface is administratively disabled by executing the show command on the interface.
For example on ge-5/0/1 interface.
disable;
[edit interfaces
user@host# delete interface-name disable
user@host# commit
292
SEE ALSO
show interfaces
Time Domain Reflectometry (TDR) is a technology used for diagnosing copper cable states. This
technique can be used to determine if cabling is at fault when you cannot establish a link. TDR detects
the defects by sending a signal through a cable, and reflecting it from the end of the cable. Open circuits,
short circuits, sharp bends and other defects in the cable, reflects the signal back, at different
amplitudes, depending on the severity of the defect.
Several factors that result in degraded or low-quality cable plants can cause packet loss, suboptimal
connection speed, reduced network efficiency, and complete connection failures. These types of
problems can occur because of poor cable construction, identification of pair twists, loose connectors,
poor contacts between the points, and stretched or broken pairs of cables. Broadcom transceivers
enable you to analyze the condition of the cable plant or topology and identify any problems that have
occurred. This functionality is effectively used in the following scenarios:
• Fault determination during the testing of network equipment in production cable networks.
TDR supports the following capabilities for examination of cable faults on ACX Series routers:
• Cable status pair (open or short)—When the router operates in Gigabit Ethernet mode, all the four
pairs (8 wires) are used. Only Pair-A and Pair-B are required to operate in 10/100BASE-T Ethernet
mode. If either of these required pairs is open or short-circuited, the transceiver reports the following
faults:
• Distance to fault per pair—Distance at which an open or a short-circuit is detected in meters. This
measurement is also termed as cable length. The transceiver reports the following faults:
• Pair Swap—Swapping of twisted-pairs in straight-through and cross-over cable plants are detected.
293
• Polarity Swap—Each cable pair carries a differential signal from one end to the other end of the cable.
Each wire within the pair is assigned a polarity. The wires in a pair are normally connected in a one-
to-one form. This connection enables the transmitter at one end to be connected to the receiver at
the other end with same polarity. Sometimes, the wiring within the pair is also swapped. This type of
connection is called polarity swap. Broadcom transceivers can detect such swapping and
automatically adjust the connection to enable the links to operate normally. However, the transceiver
reports polarity swaps that it detects in the cable plant.
On 4-port Gigabit Ethernet and 8-port Gigabit Ethernet MICs with copper SFP transceivers (using
BCM54880) and 4-port Gigabit Ethernet, 6-port Gigabit Ethernet, and 8-port Gigabit Ethernet MICs
with copper and optical SFP transceivers (using BCM54640E PHY), only 10BASE-T pair polarity is
supported. 100BASE-T and 1000BASE-T polarities are not supported.
When the Gigabit Ethernet link cannot be established (for example, if only two pairs are present that are
fully functional), TDR in the physical layer (PHY) brings down the link to a 100 MB link, which is called a
downshift in the link. The physical layer might require 10-20 seconds for the link to come up if a
downgrade in wire speed occurs because it attempts to connect at 1000 MB five times before it falls
back to 100BASE-TX.
TDR diagnostics is supported only on copper interfaces and not on fiber interfaces.
• If you connect a port undergoing a TDR test to a Gigabit Ethernet interface that is enabled to
automatically detect MDI (Media Dependent Interface) and MDIX (Media Dependent Interface with
Crossover) port connections, the TDR result might be invalid.
• If you connect a port undergoing a TDR test to a 100BASE-T copper interface, the unused pairs are
reported as faulty because the remote end does not terminate these pairs.
• You must not modify the port configuration while the TDR test is running.
• Because of cable characteristics, you need to run the TDR test multiple times to get accurate results.
• Do not change the port status (such as removing the cable at the near or far end) because such a
change can result in inaccurate statistics in the results.
• While measuring the cable length or distance to fault (per pair), sometimes, a few cable length
inconsistencies might be observed during a TDR test. Broadcom transceivers have the following
cable length limitations:
• For a properly-terminated good cable, the accuracy of the cable length reported is plus or minus
10 meters.
• If a pair is open or short-circuited, the far-end termination does not affect the computed result for
that pair.
294
• The accuracy of the measured cable length, when open and short-circuit conditions are detected,
is plus or minus 5 meters.
• The accuracy of a good pair, when one or more pairs are open or short-circuited, is plus or minus
10 meters.
• The TDR test does not impact the traffic if the interface operates at 10-Gigabit Ethernet per second
of bandwidth, which is the default configuration. However, if the speed of the interface is configured
to be other than 10-Gigabit Ethernet, running the TDR test affects the traffic.
TDR diagnostics might bring the link down and initialize the physical layer (PHY) with default
configuration to perform its operation.
When the TDR validation test is completed, the PHY layer resumes operation in the same manner as
before the cable diagnostics test was performed. However, link flaps might be momentarily observed.
We recommend that you run the TDR test at a speed of 1 gigabit per second, which is the default
configuration, to obtain more accurate results.
• On ACX1000 routers, 4 RJ45 (Cu) ports or 8-port Gigabit Ethernet MICs with small form-factor
pluggable (SFP) transceivers and RJ45 connectors.
On ACX1100 routers, 4-port or 8-port Gigabit Ethernet MICs with SFP transceivers and RJ45
connectors.
• On ACX2000 routers, 8-port Gigabit Ethernet MICs with SFP transceivers and RJ45 connectors.
• On ACX2100 and ACX2200 routers, 4-port Gigabit Ethernet MICs with SFP transceivers and RJ45
connectors.
• On ACX4000 routers, 4-port, 6-port, or 8-port Gigabit Ethernet MICs with SFP transceivers and
RJ45 connectors.
You must select the media type as copper for the 1-Gigabit Ethernet interfaces. To specify the media
type, include the media-type statement with the copper option at the [edit interfaces interface-name]
hierarchy level. Media type selection is applicable to ports only in slot 2. When media-type is not set,
the port accepts either type of connection. The media type is fiber if a transceiver is installed in the SFP
connection. If no transceiver is installed, the media type is copper. The COMBO ports (combination
ports) on ACX routers support both the copper and fiber-optic media types. On such ports or interfaces,
you must configure the media type as copper to run the TDR test.
You can run the TDR test from operational mode and view the success or failure results of the test. To
start a test on a specific interface, issue the request diagnostics tdr start interface interface-name
command. To stop the TDR test currently in progress on the specified interface, issue the request
295
diagnostics tdr abort interface interface-name command. To display the test results for all copper
interfaces, enter the show diagnostics tdr command. To display the test results for a particular interface,
enter the show diagnostics tdr interface interface-name command.
SEE ALSO
IN THIS SECTION
Problem | 295
Solution | 295
Problem
Description
A 10/100BASE-T Ethernet interface has connectivity problems that you suspect might be caused by a
faulty cable.
Solution
Use the time domain reflectometry (TDR) test to determine whether a twisted-pair Ethernet cable is
faulty.
• Detects and reports faults for each twisted pair in an Ethernet cable. Faults detected include open
circuits, short circuits, and impedance mismatches.
• Detects and reports pair swaps, pair polarity reversals, and excessive pair skew.
The TDR test is supported on the following ACX routers and interfaces:
296
• On ACX1000 routers, 4 RJ45 (Cu) ports or 8-port Gigabit Ethernet MICs with small form-factor
pluggable (SFP) transceivers and RJ45 connectors.
• On ACX1100 routers, 4-port or 8-port Gigabit Ethernet MICs with SFP transceivers and RJ45
connectors.
• On ACX2000 routers, 8-port Gigabit Ethernet MICs with SFP transceivers and RJ45 connectors.
• On ACX2100 and ACX2200 routers, 4-port Gigabit Ethernet MICs with SFP transceivers and RJ45
connectors.
• On ACX4000 routers, 4-port, 6-port, or 8-port Gigabit Ethernet MICs with SFP transceivers and
RJ45 connectors.
NOTE: We recommend running the TDR test on an interface when there is no traffic on the
interface.
TDR diagnostics are applicable for copper ports only and not for optical fiber ports.
2. View the results of the TDR test with the show diagnostics tdr command.
3. Examine the Cable status field for the four MDI pairs to determine if the cable has a fault. In the
preceding example, the twisted pair on pins 4 and 5 is broken or cut at approximately one meter from
the ge-0/0/10 port connection.
NOTE: The Test Status field indicates the status of the TDR test, not the cable. The value Passed
means the test completed—it does not mean that the cable has no faults.
• The TDR test can take some seconds to complete. If the test is still running when you execute the
show diagnostics tdr command, the Test status field displays Started. For example:
• You can terminate a running TDR test before it completes by using the request diagnostics tdr abort
interface interface-name command. The test terminates with no results, and the results from any
previous test are cleared.
• You can display summary information about the last TDR test results for all interfaces on the router
that support the TDR test by not specifying an interface name with the show diagnostics tdr
command. For example:
SEE ALSO
Configuration Statements
accounting | 303
accounting-profile | 304
acfc | 306
activation-delay | 309
activation-priority | 310
backup-options | 316
callback | 317
callback-wait-period | 319
caller | 320
calling-number | 322
clock-rate | 324
clocking-mode | 326
control-polarity | 327
control-signal | 329
cts | 331
cts-polarity | 332
dcd-polarity | 338
deactivation-delay | 340
dce-options | 341
destination-class-usage | 356
destination-profile | 357
dial-string | 359
dialer | 361
dot1x | 362
dsr | 366
dsr-polarity | 368
dte-options | 369
dtr | 371
dtr-circuit | 373
dtr-polarity | 375
encoding | 376
f-max-period | 378
forward-and-send-to-re | 379
forward-only | 381
hierarchical-policer | 382
idle-timeout | 384
ignore-all | 388
incoming-map | 389
indication | 391
indication-polarity | 393
init-command-string | 394
initial-route-check | 396
input-list | 398
interface-range | 401
interface-transmit-statistics | 403
interface-shared-with | 406
isdn-options | 408
keep-address-and-control | 409
key | 411
lcp-max-conf-req | 413
lcp-restart-timer | 414
line-protocol | 416
line-rate | 418
load-interval | 419
load-threshold | 421
local-password | 422
loopback-clear-timer | 426
modem-options | 427
monitor-session | 429
multipoint | 430
ncp-max-conf-req | 432
ncp-restart-timer | 434
operating-mode | 435
pfc | 439
point-to-point | 440
pool | 444
preferred-source-address | 445
redial-delay | 449
rts | 451
rts-polarity | 452
serial-options | 454
shdsl-options | 456
snr-margin | 458
snext | 459
spid1 | 461
spid2 | 462
static-tei-val | 463
switch-type | 465
t310 | 467
tei-option | 468
then | 470
tm | 471
tm-polarity | 473
transmit-clock | 478
watch-list | 484
303
accounting
IN THIS SECTION
Syntax | 303
Description | 303
Syntax
accounting {
destination-class-usage;
source-class-usage {
direction;
}
}
Hierarchy Level
Description
Release Information
RELATED DOCUMENTATION
accounting-profile
IN THIS SECTION
Syntax | 305
Description | 305
Options | 305
Syntax
accounting-profile name;
Hierarchy Level
Description
Enable collection of accounting data for the specified physical or logical interface or interface range.
Options
Release Information
RELATED DOCUMENTATION
acfc
IN THIS SECTION
Syntax | 306
Description | 307
Syntax
acfc;
Hierarchy Level
Description
For interfaces with PPP encapsulation, configure compression of the Data Link Layer address and
control fields. The acfc option is not supported with frame-relay-ppp encapsulation.
On M320, M120, and T Series routers, address and control field compression (ACFC) is not supported
for any ISO family protocols. Do not include the acfc statement at the [edit interfaces interface-name
ppp-options compression] hierarchy level when you include the family iso statement at the [edit
interfaces interface-name unit logical-unit-number] hierarchy level.
Release Information
RELATED DOCUMENTATION
Configuring PPP
action (Policer)
IN THIS SECTION
Syntax | 308
Description | 308
Syntax
action {
loss-priority high then discard;
}
Hierarchy Level
Description
This statement discards high loss priority traffic as part of a configuration using tricolor marking on a
logical interface.
Release Information
RELATED DOCUMENTATION
activation-delay
IN THIS SECTION
Syntax | 309
Description | 310
Options | 310
Syntax
activation-delay seconds;
Hierarchy Level
Description
(J Series Services Routers) For ISDN interfaces, configure the ISDN dialer activation delay. Used only for
dialer backup and dialer watch cases.
Options
seconds—Interval before the backup interface is activated after the primary interface has gone down.
Release Information
activation-priority
IN THIS SECTION
Syntax | 311
Description | 311
Options | 311
Syntax
activation-priority priority;
Hierarchy Level
Description
(J4350 and J6350 Services Routers supporting voice over IP with the TGM550 media gateway module)
For Fast Ethernet and Gigabit Ethernet interfaces, ISDN BRI interfaces, and serial interfaces with PPP or
Frame Relay encapsulation, configure the dynamic call admission control (dynamic CAC) activation
priority value.
Options
priority—The activation priority in which the interface is used for providing call bandwidth. The interface
with the highest activation priority value is used as the primary link for providing call bandwidth. If the
primary link becomes unavailable, the TGM550 switches over to the next active interface with the
highest activation priority value, and so on.
• Default: 50
312
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 312
Description | 313
Options | 313
Syntax
aggregate {
if-exceeding {
bandwidth-limit bandwidth;
313
burst-size-limit burst;
}
then {
discard;
}
}
Hierarchy Level
Description
On M40e, M120, and M320 (with FFPC and SFPC) edge routers and T320, T640, and T1600 core
routers with Enhanced Intelligent Queuing (IQE) PICs, T4000 routers with Type 5 FPC and Enhanced
Scaling Type 4 FPC, configure an aggregate hierarchical policer.
Options
Release Information
RELATED DOCUMENTATION
Applying Policers
Junos OS Class of Service User Guide for Routing Devices
alias (Interfaces)
IN THIS SECTION
Syntax | 314
Description | 315
Options | 315
Syntax
alias alias-name;
Hierarchy Level
Description
Configure a textual description of a physical interface or the logical unit of an interface to be the alias of
an interface name. The alias name can be a single line of text. If the text contains spaces, enclose it in
quotation marks. If you configure an alias name, the alias name is displayed instead of the interface
name in the output of all show, show interfaces, and other operational mode commands. In Junos OS
Release 12.3R8 and later, display of the alias can be suppressed in favor of the actual interface name by
using the display no-interface-alias parameter along with the show command.
Options
alias-name Text to denote an easily identifiable, meaningful alias name for the interface. If the text
includes spaces, enclose the entire text in quotation marks.
Release Information
RELATED DOCUMENTATION
backup-options
IN THIS SECTION
Syntax | 316
Description | 316
Syntax
backup-options {
interface interface-name;
}
Hierarchy Level
Description
Configure an interface to be used as a backup interface if the primary interface goes down. This is used
to support ISDN dial backup operation.
Release Information
callback
IN THIS SECTION
Syntax | 317
Description | 318
Syntax
callback;
318
Hierarchy Level
Description
On J Series Services Routers with interfaces configured for ISDN, configure the dialer to terminate the
incoming call and call back the originator after the callback wait period. The default wait time is 5
seconds. To configure the wait time, include the callback-wait-period statement at the [edit interfaces dl
n unit logical-unit-number dialer-options] hierarchy level.
NOTE: The incoming-map statement is mandatory for the router to accept any incoming ISDN
calls.
If the callback statement is configured, you cannot use the caller caller-id statement at the [edit
interfaces dln unit logical-unit-number dialer-options] hierarchy level.
Release Information
RELATED DOCUMENTATION
callback-wait-period | 319
319
callback-wait-period
IN THIS SECTION
Syntax | 319
Description | 319
Options | 320
Syntax
callback-wait-period time;
Hierarchy Level
Description
On J Series Services Routers with interfaces configured for ISDN with callback, specify the amount of
time the dialer waits before calling back the caller. The default wait time is 5 seconds. The wait time is
necessary because, when a call is rejected, the switch waits for up to 4 seconds on point-to-multipoint
connections to ensure no other device accepts the call before sending the DISCONNECT message to
320
the originator of the call. However, the default time of 5 seconds may not be sufficient for different
switches or may not be needed on point-to-point connections.
To configure callback mode, include the callback statement at the [edit interfaces dln unit logical-unit-
number dialer-options] hierarchy level.
If the callback statement is configured, you cannot use the caller caller-id statement at the [edit
interfaces dln unit logical-unit-number dialer-options] hierarchy level.
Options
Release Information
caller
IN THIS SECTION
Syntax | 321
Description | 321
Options | 321
321
Syntax
Hierarchy Level
Description
On J Series Services Routers with interfaces configured for ISDN, specify the dialer to accept a specified
caller number or accept all incoming calls.
Options
caller-id—Incoming caller number. You can configure multiple caller IDs on a dialer. The caller ID of the
incoming call is matched against all caller IDs configured on all dialers. The dialer matching the caller ID
is looked at for further processing. Only a precise match is a valid match, For example, the configured
caller ID 1-222-333-4444 or 222-333-4444 will match the incoming caller ID 1-222-333-4444.
If the incoming caller ID has fewer digits than the number configured, it is not a valid match. Duplicate
caller IDs are not allowed on different dialers; however, for example, the numbers 1-408-532-1091,
408-532-1091, and 532-1091 can still be configured on different dialers.
322
Only one B-channel can map to one dialer. If one dialer is already mapped, any other call mapping to the
same dialer is rejected (except in the case of a multilink dialer). If no dialer caller is configured on a dialer,
that dialer will not accept any calls.
Release Information
calling-number
IN THIS SECTION
Syntax | 323
Description | 323
Options | 323
Syntax
calling-number number;
Hierarchy Level
Description
On J Series Services Routers with ISDN interfaces, configure the calling number to include in outgoing
calls.
Options
number—Calling number.
Release Information
RELATED DOCUMENTATION
clock-rate
IN THIS SECTION
Syntax | 324
Description | 324
Options | 325
Syntax
clock-rate rate;
Hierarchy Level
Description
For EIA-530 and V.35 interfaces, configure the interface speed, in megahertz (MHz).
325
Options
• 2.048 MHz
• 2.341 MHz
• 2.731 MHz
• 3.277 MHz
• 4.096 MHz
• 5.461 MHz
• 8.192 MHz
• 16.384 MHz
Release Information
RELATED DOCUMENTATION
clocking-mode
IN THIS SECTION
Syntax | 326
Description | 326
Options | 327
Syntax
Hierarchy Level
Description
For EIA-530 and V.35 interfaces, configure the clock mode. You cannot configure clocking-mode dce on
a DTE router using an X.21 serial line protocol (detected automatically when an X.21 cable is plugged
into the serial interface).
327
Options
loop—Loop timing.
• Default: loop
Release Information
RELATED DOCUMENTATION
control-polarity
IN THIS SECTION
Syntax | 328
Description | 328
Options | 328
328
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
control-signal
IN THIS SECTION
Syntax | 329
Description | 330
Options | 330
Syntax
Hierarchy Level
Description
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
cts
IN THIS SECTION
Syntax | 331
Description | 331
Options | 332
Syntax
Hierarchy Level
Description
For EIA-530 and V.35 interfaces only, configure the from-DCE signal, clear-to-send (CTS).
332
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
cts-polarity
IN THIS SECTION
Syntax | 333
Description | 333
Options | 333
333
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
damping (Interfaces)
IN THIS SECTION
Syntax | 334
Description | 335
Options | 335
Syntax
damping {
enable;
half-life seconds;
max-suppress seconds;
reuse number;
suppress number;
}
335
Hierarchy Level
Description
Limit the number of advertisements of the up and down transitions (flapping) on an interface. Each time
a transition occurs, the interface state is changed, which generates an advertisement to the upper-level
routing protocols. Damping helps reduce the number of these advertisements. Every time an interface
goes down, a penalty is added to the interface penalty counter. Penalty added on every interface flap is
1000.
If at some point the accumulated penalty exceeds the suppress level max-suppress, the interface is
placed in the suppress state, and further interface state up and down transitions are not reported to the
upper-level protocols.
Options
• Default: Disabled
half-life seconds—Decay half-life. seconds is the interval after which the accumulated interface penalty
counter is reduced by half if the interface remains stable.
NOTE: For the half-life, configure a value that is less than the max-suppress value. If you do not,
the configuration is rejected.
• Range: 1 through 30
• Default: 5
max-suppress seconds—Maximum hold-down time. seconds is the maximum time that an interface can
be suppressed no matter how unstable the interface has been.
336
NOTE: For max-suppress, configure a value that is greater than the half-life. If you do not, the
configuration is rejected.
• Default: 20
reuse number—Reuse threshold. When the accumulated interface penalty counter falls below number,
the interface is no longer suppressed.
• Default: 1000
suppress number—Cutoff (suppression) threshold. When the accumulated interface penalty counter
exceeds number, the interface is suppressed.
• Default: 2000
Release Information
RELATED DOCUMENTATION
hold-time
dcd
IN THIS SECTION
Syntax | 337
Description | 337
Options | 338
Syntax
Hierarchy Level
Description
For EIA-530 and V.35 interfaces only, configure the from-DCE signal, data-carrier-detect (DCD).
338
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
dcd-polarity
IN THIS SECTION
Syntax | 339
Description | 339
Options | 339
339
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
deactivation-delay
IN THIS SECTION
Syntax | 340
Description | 341
Options | 341
Syntax
deactivation-delay seconds;
Hierarchy Level
Description
On J Series Services Routers with ISDN interfaces, configure the ISDN deactivation delay. Used only for
dialer backup and dialer watch cases.
Options
seconds—Interval before the backup interface is deactivated after the primary interface has comes up.
• Default: 0 (zero)
Release Information
dce-options
IN THIS SECTION
Syntax | 342
Description | 342
Syntax
dce-options {
control-signal (assert | de-assert | normal);
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr signal-handling-option;
ignore-all;
indication (ignore | normal | require);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
Hierarchy Level
Description
For J Series Services Routers, configure the serial interface signal characteristics.
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 343
Description | 344
Syntax
demux-destination family;
344
Hierarchy Level
Description
Configure the logical demultiplexing (demux) destination family type on the IP demux underlying
interface.
NOTE: The IP demux interface feature currently supports only Fast Ethernet, Gigabit Ethernet,
10-Gigabit Ethernet, or aggregated Ethernet underlying interfaces.
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 345
Description | 345
Syntax
demux-destination {
destination-prefix;
}
Hierarchy Level
Description
Configure one or more logical demultiplexing (demux) destination prefixes. The prefixes are matched
against the destination address of packets that the underlying interface receives. When a match occurs,
the packet is processed as if it was received on the demux interface.
346
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 347
Description | 347
Syntax
demux–options {
underlying-interface interface-name
}
Hierarchy Level
Description
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 348
Description | 349
Syntax
demux-source {
source-prefix;
}
Hierarchy Level
Description
Configure one or more logical demultiplexing (demux) source prefixes. The prefixes are matched against
the source address of packets that the underlying interface receives. When a match occurs, the packet is
processed as if it was received on the demux interface.
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 350
Description | 350
Options | 350
350
Syntax
demux-source family;
Hierarchy Level
Description
Configure the logical demultiplexing (demux) source family type on the IP demux underlying interface.
NOTE: The IP demux interface feature currently supports only Fast Ethernet, Gigabit Ethernet,
10-Gigabit Ethernet, or aggregated Ethernet underlying interfaces.
Options
family—Protocol family:
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 352
Description | 353
Syntax
demux0 {
unit logical-unit-number {
demux-options {
underlying-interface interface-name
}
family family {
access-concentrator name;
{
destination-prefix;
}
direct-connect;
duplicate-protection;
dynamic-profile profile-name;
{
source-prefix;
}
max-sessions number;
service-name-table table-name
targeted-distribution;
unnumbered-address interface-name <preferred-source-address address>;
}
vlan-id number;
vlan-tags outer [tpid].vlan-id [inner [tpid].vlan-id];
}
}
Hierarchy Level
[edit interfaces],
[edit logical-systems logical-system-name interfaces]
353
Description
Logical IP demux interfaces do not support IPv4 and IPv6 dual stack.
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 354
Description | 355
Syntax
demux0 {
unit logical-unit-number {
demux-options {
underlying-interface interface-name
}
family family {
access-concentrator name;
address address;
demux-source {
source-prefix;
}
direct-connect;
duplicate-protection;
dynamic-profile profile-name;
filter {
input filter-name;
output filter-name;
}
mac-validate (loose | strict):
max-sessions number;
max-sessions-vsa-ignore;
rpf-check {
fail-filter filter-name;
mode loose;
}
service-name-table table-name
short-cycle-protection <lockout-time-min minimum-seconds lockout-
time-max maximum-seconds>;
unnumbered-address interface-name <preferred-source-address address>;
}
filter {
input filter-name;
output filter-name;
}
355
vlan-id number;
}
}
Hierarchy Level
Description
Logical IP demux interfaces do not support IPv4 and IPv6 dual stack.
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a
linked statement in the Syntax section for details.
Release Information
RELATED DOCUMENTATION
destination-class-usage
IN THIS SECTION
Syntax | 356
Description | 356
Syntax
destination-class-usage;
Hierarchy Level
Description
Enable packet counters on an interface that count packets that arrive from specific customers and are
destined for specific prefixes on the provider core router.
357
Release Information
RELATED DOCUMENTATION
destination-profile
IN THIS SECTION
Syntax | 358
Description | 358
Options | 358
Syntax
destination-profile name;
Hierarchy Level
Description
For interfaces with PPP encapsulation, assign PPP properties to the remote destination end. You define
the profile at the [edit access group-profile name ppp] hierarchy level.
Options
name—Profile name defined at the [edit access group-profile name ppp] hierarchy level.
Release Information
RELATED DOCUMENTATION
dial-string
IN THIS SECTION
Syntax | 359
Description | 360
Options | 360
Syntax
dial-string [ dial-string-numbers ];
360
Hierarchy Level
Description
On J Series Services Routers with ISDN interfaces, specify one or more ISDN dial strings used to reach a
destination subnetwork.
Options
Release Information
dialer
IN THIS SECTION
Syntax | 361
Description | 361
Options | 362
Syntax
dialer filter-name;
Hierarchy Level
Description
Apply a dialer filter to an interface. To create the dialer filter, include the dialer-filter statement at the
[edit firewall filter family family] hierarchy level.
362
Options
Release Information
dot1x
IN THIS SECTION
Syntax | 363
Description | 365
Default | 365
Options | 365
Syntax
dot1x {
authenticator {
authentication-profile-name access-profile-name;
interface (all | [ interface-names ]) {
authentication-order (captive-portal | dot1x | mac-radius);
disable;
guest-bridge-domain guest-bridge-domain;
guest-vlan guest-vlan;
ignore-port-bounce;
mac-radius {
authentication-protocol {
eap-md5;
eap-peap {
resume;
}
pap;
}
flap-on-disconnect;
restrict;
}
maximum-requests number;
multi-domain {
max-data-session max-data-session;
packet-action (drop-and-log | shutdown);
recovery-timeout seconds;
}
(no-reauthentication | reauthentication interval );
no-tagged-mac-authentication;
quiet-period seconds;
redirect-url redirect-url;
retries number;
server-fail (bridge-domain bridge-domain | deny | permit | use-cache
| vlan-name vlan-name);
server-fail-voip (deny | permit | use-cache | vlan-name vlan-name);
server-reject-bridge-domain bridge-domain {
block-interval seconds;
eapol-block;
}
server-reject-vlan (vlan-id | vlan-name) {
364
block-interval block-interval;
eapol-block;
}
server-timeout seconds;
supplicant (single | single-secure | multiple);
supplicant-timeout seconds;
transmit-period seconds;
}
ip-mac-session-binding;
no-mac-table-binding;
radius-options {
add-interface-text-description;
use-vlan-id;
use-vlan-name;
}
static mac-address {
bridge-domain-assignment bridge-domain-assignment;
interface interface;
vlan-assignment vlan-identifier;
}
}
}
ssl-certificate-path path-name;
traceoptions {
file filename <files files> <size size> <(world-readable | no-world-
readable)>;
flag (all | config-internal | dot1x-debug | dot1x-event | dot1x-ipc |
eapol | esw-if | general | iccp | normal | parse | state | task | timer | vlan) {
disable;
}
}
}
Hierarchy Level
Description
Configure IEEE 802.1X authentication for Port-Based Network Access Control. 802.1X authentication is
supported on interfaces that are members of private VLANs (PVLANs).
Default
802.1X is disabled.
Options
ssl-certificate-path Specify the file path for SSL certificates if you are not using the default path.
path-name The default path for SSL certificates is /var/tmp.
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a
linked statement in the Syntax section for details.
Release Information
RELATED DOCUMENTATION
show dot1x
Example: Setting Up 802.1X for Single-Supplicant or Multiple-Supplicant Configurations on an EX
Series Switch
Example: Setting Up 802.1X in Conference Rooms to Provide Internet Access to Corporate Visitors
on an EX Series Switch
Example: Setting Up VoIP with 802.1X and LLDP-MED on an EX Series Switch
Example: Configuring Static MAC Bypass of 802.1X and MAC RADIUS Authentication on an EX
Series Switch
Example: Configuring MAC RADIUS Authentication on an EX Series Switch
Configuring RADIUS Server Fail Fallback (CLI Procedure)
dsr
IN THIS SECTION
Syntax | 366
Description | 367
Options | 367
Syntax
Hierarchy Level
Description
For EIA-530 and V.35 interfaces only, configure the from-DCE signal, data-set-ready (DSR).
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
dsr-polarity
IN THIS SECTION
Syntax | 368
Description | 368
Options | 368
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
dte-options
IN THIS SECTION
Syntax | 370
Description | 370
Syntax
dte-options {
control-signal (assert | de-assert | normal);
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr signal-handling-option;
ignore-all;
indication (ignore | normal | require);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
Hierarchy Level
Description
For M Series and T Series routers, configure the serial interface signal characteristics.
Release Information
RELATED DOCUMENTATION
dtr
IN THIS SECTION
Syntax | 371
Description | 372
Options | 372
Syntax
dtr signal-handling-option;
372
Hierarchy Level
Description
For EIA-530 and V.35 interfaces only, configure the to-DCE signal, data-transmit-ready (DTR).
Options
signal-handling-option—Signal handling for the DTR signal. The signal handling can be one of the
following:
auto-synchronize—Normal DTR signal with automatic synchronization. This statement has two
substatements:
• Default: 15 seconds
• Default: normal
373
Release Information
RELATED DOCUMENTATION
dtr-circuit
IN THIS SECTION
Syntax | 373
Description | 374
Options | 374
Syntax
Hierarchy Level
Description
Options
• Default: balanced
Release Information
RELATED DOCUMENTATION
dtr-polarity
IN THIS SECTION
Syntax | 375
Description | 375
Options | 375
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
encoding
IN THIS SECTION
Syntax | 377
Description | 377
Default | 377
Options | 377
Syntax
Hierarchy Level
Description
Default
Options
Release Information
RELATED DOCUMENTATION
f-max-period
IN THIS SECTION
Syntax | 378
Description | 379
Options | 379
Syntax
f-max-period number;
Hierarchy Level
Description
For all adaptive services interfaces and for ISDN interfaces on J Series Services Routers. Specify the
maximum number of compressed packets allowed between the transmission of full headers in a
compressed Real-Time Transport Protocol (RTP) traffic stream.
Options
Release Information
RELATED DOCUMENTATION
forward-and-send-to-re
IN THIS SECTION
Syntax | 380
380
Description | 380
Syntax
forward-and-send-to-re;
Hierarchy Level
Description
Specify that IP packets destined for a Layer 3 broadcast address be forwarded to an egress interface and
the Routing Engine. The packets are broadcast only if the egress interface is a LAN interface.
Release Information
RELATED DOCUMENTATION
forward-only
IN THIS SECTION
Syntax | 381
Description | 382
Syntax
forward-only;
Hierarchy Level
Description
Specify that IP packets destined for a Layer 3 broadcast address be forwarded to an egress interface
only. The packets are broadcast only if the egress interface is a LAN interface.
Release Information
RELATED DOCUMENTATION
hierarchical-policer
IN THIS SECTION
Syntax | 383
383
Description | 384
Options | 384
Syntax
hierarchical-policer name {
aggregate {
if-exceeding {
bandwidth-limit bandwidth;
burst-size-limit burst;
}
then {
discard;
}
}
premium {
if-exceeding {
bandwidth-limit bandwidth;
burst-size-limit burst;
}
then {
discard;
}
}
Hierarchy Level
[edit firewall]
384
Description
For M40e, M120, and M320 (with FFPC and SFPC) edge routers and T320, T640, and T1600 core
routers with Enhanced Intelligent Queuing (IQE) PICs, specify a hierarchical policer.
Options
Release Information
RELATED DOCUMENTATION
Applying Policers
Junos OS Class of Service User Guide for Routing Devices
idle-timeout
IN THIS SECTION
Syntax | 385
385
Description | 385
Options | 385
Syntax
idle-timeout seconds;
Hierarchy Level
Description
On J Series Services Routers with ISDN interfaces, configure the number of seconds the link is idle
before losing connectivity.
Options
seconds—Time for which the connection can remain idle. For interfaces configured to use a filter for
traffic, the idle timeout is based on traffic.
Release Information
IN THIS SECTION
Syntax | 386
Description | 387
Syntax
if-exceeding-pps {
pps-limit pps;
packet-burst packets;
}
387
Hierarchy Level
Description
Release Information
RELATED DOCUMENTATION
ignore-all
IN THIS SECTION
Syntax | 388
Description | 389
Syntax
ignore-all;
Hierarchy Level
Description
Ignore all control leads. You can include the ignore-all statement in the configuration only if you do not
explicitly enable other signal handling options at the dte-options hierarchy level.
Release Information
RELATED DOCUMENTATION
incoming-map
IN THIS SECTION
Syntax | 390
Description | 390
Syntax
incoming-map {
caller caller-number | accept-all;
}
Hierarchy Level
Description
On J Series Services Routers with interfaces configured for ISDN, specify the dialer to accept incoming
calls.
NOTE: The incoming-map statement is mandatory for the router to accept any incoming ISDN
calls.
Release Information
indication
IN THIS SECTION
Syntax | 391
Description | 392
Options | 392
Syntax
Hierarchy Level
Description
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
indication-polarity
IN THIS SECTION
Syntax | 393
Description | 393
Options | 393
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
init-command-string
IN THIS SECTION
Syntax | 395
Description | 395
Options | 395
Syntax
init-command-string initialization-command-string;
Hierarchy Level
Description
For J Series Services Routers, configure the command string used to initialize the USB modem.
When you connect the USB modem to the USB port on a Services Router, the router applies the modem
AT commands configured in the init-command-string command to the initialization commands on the
modem.
For example, the initialization command string ATS0 = 2\n configures the USB modem to pick up a call
after 2 rings.
If you do not include the init-command-string statement, the router applies the default initialization
string to the modem.
Options
• E0—Disables the display on the local terminal of commands issued to the modem from the local
terminal.
• S0=0—Disables the auto-answer feature, whereby the modem automatically answers calls.
• S7=45—Instructs the modem to wait 45 seconds for a telecommunications service provider (carrier)
signal before terminating the call.
Release Information
initial-route-check
IN THIS SECTION
Syntax | 397
Description | 397
Options | 397
Syntax
initial-route-check seconds;
Hierarchy Level
Description
On J Series Services Routers with ISDN interfaces, allows the router to check whether the primary route
is up after the initial startup of the router is complete and the timer expires.
Options
seconds—How long to wait to check if the primary interface is up after the router comes up.
Release Information
RELATED DOCUMENTATION
input-list
IN THIS SECTION
Syntax | 398
Description | 398
Options | 399
Syntax
input-list [ filter-names ];
Hierarchy Level
Description
Options
[ filter-names ]—Name of a filter to evaluate when packets are received on the interface. Up to 16 filters
can be included in a filter input list.
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 400
Description | 400
Syntax
interface interface-name;
Hierarchy Level
Description
Specify an interface that is a member of the interface set. Supported on Ethernet interfaces on an MX
Series router, Ethernet interfaces on IQ2E PIC on M Series and T Series routers, and IP demux interfaces
on an MX Series router.
Release Information
RELATED DOCUMENTATION
interface-range
IN THIS SECTION
Syntax | 401
Description | 402
Options | 402
Syntax
interface-range name {
member-range interface-name-fpc/pic/port to interface-name-fpc/pic/port;
member interface-name-fpc/pic/port;
member interface-name-fpc/[low-high]/*;
member interface-name-fpc/[pic1,pic2,pic3...picN]/port
Hierarchy Level
[edit interfaces]
Description
Specify a set of identical interfaces as an interface group, to which you can apply a common
configuration to the entire set of interfaces. This group can consist of both lexical member ranges of
interfaces specified using the member-range interface-type-fpc/pic/port to xx-fpc/pic/port option
(regex not supported), and of individual or non-sequential members using the member interface-type-
fpc/pic/port option (with regex support to specify the fpc/pic/port values).
Options
member ge-0/1/1;
member ge-0/*/*;
member ge-0/[1-10]/0;
403
member ge-1/[1,3,6,10]/12
Release Information
RELATED DOCUMENTATION
interface-transmit-statistics
IN THIS SECTION
Syntax | 404
Description | 404
Syntax
interface-transmit-statistics;
Hierarchy Level
Description
Configure the interface to report the transmitted load statistics. If this statement is not included in the
configuration, the interface statistics show the offered load on the interface, and not the actual
transmitted load.
Aggregated Ethernet interfaces do not support reporting of the transmitted load statistics. You cannot
configure aggregated Ethernet interfaces to capture and report the actual transmitted load statistics.
Release Information
RELATED DOCUMENTATION
show interfaces
IN THIS SECTION
Syntax | 405
Description | 406
Syntax
interface-set interface-set-name {
interface ethernet-interface-name {
(unit unit-number | vlan-tags-outer vlan-tag);
}
}
Hierarchy Level
[edit interfaces]
406
Description
The set of interfaces used to configure hierarchical CoS schedulers on Ethernet interfaces on the MX
Series router and IQ2E PIC on M Series and T Series routers.
Release Information
RELATED DOCUMENTATION
interface-shared-with
IN THIS SECTION
Syntax | 407
Description | 407
Options | 407
Syntax
interface-shared-with psdn;
Hierarchy Level
Description
Assign a logical interface under a shared physical interface to a Protected System Domain (PSD).
Options
• Range: 1 through 31
Release Information
isdn-options
IN THIS SECTION
Syntax | 408
Description | 409
Syntax
isdn-options {
bchannel-allocation (ascending | descending);
calling-number number;
incoming-called-number number <reject>;
spid1 spid-string;
spid2 spid-string;
static-tei-val value;
switch-type (att5e | etsi | ni1 | ntdms100 | ntt);
t310 seconds;
tei-option (first-call | power-up);
}
Hierarchy Level
Description
For J Series Services Routers only. Specify the ISDN options for configuring ISDN interfaces for group
and user sessions.
Release Information
RELATED DOCUMENTATION
keep-address-and-control
IN THIS SECTION
Syntax | 410
Description | 410
Default | 410
410
Syntax
keep-address-and-control;
Hierarchy Level
Description
For interfaces with encapsulation type PPP CCC, do not remove the address and control bytes before
encapsulating the packet into a tunnel.
Default
If you do not include this statement, address and control bytes are removed before encapsulating the
packet into a tunnel.
Release Information
RELATED DOCUMENTATION
key
IN THIS SECTION
Syntax | 411
Description | 412
Options | 412
Syntax
key number;
412
Hierarchy Level
Description
For Adaptive Services PICs on M Series routers (except the M320 and M120 routers), identify an
individual traffic flow within a tunnel, as defined in RFC 2890, Key and Sequence Number Extensions to
GRE.
Options
Release Information
RELATED DOCUMENTATION
lcp-max-conf-req
IN THIS SECTION
Syntax | 413
Description | 413
Options | 414
Syntax
lcp-max-conf-req number
Hierarchy Level
Description
Set the maximum number of LCP Configure-Requests to be sent, after which the router goes to LCP
down state.
414
Options
number From 0 to 65,535, where 0 means send infinite LCP Configure-Requests, and any other value
specifies the maximum number LCP Configure-Requests to send and then stop sending.
Default 254
Release Information
RELATED DOCUMENTATION
Configuring PPP
ppp-options
lcp-restart-timer
IN THIS SECTION
Syntax | 415
Description | 415
Options | 415
415
Syntax
lcp-restart-timer milliseconds;
Hierarchy Level
Description
For interfaces with PPP, PPP TCC, PPP over Ethernet, PPP over ATM, and PPP over Frame Relay
encapsulations, configure a restart timer for the Link Control Protocol (LCP) component of a PPP
session.
Options
• Default: 3 seconds
416
Release Information
RELATED DOCUMENTATION
Configuring PPP
line-protocol
IN THIS SECTION
Syntax | 416
Description | 417
Options | 417
Syntax
line-protocol protocol;
417
Hierarchy Level
Description
Options
Release Information
RELATED DOCUMENTATION
line-rate
IN THIS SECTION
Syntax | 418
Description | 418
Options | 419
Syntax
line-rate line-rate;
Hierarchy Level
Description
For J Series Services Routers only, configure the SHDSL line rate.
419
Options
2-wire (Kbps): 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1088, 1152,
1216, 1280, 1344, 1408, 1472, 1536, 1600, 1664, 1728, 1792, 1856, 1920, 1984, 2048, 2112, 2176,
2240, 2304, auto
4-wire (Kbps): 384, 512, 640, 768, 896, 1024, 1152, 1280, 1408, 1536, 1664, 1792, 1920, 2048, 2176,
2304, 2432, 2560, 2688, 2816, 2944, 3072, 3200, 3328, 3456, 3584, 3712, 3840, 3968, 4096, 4224,
4352, 4480, 4608
• Default: For 2-wire mode, auto; for 4-wire mode, 4608 Kbps
Release Information
load-interval
IN THIS SECTION
Syntax | 420
Description | 420
Options | 420
Syntax
load-interval seconds;
Hierarchy Level
Description
On J Series Services Routers with ISDN logical interfaces, specify the interval used to calculate the
average load on the network. By default, the average interface load is calculated every 60 seconds.
Options
• Default: 60 seconds
Release Information
load-threshold
IN THIS SECTION
Syntax | 421
Description | 422
Options | 422
Syntax
load-threshold percent;
Hierarchy Level
Description
On J Series Services Routers with ISDN logical interfaces, specify the bandwidth threshold percentage
used for adding interfaces. Another link is added to the multilink bundle when the load reaches the
threshold value you set. Specify a percentage between 0 and 100.
Options
percent—Bandwidth threshold percentage used for adding interfaces. When set to 0, all available
channels are dialed.
Release Information
local-password
IN THIS SECTION
Syntax | 423
Description | 423
Syntax
local-password password;
Hierarchy Level
Description
Release Information
RELATED DOCUMENTATION
loopback (Serial)
IN THIS SECTION
Syntax | 424
Description | 425
Default | 425
Options | 425
Syntax
loopback mode;
Hierarchy Level
Description
Default
Options
• dce-local—For EIA-530 interfaces only, loop packets back on the local DCE.
• dce-remote—For EIA-530 interfaces only, loop packets back on the remote DCE.
Release Information
RELATED DOCUMENTATION
loopback-clear-timer
IN THIS SECTION
Syntax | 426
Description | 426
Options | 427
Syntax
loopback-clear-timer seconds;
Hierarchy Level
Description
For interfaces with PPP, PPP TCC, PPP over Ethernet, PPP over ATM, and PPP over Frame Relay
encapsulations, configure a loop detection clear timer for the Link Control Protocol (LCP) component of
a PPP session.
427
Options
seconds—The time in seconds to wait before the loop detection flag is cleared if it is not cleared by the
protocol.
• Default: 9 seconds
Release Information
RELATED DOCUMENTATION
Configuring PPP
modem-options
IN THIS SECTION
Syntax | 428
Description | 428
Syntax
modem-options {
dialin (console | routable);
init-command-string initialization-command-string;
}
Hierarchy Level
Description
For J Series Services Routers, configure a USB port to act as a USB modem.
Release Information
monitor-session
IN THIS SECTION
Syntax | 429
Description | 429
Default | 430
Options | 430
Syntax
Hierarchy Level
Description
Monitor PPP packet exchanges. When monitoring is enabled, packets exchanged during a session are
logged to the default log of /var/log/pppd.
430
Default
If you do not include this statement, no PPPD-specific monitoring operations are performed.
Options
Release Information
RELATED DOCUMENTATION
Configuring PPP
multipoint
IN THIS SECTION
Syntax | 431
Description | 431
Default | 431
Syntax
multipoint;
Hierarchy Level
Description
Default
If you omit this statement, the interface unit is configured as a point-to-point connection.
Release Information
RELATED DOCUMENTATION
ncp-max-conf-req
IN THIS SECTION
Syntax | 432
Description | 433
Options | 433
Syntax
ncp-max-conf-req number
433
Hierarchy Level
Description
Set the maximum number of NCP Configure-Requests to be sent, after which the router goes to NCP
down state.
Options
number Ranges from 0 to 65535, where 0 means send infinite NCP Configure-Requests and any other
value specifies the maximum number NCP Configure-Requests to send and then stop sending.
Default 254
Release Information
RELATED DOCUMENTATION
Configuring PPP
434
ppp-options
ncp-restart-timer
IN THIS SECTION
Syntax | 434
Description | 434
Options | 435
Syntax
ncp-restart-timer milliseconds;
Hierarchy Level
Description
For interfaces with PPP and PPP TCC encapsulations and on multilink PPP bundle interfaces, configure a
restart timer for the Network Control Protocol (NCP) component of a PPP session.
435
Options
• Default: 3 seconds
Release Information
RELATED DOCUMENTATION
Configuring PPP
operating-mode
IN THIS SECTION
Syntax | 436
Description | 436
Options | 436
Syntax
operating-mode mode;
Hierarchy Level
Description
For J Series Services Routers only, modify the operating mode of the digital subscriber line for an ATM
interface.
Options
mode—Operating mode for ATM-over-ADSL interfaces. The mode can be one of the following:
• ansi-dmt—Set the ADSL line to train in the ANSI T1.413 Issue 2 mode.
• auto—Set the ADSL line to autonegotiate the setting to match the setting of the DSL access
multiplexer (DSLAM) located at the central office. The ADSL line trains in the ANSI T1.413 Issue 2
(ansi-dmt) or ITU G.992.1 (itu-dmt) mode.
• etsi—Set the ADSL line to train in the ETSI TS 101 388 V1.3.1 mode.
• itu-annexb-ur2—Set the ADSL line to train in the ITU G.992.1 UR-2 mode.
437
• itu-annexb-non-ur2—Set the ADSL line to train in the ITU G.992.1 non-UR-2 mode.
• Default: auto
Release Information
RELATED DOCUMENTATION
ATM-over-ADSL Overview
passive (PAP)
IN THIS SECTION
Syntax | 438
Description | 438
Syntax
passive;
Hierarchy Level
Description
Initiate an authentication request when the PAP option is received from a peer. If you omit this
statement from the configuration, the interface requires the peer to initiate an authentication request.
Release Information
RELATED DOCUMENTATION
pfc
IN THIS SECTION
Syntax | 439
Description | 439
Syntax
pfc;
Hierarchy Level
Description
For interfaces with PPP encapsulation, configure the router to compress the protocol field to one byte.
440
Release Information
RELATED DOCUMENTATION
Configuring PPP
point-to-point
IN THIS SECTION
Syntax | 440
Description | 441
Default | 441
Syntax
point-to-point;
441
Hierarchy Level
Description
For all interfaces except aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet, configure the
interface unit as a point-to-point connection. This is the default connection type.
Default
If you omit this statement, the interface unit is configured as a point-to-point connection.
Release Information
RELATED DOCUMENTATION
policer (Interface)
IN THIS SECTION
Syntax | 442
Description | 442
Options | 443
Syntax
policer {
arp policer-template-name;
input policer-template-name;
output policer-template-name;
}
Hierarchy Level
Description
Options
arp policer-template-name—For inet family only, name of one policer to evaluate when ARP packets are
received on the interface.
input policer-template-name—Name of one policer to evaluate when packets are received on the
interface.
output policer-template-name—Name of one policer to evaluate when packets are transmitted on the
interface.
Release Information
RELATED DOCUMENTATION
Applying Policers
Configuring Firewall Filters and Policers for VPLS
Routing Policies, Firewall Filters, and Traffic Policers User Guide
Junos OS Services Interfaces Library for Routing Devices
444
pool
IN THIS SECTION
Syntax | 444
Description | 444
Options | 445
Syntax
Hierarchy Level
Description
On J Series Services Routers, for logical and physical ISDN interfaces, specify the dial pool. The dial pool
allows logical (dialer) and physical (br-pim/0/port) interfaces to be bound together dynamically on a per-
445
call basis. On a dialer interface, pool directs the dialer interface which dial pool to use. On br-pim/0/
port interface, pool defines the pool to which the interface belongs.
Options
pool-name—Pool identifier.
priority priority—(Physical br-pim/0/port interfaces only) Specify a priority value of 0 (lowest) to 255
(highest) for the interface within the pool.
Release Information
preferred-source-address
IN THIS SECTION
Syntax | 446
Description | 446
Options | 446
Syntax
preferred-source-address address;
Hierarchy Level
Description
For unnumbered Ethernet interfaces configured with a loopback interface as the donor interface, specify
one of the loopback interface’s secondary addresses as the preferred source address for the
unnumbered Ethernet interface. Configuring the preferred source address enables you to use an IP
address other than the primary IP address on some of the unnumbered Ethernet interfaces in your
network.
Configuration of a preferred source address for unnumbered Ethernet interfaces is supported for the
IPv4 and IPv6 address families.
Options
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 447
Description | 448
Syntax
primary;
448
Hierarchy Level
Description
Configure the primary interface for a device. By default, the multicast-capable interface with the lowest-
index address is chosen as the primary interface. If there is no such interface, the point-to-point
interface with the lowest-index address is chosen. Otherwise, any interface with an address can be
picked. In practice, this means that, on the device, the fxp0 or em0 interface is picked by default. To
configure a different interface to be the primary interface, you include this statement.
The primary interface for the router has the following characteristics:
• It is the interface through which the packets go out when you type a command such as ping
255.255.255.255—that is, a command that does not include an interface name (there is no interface
type-0/0/0.0 qualifier) and where the destination address does not imply any particular outgoing
interface.
• It is the interface on which multicast applications running locally on the router, such as Session
Announcement Protocol (SAP), perform group joins by default.
• It is the interface from which the default local address is derived for packets sourced out of an
unnumbered interface if there are no non-127 addresses configured on the loopback interface, lo0.
Release Information
RELATED DOCUMENTATION
redial-delay
IN THIS SECTION
Syntax | 449
Description | 450
Options | 450
Syntax
redial-delay time;
Hierarchy Level
Description
On J Series Services Routers with interfaces configured for ISDN with dialout, specify the delay (in
seconds) between two successive calls made by the dialer. To configure callback mode, include the
callback statement at the [edit interfaces dln unit logical-unit-number dialer-options] hierarchy level.
If the callback statement is configured, you cannot use the caller caller-id statement at the [edit
interfaces dln unit logical-unit-number dialer-options] hierarchy level.
Options
• Default: 3 seconds
Release Information
RELATED DOCUMENTATION
rts
IN THIS SECTION
Syntax | 451
Description | 451
Options | 452
Syntax
Hierarchy Level
Description
For EIA-530 and V.35 interfaces only, configure the to-DCE signal, request to send (RTS).
452
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
rts-polarity
IN THIS SECTION
Syntax | 453
Description | 453
Options | 453
453
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
serial-options
IN THIS SECTION
Syntax | 454
Description | 455
Syntax
serial-options {
clock-rate rate;
clocking-mode (dce | loop);
control-polarity (negative | positive);
cts-polarity (negative | positive);
dcd-polarity (negative | positive);
dce-options {
control-signal (assert | de-assert | normal);
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr signal-handling-option;
455
ignore-all;
indication (ignore | normal | require);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
dsr-polarity (negative | positive);
dte-options {
control-signal (assert | de-assert | normal);
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr signal-handling-option;
ignore-all;
indication (ignore | normal | require);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
dtr-circuit (balanced | unbalanced);
dtr-polarity (negative | positive);
encoding (nrz | nrzi);
indication-polarity (negative | positive);
line-protocol protocol;
loopback (dce-local | dce-remote | local | remote);
rts-polarity (negative | positive);
tm-polarity (negative | positive);
transmit-clock invert;
}
Hierarchy Level
Description
Release Information
RELATED DOCUMENTATION
shdsl-options
IN THIS SECTION
Syntax | 456
Description | 457
Syntax
shdsl-options {
annex (annex-a | annex-b);
line-rate line-rate;
457
Hierarchy Level
Description
For J Series Services Routers only, configure symmetric DSL (SHDSL) options.
Release Information
snr-margin
IN THIS SECTION
Syntax | 458
Description | 458
Syntax
snr-margin {
snext margin;
}
Hierarchy Level
Description
For J Series Services Routers only, configure the SHDSL signal-to-noise ratio (SNR) margin. The SNR
margin is the difference between the desired SNR and the actual SNR. Configuring the SNR creates a
more stable SHDSL connection by making the line train at a SNR margin higher than the threshold. If
any external noise below the threshold is applied to the line, the line remains stable.
459
Release Information
snext
IN THIS SECTION
Syntax | 459
Description | 460
Options | 460
Syntax
snext margin;
460
Hierarchy Level
Description
For J Series Services Routers only, configure self-near-end crosstalk (SNEXT) signal-to-noise ratio (SNR)
margin for a SHDSL line. When configured, the line trains at higher than SNEXT threshold. The SNR
margin is the difference between the desired SNR and the actual SNR.
Options
margin—Desired SNEXT margin. Possible values are disabled or a margin between –10dB and 10 dB.
• Default: disabled
Release Information
spid1
IN THIS SECTION
Syntax | 461
Description | 461
Options | 461
Syntax
spid1 spid1-string;
Hierarchy Level
Description
Options
spid1-string—Numeric SPID.
462
Release Information
spid2
IN THIS SECTION
Syntax | 462
Description | 463
Options | 463
Syntax
spid2 spid2-string;
463
Hierarchy Level
Description
Options
spid2-string—Numeric SPID.
Release Information
static-tei-val
IN THIS SECTION
Syntax | 464
464
Description | 464
Options | 464
Syntax
static-tei-val value;
Hierarchy Level
Description
For J Series Services Routers only. Statically configure the Terminal Endpoint Identifier (TEI) value. The
TEI value represents any ISDN-capable device attached to an ISDN network that is the terminal
endpoint. TEIs are used to distinguish between several different devices using the same ISDN links.
Options
Release Information
switch-type
IN THIS SECTION
Syntax | 465
Description | 466
Options | 466
Syntax
Hierarchy Level
Description
For J Series Services Routers only. Configure the ISDN variant supported.
Options
Release Information
t310
IN THIS SECTION
Syntax | 467
Description | 467
Options | 468
Syntax
t310-value seconds;
Hierarchy Level
Description
For ISDN interfaces, configure the Q.931-specific timer for T310, in seconds. The Q.931 protocol is
involved in the setup and termination of connections.
468
Options
• Default: 10 seconds
Release Information
tei-option
IN THIS SECTION
Syntax | 469
Description | 469
Options | 469
Syntax
Hierarchy Level
Description
For ISDN interfaces, configure when the Terminal Endpoint Identifier (TEI) negotiates with the ISDN
provider.
Options
• Default: power-up
Release Information
then
IN THIS SECTION
Syntax | 470
Description | 470
Options | 471
Syntax
then {
discard;
}
Hierarchy Level
Description
On M40e, M120, and M320 (with FFPC and SFPC) edge routers and T320, T640, and T1600 core
routers with Enhanced Intelligent Queuing (IQE) PICs, discard packets when a specified bandwidth or
burst limits for an aggregate level of a hierarchical policer is reached.
471
Options
Release Information
RELATED DOCUMENTATION
Applying Policers
Junos OS Class of Service User Guide for Routing Devices
tm
IN THIS SECTION
Syntax | 472
Description | 472
Options | 472
Syntax
Hierarchy Level
Description
For EIA-530 interfaces only, configure the from-DCE signal, test-mode (TM).
Options
• Default: normal
Release Information
RELATED DOCUMENTATION
tm-polarity
IN THIS SECTION
Syntax | 473
Description | 474
Options | 474
Syntax
Hierarchy Level
Description
Options
• Default: positive
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 475
475
Description | 475
Default | 476
Options | 476
Syntax
traceoptions {
file filename <files number> <match regular-expression> <size size> <world-
readable | no-world-readable>;
flag flag;
level severity-level;
no-remote-trace;
}
Hierarchy Level
Description
To specify more than one tracing operation, include multiple flag statements.
You cannot specify a separate trace tile. Tracing information is placed in the system syslog file in the
directory /var/log/pppd.
476
Default
If you do not include this statement, no PPPD-specific tracing operations are performed.
Options
filename—Name of the file to receive the output of the tracing operation. Enclose the name within
quotation marks. All files are placed in the directory /var/log. By default, commit script process tracing
output is placed in the file ppd. If you include the file statement, you must specify a filename. To retain
the default, you can specify eventd as the filename.
files number—(Optional) Maximum number of trace files. When a trace file named trace-file reaches its
maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the maximum number of trace
files is reached. Then the oldest trace file is overwritten.
If you specify a maximum number of files, you also must specify a maximum file size with the size option
and a filename.
• Default: 3 files
disable—(Optional) Disable the tracing operation. You can use this option to disable a single operation
when you have defined a broad group of tracing operations, such as all.
flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag
statements. The following are the PPPD-specific tracing options.
• access—Access code
• auth—Authentication code
• config—Configuration code
• timer—Timer code
match regex—(Optional) Refine the output to include only those lines that match the given regular
expression.
size size—(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes
(GB). When a trace file named trace-file reaches this size, it is renamed trace-file.0. When the trace-file
again reaches its maximum size, trace-file.0 is renamed trace-file.1 and trace-file is renamed trace-file.0.
This renaming scheme continues until the maximum number of trace files is reached. Then the oldest
trace file is overwritten.
If you specify a maximum file size, you also must specify a maximum number of trace files with the files
option and filename.
• Range: 10 KB through 1 GB
• Default: 128 KB
non-world-readable—(Optional) By default, log files can be accessed only by the user who configures
the tracing operation. Specify non-world-readable to reset the default.
478
Release Information
RELATED DOCUMENTATION
Configuring PPP
transmit-clock
IN THIS SECTION
Syntax | 478
Description | 479
Options | 479
Syntax
transmit-clock invert;
479
Hierarchy Level
Description
Options
Release Information
RELATED DOCUMENTATION
unnumbered-address (Demux)
IN THIS SECTION
Syntax | 480
Description | 480
Options | 481
Syntax
Hierarchy Level
Description
For IP demultiplexing interfaces, enable the local address to be derived from the specified interface.
Configuring an unnumbered interface enables IP processing on the interface without assigning an
explicit IP address to the interface.
481
Options
interface-name—Name of the interface from which the local address is derived. The specified interface
must have a logical unit number and a configured IP address, and must not be an unnumbered interface.
Release Information
RELATED DOCUMENTATION
IN THIS SECTION
Syntax | 482
Description | 482
Options | 483
Syntax
Hierarchy Level
Description
Binds a single-tag logical interface to a list of VLAN IDs. Configures a logical interface to receive and
forward any tag frame whose VLAN ID tag matches the list of VLAN IDs you specify.
NOTE: When you create a circuit cross-connect (CCC) using VLAN-bundled single-tag logical
interfaces on Layer 2 VPN routing instances, the circuit automatically uses ethernet
encapsulation. For Layer 2 VPN, you need to include the encapsulation-type statement and
specify the value ethernet at either of the following hierarchy levels:
For more information about the encapsulation-type configuration statement and the Layer 2
encapsulation types ethernet and ethernet-vlan, see the Junos OS VPNs Library for Routing
Devices.
Options
[vlan-id vlan-id–vlan-id]—A list of valid VLAN ID numbers. Specify the VLAN IDs individually by using a
space to separate each ID, as an inclusive list by separating the starting VLAN ID and ending VLAN ID
with a hyphen, or as a combination of both.
• Range: 1 through 4094. VLAN ID 0 is reserved for tagging the priority of frames.
NOTE: Configuring vlan-id-list with the entire vlan-id range is an unnecessary waste of system
resources and is not best practice. It should be used only when a subset of VLAN IDs (not the
entire range) needs to be associated with a logical interface. If you specify the entire range
(1-4094), it has the same result as not specifying a range; however, it consumes PFE resources
such as VLAN lookup tables entries, and so on.
The following examples illustrate this further:
1. Inefficient
2. Best Practice
Release Information
RELATED DOCUMENTATION
watch-list
IN THIS SECTION
Syntax | 485
Description | 485
Options | 485
Syntax
watch-list {
[ routes ];
}
Hierarchy Level
Description
On J Series Services Routers with ISDN interfaces, configure an ISDN list of routes to watch. Used only
for dialer watch.
Options
routes—IP prefix of a route. Specify one or more. The primary interface is considered up if there is at
least one valid route for any of the addresses in the watch list to an interface other than the backup
interface.
Release Information
Operational Commands
IN THIS SECTION
This chapter explains the content of the output fields, which appear in the output of most show
interfaces commands.
Damping Field
For the physical interface, the Damping field shows the setting of the following damping parameters:
• half-life—Decay half-life. The number of seconds after which the accumulated interface penalty
counter is reduced by half if the interface remains stable.
• max-suppress—Maximum hold-down time. The maximum number of seconds that an interface can
be suppressed irrespective of how unstable the interface has been.
• reuse—Reuse threshold. When the accumulated interface penalty counter falls below this number,
the interface is no longer suppressed.
• suppress—Cutoff (suppression) threshold. When the accumulated interface penalty counter exceeds
this number, the interface is suppressed.
489
For the logical interface, the Destination class field provides the names of destination class usage (DCU)
counters per family and per class for a particular interface. The counters display packets and bytes
arriving from designated user-selected prefixes. For example:
Packets
Bytes
Destination class (packet-per-second) (bits-per-
second)
gold 1928095
161959980
( 889) ( 597762)
bronze 0 0
( 0) ( 0)
silver 0 0
( 0) ( 0)
Enabled Field
For the physical interface, the Enabled field provides information about the state of the interface,
displaying one or more of the following values:
• Administratively down, Physical link is Down—The interface is turned off, and the physical link is
inoperable and cannot pass packets even when it is enabled.To change the interface state to Enabled,
use the following command:
• Administratively down, Physical link is Up—The interface is turned off, but the physical link is
operational and can pass packets when it is enabled.To change the interface state to Enabled, use the
following command:
• Enabled, Physical link is Down—The interface is turned on, but the physical link is inoperable and
cannot pass packets. Manually verify the connections to bring the physical link up.
• Enabled, Physical link is Up—The interface is turned on, and the physical link is operational and can
pass packets.
Filters Field
For the logical interface, the Filters field provides the name of the firewall filters to be evaluated when
packets are received or transmitted on the interface. The format is Filters: Input: filter-name and Filters:
Output: filter-name. For example:
Flags Fields
The following sections provide information about flags that are specific to interfaces:
The Addresses, Flags field provides information about the addresses configured for the protocol family
on the logical interface and displays one or more of the following values:
• Dest-route-down—The routing process detected that the link was not operational and changed the
interface routes to nonforwarding status
• Is-Default—The default address of the router used as the source address by SNMP, ping, traceroute,
and other network utilities.
491
• Is-Preferred—The default local address for packets originating from the local router and sent to
destinations on the subnet.
• Is-Primary—The default local address for broadcast and multicast packets originated locally and sent
out the interface.
• Trunk—Interface is a trunk.
• Trunk, Inter-Switch-Link—Interface is a trunk, and InterSwitch Link protocol (ISL) is configured on the
trunk port of the primary VLAN in order to connect the routers composing the PVLAN to each other.
The Device flags field provides information about the physical device and displays one or more of the
following values:
• ASIC Error—Device is down because of ASIC wedging and due to which PFE is disabled.
• Link-Layer-Down—The link-layer protocol has failed to connect with the remote endpoint.
• Loop-Detected—The link layer has received frames that it sent, thereby detecting a physical
loopback.
The Family flags field provides information about the protocol family on the logical interface and
displays one or more of the following values:
• Dest-route-down—The software detected that the link is down and has stopped forwarding the link's
interface routes.
• Down—Protocol is inactive.
• Maximum labels—Maximum number of MPLS labels configured for the MPLS protocol family on the
logical interface.
The Interface flags field provides information about the physical interface and displays one or more of
the following values:
• Admin-Test—Interface is in test mode and some sanity checking, such as loop detection, is disabled.
• Point-To-Point—Interface is point-to-point.
• Pop all MPLS labels from packets of depth—MPLS labels are removed as packets arrive on an
interface that has the pop-all-labels statement configured. The depth value can be one of the
following:
• [ 1 2 ]—Takes effect for incoming packets with either one or two labels.
The Link flags field provides information about the physical link and displays one or more of the
following values:
• ACFC—Address control field compression is configured. The Point-to-Point Protocol (PPP) session
negotiates the ACFC option.
• Give-Up—Link protocol does not continue connection attempts after repeated failures.
• Loose-LCP—PPP does not use the Link Control Protocol (LCP) to indicate whether the link protocol is
operational.
• Loose-LMI—Frame Relay does not use the Local Management Interface (LMI) to indicate whether the
link protocol is operational.
• Loose-NCP—PPP does not use the Network Control Protocol (NCP) to indicate whether the device is
operational.
• PFC—Protocol field compression is configured. The PPP session negotiates the PFC option.
The Logical interface flags field provides information about the logical interface and displays one or
more of the following values:
• Clear-DF-Bit—GRE tunnel or IPsec tunnel is configured to clear the Don't Fragment (DF) bit.
• Point-To-Point—Interface is point-to-point.
When you use the vrf-table-label statement to configure a VRF routing table, a label-switched interface
(LSI) logical interface label is created and mapped to the VRF routing table.
Any routes present in a VRF routing table and configured with the vrf-table-label statement are
advertised with the LSI logical interface label allocated for the VRF routing table. When packets for this
VPN arrive on a core-facing interface, they are treated as if the enclosed IP packet arrived on the LSI
interface and are then forwarded and filtered based on the correct table. For more information on the
vrf-table-label statement, including a list of supported interfaces, see the Junos VPNs Configuration
Guide.
If you configure the family mpls statement at the [edit interfaces interface-name unit logical-unit-
number] hierarchy level and you also configure the vrf-table-label statement at the [edit routing-
instances routing-instance-name] hierarchy level, the output for the show interface interface-name
extensive command includes the following output fields about the LSI traffic statistics:
• Input bytes—Number of bytes entering the LSI and the current throughput rate in bits per second
(bps).
• Input packets—Number of packets entering the LSI and the current throughput rate in packets per
second (pps).
NOTE: If LSI interfaces are used with VPLS when no-tunnel-services is configured or L3VPN
when vrf-table-label configuration is applied inside the routing-instance, the Input packets field
associated with the core-facing interfaces may not display the correct value. Only the Input
counter is affected because the LSI is used to receive traffic from the remote PEs. Traffic that
arrives on an LSI interface might not be counted at both the Traffic Statistics and the Label-
switched interface (LSI) traffic statistics levels.
This note applies to the following platforms:
• M Series routers with -E3 FPC model numbers or configured with an Enhanced CFEB (CFEB-
E), and M120 routers
The following example shows the LSI traffic statistics that you might see as part of the output of the
show interface interface-name extensive command:
Policer Field
For the logical interface, the Policer field provides the policers that are to be evaluated when packets are
received or transmitted on the interface. The format is Policer: Input: type-fpc/picport-in-policer,
Output: type-fpc/pic/port-out-policer. For example:
Protocol Field
For the logical interface, the Protocol field indicates the protocol family or families that are configured
on the interface, displaying one or more of the following values:
• aenet—Aggregated Ethernet. Displayed on Fast Ethernet interfaces that are part of an aggregated
Ethernet bundle.
• ccc—Circuit cross-connect (CCC). Configured on the logical interface of CCC physical interfaces.
• inet—IP version 4 (IPv4). Configured on the logical interface for IPv4 protocol traffic, including Open
Shortest Path First (OSPF), Border Gateway Protocol (BGP), Internet Control Message Protocol
(ICMP), and Internet Protocol Control Protocol (IPCP).
• inet6—IP version 6 (IPv6). Configured on the logical interface for IPv6 protocol traffic, including
Routing Information Protocol for IPv6 (RIPng), Intermediate System-to-Intermediate System (IS-IS),
and BGP.
• iso—International Organization for Standardization (ISO). Configured on the logical interface for IS-IS
traffic.
• mlfr-end-to-end—Multilink Frame Relay end-to-end. Configured on the logical interface for multilink
bundling.
• mlppp—Multilink Point-to-Point Protocol (MLPPP). Configured on the logical interface for multilink
bundling.
• mpls—Multiprotocol Label Switching (MPLS). Configured on the logical interface for participation in
an MPLS path.
• pppoe— Point-to-Point Protocol over Ethernet (PPPoE). Configured on Ethernet interfaces enabled to
support multiple protocol families.
• tcc—Translational cross-connect (TCC). Configured on the logical interface of TCC physical interfaces.
• tnp—Trivial Network Protocol (TNP). Used to communicate between the Routing Engine and the
router’s packet forwarding components. The Junos OS automatically configures this protocol family
on the router’s internal interfaces only.
• vpls—Virtual private LAN service (VPLS). Configured on the logical interface on which you configure
VPLS.
For the logical interface, the RPF Failures field provides information about the amount of incoming
traffic (in packets and bytes) that failed a unicast reverse path forwarding (RPF) check on a particular
interface. The format is RPF Failures: Packets: xx,Bytes: yy. For example:
For the logical interface, the Source class field provides the names of source class usage (SCU) counters
per family and per class for a particular interface. The counters display packets and bytes arriving from
designated user-selected prefixes. For example:
Packets
Bytes
Source class (packet-per-second) (bits-per-
498
second)
gold 1928095
161959980
( 889)
( 597762)
bronze 0
0
( 0)
( 0)
silver 0
0
( 0)
( 0)
The offered load on an interface can be defined as the amount of data the interface is capable of
transmitting during a given time period. The actual traffic that goes out of the interface is the
transmitted load. However, when outgoing interfaces are oversubscribed, there could be traffic drops in
the schedulers attached to the outgoing interfaces. Hence, the offered load is not always the same as
the actual transmitted load because the offered load calculation does not take into account possible
packet drop or traffic loss.
On MX Series routers, the logical interface-level statistics show the offered load, which is often different
from the actual transmitted load. To address this limitation, Junos OS introduces a new configuration
option in Release 11.4 R3 and later. The new configuration option, interface-transmit-statistics, at the
[edit interface interface-name] hierarchy level, enables you to configure Junos OS to accurately capture
and report the transmitted load on interfaces.
Aggregated Ethernet interfaces do not support reporting of the transmitted load statistics. You cannot
configure aggregated Ethernet interfaces to capture and report the actual transmitted load statistics.
The show interface interface-name command also shows whether the interface-transmit-statistics
configuration is enabled or disabled on the interface.
RELATED DOCUMENTATION
interface-transmit-statistics | 403
show interfaces
IN THIS SECTION
Syntax | 499
Description | 500
Options | 500
Syntax
<snmp-index snmp-index>
<statistics>
Description
(PTX Series Packet Transport Routers only) Display status information about the specified Ethernet
interface.
Options
brief | detail | extensive | terse (Optional) Display the specified level of output.
snmp-index snmp-index (Optional) Display information for the specified SNMP index of the
interface.
view
Output Fields
See Table 24 on page 501 for the output fields for the show interfaces (PTX Series Packet Transport
Routers) command.
501
Physical Interface
Enabled State of the interface. Possible values are described in the All levels
“Enabled Field” section under "Common Output Fields
Description" on page 488.
Interface index Index number of the physical interface, which reflects its detail extensive
initialization sequence. none
SNMP ifIndex SNMP index number for the physical interface. detail extensive
none
Generation Unique number for use by Juniper Networks technical support detail extensive
only.
Link-level type Encapsulation being used on the physical interface. All levels
MTU Maximum transmission unit size on the physical interface. All levels
BPDU Error Bridge protocol data unit (BPDU) errors (if any). All levels
Device flags Information about the physical device. Possible values are All levels
described in the “Device Flags” section under "Common Output
Fields Description" on page 488.
Interface flags Information about the interface. Possible values are described in All levels
the “Interface Flags” section under "Common Output Fields
Description" on page 488.
Link flags Information about the link. Possible values are described in the All levels
“Links Flags” section under "Common Output Fields Description"
on page 488.
Last flapped Date, time, and how long ago the interface went from down to detail extensive
up. The format is Last flapped: year-month-day none
hour:minute:second:timezone (hour:minute:second ago). For
example, Last flapped: 2002-04-26 10:52:40 PDT (04:33:20
ago).
Statistics last Time when the statistics for the interface were last set to zero. detail extensive
cleared
Traffic Number and rate of bytes and packets received and transmitted detail extensive
statistics on the physical interface.
Input errors Input errors on the interface. The following paragraphs explain extensive
the counters whose meaning might not be obvious:
Output errors Output errors on the interface. The following paragraphs explain extensive
the counters whose meaning might not be obvious:
Egress queues Total number of egress queues supported on the specified detail extensive
interface.
Queue CoS queue number and its associated user-configured detail extensive
counters forwarding class name.
(Egress)
• Queued packets—Number of queued packets.
Ingress queues Total number of ingress queues supported on the specified extensive
interface.
Active alarms Ethernet-specific defects that can prevent the interface from detail extensive
and Active passing packets. When a defect persists for a certain amount of none
defects time, it is promoted to an alarm. Based on the router
configuration, an alarm can ring the red or yellow alarm bell on
the router, or turn on the red or yellow alarm LED on the craft
interface. These fields can contain the value None or Link.
MAC statistics Receive and Transmit statistics reported by the PIC's MAC extensive
subsystem, including the following:
Filter statistics Receive and Transmit statistics reported by the PIC's MAC extensive
address filter subsystem. The filtering is done by the content-
addressable memory (CAM) on the PIC. The filter examines a
packet's source and destination MAC addresses to determine
whether the packet should enter the system or be rejected.
• Link partner:
CoS Information about the CoS queue for the physical interface. extensive
information
• CoS transmit queue—Queue number and its associated user-
configured forwarding class name.
Logical Interface
Index Index number of the logical interface, which reflects its detail extensive
initialization sequence. none
SNMP ifIndex SNMP interface index number for the logical interface. detail extensive
none
516
Generation Unique number for use by Juniper Networks technical support detail extensive
only.
Flags Information about the logical interface. Possible values are All levels
described in the “Logical Interface Flags” section under
"Common Output Fields Description" on page 488.
517
VLAN-Tag Rewrite profile applied to incoming or outgoing frames on the brief detail
outer (Out) VLAN tag or for both the outer and inner (In) VLAN extensive none
tags.
Demux IP demultiplexing (demux) value that appears if this interface is detail extensive
used as the demux underlying interface. The output is one of the none
following:
Protocol Protocol family. Possible values are described in the “Protocol detail extensive
Field” section under "Common Output Fields Description" on none
page 488.
MTU Maximum transmission unit size on the logical interface. detail extensive
none
Maximum Maximum number of MPLS labels configured for the MPLS detail extensive
labels protocol family on the logical interface. none
Traffic Number and rate of bytes and packets received and transmitted detail extensive
statistics on the specified interface set.
IPv6 transit Number of IPv6 transit bytes and packets received and extensive
statistics transmitted on the logical interface if IPv6 statistics tracking is
enabled.
519
Local statistics Number and rate of bytes and packets destined to the router. extensive
Transit Number and rate of bytes and packets transiting the switch. extensive
statistics
Generation Unique number for use by Juniper Networks technical support detail extensive
only.
Route Table Route table in which the logical interface address is located. For detail extensive
example, 0 refers to the routing table inet.0. none
Flags Information about protocol family flags. Possible values are detail extensive
described in the “Family Flags” section under "Common Output
Fields Description" on page 488.
Preferred (Unnumbered Ethernet) Secondary IPv4 address of the donor detail extensive
source address loopback interface that acts as the preferred source address for none
the unnumbered Ethernet interface.
Input Filters Names of any input filters applied to this interface. If you specify detail extensive
a precedence value for any filter in a dynamic profile, filter
precedence values appear in parentheses next to all interfaces.
Output Filters Names of any output filters applied to this interface. If you detail extensive
specify a precedence value for any filter in a dynamic profile,
filter precedence values appear in parentheses next to all
interfaces.
520
Mac-Validate Number of MAC address validation failures for packets and detail extensive
Failures bytes. This field is displayed when MAC address validation is none
enabled for the logical interface.
Addresses, Information about the address flags. Possible values are detail extensive
Flags described in the “Addresses Flags” section under "Common none
Output Fields Description" on page 488.
Flags Information about flags (possible values are described in the detail extensive
“Addresses Flags” section under "Common Output Fields none
Description" on page 488.
Generation Unique number for use by Juniper Networks technical support detail extensive
only.
521
Sample Output
et-2/0/23 up up
et-2/1/0 up up
et-2/1/1 up up
et-2/1/2 up up
et-2/1/3 up up
et-2/1/4 up up
et-2/1/5 up up
et-2/1/6 up up
et-2/1/7 up up
et-2/1/8 up up
et-2/1/9 up up
et-2/1/10 up up
et-2/1/11 up up
et-2/1/12 up up
et-2/1/13 up up
et-2/1/14 up up
et-2/1/15 up up
et-2/1/16 up up
et-2/1/17 up up
et-2/1/18 up up
et-2/1/19 up up
et-2/1/20 up up
et-2/1/21 up up
et-2/1/22 up up
et-2/1/23 up up
et-5/0/0 up up
et-5/0/0.0 up up ccc
et-5/0/0.32767 up up multiservice
et-5/0/1 up up
et-5/0/2 up up
et-5/0/3 up down
et-5/0/4 up down
et-5/0/5 up up
et-5/0/5.0 up up ccc
et-5/0/5.32767 up up multiservice
et-5/0/6 up up
et-5/0/7 up up
et-5/0/8 up down
et-5/0/9 up up
et-5/0/10 up up
et-5/0/11 up up
et-5/0/12 up up
et-5/0/13 up down
525
et-5/0/14 up down
et-5/0/15 up up
et-5/0/16 up up
et-5/0/17 up up
et-5/0/18 up up
et-5/0/19 up up
et-5/0/20 up down
et-5/0/21 up down
et-5/0/22 up up
et-5/0/23 up up
et-5/1/0 up up
et-5/1/1 up up
et-7/0/0 up up
et-7/0/1 up up
et-7/0/2 up up
et-7/0/3 up up
et-7/0/4 up up
et-7/0/5 up up
et-7/0/6 up up
et-7/0/7 up up
et-7/0/8 up up
et-7/0/9 up up
et-7/0/10 up down
et-7/0/11 up down
et-7/0/12 up down
et-7/0/13 up down
et-7/0/14 up down
et-7/0/15 up down
et-7/0/16 up down
et-7/0/17 up down
et-7/0/18 up down
et-7/0/19 up down
et-7/0/20 up down
et-7/0/21 up down
et-7/0/22 up down
et-7/0/23 up down
dsc up up
em0 up up
em0.0 up up inet 192.168.177.61/25
gre up up
ipip up up
ixgbe0 up up
ixgbe0.0 up up inet 10.0.0.4/8
526
128.0.0.1/2
128.0.0.4/2
inet6 fe80::200:ff:fe00:4/64
fec0::a:0:0:4/64
tnp 0x4
ixgbe1 up up
ixgbe1.0 up up inet 10.0.0.4/8
128.0.0.1/2
128.0.0.4/2
inet6 fe80::200:1ff:fe00:4/64
fec0::a:0:0:4/64
tnp 0x4
lo0 up up
lo0.0 up up inet 10.255.177.61 --> 0/0
127.0.0.1 --> 0/0
iso
47.0005.80ff.f800.0000.0108.0001.0102.5517.7061
inet6 abcd::10:255:177:61
fe80::ee9e:cd0f:fc02:b01e
lo0.16384 up up inet 127.0.0.1 --> 0/0
lo0.16385 up up inet
lsi up up
mtun up up
pimd up up
pime up up
tap up up
Multicast packets 0 0
CRC/Align errors 0 0
FIFO errors 0 0
MAC control frames 0 0
MAC pause frames 0 0
Oversized frames 0
Jabber frames 0
Fragment frames 0
VLAN tagged frames 0
Code violations 0
Total errors 0 0
Filter statistics:
Input packet count 0
Input packet rejects 0
Input DA rejects 0
Input SA rejects 0
Output packet count 0
Output packet pad count 0
Output packet error count 0
CAM destination filters: 0, CAM source filters: 0
Release Information
IN THIS SECTION
Syntax | 529
Description | 529
Options | 529
Syntax
Description
NOTE: show interfaces media lists details for all interfaces, whereas show interfaces media
interface-name lists details only for the specified interface.
Options
Additional Information
Output from both the show interfaces interface-name detail and the show interfaces interface-name
extensive commands includes all the information displayed in the output from the show interfaces
media command.
530
view
Output Fields
The output from the show interfaces media command includes fields that display interface media-
specific information. These fields are also included in the show interfaces interface-name command for
each particular interface type, and the information provided in the fields is unique to each interface
type.
One field unique to the show interfaces media command is interface-type errors (for example, SONET
errors). This field appears for channelized E3, channelized T3, channelized OC, E1, E3, SONET, T1, and
T3 interfaces. The information provided in this output field is also provided in the output from the show
interfaces interface-name command. (For example, for SONET interfaces, these fields are SONET
section, SONET line, and SONET path). For a description of errors, see the chapter with the particular
interface type in which you are interested.
Sample Output
The following example displays the output fields unique to the show interfaces media command for a
SONET interface (with no level of output specified):
mpls: Not-configured
CHAP state: Not-configured
CoS queues : 8 supported
Last flapped : 2005-06-15 12:14:59 PDT (04:31:29 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
SONET alarms : None
SONET defects : None
SONET errors:
BIP-B1: 121, BIP-B2: 916, REI-L: 0, BIP-B3: 137, REI-P: 16747, BIP-BIP2: 0
Received path trace: routerb so-1/1/2
Transmitted path trace: routera so-4/1/2
Release Information
Command introduced on PTX Series Packet Transport Routers for Junos OS Release 12.1.
IN THIS SECTION
Syntax | 533
Description | 533
Options | 533
Syntax
Description
Options
Additional Information
Interfaces are always displayed in numerical order, from the lowest to the highest FPC slot number.
Within that slot, the lowest PIC slot is shown first. On an individual PIC, the lowest port number is
always first.
view
Output Fields
Table 25 on page 534 lists the output fields for the show interfaces terse command. Output fields are
listed in the approximate order in which they appear.
534
Sample Output
lsi up up
mtun up up
em0 up up
em0.0 up up inet 192.168.178.11/25
gre up up
ipip up up
ixgbe0 up up
ixgbe0.0 up up inet 10.34.0.4/8
162.0.0.4/2
inet6 fe80::200:ff:fe22:4/64
fec0::a:22:0:4/64
tnp 0x22000004
ixgbe1 up up
ixgbe1.0 up up inet 10.34.0.4/8
162.0.0.4/2
inet6 fe80::200:1ff:fe22:4/64
fec0::a:22:0:4/64
tnp 0x22000004
Release Information
Command introduced on PTX Series Packet Transport Routers for Junos OS Release 12.1.
RELATED DOCUMENTATION
Protocol-Independent Routing
Operational Commands
IN THIS SECTION
Syntax | 538
Description | 538
Options | 538
Syntax
Description
Allows you to search for routes using regular expressions based on the extended (modern) regular
expressions as defined in POSIX 1003.2.
Options
Additional Information
view
Output Fields
For information about output fields, see the output field tables for the show route command, the show
route detail command, the show route extensive command, or the show route terse command.
Sample Output
show route match-prefix *:10.255.2.200:6:* (Show all routes matching route distributor
10.255.2.200:6)
show route match-prefix *:224.* (Show all routes matching group 224/4)
Release Information
RELATED DOCUMENTATION
Regular Expressions for Allowing and Denying Junos OS Operational Mode Commands,
Configuration Statements, and Hierarchies