Junos Pppoe
Junos Pppoe
Modified: 2017-12-06
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.
®
Junos OS Interfaces Feature Guide for Security Devices
Copyright © 2017 Juniper Networks, Inc. All rights reserved.
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
http://www.juniper.net/support/eula/. By downloading, installing or using such software, you agree to the terms and conditions of that
EULA.
Part 1 Overview
Chapter 1 Introduction to Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Understanding Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Network Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Services Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Special Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Interface Naming Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Understanding the Data Link Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Physical Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Error Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Frame Sequencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Data Link Sublayers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MAC Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Configuring IOC to NPC Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Monitoring Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Understanding GRE Keepalive Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Configuring GRE Keepalive Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Configuring Keepalive Time and Hold time for a GRE Tunnel Interface . . . . . 16
Display GRE Keepalive Time Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Display Keepalive Time Information on a GRE Tunnel Interface . . . . . . . . . . . 17
Chapter 2 Configuring Interface Logical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Understanding Interface Logical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Understanding Protocol Families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Common Protocol Suites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Other Protocol Suites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Example: Configuring the 1-Port Clear Channel DS3/E3 GPIM for E3 Port
Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
server-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
shaping-rate (CoS Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
simple-filter (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672
sip-password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672
sip-user-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
source-address-filter (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
source-filtering (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
speed (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
telemetries (PoE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
template-refresh-rate (Services) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
threshold (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
traceoptions (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679
update-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
vbr rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681
vdsl-profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682
vendor-id (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
vlan-tagging (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
web-authentication (Interfaces) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
Chapter 38 Operational Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
clear oam ethernet connectivity-fault-management path-database . . . . . . . . 689
clear dhcpv6 server binding (Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
clear ethernet-switching statistics mac-learning . . . . . . . . . . . . . . . . . . . . . . . . . 691
clear interfaces statistics swfabx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
clear ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693
clear lacp statistics interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
restart (Reset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
request modem wireless create-profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
request modem wireless fota . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
request modem wireless sim-lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
request modem wireless sim-unlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
show chassis fpc (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
show chassis hardware (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
show ethernet-switching mac-learning-log (View) . . . . . . . . . . . . . . . . . . . . . . . 725
show ethernet-switching table (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
show igmp-snooping route (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732
show interfaces (SRX Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734
show interfaces diagnostics optics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766
show interfaces flow-statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
show interfaces queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
show interfaces statistics (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
show interfaces terse zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
show ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
show lacp interfaces (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784
show lacp statistics interfaces (View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788
show modem wireless firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
show modem wireless network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
show modem wireless profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 796
show oam ethernet link-fault-management . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798
Figure 19: Topology for LAGs Connecting SRX Series Devices in Chassis Cluster
to an EX Series Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Chapter 15 Configuring Gigabit Ethernet Physical Interface Modules . . . . . . . . . . . . . 309
Figure 20: Basic Back-to-Back Device Configuration . . . . . . . . . . . . . . . . . . . . . . 328
Chapter 17 Configuring Ethernet OAM Link Fault Management . . . . . . . . . . . . . . . . . . . 347
Figure 21: Ethernet LFM with SRX Series Devices . . . . . . . . . . . . . . . . . . . . . . . . . 350
Figure 22: Ethernet LFM with SRX Series Devices . . . . . . . . . . . . . . . . . . . . . . . . 354
Part 1 Overview
Chapter 1 Introduction to Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3: Network Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Table 4: Configurable Services Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 5: Non-Configurable Services Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 6: Special Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Table 7: Network Interface Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Table 8: IOC to NPC Connectivity Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 2 Configuring Interface Logical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 9: Device Status Upon Configuration Change . . . . . . . . . . . . . . . . . . . . . . . . 30
Chapter 3 Understanding Interface Physical Properties . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 10: Interface Physical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 11: MTU Values for the SRX Series Services Gateways PIMs . . . . . . . . . . . . . 52
Chapter 4 Configuring VLAN Tagging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Table 12: VLAN ID Range by Interface Type Supported on the SRX Series
Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Table 13: Flexible VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
If the information in the latest release notes differs from the information in the
documentation, follow the product Release Notes.
Juniper Networks Books publishes books by Juniper Networks engineers and subject
matter experts. These books go beyond the technical documentation to explore the
nuances of network architecture, deployment, and administration. The current list can
be viewed at http://www.juniper.net/books.
Supported Platforms
For the features described in this document, the following platforms are supported:
• SRX Series
• vSRX
If you want to use the examples in this manual, you can use the load merge or the load
merge relative command. These commands cause the software to merge the incoming
configuration into the current candidate configuration. The example does not become
active until you commit the candidate configuration.
If the example configuration contains the top level of the hierarchy (or multiple
hierarchies), the example is a full example. In this case, use the load merge command.
If the example configuration does not start at the top level of the hierarchy, the example
is a snippet. In this case, use the load merge relative command. These procedures are
described in the following sections.
1. From the HTML or PDF version of the manual, copy a configuration example into a
text file, save the file with a name, and copy the file to a directory on your routing
platform.
For example, copy the following configuration to a file and name the file ex-script.conf.
Copy the ex-script.conf file to the /var/tmp directory on your routing platform.
system {
scripts {
commit {
file ex-script.xsl;
}
}
}
interfaces {
fxp0 {
disable;
unit 0 {
family inet {
address 10.0.0.1/24;
}
}
}
}
2. Merge the contents of the file into your routing platform configuration by issuing the
load merge configuration mode command:
[edit]
user@host# load merge /var/tmp/ex-script.conf
load complete
Merging a Snippet
To merge a snippet, follow these steps:
1. From the HTML or PDF version of the manual, copy a configuration snippet into a text
file, save the file with a name, and copy the file to a directory on your routing platform.
For example, copy the following snippet to a file and name the file
ex-script-snippet.conf. Copy the ex-script-snippet.conf file to the /var/tmp directory
on your routing platform.
commit {
file ex-script-snippet.xsl; }
2. Move to the hierarchy level that is relevant for this snippet by issuing the following
configuration mode command:
[edit]
user@host# edit system scripts
[edit system scripts]
3. Merge the contents of the file into your routing platform configuration by issuing the
load merge relative configuration mode command:
For more information about the load command, see CLI Explorer.
Documentation Conventions
Caution Indicates a situation that might result in loss of data or hardware damage.
Laser warning Alerts you to the risk of personal injury from a laser.
Table 2 on page xxvi defines the text and syntax conventions used in this guide.
Bold text like this Represents text that you type. To enter configuration mode, type the
configure command:
user@host> configure
Fixed-width text like this Represents output that appears on the user@host> show chassis alarms
terminal screen.
No alarms currently active
Italic text like this • Introduces or emphasizes important • A policy term is a named structure
new terms. that defines match conditions and
• Identifies guide names. actions.
Italic text like this Represents variables (options for which Configure the machine’s domain name:
you substitute a value) in commands or
configuration statements. [edit]
root@# set system domain-name
domain-name
Text like this Represents names of configuration • To configure a stub area, include the
statements, commands, files, and stub statement at the [edit protocols
directories; configuration hierarchy levels; ospf area area-id] hierarchy level.
or labels on routing platform • The console port is labeled CONSOLE.
components.
< > (angle brackets) Encloses optional keywords or variables. stub <default-metric metric>;
# (pound sign) Indicates a comment specified on the rsvp { # Required for dynamic MPLS only
same line as the configuration statement
to which it applies.
[ ] (square brackets) Encloses a variable for which you can community name members [
substitute one or more values. community-ids ]
GUI Conventions
Bold text like this Represents graphical user interface (GUI) • In the Logical Interfaces box, select
items you click or select. All Interfaces.
• To cancel the configuration, click
Cancel.
> (bold right angle bracket) Separates levels in a hierarchy of menu In the configuration editor hierarchy,
selections. select Protocols>Ospf.
Documentation Feedback
• Online feedback rating system—On any page of the Juniper Networks TechLibrary site
at http://www.juniper.net/techpubs/index.html, simply click the stars to rate the content,
and use the pop-up form to provide us with information about your experience.
Alternately, you can use the online feedback form at
http://www.juniper.net/techpubs/feedback/.
Technical product support is available through the Juniper Networks Technical Assistance
Center (JTAC). If you are a customer with an active J-Care or Partner Support Service
support contract, or are covered under warranty, and need post-sales technical support,
you can access our tools and resources online or open a case with JTAC.
• JTAC hours of operation—The JTAC centers have resources available 24 hours a day,
7 days a week, 365 days a year.
• Find solutions and answer questions using our Knowledge Base: http://kb.juniper.net/
To verify service entitlement by product serial number, use our Serial Number Entitlement
(SNE) Tool: https://entitlementsearch.juniper.net/entitlementsearch/
Overview
• Introduction to Interfaces on page 3
• Configuring Interface Logical Properties on page 19
• Understanding Interface Physical Properties on page 47
• Configuring VLAN Tagging on page 55
Introduction to Interfaces
Understanding Interfaces
Interfaces act as a doorway through which traffic enters and exits a device. Juniper
Networks devices support a variety of interface types:
Each type of interface uses a particular medium to transmit data. The physical wires and
Data Link Layer protocols used by a medium determine how traffic is sent. To configure
and monitor interfaces, you need to understand their media characteristics, as well as
physical and logical properties such as IP addressing, link-layer protocols, and link
encapsulation.
Network Interfaces
All Juniper Networks devices use network interfaces to make physical connections to
other devices. A connection takes place along media-specific physical wires through an
I/O card (IOC) in the SRX Series Services Gateway. Networking interfaces primarily
provide traffic connectivity.
You must configure each network interface before it can operate on the device. Configuring
an interface can define both the physical properties of the link and the logical properties
of a logical interface on the link.
Table 3 on page 4 describes network interfaces that are available on SRX Series devices.
ae Aggregated Ethernet interface. See “Understanding Aggregated Ethernet Interfaces” on page 271.
cl Physical interface for the 3G wireless modem or LTE Mini-PIM. See “Understanding the 3G Wireless
Modem Physical Interface” on page 519 and “LTE Mini-PIM Overview” on page 495. Starting with Junos
OS Release 15.1X49-D100, SRX320, SRX340, SRX345, and SRX550HM devices support the LTE
interface. The dialer interface is used for initiating wireless WAN connections over LTE networks.
dl Dialer interface for initiating USB modem or wireless WAN connections. See “USB Modem Interface
Overview” on page 533 and “LTE Mini-PIM Overview” on page 495.
e1 E1 (also called DS1) WAN interface. See “Understanding T1 and E1 Interfaces” on page 63.
e3 E3 (also called DS3) WAN interface. See “Understanding T3 and E3 Interfaces” on page 71.
pt VDSL2 interface. See “Example: Configuring VDSL2 Interfaces (Detail)” on page 219.
reth For chassis cluster configurations only, redundant Ethernet interface. See “Understanding Ethernet
Interfaces” on page 251.
se Serial interface (either RS-232, RS-422/499, RS-530, V.35, or X.21). See “Serial Interfaces Overview”
on page 561.
t1 T1 (also called DS1) WAN interface. See “Understanding T1 and E1 Interfaces” on page 63.
t3 T3 (also called DS3) WAN interface. See “Understanding T3 and E3 Interfaces” on page 71.
wx WXC Integrated Services Module (ISM 200) interface for WAN acceleration. See the WXC Integrated
Services Module Installation and Configuration.
xe 10-Gigabit Ethernet interface. See “Understanding the 2-Port 10-Gigabit Ethernet XPIM” on page 317.
Services Interfaces
Although the same Junos OS image supports the services features across all routing
platforms, on SRX Series devices, services interfaces are not associated with a physical
interface. To configure services on these devices, you configure one or more internal
interfaces by specifying slot 0, interface carrier 0, and port 0—for example, gr-0/0/0 for
GRE.
Table 4 on page 6 describes services interfaces that you can configure on SRX Series
Services Gateways.
gr-0/0/0 Configurable generic routing encapsulation (GRE) interface. GRE allows the encapsulation of one
routing protocol inside another routing protocol.
Packets are routed to this internal interface, where they are first encapsulated with a GRE packet
and then sent.
You can create multiple instances of this interface for forwarding encapsulated data to multiple
destination addresses by using the default interface as the parent and creating extensions, for
example, gr-0/0/0.1, gr-0/0/0.2, and so on.
The GRE interface is an internal interface only and is not associated with a physical interface. It is
used only for processing GRE traffic. See the Junos OS Services Interfaces Library for Routing
Devices for information about tunnel services.
ip-0/0/0 Configurable IP-over-IP encapsulation (IP-IP tunnel) interface. IP tunneling allows the encapsulation
of one IP packet inside another IP packet.
With IP routing, you can route IP packets directly to a particular address or route the IP packets to
an internal interface where they are encapsulated inside an IP-IP tunnel and forwarded to the
encapsulating packet’s destination address.
You can create multiple instances of this interface for forwarding IP-IP tunnel data to multiple
destination addresses by using the default interface as the parent and creating extensions, for
example, ip-0/0/0.1, ip-0/0/0.2, and so on.
The IP-IP interface is an internal interface only and is not associated with a physical interface. It is
used only for processing IP-IP tunnel traffic. See the Junos OS Services Interfaces Library for
Routing Devices for information about tunnel services.
lsq-0/0/0 Configurable link services queuing interface. Link services include the multilink services MLPPP,
MLFR, and Compressed Real-Time Transport Protocol (CRTP).
Packets are routed to this internal interface for link bundling or compression. The link services
interface is an internal interface only and is not associated with a physical interface. You must
configure the interface for it to perform multilink services.
NOTE: The ls-0/0/0 interface has been deprecated. All multiclass multilink features supported by
ls-0/0/0 are now supported by lsq-0/0/0.
lt-0/0/0 Configurable logical tunnel interface that interconnects logical systems on SRX Series devices. See
the Logical Systems Feature Guide for Security Devices.
pp0 Configurable PPPoE encapsulation interface. PPP packets being routed in an Ethernet network use
PPPoE encapsulation.
Packets are routed to this internal interface for PPPoE encapsulation. The PPPoE encapsulation
interface is an internal interface only and is not associated with a physical interface. You must
configure the interface for it to forward PPPoE traffic.
ppd0 Protocol Independent Multicast (PIM) de-encapsulation interface. In PIM sparse mode, the first-hop
routing platform encapsulates packets destined for the rendezvous point device. The packets are
encapsulated with a unicast header and are forwarded through a unicast tunnel to the rendezvous
point. The rendezvous point then de-encapsulates the packets and transmits them through its
multicast tree.
Within a device, packets are routed to this internal interface for de-encapsulation. The PIM
de-encapsulation interface is an internal interface only and is not associated with a physical interface.
You must configure PIM with the [edit protocol pim] hierarchy to perform PIM de-encapsulation.
Use the show pim interfaces command to check the status of ppd0 interface.
ppe0 Protocol Independent Multicast (PIM) encapsulation interface. In PIM sparse mode, the first-hop
routing platform encapsulates packets destined for the rendezvous point device. The packets are
encapsulated with a unicast header and are forwarded through a unicast tunnel to the rendezvous
point. The rendezvous point then de-encapsulates the packets and transmits them through its
multicast tree.
Within a device, packets are routed to this internal interface for encapsulation. The PIM encapsulation
interface is an internal interface only and is not associated with a physical interface. You must
configure PIM with the [edit protocol pim] hierarchy to perform PIM encapsulation.
st0 Secure tunnel interface used for IPSec VPNs. See the VPN Feature Guide for Security Devices.
umd0 Configurable USB modem physical interface. This interface is detected when a USB modem is
connected to the USB port on the device.
Table 5 on page 7 describes non-configurable services interfaces for SRX Series Services
Gateways.
gre Internally generated Generic Routing Encapsulation (GRE) interface created by Junos OS to handle
GRE traffic. It is not a configurable interface.
ipip Internally generated IP-over-IP interface created by Junos OS to handle IP tunnel traffic. It is not a
configurable interface.
lsi Internally generated link services interface created by Junos OS to handle multilink services like
MLPPP, MLFR, and CRTP. It is not a configurable interface.
pc-pim/0/0 Internally configured interface used by the system as a control path between the WXC Integrated
Services Module and the Routing Engine. It is not a configurable interface. See the WX and WXC
Series.
pimd Internally generated Protocol Independent Multicast (PIM) de-encapsulation interface created by
Junos OS to handle PIM de-encapsulation. It is not a configurable interface.
pime Internally generated Protocol Independent Multicast (PIM) encapsulation interface created by Junos
OS to handle PIM encapsulation. It is not a configurable interface.
tap Internally generated interface created by Junos OS to monitor and record traffic during passive
monitoring. Packets discarded by the Packet Forwarding Engine are placed on this interface. It is
not a configurable interface.
Special Interfaces
Special interfaces include management interfaces, which are primarily intended for
accessing the device remotely, the loopback interface, which has several uses depending
on the particular Junos OS feature being configured, and the discard interface.
Table 6 on page 8 describes special interfaces for SRX Series Services Gateways.
fxp0, fxp1 On SRX Series devices, the fxp0 management interface is a dedicated port located on the Routing
Engine.
lo0 Loopback address. The loopback address has several uses, depending on the particular Junos feature
being configured.
Each device interface has a unique name that follows a naming convention. If you are
familiar with Juniper Networks M Series and T Series routing platforms, be aware that
device interface names are similar to but not identical to the interface names on those
routing platforms.
The unique name of each network interface identifies its type and location and indicates
whether it is a physical interface or an optional logical unit created on a physical interface.
• The name of each network interface has the following format to identify the physical
device that corresponds to a single physical network connector:
type-slot/pim-or-ioc/port
• Network interfaces that are fractionalized into time slots include a channel number in
the name, preceded by a colon (:):
type-slot/pim-or-ioc/port:channel
• Each logical interface has an additional logical unit identifier, preceded by a period (.):
type-slot/pim-or-ioc/port:<channel>.unit
type Type of network medium ae, at, ei, e3, fe, fxp0, fxp1, ge, lo0, lsq, lt, ppo, pt, sto, t1, t3, xe, and so on.
that can connect to this
interface.
slot Number of the chassis slot in SRX5600 and SRX5800 devices: The slot number begins at 0 and increases
which a PIM or IOC is as follows from left to right, bottom to top:
installed.
• SRX5600 device—Slots 0 to 5
• SRX5800 device—Slots 0 to 5, 7 to 11
SRX3400 and SRX3600 devices: The Switch Fabric Board (SFB) is always
0. Slot numbers increase as follows from top to bottom, left to right:
• SRX3400 devce—Slots 0 to 4
• SRX3600 device—Slots 0 to 6
• SRX4600 device—Slots 0 to 6
pim-or-ioc Number of the PIM or IOC on SRX5600 and SRX5800 devices: For 40-port Gigabit Ethernet IOCs or
which the physical interface 4-port 10-Gigabit Ethernet IOCs, this number can be 0, 1, 2, or 3.
is located.
SRX3400, SRX3600, and SRX 4600 devices: This number is always 0.
Only one IOC can be installed in a slot.
• For the SFB built-in copper Gigabit Ethernet ports, this number begins
at 0 and increases from top to bottom, left to right, to a maximum of 7.
For the SFB built-in fiber Gigabit Ethernet ports, this number begins at
8 and increases from left to right to a maximum of 11.
• For 16-port Gigabit Ethernet IOCs, this number begins at 0 to a maximum
of 15.
• For 2-port 10-Gigabit Ethernet IOCs, this number is 0 or 1.
channel Number of the channel (time • On an E1 interface, a value from 1 through 31. The 1 time slot is reserved.
slot) on a fractional or • On a T1 interface, a value from 1 through 24.
channelized T1 or E1 interface.
The Data Link Layer is Layer 2 in the Open Systems Interconnection (OSI) model. The
Data Link Layer is responsible for transmitting data across a physical network link. Each
physical medium has link-layer specifications for network and link-layer protocol
Physical Addressing
Physical addressing is different from network addressing. Network addresses differentiate
between nodes or devices in a network, allowing traffic to be routed or switched through
the network. In contrast, physical addressing identifies devices at the link-layer level,
differentiating between individual devices on the same physical medium. The primary
form of physical addressing is the media access control (MAC) address.
Network Topology
Network topology specifications identify how devices are linked in a network. Some media
allow devices to be connected by a bus topology, while others require a ring topology.
The bus topology is used by Ethernet technologies, which are supported on Juniper
Networks devices.
Error Notification
The Data Link Layer provides error notifications that alert higher layer protocols that an
error has occurred on the physical link. Examples of link-level errors include the loss of
a signal, the loss of a clocking signal across serial connections, or the loss of the remote
endpoint on a T1 or T3 link.
Frame Sequencing
The frame sequencing capabilities of the Data Link Layer allow frames that are transmitted
out of sequence to be reordered on the receiving end of a transmission. The integrity of
the packet can then be verified by means of the bits in the Layer 2 header, which is
transmitted along with the data payload.
Flow Control
Flow control within the Data Link Layer allows receiving devices on a link to detect
congestion and notify their upstream and downstream neighbors. The neighbor devices
relay the congestion information to their higher layer protocols so that the flow of traffic
can be altered or rerouted.
over a single link of a network. This sublayer supports fields in link-layer frames that
enable multiple higher layer protocols to share a single physical link.
The MAC sublayer governs protocol access to the physical network medium. Through
the MAC addresses that are typically assigned to all ports on a device, multiple devices
on the same physical link can uniquely identify one another at the Data Link Layer. MAC
addresses are used in addition to the network addresses that are typically configured
manually on ports within a network.
MAC Addressing
A MAC address is the serial number permanently stored in a device adapter to uniquely
identify the device. MAC addresses operate at the Data Link Layer, while IP addresses
operate at the Network Layer. The IP address of a device can change as the device is
moved around a network to different IP subnets, but the MAC address remains the same,
because it is physically tied to the device.
Within an IP network, devices match each MAC address to its corresponding configured
IP address by means of the Address Resolution Protocol (ARP). ARP maintains a table
with a mapping for each MAC address in the network.
Most Layer 2 networks use one of three primary numbering spaces—MAC-48, EUI-48
(extended unique identifier), and EUI-64—which are all globally unique. MAC-48 and
EUI-48 spaces each use 48-bit addresses, and EUI-64 spaces use a 64-bit addresses,
but all three use the same numbering format. MAC-48 addresses identify network
hardware, and EUI-48 addresses identify other devices and software.
The Ethernet and ATM technologies supported on devices use the MAC-48 address
space. IPv6 uses the EUI-64 address space.
MAC-48 addresses are the most commonly used MAC addresses in most networks.
These addresses are 12-digit hexadecimal numbers (48 bits in length) that typically
appear in one of the following formats:
• MM:MM:MM:SS:SS:SS
• MM-MM-MM-SS-SS-SS
The first three octets (MM:MM:MM or MM-MM-MM) are the ID number of the hardware
manufacturer. Manufacturer ID numbers are assigned by the Institute of Electrical and
Electronics Engineers (IEEE). The last three octets (SS:SS:SS or SS-SS-SS) make up the
serial number for the device, which is assigned by the manufacturer. For example, an
Ethernet interface card might have a MAC address of 00:05:85:c1:a6:a0.
An Input/Output card (IOC) to Network Processing Card (NPC) mapping requires you
to map one IOC to one NPC. However, you can map multiple IOCs to a single NPC. To
balance the processing power in the NPC on the SRX3400, SRX3600, and SRX4600
Services Gateways, the chassis process (daemon) runs an algorithm that performs the
mapping. It maps an IOC to an NPC that has the least amount of IOCs mapped to it. You
can also use the command-line interface (CLI) to assign a specific IOC to a specific NPC.
When you configure the mapping, the chassis process will first use your configuration,
then apply the least-number NPC algorithm for the rest of the IOCs.
[edit]
set chassis ioc-npc-connectivity {
ioc slot-number npc (none | slot-number);
}
See Table 8 on page 13 for a description of the set chassis ioc-npc-connectivity options.
ioc slot-number Specify the IOC slot number. Range is 0 through 7 for SRX3400 devices
and 0 through 12 for SRX3600 devices.
npc slot-number Specify the NPC slot number. Range is 0 through 7 for SRX3400 devices
and 0 through 12 for SRX3600 and SRX 4600 devices.
none The chassis process maps the connection for the particular IOC.
NOTE: You must restart the chassis control after you commit the set chassis
ioc-npc-connectivity command.
Monitoring Interfaces
Purpose View general information about all physical and logical interfaces for a device.
Action Select Monitor>Interfaces in the J-Web user interface . The J-Web Interfaces page displays
the following details about each device interface:
• Link Status—Indicates whether the interface is linked (Up) or not linked (Down).
• Services—Indicates services that are enabled on the device, such as HTTP and SSH.
• Protocols—Indicates protocols that are enabled on the device, such as BGP and IGMP.
• Input Rate graph—Displays interface bandwidth utilization. Input rates are shown in
bytes per second.
• Output Rate graph—Displays interface bandwidth utilization. Output rates are shown
in bytes per second.
• Error Counters chart—Displays input and output error counters in the form of a bar
chart.
• Show Graph—Displays input and output packet counters and error counters in the form
of charts.
• Details—Displays extensive statistics about the selected interface, including its general
status, traffic information, IP address, I/O errors, class-of-service data, and statistics.
• Refresh Interval—Indicates the duration of time after which you want the data on the
page to be refreshed.
Alternatively, you can enter the following show commands in the CLI to view interface
status and traffic statistics:
Generic routing encapsulation (GRE) tunnel interfaces do not have a built-in mechanism
for detecting when a tunnel is down. You can enable keepalive messages to serve as the
detection mechanism.
Keepalive times are only configurable for the ATM-over-ADSL interface, which is no
longer supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM starting in
Junos OS Release 15.1X49-D10. Keepalive times are enabled by default for other interfaces.
You can configure the keepalives on a generic routing encapsulation (GRE) tunnel interface
by including both the keepalive-time statement and the hold-time statement at the [edit
protocols oam gre-tunnel interface interface-name] hierarchy level.
NOTE: For proper operation of keepalives on a GRE interface, you must also
include the family inet statement at the [edit interfaces interface-name unit
unit] hierarchy level. If you do not include this statement, the interface is
marked as down.
• hold-time
Keepalive times are only configurable for the ATM-over-ADSL interface, which is no
longer supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM starting in
Junos OS Release 15.1X49-D10.
• Configuring Keepalive Time and Hold time for a GRE Tunnel Interface on page 16
• Display GRE Keepalive Time Configuration on page 16
• Display Keepalive Time Information on a GRE Tunnel Interface on page 17
Configuring Keepalive Time and Hold time for a GRE Tunnel Interface
You can configure the keepalives on a generic routing encapsulation (GRE) tunnel interface
by including both the keepalive-time statement and the hold-time statement at the [edit
protocols oam gre-tunnel interface interface-name] hierarchy level.
NOTE: For proper operation of keepalives on a GRE interface, you must also
include the family inet statement at the [edit interfaces interface-name unit
unit] hierarchy level. If you do not include this statement, the interface is
marked as down.
1. Configure the GRE tunnel interface at [edit interfaces interface-name unit unit-number]
hierarchy level, where the interface name is gr-x/y/z, and the family is set as inet.
2. Configure the rest of the GRE tunnel interface options based on requirement.
[edit]
user@host# edit protocols oam
3. Configure the keepalive time from 1 through 50 seconds for the GRE tunnel interface.
4. Configure the hold time from 5 through 250 seconds. Note that the hold time must
be at least twice the keepalive time.
Purpose Display the configured keepalive time value as 10 and hold time value as 30 on a GRE
tunnel interface (for example, gr-1/1/10.1):
Action To display the configured values on the GRE tunnel interface, run the show oam gre-tunnel
command at the [edit protocols] hierarchy level:
[edit protocols]
user@host# show oam gre-tunnel
interface gr-1/1/10.1 {
keepalive-time 10;
hold-time 30;
}
Purpose Display the current status information of a GRE tunnel interface when keepalive time
and hold time parameters are configured on it and when the hold time expires.
Action To verify the current status information on a GRE tunnel interface (for example,
gr-3/3/0.3), run the show interfaces gr-3/3/0.3 terse and show interfaces gr-3/3/0.3
extensive operational commands.
Protocol mpls, MTU: 1464, Maximum labels: 3, Generation: 1565, Route table:
0
NOTE:
When the hold time expires:
• The GRE tunnel will stay up even though the interface cannot send or
receive traffic.
• The Link status will be Up and the Gre keepalives adjacency state will be
Down.
Meaning The current status information of a GRE tunnel interface with keepalive time and hold
time parameters is displayed as expected when the hold time expires.
The logical properties of an interface are the characteristics that do not apply to the
physical interface or the wires connected to it. Logical properties include:
• Any firewall filters or routing policies that are operating on the interface
• Understanding IPv6 Address Space, Addressing, Address Format, and Address Types
on page 24
• 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.
IPv4 addresses are 32-bit numbers that are typically displayed in dotted decimal notation.
A 32-bit address contains two primary parts: the network prefix and the host number.
All hosts within a single network share the same network address. Each host also has an
address that uniquely identifies it. Depending on the scope of the network and the type
of device, the address is either globally or locally unique. Devices that are visible to users
outside the network (webservers, for example) must have a globally unique IP address.
Devices that are visible only within the network must have locally unique IP addresses.
IP addresses are assigned by a central numbering authority called the Internet Assigned
Numbers Authority (IANA). IANA ensures that addresses are globally unique where
needed and has a large address space reserved for use by devices not visible outside
their own networks.
• Class A addresses use only the first byte (octet) to specify the network prefix, leaving
3 bytes to define individual host numbers.
• Class B addresses use the first 2 bytes to specify the network prefix, leaving 2 bytes to
define host addresses.
• Class C addresses use the first 3 bytes to specify the network prefix, leaving only the
last byte to identify hosts.
In binary format, with an x representing each bit in the host number, the three address
classes can be represented as follows:
Because each bit (x) in a host number can have a 0 or 1 value, each represents a power
of 2. For example, if only 3 bits are available for specifying the host number, only the
following host numbers are possible:
In each IP address class, the number of host-number bits raised to the power of 2 indicates
how many host numbers can be created for a particular network prefix. Class A addresses
24 16
have 2 (or 16,777,216) possible host numbers, class B addresses have 2 (or 65,536)
8
host numbers, and class C addresses have 2 (or 256) possible host numbers.
IPv4 Subnetting
Because of the physical and architectural limitations on the size of networks, you often
must break large networks into smaller subnetworks. Within a network, each wire or ring
requires its own network number and identifying subnet address.
Figure 1 on page 23 shows three devices connected to one subnet and three more devices
connected to a second subnet. Collectively, the six devices and two subnets make up
the larger network. In this example, the network is assigned the network prefix 192.14.0.0,
a class B address. Each device has an IP address that falls within this network prefix.
In addition to sharing a network prefix (the first two octets), the devices on each subnet
share a third octet. The third octet identifies the subnet. All devices on a subnet must
have the same subnet address. In this case, the alpha subnet has the IP address
192.14.126.0 and the beta subnet has the IP address 192.14.17.0.
Because the first 24 bits in the 32-bit address identify the subnet, the last 8 bits are not
significant. To indicate the subnet, the address is written as 192.14.17.0/24 (or just
192.14.17/24). The /24 is the subnet mask (sometimes shown as 255.255.255.0).
To help allocate address spaces more efficiently, variable-length subnet masks (VLSMs)
were introduced. Using VLSM, network architects can allocate more precisely the number
of addresses required for a particular subnet.
For example, suppose a network with the prefix 192.14.17/24 is divided into two smaller
subnets, one consisting of 18 devices and the other of 46 devices.
5
To accommodate 18 devices, the first subnet must have 2 (32) host numbers. Having
5 bits assigned to the host number leaves 27 bits of the 32-bit address for the subnet.
The IP address of the first subnet is therefore 192.14.17.128/27, or the following in binary
notation:
By assigning address bits within the larger /24 subnet mask, you create two smaller
subnets that use the allocated address space more efficiently.
Understanding IPv6 Address Space, Addressing, Address Format, and Address Types
IP version 4 (IPv4) is widely used throughout the world today for the Internet, intranets,
and private networks. IPv6 builds upon the functionality and structure of IPv4 in the
following ways:
• Provides a simplified and enhanced packet header to allow for more efficient routing.
• Improves support for mobile phones and other mobile computing devices.
• Enforces increased, mandatory data security through IPsec (which was originally
designed for it).
IPv6 addresses consist of 128 bits, instead of 32 bits, and include a scope field that
identifies the type of application suitable for the address. IPv6 does not support broadcast
addresses, but instead uses multicast addresses for broadcast. In addition, IPv6 defines
a new type of address called anycast.
Understanding IPv6 Address Types and How Junos OS for SRX Series Services Gateway Uses
Them
IP version 6 (IPv6) includes the following types of addresses:
• Unicast
A unicast address specifies an identifier for a single interface to which packets are
delivered. Under IPv6, the vast majority of Internet traffic is foreseen to be unicast, and
it is for this reason that the largest assigned block of the IPv6 address space is dedicated
to unicast addressing. Unicast addresses include all addresses other than loopback,
multicast, link-local-unicast, and unspecified.
For SRX Series devices, the flow module supports the following kinds of IPv6 unicast
packets:
• Pass-through unicast traffic, including traffic from and to virtual routers. The device
transmits pass-through traffic according to its routing table.
• Host-inbound traffic from and to devices directly connected to SRX Series interfaces.
For example, host-inbound traffic includes logging, routing protocol, and management
types of traffic. The flow module sends these unicast packets to the Routing Engine
and receives them from it. Traffic is processed by the Routing Engine instead of by
the flow module, based on routing protocols defined for the Routing Engine.
The flow module supports all routing and management protocols that run on the
Routing Engine. Some examples are OSPFv3, RIPng, TELNET, and SSH.
• Multicast
A multicast address specifies an identifier for a set of interfaces that typically belong
to different nodes. It is identified by a value of 0xFF. IPv6 multicast addresses are
distinguished from unicast addresses by the value of the high-order octet of the
addresses.
The devices support only host-inbound and host-outbound multicast traffic. Host
inbound traffic includes logging, routing protocols, management traffic, and so on.
• Anycast
An anycast address specifies an identifier for a set of interfaces that typically belong
to different nodes. A packet with an anycast address is delivered to the nearest node,
according to routing protocol rules.
There is no difference between anycast addresses and unicast addresses except for
the subnet-router address. For an anycast subnet-router address, the low order bits,
typically 64 or more, are zero. Anycast addresses are taken from the unicast address
space.
The flow module treats anycast packets in the same way as it handles unicast packets.
If an anycast packet is intended for the device, it is treated as host-inbound traffic, and
it delivers it to the protocol stack which continues processing it.
Unicast addresses support global address scope and two types of local address scope:
• Link-local unicast addresses—Used only on a single network link. The first 10 bits of
the prefix identify the address as a link-local address. Link-local addresses cannot be
used outside the link.
Multicast addresses support 16 different types of address scope, including node, link,
site, organization, and global scope. A 4-bit field in the prefix identifies the address scope.
Multicast addresses identify a set of interfaces. Each multicast address consists of the
first 8 bits of all 1s, a 4-bit flags field, a 4-bit scope field, and a 112-bit group ID:
The first octet of 1s identifies the address as a multicast address. The flags field identifies
whether the multicast address is a well-known address or a transient multicast address.
The scope field identifies the scope of the multicast address. The 112-bit group ID identifies
the multicast group.
IPv4 has been extended using techniques such as Network Address Translation (NAT),
which allows for ranges of private addresses to be represented by a single public address,
and temporary address assignment. Although useful, these techniques fall short of the
In addition to the increased address space, IPv6 addresses differ from IPv4 addresses in
the following ways:
• Includes a scope field that identifies the type of application that the address pertains
to
• Does not support broadcast addresses, but instead uses multicast addresses to
broadcast a packet
aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa
Each aaaa is a 16-bit hexadecimal value, and each a is a 4-bit hexadecimal value. Following
is a sample IPv6 address:
3FFE:0000:0000:0001:0200:F8FF:FE75:50DF
You can omit the leading zeros of each 16-bit group, as follows:
3FFE:0:0:1:200:F8FF:FE75:50DF
You can compress 16-bit groups of zeros to double colons (::) as shown in the following
example, but only once per address:
3FFE::1:200:F8FF:FE75:50DF
An IPv6 address prefix is a combination of an IPv6 prefix (address) and a prefix length.
The prefix takes the form ipv6-prefix/prefix-length and represents a block of address
space (or a network). The ipv6-prefix variable follows general IPv6 addressing rules. The
/prefix-length variable is a decimal value that indicates the number of contiguous,
higher-order bits of the address that make up the network portion of the address. For
example, 10FA:6604:8136:6502::/64 is a possible IPv6 prefix.
For more information on the text representation of IPv6 addresses and address prefixes,
see RFC 4291, IP Version 6 Addressing Architecture.
Limitations
SRX300, SRX320, SRX340, SRX345, and SRX550HM devices have the following
limitations:
• IPv6 traffic transiting over IPv4 based IP over IP tunnel (for example, IPv6-over-IPv4
using ip-x/x/x interface) is not supported.
In configuration commands, the protocol family for IPv6 is named inet6. In the
configuration hierarchy, instances of inet6 are parallel to instances of inet, the protocol
family for IPv4. In general, you configure inet6 settings and specify IPv6 addresses in
parallel to inet settings and IPv4 addresses.
The following example shows the CLI commands you use to configure an IPv6 address
for an interface:
[edit]
user@host# show interfaces
ge-0/0/0 {
unit 0 {
family inet {
address 10.100.37.178/24;
}
}
}
[edit]
user@host# set interfaces ge-0/0/0 unit 0 family ?
Possible completions:
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
> ccc Circuit cross-connect parameters
> ethernet-switching Ethernet switching parameters
> inet IPv4 parameters
> inet6 IPv6 protocol parameters
> iso OSI ISO protocol parameters
> mpls MPLS protocol parameters
[edit]
user@host# set interfaces ge-0/0/0 unit 0 family inet6 address 8d8d:8d01::1/64
user@host# show interfaces
ge-0/0/0 {
unit 0 {
family inet {
address 10.100.37.178/24;
}
family inet6 {
address 8d8d:8d01::1/64;
}
}
}
Related • Understanding IPv6 Address Space, Addressing, Address Format, and Address Types
Documentation on page 24
To enable flow-based processing for IPv6 traffic, modify the mode statement at the [edit
security forwarding-options family inet6] hierarchy level:
security {
forwarding-options {
family {
inet6 {
mode flow-based;
}
}
}
}
The following example shows the CLI commands you use to configure forwarding for
IPv6 traffic:
[edit]
user@host# set security forwarding-options family inet6 mode ?
Possible completions:
drop Disable forwarding
flow-based Enable flow-based forwarding
packet-based Enable packet-based forwarding
[edit]
user@host# set security forwarding-options family inet6 mode flow-based
user@host# show security forwarding-options
family {
inet6 {
mode flow-based;
}
}
If you change the forwarding option mode for IPv6, you might need to perform a reboot
to initialize the configuration change. Table 9 on page 30 summarizes device status upon
configuration change.
Use of version 9 allows you to define a flow record template suitable for IPv4 traffic, IPv6
traffic, or peer AS billing traffic. Templates and the fields included in the template are
transmitted to the collector periodically, and the collector need not be aware of the router
configuration.
NOTE: Version 9 requires that you install a services PIC, such as the Adaptive
Services PIC or the Multiservices PIC, in the device. On MX Series routers, the
Multiservices DPC fulfills this requirement.
NOTE: If you specify sampling for peer AS billing traffic, the family statement
supports only IPv4 and IPv6 traffic (inet ). Peer AS billing traffic is enabled
only at the global instance hierarchy level and is not available for per Packet
Forwarding Engine instances.
• You assign each template a unique name by including the template name statement.
• You then specify each template for the appropriate type of traffic by including the
ipv4-template, ipv6–template, inet-ipv4-template, inet-template, or
peer-as-billing-template.
• If the template is used for inet traffic, you can also specify up to three label positions
for the inet header label data by including the label-position statement; the default
values are [1 2 3].
• Within the template definition, you can optionally include values for the
flow-active-timeout and flow-inactive-timeout statements. These statements have
specific default and range values when they are used in template definitions; the default
is 60 seconds and the range is from 10 through 600 seconds. Values you specify in
template definitions override the global timeout values configured at the [edit
forwarding-options sampling output flow-server] hierarchy level.
NOTE: In active flow monitoring, the flow-server records are exported after
a time period that is a multiple of 60 seconds and greater than or equal to
the configured active timeout value. For example, if the active timeout
value is 90 seconds, the flow-server records are exported at 120-second
intervals. If the active timeout value is 150 seconds, the flow-server records
are exported at 180-second intervals, and so forth.
• You can also include settings for the option-refresh-rate and template-refresh-rate
statements within a template definition. For both of these properties, you can include
a timer value (in seconds) or a packet count (in number of packets). For the seconds
option, the default value is 60 and the range is from 10 through 600. For the packets
option, the default value is 4800 and the range is from 1 through 480,000.
interfaces interface-name {
unit 0 {
family inet {
sampling {
input;
output;
}
}
}
}
Restrictions
The following restrictions apply to version 9 templates:
• You cannot apply the two different types of flow aggregation configuration (flow-server
version 5/8 and flow aggregation version 9) at the same time.
• Flow export based on an inet-ipv4 template assumes that the IPv4 header follows the
inet header. In the case of Layer 2 VPNs, the packet on the provider router (P router)
would look like this:
In this case, inet-ipv4 flows are not created on the PIC, because the IPv4 header does
not directly follow the inet header. Packets are dropped on the PIC and are accounted
as parser errors.
• Outbound Routing Engine traffic is not sampled. A firewall filter is applied as output
on the egress interface, which samples packets and exports the data. For transit traffic,
egress sampling works correctly. For internal traffic, the next hop is installed in the
Packet Forwarding Engine but sampled packets are not exported.
• Flows are created on the monitoring PIC only after the route record resynchronization
operation is complete, which is 60 seconds after the PIC comes up. Any packets sent
to the PIC would be dropped until the synchronization process is complete.
On SRX300, SRX320, SRX340, SRX345, and SRX550HM devices, flow monitoring IPv6
version 9 has the following limitations:
• Flow monitoring and accounting are not supported in chassis cluster mode.
• Creation of an SCTP session (parallel to TCP) between an exporter and a collector for
gathering flow monitoring information is not supported.
• A device with 1-GB RAM, such as an SRX320 device, might support up to 15,000 flow
monitoring sessions at a time.
• A device with 2-GB RAM, such as an SRX650 device, might support up to 59,900
flow monitoring sessions at a time.
• Routing Engine based flow monitoring V5 or V8 mode is mutually exclusive with inline
flow monitoring V9.
• SRX5400, SRX5600, and SRX5800 do not support multiple collectors like SRX300,
SRX320, SRX340, SRX345, and SRX550HM devices. Only one V9 collector per IPv4
or IPv6 is supported
• Only UDP over IPv4 or IPv6 protocol can be used as the transport protocol.
• Only the standard IPv4 or IPv6 template is supported for exporting flow monitoring
records.
• User-defined or special templates are not supported for exporting flow monitoring
records.
• Input interface
• Output interface
• Number of bytes
• Number of packets
• L4 Source Port
• L4 Destination Port
• IPv4 TOS
• IPv4 Protocol
• TCP Flags
• L4 Source Port
• L4 Destination Port
• IPv6 TOS
• IPv6 Protocol
• TCP Flags
• IP Protocol Version
• Destination AS number
• inet Label #1
• inet Label #2
• inet Label #3
• FEC IP Address
The inet-IPv4 template includes all the fields found in the IPv4 and inet templates.
• Ingress Interface
1. You configure inet sampling on an egress interface on the P router and configure an
inet flow aggregation template. The route action is label pop because penultimate
hop popping (PHP) is enabled.
Previously, IPv4 packets (only) would have been sent to the PIC for sampling even
though you configured inet sampling. No flows should be created, with the result that
the parser fails.
With the current capability of applying inet templates, inet flows are created.
2. As in the first case, you configure inet sampling on an egress interface on the P router
and configure an inet flow aggregation template. The route action is label swap and
the swapped label is 0 (explicit null).
The resulting behavior is that inet packets are sent to the PIC. The flow being sampled
corresponds to the label before the swap.
3. You configure a Layer 3 VPN network, in which a customer edge router (CE-1) sends
traffic to a provider edge router (PE-A), through the P router, to a similar provider edge
router (PE-B) and customer edge router (CE-2) on the remote end.
The resulting behavior is that you cannot sample inet packets on the PE-A to P router
link.
Verification
To verify the configuration properties, you can use the show services accounting
aggregation template template-name name operational mode command.
All other show services accounting commands also support version 9 templates, except
for show services accounting flow-detail and show services accounting aggregation
aggregation-type.
services {
flow-monitoring {
version9 {
template ip-template {
flow-active-timeout 20;
flow-inactive-timeout 120;
ipv4-template;
}
template inet-template-1 {
inet-template {
label-position [1 3 4];
}
}
template inet-ipv4-template-1 {
inet-ipv4-template {
label-position [1 5 7];
}
}
template peer-as-billing-template-1 {
peer-as-billing-template;
}
}
}
}
}
firewall {
family inet {
filter inet_sample {
term default {
then {
accept;
sample;
}
}
}
}
}
The following sample configuration applies the inet sampling filter on a networking
interface and configures the AS PIC to accept both IPv4 and inet traffic:
inline-jflows {
at-0/1/1 {
unit 0 {
family inet {
filter {
input inet_sample;
}
}
}
}
sp-7/0/0 {
unit 0 {
family inet;
family inet;
}
}
}
The following example applies the inet version 9 template to the sampling output and
sends it to the AS PIC:
forwarding-options {
sampling {
input {
family inet {
rate 1;
}
}
output {
flow-active-timeout 60;
flow-inactive-timeout 30;
flow-server 1.2.3.4 {
port 2055;
version9 {
template inet-ipv4-template-1;
}
}
inline-jflow sp-7/0/0 {
source-address 1.1.1.1;
}
}
}
}
The following is a sample firewall filter configuration for the peer AS billing traffic:
firewall {
family inet {
filter peer-as-filter {
term 0 {
from {
destination-class dcu-1;
inline-jflow ge-2/1/0;
forwarding-class class-1;
}
then count count_team_0;
}
}
term 1 {
from {
destination-class dcu-2;
inline-jflow ge-2/1/0;
forwarding-class class-1;
}
then count count_team_1;
}
term 2 {
from {
destination-class dcu-3;
inline-jflow ge-2/1/0;
forwarding-class class-1;
}
then count count_team_2;
}
}
}
}
The following sample configuration applies the firewall filter as a filter attribute under
the forwarding-options hierarchy for CoS-level data traffic usage information collection:
forwarding-options {
family inet {
filter output peer-as-filter;
}
}
The following example applies the peer-as-billing version 9 template to enable sampling
of traffic for billing purposes:
forwarding-options {
sampling {
}
input {
rate 1;
}
family inet {
output {
flow-server 10.209.15.58 {
port 300;
version9 {
template {
peer-as;
}
}
}
inline-jflow sp-5/2/0 {
source-address 2.3.4.5;
}
}
}
}
}
family inet {
filter {
output peer-as-filter;
}
}
SRX300, SRX320, SRX340, SRX345, and SRX550HM devices support IPv6 on the
following DSL encapsulations:
• atm-pvc
• ethernet-over-atm
• atm-snap
• atm-ppp-vc-mux
• atm-nlpid
• atm-cisco-nlpid
• atm-ppp-llc
• ether-over-atm-llc
To configure IPv6 addresses on DSL interfaces in ATM or PTM mode, include the family
protocol type as inet6 at the [edit interfaces] hierarchy level.
This example shows how to configure the IPv6 address on an ADSL interface.
• Requirements on page 40
• Overview on page 40
• Configuration on page 40
• Verification on page 42
Requirements
Before you begin, configure network interfaces as necessary. See “Understanding Ethernet
Interfaces” on page 251.
Overview
In this example, you specify the following configuration parameters:
• Encapsulation type for the ATM-for-ADSL logical unit: Ethernet over ATM LLC
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them into a text
Configuration file, remove any line breaks, change any details necessary to match your network
configuration, copy and paste the commands into the CLI at the [edit] hierarchy level,
and then enter commit from configuration mode.
[edit]
user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm
[edit]
user@host# set interfaces at-1/0/0 atm-options vpi 2
[edit]
user@host# set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc
[edit]
user@host# set interfaces at-1/0/0 unit 0 vci 2.118
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet6 address 13:13::1/64
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 2;
}
unit 0 {
encapsulation ether-over-atm-llc;
vci 2.118;
family inet6 {
address 13:13::1/64;
}
}
If you done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the ADSL interface properties are configured properly.
Action From operational mode, enter the show ipv6 neighbors command. The output shows a
summary of interface information.
Meaning The IPv6 Address field displays the configured IPv6 address on the interface.
• Overview on page 42
• Limitations on page 44
Overview
The MAC limiting feature provides a mechanism for limiting MAC addresses on devices
that are connected to a Layer 3 routed Gigabit Ethernet (GE), Fast Ethernet (FE), or 10
Gigabit Ethernet (XE) interface. With MAC filters, you can allow traffic with specific source
MAC. Software-based MAC limiting is supported. MAC limiting is applicable only on
interfaces with plain Ethernet or VLAN tagged encapsulation.
Both the physical interface level source-address-filter and logical interface level
accept-source-mac configurations are supported on SRX100, SRX210, SRX220, SRX240,
SRX300, SRX320, SRX340, and SRX650 devices. (Platform support depends on the
Junos OS release in your installation.) The following considerations apply when you
configure the source-address-filter and accept-source-mac statements:
• If only the logical level accept-source-mac statement is configured, traffic from only
those configured MAC addresses will be allowed on the logical interface.
You can configure an interface to receive packets from specific MAC addresses. To do
this, specify the MAC addresses in the source-address-filter or accept-source-mac
statements:
ge-0/0/10 {
unit 0 {
accept-source-mac {
mac-address 00:22:33:44:55:66;
mac-address 00:26:88:e9:a3:01;
}
family inet {
address 60.60.60.1/24;
}
}
}
ge-0/0/10 {
gigether-options {
source-address-filter {
00:55:55:55:55:66;
00:26:88:e9:a3:01;
}
}
unit 0 {
family inet {
address 60.60.60.1/24;
}
}
}
ge-0/0/10 {
vlan-tagging;
gigether-options {
source-address-filter {
00:26:88:e9:a3:01;
}
}
unit 0 {
vlan-id 40;
accept-source-mac {
mac-address 00:22:33:44:55:66;
}
family inet {
address 40.40.40.1/24;
}
}
unit 1 {
vlan-id 60;
accept-source-mac {
mac-address 00:55:55:55:55:66;
}
family inet {
address 60.60.60.1/24;
}
}
}
NOTE: On untagged Gigabit Ethernet interfaces, you must not configure the
source-address-filter and the accept-source-mac statements simultaneously.
If these statements are configured for the same interfaces at the same time,
an error message appears. However, in the case of tagged VLANs, both these
statements can be configured simultaneously, if no identical MAC addresses
are specified.
Limitations
The following limitations apply to MAC limiting support on Layer 3 routed GE, FE, or XE
interfaces:
The physical properties of a network interface are the characteristics associated with
the physical link that affect the transmission of either link-layer signals or the data across
the links. Physical properties include clocking properties, transmission properties, such
as the maximum transmission unit (MTU), and encapsulation methods, such as
point-to-point and Frame Relay encapsulation.
The default property values for an interface are usually sufficient to successfully enable
a bidirectional link. However, if you configure a set of physical properties on an interface,
those same properties must be set on all adjacent interfaces to which a direct connection
is made.
bert-error-rate Bit error rate (BER). The error rate specifies the number of bit errors in a particular bit error rate test
(BERT) period required to generate a BERT error condition. See “Understanding Bit Error Rate
Testing” on page 48.
bert-period Bit error rate test (BERT) time period over which bit errors are sampled. See “Understanding Bit
Error Rate Testing” on page 48.
chap Challenge Handshake Authentication Protocol (CHAP). Specifying chap enables CHAP authentication
on the interface. See “Understanding CHAP Authentication on a PPPoE Interface” on page 399.
clocking Clock source for the link. Clocking can be provided by the local system (internal) or a remote endpoint
on the link (external). By default, all interfaces use the internal clocking mode. If an interface is
configured to accept an external clock source, one adjacent interface must be configured to act as
a clock source. Under this configuration, the interface operates in a loop timing mode, in which the
clocking signal is unique for that individual network segment or loop. See “Understanding Interface
Clocking” on page 49.
description A user-defined text description of the interface, often used to describe the interface's purpose.
encapsulation Type of encapsulation on the interface. Common encapsulation types include PPP, Frame Relay,
Cisco HDLC, and PPP over Ethernet (PPPoE). See “Understanding Physical Encapsulation on an
Interface” on page 373.
fcs Frame check sequence (FCS). FCS is an error-detection scheme that appends parity bits to a digital
signal and uses decoding algorithms that detect errors in the received digital signal.
mtu Maximum transmission unit (MTU) size. MTU is the largest size packet or frame, specified in bytes
or octets, that can be sent in a packet-based or frame-based network. The TCP uses MTU to
determine the maximum size of each packet in any transmission. See “MTU Default and Maximum
Values” on page 51.
no-keepalives Disabling of keepalive messages across a physical link. A keepalive message is sent between network
devices to indicate that they are still active. Keepalives help determine whether the interface is
operating correctly. Except for ATM-over-ADSL interfaces, all interfaces use keepalives by default.
pap Password Authentication Protocol (PAP). Specifying pap enables PAP authentication on the
interface. See “Understanding CHAP Authentication on a PPPoE Interface” on page 399.
payload-scrambler Scrambling of traffic transmitted out the interface. Payload scrambling randomizes the data payload
of transmitted packets. Scrambling eliminates nonvariable bit patterns (strings of all 1s or all 0s)
that generate link-layer errors across some physical links.
In telecommunication transmission, the bit error rate (BER) is the percentage of bits that
have errors compared to the total number of bits received in a transmission, usually
–6
expressed as 10 to a negative power. For example, a transmission with a BER of 10
received 1 errored bit in 1,000,000 bits transmitted. The BER indicates how often a packet
or other data unit must be retransmitted because of an error. If the BER is too high, a
slower data rate might improve the overall transmission time for a given amount of data
if it reduces the BER and thereby lowers the number of resent packets.
A bit error rate test (BERT) is a procedure or device that measures the BER for a given
transmission. You can configure a device to act as a BERT device by configuring the
interface with a bit error rate and a testing period. When the interface receives a BERT
request from a BER tester, it generates a response in a well-known BERT pattern. The
initiating device checks the BERT-patterned response to determine the number of bit
errors.
Clocking determines how individual routing nodes or entire networks sample transmitted
data. As streams of information are received by a device in a network, a clock source
specifies when to sample the data. In asynchronous networks, the clock source is derived
locally, and synchronous networks use a central, external clock source. Interface clocking
indicates whether the device uses asynchronous or synchronous clocking.
Most networks are designed to operate as asynchronous networks. Each device generates
its own clock signal, or devices use clocks from more than one clock source. The clocks
within the network are not synchronized to a single clock source. By default, devices
generate their own clock signals to send and receive traffic.
The system clock allows the device to sample (or detect) and transmit data being received
and transmitted through its interfaces. Clocking enables the device to detect and transmit
the 0s and 1s that make up digital traffic through the interface. Failure to detect the bits
within a data flow results in dropped traffic.
Short-term fluctuations in the clock signal are known as clock jitter. Long-term variations
in the signal are known as clock wander.
Asynchronous clocking can either derive the clock signal from the data stream or transmit
the clocking signal explicitly.
This type of clock signal controls only the connection on which it is active and is not visible
to the rest of the network. An explicit clock signal does not control how other devices or
even other interfaces on the same device sample or transmit data.
If the result of the second calculation matches the contents of the FCS field, the packet
was sent and received without bit errors. If the values do not match, an FCS error is
generated, the frame is discarded and the originating host is notified of the error.
Two-Dimensional Parity
On a link that uses two-dimensional parity bits for frame checking, the sending and
receiving hosts examine each frame in the total packet transmission and create a parity
byte that is evaluated to detect transmission errors.
For example, a host can create the parity byte for the following frame sequence by
summing up each column (each bit position in the frame) and keeping only the
least-significant bit:
Frame 1 0 1 0 1 0 0 1
Frame 2 1 1 0 1 0 0 1
Frame 3 1 0 1 1 1 1 0
Frame 4 0 0 0 1 1 1 0
Frame 5 0 1 1 0 1 0 0
Frame 6 1 0 1 1 1 1 1
Parity Byte 1 1 1 1 0 1 1
If the sum of the bit values in a bit position is even, the parity bit for the position is 0. If
the sum is odd, the parity bit is 1. This method is called even parity. Matching parity bytes
on the originating and receiving hosts indicate that the packet was received without error.
The MTU values are by default without any MTU configurations. If the MTU value is set,
then the formula IFF MTU (IP MTU) = IFD MTU (Media MTU) – L2 Overhead is applicable.
See Table 11 on page 52 for default MTU values.
NOTE: For ATM MLPPP irrespective of UIFD MTU, the IP MTU is always 1500
because the IP MTU calculation is based on the LSQ interface. Even if you
configure the LSQ family MTU, the IP MTU value cannot exceed 1504.
Table 11 on page 52 lists MTU values for the SRX Series Services Gateways Physical
Interface Modules (PIMs).
Table 11: MTU Values for the SRX Series Services Gateways PIMs
PIM Default Media MTU (Bytes) Maximum MTU (Bytes) Default IP MTU (Bytes)
Table 11: MTU Values for the SRX Series Services Gateways PIMs (continued)
PIM Default Media MTU (Bytes) Maximum MTU (Bytes) Default IP MTU (Bytes)
Jumbo frames are Ethernet frames with more than 1500 bytes of payload (maximum
transmission unit [MTU]). Jumbo frames can carry up to 9000 bytes of payload.
You configure jumbo frames at the physical interface by using the following command:
Example:
The supported range for configuring an MTU pacUsing the Enterprise-Specific Utility MIB
to Enhance SNMP Coverageket size is 256 through 9192.
A LAN is a single broadcast domain. When traffic is broadcast, all hosts within the LAN
receive the broadcast traffic. A LAN is determined by the physical connectivity of devices
within the domain.
Within a traditional LAN, hosts are connected by a hub or repeater that propagates any
incoming traffic throughout the network. Each host and its connecting hubs or repeaters
make up a LAN segment. LAN segments are connected through switches and bridges to
form the broadcast domain of the LAN. Figure 2 on page 56 shows a typical LAN topology.
Virtual LANs (VLANs) allow network architects to segment LANs into different broadcast
domains based on logical groupings. Because the groupings are logical, the broadcast
domains are not determined by the physical connectivity of the devices in the network.
Hosts can be grouped according to a logical function, to limit the traffic broadcast within
the VLAN to only the devices for which the traffic is intended.
Suppose a corporate network has three major organizations: engineering, sales, and
support. Using VLAN tagging, hosts within each organization can be tagged with a different
VLAN identifier. Traffic sent to the broadcast domain is then checked against the VLAN
identifier and broadcast to only the devices in the appropriate VLAN. Figure 3 on page 56
shows a typical VLAN topology.
VLAN IDs and Ethernet Interface Types Supported on the SRX Series Devices
Table 12 on page 57 lists VLAN ID range by interface type supported on SRX Series devices:
Table 12: VLAN ID Range by Interface Type Supported on the SRX Series Devices
Interface Type Interface Type VLAN ID Range
You can configure SRX300, SRX320, SRX340, SRX345, and SRX550HM devices to
receive and forward single-tag frames, dual-tag frames, or a mixture of single-tag and
dual-tag frames.
1 (Tagged) Single
family family {
address address;
}
}
unit logical-unit-number {
vlan-tags inner tpid.vlan-id outer tpid.vlan-id;
family family {
address address;
}
}
NOTE: When you configure the physical interface MTU for mixed tagging,
you must increase the MTU to 4 bytes more than the MTU value you would
configure for a standard VLAN-tagged interface.
The following example configures mixed tagging. Dual-tag and single-tag logical interfaces
are under the same physical interface:
The logical interface on which untagged packets are to be received must be configured
with the same native VLAN ID as that configured on the physical interface. To configure
the logical interface, include the vlan-id statement (matching the native-vlan-id statement
The following example configures untagged packets to be mapped to logical unit number
0:
T1 and E1 are equivalent digital data transmission formats that carry DS1 signals. T1 and
E1 lines can be interconnected for international use.
• T1 Overview on page 63
• E1 Overview on page 64
• T1 and E1 Signals on page 64
• Encoding on page 64
• T1 and E1 Framing on page 65
• T1 and E1 Loopback Signals on page 65
T1 Overview
T1 is a digital data transmission medium capable of handling 24 simultaneous connections
running at a combined 1.544 Mbps. T1 combines these 24 separate connections, called
channels or time slots, onto a single link. T1 is also called DS1.
The T1 data stream is broken into frames. Each frame consists of a single framing bit and
24 8-bit channels, totaling 193 bits per T1 frame. Frames are transmitted 8,000 times
per second, at a data transmission rate of 1.544 Mbps (8,000 x 193 = 1.544 Mbps).
As each frame is received and processed, the data in each 8-bit channel is maintained
with the channel data from previous frames, enabling T1 traffic to be separated into
24 separate flows across a single medium. For example, in the following set of 4-channel
frames (without a framing bit), the data in channel 1 consists of the first octet of each
frame, the data in channel 2 consists of the second octet of each frame, and so on:
E1 Overview
E1 is the European format for DS1 digital transmission. E1 links are similar to T1 links except
that they carry signals at 2.048 Mbps. Each signal has 32 channels, and each channel
transmits at 64 Kbps. E1 links have higher bandwidth than T1 links because it does not
reserve one bit for overhead. Whereas, T1 links use 1 bit in each channel for overhead.
T1 and E1 Signals
T1 and E1 interfaces consist of two pairs of wires—a transmit data pair and a receive data
pair. Clock signals, which determine when the transmitted data is sampled, are embedded
in the T1 and E1 transmissions.
Typical digital signals operate by sending either zeros (0s) or ones (1s), which are usually
represented by the absence or presence of a voltage on the line. The receiving device
need only detect the presence of the voltage on the line at the particular sampling edge
to determine whether the signal is 0 or 1. T1 and E1, however, use bipolar electrical pulses.
Signals are represented by no voltage (0), positive voltage (1), or negative voltage (1).
The bipolar signal allows T1 and E1 receivers to detect error conditions in the line,
depending on the type of encoding that is being used.
Encoding
The following are common T1 and E1 encoding techniques:
AMI Encoding
AMI encoding forces the 1s signals on a T1 or E1 line to alternate between positive and
negative voltages for each successive 1 transmission, as in this sample data transmission:
1 1 0 1 0 1 0 1
+ - 0 + 0 - 0 +
When AMI encoding is used, a data transmission with a long sequence of 0s has no
voltage transitions on the line. In other words, voice transmission does not use AMI
encoding because it never encounters the “long string of zeroes” problem. In this situation,
devices have difficulty maintaining clock synchronization, because they rely on the voltage
fluctuations to constantly synchronize with the transmitting clock. To counter this effect,
the number of consecutive 0s in a data stream is restricted to 15. This restriction is called
the 1s density requirement, because it requires a certain number of 1s for every 15 0s that
are transmitted.
Neither B8ZS nor HDB3 encoding restricts the number of 0s that can be transmitted on
a line. Instead, these encoding methods detect sequences of 0s and substitute bit patterns
for the sequences to provide the signal oscillations required to maintain timing on the
link.
The B8ZS encoding method for T1 lines detects sequences of eight consecutive 0
transmissions and substitutes a pattern of two consecutive BPVs (11110000). Because
the receiving end uses the same encoding, it detects the BPVs as 0s substitutions, and
no BPV error is flagged. A single BPV, which does not match the 11110000 substitution
bit sequence is likely to generate an error, depending on the configuration of the device.
B8ZS uses bipolar violations to synchronize devices, a solution that does not require the
use of extra bits, which means a T1 circuit using B8ZS can use the full 64 Kbps for each
channel for data.
The HDB3 encoding method for E1 lines detects sequences of four consecutive 0
transmissions and substitutes a single BPV (1100). Similar to B8ZS encoding, the receiving
device detects the 0s substitutions and does not generate a BPV error.
T1 and E1 Framing
T1 interfaces uses extended superframe (ESF). E1 interfaces use G.704 framing or G.704
with no CRC4 framing, or can be in unframed mode.
ESF extends the D4 superframe from 12 frames to 24 frames. By expanding the size of
the superframe, ESF increases the number of bits in the superframe framing pattern from
12 to 24. The extra bits are used for frame synchronization, error detection, and
maintenance communications through the facilities data link (FDL).
The ESF pattern for synchronization bits is 001011. Only the framing bits from frames 4,
8, 12, 16, 20, and 24 in the superframe sequence are used to create the synchronization
pattern.
The framing bits from frames 2, 6, 10, 14, 18, and 22 are used to pass a CRC code for each
superframe block. The CRC code verifies the integrity of the received superframe and
detects bit errors with a CRC6 algorithm.
The framing bits for frames 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, and 23 are used for the data link
channel. These 12 bits enable the operators at the network control center to query the
remote equipment for information about the performance of the link.
can then verify that the received signals match the transmitted signals, to perform
end-to-end checking on the link.
• The loop-up command signal sets the link into loopback mode, with the following
command pattern:
...100001000010000100...
• The loop-down signal returns the link to its normal mode, with the following command
pattern:
...100100100100100100...
While the link is in loopback mode, the operator can insert test equipment onto the line
to test its operation.
• Requirements on page 66
• Overview on page 66
• Configuration on page 67
• Verification on page 68
Requirements
Before you begin, install a PIM, connect the interface cables to the ports, and power on
the device. See the Getting Started Guide for your device.
Overview
This example describes the initial configuration that you must complete on each network
interface. In this example, you configure the t1-1/0/0 interface as follows:
• You create the basic configuration for the new interface by setting the encapsulation
type to ppp. You can enter additional values for physical interface properties as needed.
• You set the logical interface to 0. Note that the logical unit number can range from 0
through 16,384. You can enter additional values for properties you need to configure
on the logical interface, such as logical encapsulation or protocol family.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure a T1 interface:
[edit]
user@host# edit interfaces t1-1/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
For brevity, this show interfaces command output includes only the configuration that is
relevant to this example. Any other configuration on the system has been replaced with
ellipses (...).
[edit]
...
t1-1/0/0 {
encapsulation ppp;
unit 0;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose By using the ping tool on each peer address in the network, verify that all interfaces on
the device are operational.
2. In the Remote Host box, type the address of the interface for which you want to verify
the link state.
Action From the operational mode, enter the show interfaces detail command.
The output shows 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
t1-1/0/0] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces>
t1-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 input and output bytes and packets matches expected throughput for the physical
interface. To clear the statistics and see only new changes, use the clear interfaces
statistics t1-1/0/0 command.
• Requirements on page 69
• Overview on page 69
• Configuration on page 69
• Verification on page 70
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you delete the t1-1/0/0 interface.
NOTE: Performing this action removes the interface from the software
configuration and disables it. Network interfaces remain physically present,
and their identifiers continue to appear on the J-Web pages.
Configuration
[edit interfaces]
user@host# delete t1-1/0/0
[edit interfaces]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
E3 is the equivalent European transmission format. E3 links are similar to T3 (DS3) links,
but carry signals at 34.368 Mbps. Each signal has 16 E1 channels, and each channel
transmits at 2.048 Mbps. E3 links use all 8 bits of a channel, whereas T3 links use 1 bit in
each channel for overhead.
The four DS2 subframes are not four DS1 channels. Instead, the DS1 data bits within the
subframes are formed by data interleaved from the DS1 channels. The 0 values designate
n
time slots devoted to DS1 inputs as part of the bit-by-bit interleaving process. After every
48 DS1 information bits (12 bits from each signal), a DS2 OH bit is inserted to indicate
the start of a subframe.
A DS2 connection requires a nominal transmit rate of 6.304 Mbps. However, because
multiplexers increase the overall output rate to the intermediate rate of 6.312 Mbps, the
output rate is higher than individual input rates on DS1 signals. The extra bandwidth is
used to stuff the incoming DS1 signals with extra bits until the output rate of each signal
equals the increased intermediate rate. These stuffed bits are inserted at fixed locations
in the DS2 M-frame. When DS2 frames are received and the signal is demultiplexed, the
stuffing bits are identified and removed.
DS3 Framing
A set of four DS1 signals is multiplexed into seven DS2 signals, which are multiplexed
into a single DS3 signal. The multiplexing occurs just as with DS1-to-DS2 multiplexing.
The resulting DS3 signal uses either the standard M13 asynchronous framing format or
the C-bit parity framing format. Although the two framing formats differ in their use of
control and message bits, the basic frame structures are identical. The DS3 frame
structures are shown in Figure 5 on page 73 and Figure 6 on page 74.
A DS3 M-frame includes seven subframes, formed by DS2 data bits interleaved from the
seven multiplexed DS2 signals. Each subframe has eight 85-bit blocks—a DS3 OH bit
plus 84 data bits. The meaning of an OH bit depends on the block it precedes. Standard
DS3 M13 asynchronous framing format is shown in Figure 5 on page 73.
• Bit stuffing control bits (C-bits)—Serve as bit stuffing indicators for each DS2 input.
For example, C , C , and C are indicators for DS2 input 1. Their values indicate whether
11 12 13
DS3 bit stuffing has occurred at the multiplexer. If the three C-bits in a subframe are
all 0s, no stuffing was performed for the DS2 input. If the three C-bits are all 1s, stuffing
was performed.
• Parity bits (P-bits)—Compute parity over all but 1 bit of the M-frame. (The first X-bit
is not included.) Each DS3 frame contains 2 P-bits, which are located at the beginning
of subframes 3 and 4. Both P-bits must be identical.
If the previous DS3 frame contained an odd number of 1s, both P-bits are set to 1. If the
previous DS3 contained an even number of 1s, both P-bits are set to 0. If, on the receiving
side, the number of 1s for a given frame does not match the P-bits in the following
frame, it indicates one or more bit errors in the transmission.
In M13 framing, every C-bit in a DS3 frame is used for bit stuffing. However, because
multiplexers first use bit stuffing when multiplexing DS1 signals into DS2 signals, the
incoming DS2 signals are already synchronized. Therefore, the bit stuffing that occurs
when DS2 signals are multiplexed is redundant.
C-bit parity framing format redefines the function of C-bits and X-bits, using them to
monitor end-to-end path performance and provide in-band data links. The C-bit parity
framing structure is shown in Figure 6 on page 74.
In C-bit parity framing, the X-bits transmit error conditions from the far end of the link to
the near end. If no error conditions exist, both X-bits are set to 1. If an out-of-frame (OOF)
or alarm indication signal (AIS) error is detected, both X-bits are set to 0 in the upstream
direction for 1 second to notify the other end of the link about the condition.
The C-bits that control bit stuffing in M13 frames are typically used in the following ways
by C-bit parity framing:
• Application identification channel (AIC)—The first C-bit in the first subframe identifies
the type of DS3 framing used. A value of 1 indicates that C-bit parity framing is in use.
• Far-end alarm and control (FEAC) channel—The third C-bit in the first subframe is
used for the FEAC channel. In normal transmissions, the FEAC C-bit transmits all 1s.
When an alarm condition is present, the FEAC C-bit transmits a code word in the format
0xxxxxxx 11111111, in which x can be either 1 or 0. Bits are transmitted from right to left.
Table 14 on page 75 lists some C-bit code words and the alarm or status condition
indicated.
DS1 equipment failure occurred that requires immediate attention. 00001010 11111111
• Data links—The 12 C-bits in subframes 2, 5, 6, and 7 are data link (DL) bits for
applications and terminal-to-terminal path maintenance.
• DS3 parity—The 3 C-bits in the third subframe are DS3 parity C-bits (also called
CP-bits). When a DS3 frame is transmitted, the sending device sets the CP-bits to the
same value as the P-bits. When the receiving device processes the frame, it calculates
the parity of the M-frame and compares this value to the parity in the CP-bits of the
following M-frame. If no bit errors have occurred, the two values are typically the same.
• Far–end block errors (FEBEs)—The 3 C-bits in the fourth subframe make up the far-end
block error (FEBE) bits. If a framing or parity error is detected in an incoming M-frame
(via the CP-bits), the receiving device generates a C-bit parity error and sends an error
notification to the transmitting (far-end) device. If an error is generated, the FEBE bits
are set to 000. If no error occurred, the bits are set to 111.
• Requirements on page 76
• Overview on page 76
• Configuration on page 76
• Verification on page 77
Requirements
Before you begin, install a PIM, connect the interface cables to the ports, and power on
the device. See the Getting Started Guide for your device.
Overview
This example describes the initial configuration that you must complete on each network
interface. In this example, you configure the t3-1/0/0 interface as follows:
• You create the basic configuration for the new interface by setting the encapsulation
type to ppp. You can enter additional values for physical interface properties as needed.
• You set the logical interface to 0. Note that the logical unit number can range from 0
to 16,384. You can enter additional values for properties you need to configure on the
logical interface, such as logical encapsulation or protocol family.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure a T3 interface:
[edit]
user@host# edit interfaces t3-1/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
For brevity, this show interfaces command output includes only the configuration that is
relevant to this example. Any other configuration on the system has been replaced with
ellipses (...).
[edit]
...
t3-1/0/0 {
encapsulation ppp;
unit 0;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose By using the ping tool on each peer address in the network, verify that all interfaces on
the device are operational.
2. In the Remote Host box, type the address of the interface for which you want to verify
the link state.
Action From the operational mode, enter the show interfaces detail command.
The output shows 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
t3-1/0/0] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces>
t3-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 input and output bytes and packets matches expected throughput for the physical
interface. To clear the statistics and see only new changes, use the clear interfaces
statistics t3-1/0/0 command.
• Requirements on page 79
• Overview on page 79
• Configuration on page 79
• Verification on page 79
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you delete the t3-1/0/0 interface.
NOTE: Performing this action removes the interface from the software
configuration and disables it. Network interfaces remain physically present,
and their identifiers continue to appear on the J-Web pages.
Configuration
[edit interfaces]
user@host# delete t3-1/0/0
[edit interfaces]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
E3 is the equivalent European transmission format. E3 links are similar to T3 (DS3) links,
but carry signals at 34.368 Mbps. Each signal has 16 E1 channels, and each channel
transmits at 2.048 Mbps. E3 links use all 8 bits of a channel, whereas T3 links use 1 bit in
each channel for overhead.
The four DS2 subframes are not four DS1 channels. Instead, the DS1 data bits within the
subframes are formed by data interleaved from the DS1 channels. The 0 values designate
n
time slots devoted to DS1 inputs as part of the bit-by-bit interleaving process. After every
48 DS1 information bits (12 bits from each signal), a DS2 OH bit is inserted to indicate
the start of a subframe.
A DS2 connection requires a nominal transmit rate of 6.304 Mbps. However, because
multiplexers increase the overall output rate to the intermediate rate of 6.312 Mbps, the
output rate is higher than individual input rates on DS1 signals. The extra bandwidth is
used to stuff the incoming DS1 signals with extra bits until the output rate of each signal
equals the increased intermediate rate. These stuffed bits are inserted at fixed locations
in the DS2 M-frame. When DS2 frames are received and the signal is demultiplexed, the
stuffing bits are identified and removed.
DS3 Framing
A set of four DS1 signals is multiplexed into seven DS2 signals, which are multiplexed
into a single DS3 signal. The multiplexing occurs just as with DS1-to-DS2 multiplexing.
The resulting DS3 signal uses either the standard M13 asynchronous framing format or
the C-bit parity framing format. Although the two framing formats differ in their use of
control and message bits, the basic frame structures are identical. The DS3 frame
structures are shown in Figure 5 on page 73 and Figure 6 on page 74.
A DS3 M-frame includes seven subframes, formed by DS2 data bits interleaved from the
seven multiplexed DS2 signals. Each subframe has eight 85-bit blocks—a DS3 OH bit
plus 84 data bits. The meaning of an OH bit depends on the block it precedes. Standard
DS3 M13 asynchronous framing format is shown in Figure 5 on page 73.
• Bit stuffing control bits (C-bits)—Serve as bit stuffing indicators for each DS2 input.
For example, C , C , and C are indicators for DS2 input 1. Their values indicate whether
11 12 13
DS3 bit stuffing has occurred at the multiplexer. If the three C-bits in a subframe are
all 0s, no stuffing was performed for the DS2 input. If the three C-bits are all 1s, stuffing
was performed.
• Parity bits (P-bits)—Compute parity over all but 1 bit of the M-frame. (The first X-bit
is not included.) Each DS3 frame contains 2 P-bits, which are located at the beginning
of subframes 3 and 4. Both P-bits must be identical.
If the previous DS3 frame contained an odd number of 1s, both P-bits are set to 1. If the
previous DS3 contained an even number of 1s, both P-bits are set to 0. If, on the receiving
side, the number of 1s for a given frame does not match the P-bits in the following
frame, it indicates one or more bit errors in the transmission.
In M13 framing, every C-bit in a DS3 frame is used for bit stuffing. However, because
multiplexers first use bit stuffing when multiplexing DS1 signals into DS2 signals, the
incoming DS2 signals are already synchronized. Therefore, the bit stuffing that occurs
when DS2 signals are multiplexed is redundant.
C-bit parity framing format redefines the function of C-bits and X-bits, using them to
monitor end-to-end path performance and provide in-band data links. The C-bit parity
framing structure is shown in Figure 6 on page 74.
In C-bit parity framing, the X-bits transmit error conditions from the far end of the link to
the near end. If no error conditions exist, both X-bits are set to 1. If an out-of-frame (OOF)
or alarm indication signal (AIS) error is detected, both X-bits are set to 0 in the upstream
direction for 1 second to notify the other end of the link about the condition.
The C-bits that control bit stuffing in M13 frames are typically used in the following ways
by C-bit parity framing:
• Application identification channel (AIC)—The first C-bit in the first subframe identifies
the type of DS3 framing used. A value of 1 indicates that C-bit parity framing is in use.
• Far-end alarm and control (FEAC) channel—The third C-bit in the first subframe is
used for the FEAC channel. In normal transmissions, the FEAC C-bit transmits all 1s.
When an alarm condition is present, the FEAC C-bit transmits a code word in the format
0xxxxxxx 11111111, in which x can be either 1 or 0. Bits are transmitted from right to left.
Table 14 on page 75 lists some C-bit code words and the alarm or status condition
indicated.
DS1 equipment failure occurred that requires immediate attention. 00001010 11111111
• Data links—The 12 C-bits in subframes 2, 5, 6, and 7 are data link (DL) bits for
applications and terminal-to-terminal path maintenance.
• DS3 parity—The 3 C-bits in the third subframe are DS3 parity C-bits (also called
CP-bits). When a DS3 frame is transmitted, the sending device sets the CP-bits to the
same value as the P-bits. When the receiving device processes the frame, it calculates
the parity of the M-frame and compares this value to the parity in the CP-bits of the
following M-frame. If no bit errors have occurred, the two values are typically the same.
• Far–end block errors (FEBEs)—The 3 C-bits in the fourth subframe make up the far-end
block error (FEBE) bits. If a framing or parity error is detected in an incoming M-frame
(via the CP-bits), the receiving device generates a C-bit parity error and sends an error
notification to the transmitting (far-end) device. If an error is generated, the FEBE bits
are set to 000. If no error occurred, the bits are set to 111.
• Requirements on page 86
• Overview on page 86
• Configuration on page 86
• Verification on page 87
Requirements
Before you begin, install a PIM, connect the interface cables to the ports, and power on
the device. See the Getting Started Guide for your device.
Overview
This example describes the initial configuration that you must complete on each network
interface. In this example, you configure the t3-1/0/0 interface as follows:
• You create the basic configuration for the new interface by setting the encapsulation
type to ppp. You can enter additional values for physical interface properties as needed.
• You set the logical interface to 0. Note that the logical unit number can range from 0
to 16,384. You can enter additional values for properties you need to configure on the
logical interface, such as logical encapsulation or protocol family.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure a T3 interface:
[edit]
user@host# edit interfaces t3-1/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
For brevity, this show interfaces command output includes only the configuration that is
relevant to this example. Any other configuration on the system has been replaced with
ellipses (...).
[edit]
...
t3-1/0/0 {
encapsulation ppp;
unit 0;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose By using the ping tool on each peer address in the network, verify that all interfaces on
the device are operational.
2. In the Remote Host box, type the address of the interface for which you want to verify
the link state.
Action From the operational mode, enter the show interfaces detail command.
The output shows 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
t3-1/0/0] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces>
t3-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 input and output bytes and packets matches expected throughput for the physical
interface. To clear the statistics and see only new changes, use the clear interfaces
statistics t3-1/0/0 command.
• Requirements on page 89
• Overview on page 89
• Configuration on page 89
• Verification on page 89
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you delete the t3-1/0/0 interface.
NOTE: Performing this action removes the interface from the software
configuration and disables it. Network interfaces remain physically present,
and their identifiers continue to appear on the J-Web pages.
Configuration
[edit interfaces]
user@host# delete t3-1/0/0
[edit interfaces]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
The 1-Port Clear Channel DS3/E3 Gigabit-Backplane Physical Interface Module (GPIM)
for the device functions as a clear channel interface that can support full-duplex DS3
(T3) or E3 line rates of 44.796 or 34.368 Mbps, respectively. The DS3/E3 interface is a
popular high-bandwidth WAN interface for large enterprise branch locations that enables
high-quality voice, video, and data applications with reduced latency. The GPIM device
does not support channelization, but it supports a subrate DS3/E3 configuration.
Supported Features
The clear channel implementation provides such features as subrate and scrambling
options used by major DSU vendors. The following key features are available depending
on the interface and mode selections:
• Support for frame relay, point-to-point, and HDLC serial encapsulation protocols
• Support for popular vendor algorithms for subrate and payload scrambling
• Support for generation and detection of loopback control codes (line-loopback activate
and deactivate) and FEAC codes
Interface Naming
The following format represents the 1-Port Clear Channel DS3/E3 GPIM interface names:
type-fpc/pic/port
where:
• fpc—Number of the Flexible PIC Concentrator (FPC) card on which the physical interface
is located
You can reset the mode of the physical interface to E3 using the edit chassis command:
[edit]
user@host# set chassis fpc 1 pic 0 port 0 framing e3
You can specify the MTU size for the GPIM interface. Junos OS supports an MTU value
of 4474 bytes for the default value or up to 9192 bytes for maximum jumbo GPIM
implementations.
Network alarms Supported in accordance with the ANSI Supported in accordance with the
specification: ITU-T specification:
Table 16: 1-Port Clear Channel DS3/E3 GPIM Interface Options (continued)
Description DS3 Mode E3 Mode
Error counters Incremented during a periodic 1-second Incremented during a periodic 1-second
polling routine: polling routine:
HDLC Features
MTU Default (4474 bytes) or maximum jumbo Default (4474 bytes) or maximum
(up to 9192 bytes) jumbo (up to 9192 bytes)
Example: Configuring the 1-Port Clear-Channel DS3/E3 GPIM for M23 Mapping Mode
The following example configures the GPIM in DS3 with M23 mapping mode. Note that
M23 mapping does not provide C-bit parity.
• Requirements on page 95
• Overview on page 95
• Configuration on page 95
Requirements
Before you begin:
• Install the device as specified in the SRX Series Services Physical Interface Modules
Hardware Guide.
Overview
This example configures the basic T3 interface and modifies the framing to M23 mode
without C-bit parity.
Configuration
[edit]
user@host# set interfaces t3-8/0/0 unit 0 family inet address interface
192.107.1.230/24
[edit]
user@host# set interfaces t3-8/0/0 unit 0 family inet mtu 9018
[edit]
[edit]
user@host# set interfaces t3-8/0/0 t3-options no-cbit-parity
[edit]
user@host# commit
7. To verify the configuration for your device, enter the following operational command:
Example: Configuring the 1-Port Clear-Channel DS3/E3 GPIM for DS3 Port Mode
This example configures the GPIM in the DS3 (T3) operation mode.
• Requirements on page 96
• Overview on page 97
• Configuration on page 97
Requirements
Before you begin:
• Install the device as specified in the SRX Series Services Physical Interface Modules
Hardware Guide.
Overview
This example configures the basic T3 interface and modifies the framing to C-bit parity
mode.
Configuration
[edit]
user@host# set interfaces t3-8/0/0 unit 0 family inet address interface
192.107.1.230/24
[edit]
user@host# set interfaces t3-8/0/0 unit 0 family inet mtu 9018
[edit]
user@host# set interfaces t3-8/0/0 t3-options cbit-parity
[edit]
user@host# set interfaces t3-8/0/0 t3-options unframed
[edit]
user@host# commit
7. To verify the configuration for your device, enter the following operational command:
Example: Configuring the 1-Port Clear Channel DS3/E3 GPIM for E3 Port Mode
• Requirements on page 98
• Overview on page 98
• Configuration on page 98
Requirements
Before you begin:
• Install the device as specified in the SRX Series Services Physical Interface Modules
Hardware Guide.
Overview
This example configures the basic E3 interface.
Configuration
[edit]
user@host# set chassis fpc 8 pic 0 port 0 framing e3
[edit]
user@host# set interfaces e3-8/0/0 unit 0 family inet mtu 3474
[edit]
user@host# set interfaces e3-8/0/0 e3-options unframed
[edit]
user@host# commit
6. To verify the configuration for your device, enter the following operational command:
Asymmetric digital subscriber line (ADSL) technology is part of the xDSL family of modem
technologies that use existing twisted-pair telephone lines to transport high-bandwidth
data. ADSL lines connect service provider networks and customer sites over the "last
mile" of the network—the loop between the service provider and the customer site.
• For Annex A:
• For Annex M:
• For Annex B:
Supported security devices with Mini-PIMs can use PPP over Ethernet over ATM
(PPPoEoA) and PPP over ATM (PPPoA) to connect through ADSL lines only.
ADSL Systems
ADSL links run across twisted-pair telephone wires. When ADSL modems are connected
to each end of a telephone wire, a dual-purpose ADSL circuit can be created. Once
established, the circuit can transmit lower-frequency voice traffic and higher-frequency
data traffic.
To accommodate both types of traffic, ADSL modems are connected to plain old
telephone service (POTS) splitters that filter out the lower-bandwidth voice traffic and
the higher-bandwidth data traffic. The voice traffic can be directed as normal telephone
voice traffic. The data traffic is directed to the ADSL modem, which is typically connected
to the data network.
ADSL2+ doubles the possible downstream data bandwidth, enabling rates of 20 Mbps
on telephone lines shorter than 5000 feet (1.5 km).
ADSL2 uses seamless rate adaptation (SRA) to change the data rate of a connection
during operation with no interruptions or bit errors. The ADSL2 transceiver detects changes
in channel conditions—for example, the failure of another transceiver in a multicarrier
link—and sends a message to the transmitter to initiate a data rate change. The message
includes data transmission parameters such as the number of bits modulated and the
power on each channel. When the transmitter receives the information, it transitions to
the new transmission rate.
Constant bit rate (CBR) CBR is the service category for traffic with rigorous timing requirements like voice and certain
types of video. CBR traffic needs a constant cell transmission rate throughout the duration of the
connection.
Variable bit rate non-real VBR-NRT is intended for sources such as data transfer, which do not have strict time or delay
- time (VBR-NRT) requirements. VBR-NRT is suitable for packet data transfers.
Unspecified bit rate (UBR) UBR is ATM’s best-effort service, which does not provide any CoS guarantees. This is suitable for
noncritical applications that can tolerate or quickly adjust to loss of cells.
The ability of a network to guarantee class of service depends on the way in which the
source generates cells and also on the availability of network resources. The connection
contract between the user and the network thus contains information about the way in
which traffic is generated by the source.
A set of traffic descriptors is specified for this purpose. The network provides the class
of service for the cells that do not violate these specifications. The following are the
traffic descriptors specified for an ATM network:
• Maximum burst size (MBS)—The maximum burst size that can be sent at the peak
rate.
• Cell delay variation tolerance (CDVT)—Allows the user to delay the traffic for a
particular time duration in microseconds to follow a rhythmic pattern.
For traffic that does not require the ability to periodically burst to a higher rate, you can
specify a CBR. You can configure VBR-NRT for ATM interfaces, which supports VBR data
traffic with average and peak traffic parameters. VBR-NRT is scheduled with a lower
priority and with a larger sustained cell rate (SCR) limit, allowing it to recover bandwidth
if it falls behind.
On SRX300, SRX320, SRX340, SRX345, and SRX550HM devices, the ATM interface
takes more than 5 minutes to come up when CPE is configured in ANSI-DMT mode and
CO is configured in automode. This occurs only with ALU 7300 DSLAM, due to limitation
in current firmware version running on the ADSL Mini-PIM.
An SRX Series device with an ADSL interface supports LFI through an MLPPP.
NOTE: Currently, Junos OS supports bundling of only one xDSL link under
bundle interface.
To support MLPPP encapsulation and the family mlppp on the ADSL interface on an
SRX Series device, you enable an existing Junos OS CLI.
To establish an ADSL link between network devices, you must use some intermediate
connections. First, use an RJ-11 cable to connect the CPE (for example, an SRX Series
device) to a DSLAM patch panel to form an ADSL link. Then use OC3 or DS3 to connect
the DSLAM to M Series or E Series devices to form an ATM backbone.
You can configure the following properties for the ADSL and SHDSL interfaces:
• Physical properties
• Logical properties
You can configure the following physical properties for the interface:
• ATM virtual path identifier (VPI) options for the interface—for example, at-2/0/0:
• OAM period—Interval, in seconds, at which OAM cells are transmitted on ATM virtual
circuits—for example, 100. The range is from 1 through 900 seconds.
• adsl2plus—Configures the ADSL interface to train in ITU G.992.5 mode. You can
configure this mode only when it is supported on the DSLAM.
• itu-dmt-bis—Configures the ADSL interface to train in ITU G.992.3 mode. You can
configure this mode only when it is supported on the DSLAM.
• ansi-dmt—Configures the ADSL interface to train in the ANSI T1.413 Issue II mode.
• etsi—Configures the ADSL line to train in the ETSI TS 101 388 V1.3.1 mode.
• Loopback option for testing the SHDSL connection integrity–for example, local
loopback.
• local—Used for testing the SHDSL equipment with local network devices.
• Signal-to-noise ratio (SNR) margin—for example, 5 dB for either or both of the following
thresholds:
• current—Line trains at higher than current noise margin plus SNR threshold. The
range is from 0 to 10 dB. The default value is 0.
Setting 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. You can also disable the SNR margin
thresholds.
For PPP over ATM (PPPoA)-over-ADSL and over-SHDSL interfaces, use this type
of encapsulation.
You can configure the following logical properties for the interface:
• Logical interface. Set a value from 0 through 16,385—for example, 3. Add other values
if required by your network.
• ether-over-atm-llc—For interfaces that carry IPv4 traffic, use Ethernet over LLC
encapsulation. You cannot configure multipoint interfaces if you use this type of
encapsulation.
• OAM F5 loopback cell thresholds (“liveness”) on ATM virtual circuits. The range is
from 1 through 255, and the default is 5 cells.
• OAM period—Interval, in seconds, at which OAM cells are transmitted on ATM virtual
circuits—for example, 100. The range is from 1 through 900 seconds.
• Family protocol type—for example, inet. Commands vary depending on the protocol
type.
• ATM VCI value—A number from 0 through 4,089—for example, 35—with VCIs 0
through 31 reserved.
Requirements
Before you begin:
Overview
In this example, you set the ATM-over-SHDSL mode on the G.SHDSL interface, if required.
You create an interface called at-2/0/0 and configure the physical properties for the
interface. You configure the encapsulation type and annex type. You specify the SHDSL
line rate for the ATM-over-SHDSL interface and the loopback address for testing the
SHDSL connection integrity. Then you configure the SNR margin, set the logical interface,
and configure the encapsulation for the ATM-over-SHDSL logical unit.
Additionally, you configure the OAM liveness values for an ATM virtual circuit and set the
OAM period, Finally, you add the family protocol type inet and configure the VCI value.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
[edit]
user@host# set chassis fpc 6 pic 0 shdsl pic-mode 1-port-atm
2. Create an interface.
[edit]
user@host# edit interfaces at-2/0/0
[edit]
user@host# edit interfaces at-2/0/0 shdsl-options
user@host# set annex annex-a
7. Configure the loopback option for testing the SHDSL connection integrity.
[edit]
user@host# edit interfaces at-2/0/0 unit 3
11. Configure the OAM liveness values for an ATM virtual circuit
Results From configuration mode, confirm your configuration by entering the show interfaces
at-2/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-2/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 25 {
oam-period 100;
oam-liveness {
up-count 200;
down-count 200;
}
}
}
}
shdsl-options {
annex annex-a;
line-rate auto;
loopback local;
snr-margin {
current 5
snext 5;
}
}
unit 3 {
encapsulation atm-nlpid;
vci 35;
oam-period 100;
oam-liveness {
up-count 200;
down-count 200;
}
family inet;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action From operational mode, enter the show interfaces at-2/0/0 extensive command.
Loopback: None
Device flags : Present Running
Link flags : None
CoS queues : 8 supported
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:05:85:c7:44:3c
Last flapped : 2005-05-16 05:54:41 PDT (00:41:42 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 4520 0 bps
Output bytes : 39250 0 bps
Input packets: 71 0 pps
Output packets: 1309 0 pps
Input errors:
Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0,
Resource errors: 0
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 4 4 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
SHDSL status:
Line termination :STU-R
Annex :Annex B
Line Mode :2–wire
Modem Status :Data
Last fail code :0
Framer mode :ATM
Dying Gasp :Enabled
Chipset version :1
Firmware version :R3.0
SHDSL Statistics:
Loop Attenuation (dB) :0.600
Transmit power (dB) :8.5
Receiver gain (dB) :21.420
SNR sampling (dB) :39.3690
Bit rate (kbps) :2304
Bit error rate :0
CRC errors :0
SEGA errors :1
LOSW errors :0
Received cells :1155429
Transmitted cells :1891375
HEC errors :0
Cell drop :0
The output shows a summary of interface information. Verify the following information:
• The physical interface is enabled. If the interface is shown as disabled, do either of the
following:
• In the CLI configuration editor, delete the disable statement at the [edit
interfacesinterface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces page
(Interfaces>interface-name).
• 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. The last flapped time 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 interface-name command.
• No SHDSL alarms and defects appear that can render the interface unable to pass
packets. When a defect persists for a certain amount of time, it is promoted to an
alarm.
• ES—Errored seconds. One or more cyclic redundancy check (CRC) anomalies were
detected.
• UAS—Unavailable seconds. An interval has occurred during which one or more LOSW
defects were detected.
• Line mode—SHDSL mode configured on the G.SHDSL interface pair, either two-wire
or four-wire.
• Receiver gain (dB)—Maximum extraneous signal allowed without causing the output
to deviate from an acceptable level.
Requirements
Before you begin, configure network interfaces as necessary. See “Understanding Ethernet
Interfaces” on page 251.
Overview
In this example, you set the encapsulation as atm-mlppp-llc for the interface at-5/0/0.
You then configure the family MLPPP bundle as lsq-0/0/0.1.
Configuration
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode .
1. Configure an interface.
[edit]
user@host# edit interfaces at-5/0/0 unit 0
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces at-5/0/0
command.
This example shows how to configure DHCP client on ADSL or SHDSL or VDSL2 interface
(when VDSL2 interface is configured to operate in ADSL fallback mode).
Requirements
Before you begin:
• Review the overview section on DHCP client. See Understanding DHCP Client Operation
• Establish basic connectivity. See the Quick Start for your device.
Overview
In this example, you configure the ATM interface as at-1/0/0. You then set the logical
interface to unit 0 and specify the family protocol type as inet. Finally, you configure the
DHCP client.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm
[edit]
user@host# set interfaces at-1/0/0 atm-options vpi 2
[edit]
user@host# set interfaces at-1/0/0 dsl-options operating-mode auto
[edit]
user@host# set interfaces at-1/0/0 unit 0
[edit]
user@host# set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc
[edit]
user@host# set interfaces at-1/0/0 unit 0 vci 2.122
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet dhcp
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet dhcp client-identifier
00:0a:12:00:12:12
10. Set the DHCP lease time in seconds—for example, 86400 (24 hours). The range is
60 through 2147483647 seconds (optional).
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet dhcp lease-time 86400
11. Define the number of attempts allowed to retransmit a DHCP packet (optional)—for
example, 6
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet dhcp retransmission-attempt
6
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet dhcp retransmission-interval
5
13. Set the IPv4 address of the preferred DHCP server (optional)—for example, 10.1.1.1.
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet dhcp server-address 10.1.1.1
14. Set the vendor class ID for the DHCP client (optional)—for example, ether.
[edit]
user@host# set interfaces at-0/0/1 unit 0 family inet dhcp vendor-id ether
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 2;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation ether-over-atm-llc;
vci 2.122;
family inet {
dhcp {
client-identifier ascii 00:0a:12:00:12:12;
lease-time 86400;
retransmission-attempt 6;
retransmission-interval 5;
server-address 10.1.1.1;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action Verify the DHCP configuration by using the run show system services dhcp client command.
DHCP options:
Name: server-identifier, Value: 10.40.1.1
Code: 1, Type: ip-address, Value: 255.255.255.0
Name: name-server, Value: [ 192.168.5.68, 192.168.60.131, 172.17.28.100,
172.17.28.101 ]
Name: domain-name, Value: englab.juniper.net
Action Verify interface status by using the show interface terse command and test end-to-end
data path connectivity by sending the ping packets to the remote end IP address.
This example shows how to configure CHAP on either the ATM-over-ADSL or the
ATM-over-SHDSL interface.
Requirements
Before you begin, configure network interfaces as necessary. See “Understanding Ethernet
Interfaces” on page 251.
Overview
In this example, you specify the CHAP access profile and create an interface called
at-3/0/0. You configure CHAP on either the ATM-over-ADSL or the ATM-over-SHDSL
interface and specify a unique profile name called A-ppp-client containing a client list
and access parameters. You then specify a unique hostname called A-at-3/0/0.0 to be
used in CHAP. Finally, you set the passive option to handle incoming CHAP packets.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# set access profile A-ppp-client client client1 chap-secret my-secret
2. Create an interface.
[edit]
user@host# edit interfaces at-3/0/0 unit 0
Results From configuration mode, confirm your configuration by entering the show access profile
A-ppp-client and show interfaces at-3/0/0 commands. If the output does not display the
intended configuration, repeat the configuration instructions in this example to correct
it.
[edit]
user@host# show access profile A-ppp-client
client client1 chap-secret "$9$ikPQtu1Sre0BclMW-dk.P5QnApB"; ## SECRET-DATA
[edit]
user@host# show interfaces at-3/0/0
unit 0 {
ppp-options {
chap {
access-profile A-ppp-client;
local-name A-at-3/0/0.0;
passive;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action From operational mode, enter the show interfaces at-3/0/0 extensive command.
CRC : 0 0 0 0
FEC : 0 0 0 0
HEC : 0 0 0 0
Received cells : 0 49
Transmitted cells : 0 0
ATM status:
HCS state: Hunt
LOC : OK
ATM Statistics:
Uncorrectable HCS errors: 0, Correctable HCS errors: 0,Tx cell FIFO overruns:
0,Rx cell FIFO overruns: 0,Rx cell FIFO underruns: 0,
Input cell count: 49, Output cell count: 0,Output idle cell count: 0,Output
VC queue drops: 0Input no buffers: 0, Input length errors: 0,
Input timeouts: 0, Input invalid VCs: 0, Input bad CRCs: 0, Input OAM cell
no buffers: 0
But for ADSL MiniPim TI chipset does not send ADSL Chipset
Information. Also Adsl minipim does not send any alarms. So we can't
show alarm stats for minipim. So following information will not be
displayed in Minipim case.
The output shows a summary of interface information. Verify the following information:
• The physical interface is Enabled. If the interface is shown as Disabled, do either of the
following:
• In the CLI configuration editor, delete the disable statement at the [edit interfaces
interface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces page
(Interfaces>interface-name).
• The physical link is up. A link state of dDown 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 interface-name command.
• No ADSL alarms and defects appear that can render the interface unable to pass
packets. When a defect persists for a certain amount of time, it is promoted to an
alarm. The following are ADSL-specific alarms:
• LOF—Loss of frame
• LOM—Loss of multiframe
• LOP—Loss of power
• LOS—Loss of signal
Examine the operational statistics for an ADSL interface. Statistics in the ATU-R (ADSL
transceiver unit–remote) column are for the near end. Statistics in the ATU-C (ADSL
transceiver unit–central office) column are for the far end.
• Noise margin (dB)—Maximum extraneous signal allowed without causing the output
to deviate from an acceptable level.
Purpose Verify that the PPPoA configuration for an ATM-over-ADSL interface is correct.
Action From operational mode, enter the show interfaces at-3/0/0 and the show access
commands.
Action From operational mode, enter the show interfaces at-3/0/0 extensive command.
Loopback: None
Device flags : Present Running
Link flags : None
CoS queues : 8 supported
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:05:85:c7:44:3c
Last flapped : 2005-05-16 05:54:41 PDT (00:41:42 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 4520 0 bps
Output bytes : 39250 0 bps
Input packets: 71 0 pps
Output packets: 1309 0 pps
Input errors:
Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0,
Resource errors: 0
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 4 4 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
SHDSL status:
Line termination :STU-R
Annex :Annex B
The output shows a summary of interface information. Verify the following information:
• The physical interface is enabled. If the interface is shown as disabled, do either of the
following:
• In the CLI configuration editor, delete the disable statement at the [edit interfaces
interface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces page
(Interfaces>interface-name).
• 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 interface-name command.
• No SHDSL alarms and defects appear that can render the interface unable to pass
packets. When a defect persists for a certain amount of time, it is promoted to an
alarm.
• ES—Errored seconds. One or more cyclic redundancy check (CRC) anomalies were
detected.
• UAS—Unavailable seconds. An interval has occurred during which one or more LOSW
defects were detected.
• Line mode—SHDSL mode configured on the G.SHDSL interface pair, either two-wire
or four-wire.
• Dying gasp—Ability of a device that has lost power to send a message informing the
attached DSL access multiplexer (DSLAM) that it is about to go offline.
• Receiver gain (dB)—Maximum extraneous signal allowed without causing the output
to deviate from an acceptable level.
This example shows how to configure ATM-over-ADSL network interfaces for the devices.
Requirements
Before you begin:
Overview
This example shows how to use devices with ADSL Annex A or Annex B PIMs to send
network traffic through a point-to-point connection to a DSLAM. Within the example,
you set the DSL operating mode type to auto so that the ADSL interface will autonegotiate
settings with the DSLAM.
The example shows how to create an ATM interface called at-2/0/0. The values for the
interface’s physical properties are kept relatively low—the ATM VPI is set to 25; both the
OAM down count and up count are set to 200 cells; the OAM period is set to 100 seconds.
The example also shows how to set traffic shaping values on the ATM interface to support
CoS. CBR is enabled in order to stabilize the cell transmission rate throughout the duration
of the connection. Additionally, the VBR peak is set to 33,000 for data packet transfers.
Within the example, you set the encapsulation mode to ethernet-over-atm to support
PPP over Ethernet IPv4 traffic. You also configure a logical interface (unit 3). The logical
interface uses ATM NLPID encapsulation. As with the physical interface, the OAM down
count and up count are set to 200 cells on the logical interface and the OAM period is
set to 100 seconds. The family protocol is set to inet and the VCI is set to 35.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set interfaces at-2/0/0 atm-options vpi 25 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 atm-options vpi 25 oam-period 100
set interfaces at-1/0/0 unit 0 shaping cbr
set interfaces at-1/0/0 unit 0 shaping vbr peak 33000
set interfaces at-1/0/0 dsl-options operating-mode auto
set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 unit 3 encapsulation atm-nlpid oam-liveness up-count 200
down-count 200
set interfaces at-1/0/0 unit 3 oam-period 100
set interfaces at-1/0/0 unit 3 family inet
set interfaces at-1/0/0 unit 3 vci 35
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces at-2/0/0
3. Specify the CBR value and VBR value for the Ethernet interface.
[edit]
user@host# edit interfaces at-1/0/0 unit 0
user@host# set shaping cbr
user@host# set shaping vbr peak 33000
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show interfaces at-2/0/0 commands. If the output does not display the
intended configuration, repeat the configuration instructions in this example to correct
it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
dsl-options {
operating-mode auto;
}
unit 0 {
shaping {
vbr peak 33k;
burst
}
}
unit 3 {
encapsulation atm-nlpid;
vci 35;
oam-period 100;
oam-liveness {
up-count 200;
down-count 200;
}
family inet;
}
[edit]
user@host show interfaces at-2/0/0
atm-options {
vpi 25 {
oam-period 100;
oam-liveness {
up-count 200;
down-count 200
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action From operational mode, enter the show interfaces at-1/0/0 extensive command.
Output errors:
Carrier transitions: 3, Errors: 0, Drops: 0, Aged packets: 0, MTU errors:
0, Resource errors: 0
ADSL alarms : None
ADSL defects : None
ADSL media: Seconds Count State
LOF 1 1 OK
LOS 1 1 OK
LOM 0 0 OK
LOP 0 0 OK
LOCDI 0 0 OK
LOCDNI 0 0 OK
ADSL status:
Modem status : Showtime (Adsl2plus)
DSL mode : Auto Annex A
Last fail code: None
Subfunction : 0x00
Seconds in showtime : 6093
ADSL Chipset Information: ATU-R ATU-C
Vendor Country : 0x0f 0xb5
Vendor ID : STMI IFTN
Vendor Specific: 0x0000 0x70de
ADSL Statistics: ATU-R ATU-C
Attenuation (dB) : 0.0 0.0
Capacity used(%) : 100 92
Noise margin(dB) : 7.5 9.0
Output power (dBm) : 10.0 12.5
Interleave Fast Interleave Fast
CRC : 0 0 0 0
FEC : 0 0 0 0
HEC : 0 0 0 0
Received cells : 0 49
Transmitted cells : 0 0
ATM status:
HCS state: Hunt
LOC : OK
ATM Statistics:
Uncorrectable HCS errors: 0, Correctable HCS errors: 0,Tx cell FIFO overruns:
0,Rx cell FIFO overruns: 0,Rx cell FIFO underruns: 0,
Input cell count: 49, Output cell count: 0,Output idle cell count: 0,Output
VC queue drops: 0Input no buffers: 0, Input length errors: 0,
Input timeouts: 0, Input invalid VCs: 0, Input bad CRCs: 0, Input OAM cell
no buffers: 0
But for ADSL MiniPim TI chipset does not send ADSL Chipset
Information. Also Adsl minipim does not send any alarms. So we can't
show alarm stats for minipim. So following information will not be
displayed in Minipim case.
The output shows a summary of interface information. Verify the following information:
• The physical interface is enabled. If the interface is shown as disabled, do either of the
following:
• In the CLI, delete the disable statement at the [edit interfaces interface-name] level
of the configuration hierarchy.
• 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 interface-name command.
• No ADSL alarms and defects appear that can render the interface unable to pass
packets. When a defect persists for a certain amount of time, it is promoted to an
alarm. The following are ADSL-specific alarms:
• LOF—Loss of frame.
• LOM—Loss of multiframe.
• LOP—Loss of power.
• LOS—Loss of signal.
Examine the operational statistics for an ADSL interface. Statistics in the ATU-R (ADSL
transceiver unit–remote) column are for the near end. Statistics in the ATU-C (ADSL
transceiver unit–central office) column are for the far end.
• Noise margin (dB)—Maximum extraneous signal allowed without causing the output
to deviate from an acceptable level.
Purpose Verify that the PPPoA configuration for an ATM-over-ADSL interface is correct.
Action From operational mode, enter the show interfaces at-1/0/0 and the show access
commands.
Symmetric high-speed DSL (SHDSL) interfaces on some SRX Series devices support an
SHDSL multirate technology for data transfer between a single customer premises
equipment (CPE) subscriber and a central office (CO). ITU-T G.991.2 is the official
standard for describing SHDSL, also known as G.SHDSL.
Unlike ADSL, which delivers more bandwidth downstream than available upstream,
SHDSL is symmetrical and delivers a bandwidth of up to 2.3 Mbps in both directions.
Because business applications require high-speed digital transportation methods, SHDSL
is becoming very popular and gaining wide acceptance in the industry. Additionally,
SHDSL is compatible with ADSL and therefore causes very little, if any, interference
between cables.
SHDSL interfaces support Packet Transfer Mode (PTM). In PTM, packets (IP, PPP,
Ethernet, MPLS, and so on) are transported over DSL links as an alternative to using
Asynchronous Transfer Mode (ATM). PTM is based on the Ethernet in the First Mile (EFM)
IEEE 802.3ah standard.
• Example: Configuring the G.SHDSL Interface on SRX Series Devices on page 150
The G.SHDSL Mini-Physical Interface Module (Mini-PIM) provides the physical connection
to DSL network media types.
The G.SHDSL Mini-PIM provides the following Asynchronous Transfer Mode (ATM) key
features:
• 2-wire (4-port 2-wire) mode, 4-wire (2-port 4-wire) mode, and 8-wire (1-port 8-wire)
mode support
• Virtual circuits (VC) per Mini-PIM (10 maximum including OAM VC)
• ATM-over-G.SHDSL framing
• Point-to-Point Protocol over ATM and PPPoE over ATM encapsulation support
The G.SHDSL Mini-PIM provides extended ATM CoS functionality to cells across the
network. You can define bandwidth utilization, which consists of either a constant rate
or a peak cell rate, with sustained cell rate and burst tolerance. By default, unspecified
bit rate (UBR) is used because the bandwidth utilization is unlimited.
• Constant bit rate (CBR)—CBR is the service category for traffic with rigorous timing
requirements like voice and certain types of video. CBR traffic needs a constant cell
transmission rate throughout the duration of the connection.
• Variable bit rate, real-time (VBR-RT)—VBR-RT is intended for sources such as data
transfer, which takes place in real time. VBR-RT requires access to time slots at a rate
that can vary significantly from time to time.
Table 18 on page 139 displays the traffic descriptors specified for an ATM network.
Peak cell rate (PCR) Maximum rate at which traffic can burst.
Sustained cell rate (SCR) Normal traffic rate averaged over time.
Maximum burst size (MBS) Maximum burst size that can be sent at the peak rate.
The G.SHDSL Mini-PIM provides the following Packet Transfer Mode (PTM) Ethernet in
the First Mile (EFM) key features:
• IPv6 support
The following four annexes are supported on the G.SHDSL Mini-PIM in both ATM and
PTM EFM modes:
• Annex A
• Annex B
• Annex F
• Annex G
NOTE: A maximum of 16 Mbps is supported on SRX210, SRX220, SRX240, and SRX550 devices.
• Example: Configuring the G.SHDSL Interface on SRX Series Devices on page 150
Specify the wire mode on the G.SHDSL interface using one of the following options:
• Annex A
• Annex B
• Annex F
• Annex G
Specify the SHDSL line rate (speed of transmission of data on the SHDSL connection)
using one of the following values:
• ether-over-atm-llc—For interfaces that carry IPv4 traffic, use Ethernet over LLC
encapsulation. You cannot configure multipoint interfaces if you use this type of
encapsulation.
• Example: Configuring the G.SHDSL Interface on SRX Series Devices on page 150
Requirements
Before you begin, configure network interfaces as necessary. See “Understanding Ethernet
Interfaces” on page 251.
Overview
In this example, you specify the wire mode called 2-port-atm and create an interface
called at-1/0/0. You then specify the annex type as annex-a and set the line rate to auto.
Then you specify the encapsulation type as ethernet-over-atm and define a logical unit
as unit 3 that you connect to this physical G.SHDSL interface. You can set a value from
0 through 7. Finally, you configure the encapsulation type as ether-over-atm-llc.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# set chassis fpc 1 pic 0 shdsl pic-mode 2-port-atm
2. Create an interface.
[edit]
user@host# edit interfaces at-1/0/0 shdsl-options
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show chassis fpc 1 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
shdsl-options {
annex annex-a;
line-rate auto;
}
unit 3 {
encapsulation ether-over-atm-llc;
}
[edit]
user@host# show chassis fpc 1
pic 0 {
shdsl {
pic-mode 2-port-atm;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the G.SHDSL interface properties are configured properly.
Action From operational mode, enter the show interfaces at-1/0/0 extensive command.
Output errors:
Carrier transitions: 1, Errors: 0, Drops: 0, Aged packets: 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 1 1 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
SHDSL status:
Line termination : STU-R
Annex : Annex B
Line mode : 4-wire
Modem status : Data
Bit rate (kbps) : 4608
Last fail mode : No failure (0x00)
Framer mode : ATM
Dying gasp : Enabled
Framer sync status : In sync
Chipset version : 00
SHDSL statistics:
Loop attenuation (dB) : 0.0
Transmit power (dBm) : 0.0
Receiver gain (dB) : -inf
SNR sampling (dB) : inf
CRC errors : 0
SEGA errors : 0
LOSW errors : 0
Received cells : 0
Transmitted cells : 0
HEC errors : 0
Cell drop : 0
Packet Forwarding Engine configuration:
Destination slot: 1
CoS information:
Direction : Output
CoS transmit queue Bandwidth Buffer Priority
Limit
% bps % usec
0 best-effort 95 4377600 95 0 low
none
3 network-control 5 230400 5 0 low
none
Logical interface at-1/0/0.0 (Index 76) (SNMP ifIndex 133) (Generation 402)
Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: Ether-over-ATM-LLC
Traffic statistics:
Input bytes : 125
Output bytes : 116
Input packets: 2
Output packets: 1
Local statistics:
Input bytes : 125
Output bytes : 116
Input packets: 2
Output packets: 1
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Security: Zone: Null
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1468, Generation: 322, Route table: 0
Flags: None
Addresses, Flags: Is-Preferred Is-Primary
Destination: 17.1.1/24, Local: 17.1.1.1, Broadcast: 17.1.1.255, Generation:
496
VCI 1.70
Flags: Active, Multicast
Total down time: 0 sec, Last down: Never
ATM per-VC transmit statistics:
Tail queue packet drops: 0
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Logical interface at-1/0/0.32767 (Index 77) (SNMP ifIndex 141) (Generation 403)
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Security: Zone: Null
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
VCI 1.4
Flags: Active
Total down time: 0 sec, Last down: Never
ATM per-VC transmit statistics:
Tail queue packet drops: 0
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
The output shows a summary of interface information. Verify the following information:
• The physical interface is enabled. If the interface is shown as disabled, do either of the
following:
• In the CLI configuration editor, delete the disable statement at the [edit
interfacesinterface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces page
(Interfaces>interface-name).
• 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. The last flapped time 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 interface-name command.
• No SHDSL alarms and defects appear that can render the interface unable to pass
packets. When a defect persists for a certain amount of time, it is promoted to an
alarm.
• ES—Errored seconds. One or more cyclic redundancy check (CRC) anomalies were
detected.
• UAS—Unavailable seconds. An interval has occurred during which one or more LOSW
defects were detected.
• Line mode—SHDSL mode configured on the G.SHDSL interface pair, either two-wire
or four-wire.
• Dying gasp—Ability of a device that has lost power to send a message informing the
attached DSLAM that it is about to go offline.
• Receiver gain (dB)—Maximum extraneous signal allowed without causing the output
to deviate from an acceptable level.
• Example: Configuring the G.SHDSL Interface on SRX Series Devices on page 150
This example shows how to configure the G.SHDSL interface on SRX Series devices.
Requirements
Before you begin:
• Install the G.SHDSL Mini-PIM in the first slot of the SRX210 chassis.
• Connect the SRX210 device to a DSLAM (IP DSLAM and ATM DSLAM).
Overview
Figure 11 on page 151 shows the topology for the G.SHDSL Mini-PIM operating in 2X4-wire
mode.
Figure 12 on page 151 shows the topology for the G.SHDSL Mini-PIM operating in 4X2-wire
mode.
Figure 13 on page 152 shows the topology for the G.SHDSL Mini-PIM operating in 1X8-wire
mode.
Determine the operating wire mode (2-wire, 4-wire, or 8-wire) and corresponding CLI
code listed in Table 20 on page 152.
NOTE: When the wire mode is set to 8-wire, one physical interface (IFD) is
created. Similarly for 4-wire mode and 2-wire mode, two IFDs and four IFDs
are created, respectively.
In this example, you first configure a basic G.SHDSL interface. You set the operation wire
mode to 2-port-atm, the line rate to 4096, and the annex type to annex-a.
You then configure the G.SHDSL interface when the device is connected to an IP DSLAM.
You set the type of encapsulation to ethernet-over-atm and the ATM VPI option to 0.
Then you set the type of encapsulation on the G.SHDSL logical interface as
ether-over-atm-llc and configure the ATM VCI option to 0.60. Also, you set the interface
address for the logical interface to 1.1.1.1/24.
Then you configure the G.SHDSL interface when the device is connected to an ATM
DSLAM. You set the type of encapsulation to atm-pvc and the ATM VPI to 0. Then you
set the type of encapsulation on the G.SHDSL logical interface to atm-snap and the ATM
VCI to 0.65. Also, you set the interface address for the logical interface to 2.1.1.1/24
Next you configure PPPoE over ATM for the G.SHDSL Interface. You then set the ATM
VPI to 0 and set the type of encapsulation to ppp-over-ether-over-atm-llc. You specify
a PPPoE interface with the PAP access profile, local-name, and local-password. Then
you configure the passive option to handle incoming PAP packets and set the logical
interface as the underlying interface for the PPPoE session to at-1/0/0.0. Also, you set
the number of seconds to 120 to wait before reconnecting after a PPPoE session is
terminated. (The range is 1 through 4,294,967,295 seconds.) You then specify the logical
interface as the client for the PPPoE interface and obtain an IP address by negotiation
with the remote end.
Finally, you configure PPPoA over ATM for the G.SHDSL Interface. You set the type of
encapsulation to atm-pvc and the ATM VPI to 0. You then set the type of encapsulation
for PPP over ATM adaptation layer 5 (AAL5) logical link control (LLC) on the logical
interface and set the ATM VCI to 122. You configure the PPPoA interface with the CHAP
access profile as juniper and set the local-name for the CHAP interface to srx-210. Finally,
you obtain an IP address by negotiation with the remote end.
Configuration
• Configuring a Basic G.SHDSL Interface on page 153
• Configuring a G.SHDSL Interface When Connected to an IP DSLAM on page 154
• Configuring a G.SHDSL Interface When Connected to an ATM DSLAM on page 155
• Configuring PPPoE over ATM for the G.SHDSL Interface on page 157
• Configuring PPPoA over ATM for the G.SHDSL Interface on page 159
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# set chassis fpc 1 pic 0 shdsl pic-mode 2-port-atm
[edit]
user@host# edit interfaces at-1/0/0 shdsl-options
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show chassis fpc 1 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
shdsl-options {
annex annex-a;
line-rate 4096;
}
[edit]
user@host# show chassis fpc 1
pic 0 {
shdsl {
pic-mode 2-port-atm;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure the G.SHDSL interface on an SRX210 device when the device is connected
to an IP DSLAM:
1. Create an interface.
[edit]
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 0;
}
unit 0 {
encapsulation ether-over-atm-llc;
vci 0.60;
family inet {
address 1.1.1.1/24;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure the G.SHDSL interface on an SRX210 device when the device is connected
to an ATM DSLAM:
1. Create an interface.
[edit]
user@host# edit interfaces at-1/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 0;
}
unit 0 {
encapsulation atm-snap;
vci 0.65;
family inet {
address 2.1.1.1/24
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
1. Create an interface.
[edit]
user@host# edit interfaces at-1/0/0
[edit]
user@host# edit interfaces pp0 unit 0 ppp-options pap
user@host# set access-profile pap_prof
10. Specify the logical interface as the underlying interface for the PPPoE session.
[edit]
user@host# edit interfaces pp0 unit 0 pppoe-options
user@host# set underlying-interface at-1/0/0.0
12. Set the logical interface as the client for the PPPoE interface.
[edit]
user@host# edit interfaces pp0 unit 0
user@host# set family inet negotiate-address
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show interfaces pp0 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 0;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 0.35;
}
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
pap {
access-profile pap_prof;
local-name srx-210;
local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre";
passive;
}
}
pppoe-options {
underlying-interface at-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
negotiate-address;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
1. Create an interface.
[edit]
user@host# edit interfaces at-1/0/0
[edit]
user@host# edit interfaces at-1/0/0 unit 0
user@host# set encapsulation atm-ppp-llc
[edit]
user@host# edit interfaces at-1/0/0 unit 0 ppp-options chap
user@host# set access-profile juniper
[edit]
user@host# edit interfaces at-1/0/0 unit 0
user@host# set family inet negotiate-address
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 0;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 1.122;
ppp-options {
chap {
access-profile juniper;
local-name srx-210;
}
}
family inet {
negotiate-address;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the G.SHDSL interface properties are configured properly.
Action From operational mode, enter the show interfaces at-1/0/0 extensive command.
This example shows how to configure the G.SHDSL interface in Ethernet in the First Mile
(EFM) mode on an SRX210 device, but it applies to the SRX220, SRX240, and SRX550
devices as well.
Requirements
This example uses the following hardware and software components:
• An SRX210 device
• Install the G.SHDSL Mini-PIM in the first slot of the SRX210 chassis.
You then configure the G.SHDSL interface when the device is connected to an EFM IP
DSLAM. You set the logical interface to 10.10.10.1/24.
Next you configure PPPoE for the G.SHDSL Interface. Configure the encapsulation as
ppp-over-ether under unit 0 of pt-1/0/0 interface. You specify a PPPoE interface with
the PAP access profile, local name, and local password. Then you configure the passive
option to handle incoming PAP packets and set the logical interface as the underlying
interface for the PPPoE session to pt-1/0/0.0. Also, you set the number of seconds to
120 to wait before reconnecting after a PPPoE session is terminated. (The range is 1
through 4,294,967,295 seconds.) Finally, you specify the logical interface as the client
for the PPPoE interface and obtain an IP address by negotiation with the remote end.
Figure 14 on page 163 shows the topology for the G.SHDSL Mini-PIM operating in EFM
mode.
g034423
SRX210/SRX220/ RJ-45 cable split into Patch Panel DSLAM with G.SHDSL
SRX240/SRX550 (CPE) four RJ-11 connectors EFM line cards
with 2-wire support
Table 21 on page 163 lists the operating wire mode for EFM and its corresponding CLI code.
NOTE: When PIC mode is set to EFM, an interface called pt-1/0/0 is created.
Configuration
• Configuring a Basic G.SHDSL Interface in EFM PIC Mode on page 163
• Configuring PPPoE and VLAN for the G.SHDSL EFM Interface on page 165
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
[edit]
user@host# set interfaces pt-1/0/0 unit 0 family inet address 10.10.10.1/24
NOTE: By default, annex mode and line rate are set to auto. If you have
to configure annex mode (annex-g) and line rate (5696 Kbps), follow
Steps 3, 4, and 5.
[edit]
user@host# set interfaces pt-1/0/0 shdsl-options
Results From configuration mode, confirm your configuration by entering the show interfaces
pt-1/0/0 and show chassis fpc 1 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pt-1/0/0
shdsl-options {
annex annex-g;
line-rate 5696;
}
unit 0 {
family inet {
address 10.10.10.1/24;
}
}
[edit]
user@host# show chassis fpc 1
pic 0 {
shdsl {
pic-mode efm;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
1. Create an interface.
[edit]
user@host# set interfaces pt-1/0/0
[edit]
user@host# set interfaces pp0 unit 0 ppp-options pap
user@host# set access-profile pap_prof
7. Specify the logical interface as the underlying interface for the PPPoE session.
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options
user@host# set underlying-interface pt-1/0/0.0
9. Set the logical interface as the client for the PPPoE interface.
[edit interfaces]
user@host# set pp0 unit 0 family inet negotiate-address
[edit interfaces]
user@host# set pt-1/0/0 vlan-tagging
[edit interfaces]
user@host# set pt-1/0/0 unit 0 vlan-id 99
Results From configuration mode, confirm your configuration by entering the show interfaces
pt-1/0/0 and show interfaces pp0 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pt-1/0/0
vlan-tagging;
unit 0 {
encapsulation ppp-over-ether;
vlan-id 99;
}
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
pap {
access-profile pap_prof;
local-name srx-210;
local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre";
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
negotiate-address;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Purpose Verify that the G.SHDSL interface properties are configured properly.
Action From operational mode, enter the show interfaces pt-1/0/0 extensive command.
Traffic statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Input errors:
Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0,
L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors:
0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0,
Resource errors: 0
EFM Group Statistics:
Type : EFM bond
Active Pairs : 4
Bit rate (in Kbps) : 22784
Line Pair 0 : Up
Active alarms : None
Active defects : None
SHDSL media: Seconds Count State
ES 0
SES 0
UAS 0
SHDSL status:
Line termination : STU-R
Annex : Annex G
Line mode : 2-wire
Modem status : Data
Bit rate (kbps) : 5696
Last fail mode : No failure (0x00)
Framer mode : EFM
PAF Status : Active
Dying gasp : Enabled
Framer sync status : In sync
SHDSL statistics:
Loop attenuation (dB) : 0.0
Transmit power (dBm) : 14.0
SNR sampling (dB) : 14.0000
CRC errors : 2
SEGA errors : 0
LOSW errors : 0
Line Pair 1 : Up
Active alarms : None
Active defects : None
SHDSL media: Seconds Count State
ES 0
SES 0
UAS 0
SHDSL status:
Line termination : STU-R
Annex : Annex G
Line mode : 2-wire
Modem status : Data
Bit rate (kbps) : 5696
Last fail mode : No failure (0x00)
Framer mode : EFM
PAF Status : Active
Dying gasp : Enabled
Framer sync status : In sync
SHDSL statistics:
Loop attenuation (dB) : 0.0
% bps % usec
0 best-effort 95 21644800 95 0 low
none
3 network-control 5 1139200 5 0 low
none
Meaning The output shows a summary of interface information. Verify the following information:
• The physical interface is enabled. If the interface is shown as disabled, do either of the
following:
• In the CLI configuration editor, delete the disable statement at the [edit
interfacesinterface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces page
(Interfaces>interface-name).
• 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. The last flapped time 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 interface-name command.
No SHDSL alarms and defects appear that can render the interface unable to pass
packets. When a defect persists for a certain amount of time, it is promoted to an
alarm.
• ES—Errored seconds. One or more cyclic redundancy check (CRC) anomalies were
detected.
• UAS—Unavailable seconds. An interval has occurred during which one or more LOSW
defects were detected.
• Line mode—SHDSL mode configured on the G.SHDSL interface pair, and it should be
two-wire.
• PAF Status—Either Active/Inactive depending upon whether link added to EFM group
or not.
• Example: Configuring the G.SHDSL Interface on SRX Series Devices on page 150
Very-high-bit-rate digital subscriber line (VDSL) technology is part of the xDSL family of
modem technologies that provide faster data transmission over a single flat untwisted
or twisted pair of copper wires. The VDSL lines connect service provider networks and
customer sites to provide high bandwidth applications (triple-play services) such as
high-speed Internet access, telephone services like VoIP, high-definition TV (HDTV), and
interactive gaming services over a single connection.
The VDSL2 uses discrete multitone (DMT) modulation. DMT is a method of separating
a digital subscriber line signal so that the usable frequency range is separated into 256
frequency bands (or channels) of 4.3125 KHz each. The DMT uses the Fast Fourier
Transform (FFT) algorithm for demodulation or modulation for increased speed.
VDSL2 interface supports Packet Transfer Mode (PTM). The PTM mode transports
packets (IP, PPP, Ethernet, MPLS, and so on) over DSL links as an alternative to using
Asynchronous Transfer Mode (ATM). PTM is based on the Ethernet in the First Mile (EFM)
IEEE802.3ah standard.
VDSL2 provides backward compatibility with ADSL, ADSL2, and ADSL2+ because this
technology is based on both the VDSL1-DMT and ADSL2/ADSL2+ recommendations.
In standard telephone cables of copper wires, voice signals use only a fraction of the
available bandwidth. Like any other DSL technology, the VDSL2 technology utilizes the
remaining capacity to carry the data and multimedia on the wire without interrupting the
line's ability to carry voice signals.
This example depicts the typical VDSL2 network topology deployed using SRX Series
Services Gateways.
3. The VDSL2 interface uses either Gigabit Ethernet or fiber as second mile to connect
to the Broadband Remote Access Server (B-RAS) as shown in Figure 15 on page 175.
4. The ADSL interface uses either Gigabit Ethernet (in case of IP DSLAM] as the “second
mile” to connect to the B-RAS or OC3/DS3 ATM as the second mile to connect the
B-RAS as shown in Figure 16 on page 175.
The DSLAM accepts connections from many customers and aggregates them to a
single, high-capacity connection to the Internet.
Figure 16 on page 175 shows a backward-compatible ADSL topology using ATM DSLAM.
The VDSL2 interface is supported on the SRX Series devices listed in Table 22 on page 176.
(Platform support depends on the Junos OS release in your installation.)
Supported standards ITU-T G.993.2 and ITU-T ITU-T G.993.2 and ITU-T
G.993.5 (VDSL2) G.993.5 (VDSL2)
ADSL backward compatibility ADSL G992.5-A (ADSL Annex ADSL G992.5-B (ADSL Annex
A) B)
NOTE:
• The VDSL2 interface has backward compatibility with
ADSL/ADSL2/ADSL2+. The VDSL2 interface is represented by the pt
interface when configured to function as VDSL2, and the ADSL interface
is represented by the at interface when configured to function as ADSL.
Table 23 on page 177 lists VDSL2 operating modes and their backward compatibility with
ADSL interface standards.
NOTE: On SRX210, SRX220, and SRX240 devices, every time the VDSL2
Mini-PIM is restarted in the ADSL mode, the first packet passing through the
Mini-PIM is dropped.
8a 50
8b 50
8c 50
8d 50
12a 68
12b 68
17a 100
• ATM quality of service (QoS) (supported only when the VDSL2 Mini-PIM is operating
in ADSL2 mode)
• Multilink Point-to-Point Protocol (MLPPP) (supported only when the VDSL2 Mini-PIM
is operating in ADSL2 mode)
• MTU size of 1514 bytes (maximum) in VDSL2 mode and 1496 bytes in ADSL mode.
This example shows how to configure the integrated VDSL2 interfaces for SRX320 (Annex
B) in ADSL backward compatible mode.
Requirements
Before you begin:
• Establish basic connectivity. See the Quick Start Guide for your device for factory default
settings.
• Make sure that you have deleted the previous configurations on pt-1/0/0 and pp0.
Overview
In this example, you create a VDSL2 interface called pt-1/0/0, specify the type of
encapsulation, and set the VDSL2 profile to auto.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure the VDSL2 interfaces for the SRX320 in ADSL backward compatible mode:
Procedure
1. Set operating mode.
[edit]
user@host# user@host# set interfaces at-1/0/0 dsl-options operating-mode auto
[edit]
user@host# set interfaces at-1/0/0 atm-options vpi 0
[edit]
user@host# set interfaces at-1/0/0 unit 0 vci 0.33
[edit]
user@host# set interfaces fe-0/0/3 unit 0 family inet address 10.10.10.1/24
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
If you are done configuring the device, enter commit from configuration mode.
Action From operational mode, enter the show interfaces at-1/0/0 extensive command.
Resource errors: 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 0 0 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
Logical interface at-1/0/0.0 (Index 73) (SNMP ifIndex 533) (Generation 157)
Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-SNAP
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf pgm pim rip router-discovery rsvp sap vrrp
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
VCI 0.33
Flags: Active
Total down time: 0 sec, Last down: Never
ATM per-VC transmit statistics:
Tail queue packet drops: 0
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Input packets: 0
Output packets: 0
The output shows a summary of VDSL2 interface. Verify the following information:
This example shows how to configure ADSL Interfaces for SRX Series devices.
This example uses VDSL2 Mini-PIM installed on SRX320 devices. The information is also
applicable to SRX340 devices (with VDSL2 Mini-PIMs).
Requirements
Before you begin:
• Install Junos OS Release 10.1 or later for the SRX Series devices.
• Set up and perform initial configuration on the SRX Series device. See Quick Start Guide
of your device for factory default settings.
• Ensure that the SRX320 device is connected to a DSLAM that supports VDSL2-to-ADSL
fallback.
Overview
In this example, you configure the ADSL interface for end-to-end data path. Then you
configure PPPoA on the at-1/0/0 interface with a negotiated IP address and either PAP
authentication or CHAP authentication. You also configure a static IP address and an
unnumbered IP address (and either PAP authentication or CHAP authentication) for
PPPoA on the at-1/0/0 interface.
Finally, you configure PPPoE on the at-1/0/0 interface with a negotiated IP address and
either PAP authentication or CHAP authentication.
Configuration
• Configuring the ADSL Interface for End-to-End Data Path on page 186
• Configuring PPPoA on the at-1/0/0 Interface with Negotiated IP and PAP
Authentication on page 187
• Configuring PPPoA on the at-1/0/0 Interface with Negotiated IP and CHAP
Authentication on page 189
• Configuring PPPoA on the at-1/0/0 Interface with Static IP and PAP
Authentication on page 190
• Configuring PPPoA on the at-1/0/0 Interface with Static IP and CHAP
Authentication on page 191
• Configuring PPPoA on the at-1/0/0 Interface with Unnumbered IP and PAP
Authentication on page 193
• Configuring PPPoA on the at-1/0/0 Interface with Unnumbered IP and CHAP
Authentication on page 194
• Configuring PPPoE over ATM on the at-1/0/0 Interface with Negotiated IP and PAP
Authentication on page 196
• Configuring PPPoE over ATM on the at-1/0/0 Interface with Negotiated IP and CHAP
Authentication on page 198
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# delete interfaces at-1/0/0
[edit]
user@host# set interfaces at-1/0/0 encapsulation atm-pvc
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 dsl-options operating-mode itu-dmt
user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-snap
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
user@host# set interfaces at-1/0/0 unit 0 family inet address 10.10.10.1/24
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 2;
}
dsl-options {
operating-mode itu-dmt;
}
encapsulation atm-snap;
vci 2.119;
family inet {
address 10.10.10.1/24;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoA on the at-1/0/0 interface with negotiated IP and PAP authentication:
Procedure
1. Configure encapsulation and ATM options.
[edit]
[edit]
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap access-profile jnpr
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-name locky
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-password india
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet negotiate-address
[edit]
user@host# set access profile jnpr client sringeri pap-password india
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show access profile jnpr commands. If the output does not display the
intended configuration, repeat the configuration instructions in this example to correct
it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 2;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 2.119;
ppp-options {
pap {
access-profile jnpr;
local-name locky;
local-password "$9$tm/auBEx7V2gJevWx"; ## SECRET-DATA
}
}
family inet {
negotiate-address;
}
}
[edit]
user@host# show access profile jnpr
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoA on the at-1/0/0 interface with negotiated IP and CHAP
Procedure Authentication:
[edit]
user@host# set interfaces at-1/0/0 encapsulation atm-pvc
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
[edit]
user@host# set interfaces at-1/0/0 unit 0 ppp-options chap access-profile jnpr
user@host# set interfaces at-1/0/0 unit 0 ppp-options chap local-name locky
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet negotiate-address
[edit]
user@host# set access profile jnpr client sringeri chap-secret india
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show access profile jnpr commands. If the output does not display the
intended configuration, repeat the configuration instructions in this example to correct
it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 2;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 2.119;
ppp-options {
chap {
access-profile jnpr;
local-name locky;
}
}
family inet {
negotiate-address;
}
}
[edit]
user@host# show access profile jnpr
client sringeri chap-secret "$9$qm5FIRSKvLAp0I"; ## SECRET-DATA
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoA on the at-1/0/0 interface with static IP and PAP authentication:
Procedure
1. Configure encapsulation and ATM options.
[edit]
user@host# set interfaces at-1/0/0 encapsulation atm-pvc
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
[edit]
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap access-profile jnpr
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-name locky
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-password india
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet address 100.100.100.1/24
[edit]
user@host# set access profile jnpr client sringeri pap-password india
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show access profile jnpr commands. If the output does not display the
intended configuration, repeat the configuration instructions in this example to correct
it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 2;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 2.119;
ppp-options {
pap {
access-profile jnpr;
local-name locky;
local-password "$9$GoDHmtpBhclFn/t"; ## SECRET-DATA
}
}
family inet {
address 100.100.100.1/24;
}
}
[edit]
user@host# show access profile jnpr
client sringeri pap-password "$9$p87c01h7Nbg4ZKM87"; ## SECRET-DATA
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoA on the at-1/0/0 interface with static IP and CHAP authentication:
Procedure
1. Configure encapsulation and ATM options.
[edit]
user@host# set interfaces at-1/0/0 encapsulation atm-pvc
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
[edit]
user@host# set interfaces at-1/0/0 unit 0 ppp-options chap access-profile jnpr
user@host# set interfaces at-1/0/0 unit 0 ppp-options chap local-name locky
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet address 100.100.100.1/24
[edit]
user@host# set access profile jnpr client sringeri chap-secret india
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show access profile jnpr commands. If the output does not display the
intended configuration, repeat the configuration instructions in this example to correct
it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 2;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 2.119;
ppp-options {
chap {
access-profile jnpr;
local-name locky;
}
}
family inet {
address 100.100.100.1/24;
}
}
[edit]
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoA on the at-1/0/0 interface with unnumbered IP and PAP
Procedure authentication:
[edit]
user@host# set interfaces at-1/0/0 encapsulation atm-pvc
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 dsl-options operating-mode auto
user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
[edit]
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap access-profile jnpr
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-name locky
user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-password india
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address lo0.0
user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address
destination 100.100.100.6
user@host# set interfaces lo0 unit 0 family inet address 100.100.100.20/32
[edit]
user@host# set access profile jnpr client sringeri pap-password india
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0, show interfaces lo0, and show access profile jnpr commands. If the output does
not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 2;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 2.119;
ppp-options {
pap {
access-profile jnpr;
local-name locky;
local-password "$9$LA7x-wHkPzF/aZUH"; ## SECRET-DATA
}
}
family inet {
unnumbered-address lo0.0 destination 100.100.100.6;
}
}
[edit]
user@host# show interfaces lo0
unit 0 {
family inet {
address 100.100.100.20/32;
}
}
[edit]
user@host# show access profile jnpr
client sringeri pap-password "$9$1mSRclbwgZGiLxNb"; ## SECRET-DATA
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoA on the at-1/0/0 interface with unnumbered IP and CHAP
Procedure authentication:
[edit]
user@host# set interfaces at-1/0/0 encapsulation atm-pvc
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
[edit]
user@host# set interfaces at-1/0/0 unit 0 ppp-options chap access-profile jnpr
user@host# set interfaces at-1/0/0 unit 0 ppp-options chap local-name locky
[edit]
user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address lo0.0
user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address
destination 100.100.100.6
user@host# set interfaces lo0 unit 0 family inet address 100.100.100.10/32
[edit]
user@host# set access profile jnpr client sringeri chap-secret india
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0, show interfaces lo0, and show access profile jnpr commands. If the output does
not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show interfaces at-1/0/0
show interfaces at-1/0/0
atm-options {
vpi 2;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 2.119;
ppp-options {
chap {
access-profile jnpr;
local-name locky;
}
}
family inet {
unnumbered-address lo0.0 destination 100.100.100.6;
}
}
[edit]
user@host# show interfaces lo0
unit 0 {
family inet {
address 100.100.100.10/32;
}
}
[edit]
user@host# show access profile jnpr
client sringeri chap-secret "$9$.PT3REyvMXtuOR"; ## SECRET-DATA
If you are done configuring the device, enter commit from configuration mode.
Configuring PPPoE over ATM on the at-1/0/0 Interface with Negotiated IP and
PAP Authentication
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoE over ATM on the at-1/0/0 interface with negotiated IP and PAP
Procedure authentication:
[edit]
user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
user@host# set interfaces at-1/0/0 unit 0 encapsulation
ppp-over-ether-over-atm-llc
[edit]
user@host# set interfaces pp0 unit 0 ppp-options pap access-profile my_prf
user@host# set interfaces pp0 unit 0 ppp-options pap local-name purple
user@host# set interfaces pp0 unit 0 ppp-options pap local-password <password>
user@host# set interfaces pp0 unit 0 ppp-options pap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface at-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet negotiate-address
[edit]
user@host# set access profile my_prf authentication-order password
user@host# set access profile my_prf
Results From configuration mode, confirm your configuration by entering the set access profile
my_prf, show access profile my_prf, and show interfaces pp0 commands. If the output
does not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 2;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 2.119;
}
[edit]
user@host# show access profile my_prf
authentication-order password;
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
pap {
access-profile my_prf;
local-name purple;
local-password "$9$YkgoZTQn9CuZU69A0hcdbsYoGikP"; ## SECRET-DATA
passive;
}
}
pppoe-options {
underlying-interface at-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
negotiate-address;
}
}
If you are done configuring the device, enter commit from configuration mode.
Configuring PPPoE over ATM on the at-1/0/0 Interface with Negotiated IP and
CHAP Authentication
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoE over ATM on the at-1/0/0 interface with negotiated IP and CHAP
Procedure authentication:
[edit]
user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm
user@host# set interfaces at-1/0/0 atm-options vpi 2
user@host# set interfaces at-1/0/0 unit 0 vci 2.119
user@host# set interfaces at-1/0/0 unit 0 encapsulation
ppp-over-ether-over-atm-llc
[edit]
user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret
<password>
user@host# set interfaces pp0 unit 0 ppp-options chap local-name purple
user@host# set interfaces pp0 unit 0 ppp-options chap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface at-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet negotiate-address
Results From configuration mode, confirm your configuration by entering the show interfaces
at-1/0/0 and show interfaces pp0 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 2;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 2.119;
}
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
chap {
default-chap-secret "$9$QQCIFn9cSeMWx9AKM87sYmfTQnCuOR"; ##
SECRET-D ATA
local-name purple;
passive;
}
}
pppoe-options {
underlying-interface at-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
negotiate-address;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
• Verifying the ADSL Interface for End-to-End Data Path on page 200
• Verifying PPPoA on the at-1/0/0 Interface with Negotiated IP and PAP
Authentication on page 201
• Verifying PPPoA on the at-1/0/0 Interface with Negotiated IP and CHAP
Authentication on page 202
• Verifying PPPoA on the at-1/0/0 Interface with Static IP and PAP
Authentication on page 204
• Verifying PPPoA on the at-1/0/0 Interface with Static IP and CHAP
Authentication on page 205
• Verifying PPPoA on the at-1/0/0 Interface with Unnumbered IP and PAP
Authentication on page 207
Action From operational mode, enter the show interface at-1/0/0 terse and show interfaces
at-1/0/0 commands.
[edit]
user@host# run ping 10.10.10.2 count 1000 rapid
PING 10.10.10.2 (10.10.10.2): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 10.10.10.2 ping statistics ---
1000 packets transmitted, 1000 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.141/9.356/58.347/3.940 ms
[edit]
user@host#
Purpose Verify the interface status and end-to-end data path connectivity.
Action From operational mode, enter the show interfaces at-1/0/0 and show interfaces at-1/0/0
terse commands.
Input packets : 2
Output packets: 2
Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
Keepalive: Input: 8 (00:00:01 ago), Output: 9 (00:00:03 ago)
LCP state: Opened
NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
Not-configured
CHAP state: Closed
PAP state: Success
Security: Zone: Null
Protocol inet, MTU: 1486
Flags: Negotiate-Address
Addresses, Flags: Kernel Is-Preferred Is-Primary
Destination: 100.100.100.6, Local: 100.100.100.1
VCI 2.119
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 2
Output packets: 2
Input packets : 0
Output packets: 0
Security: Zone: Null
VCI 2.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0
[edit]
user@host# run ping 100.100.100.6 count 100 rapid
PING 100.100.100.6 (100.100.100.6): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 100.100.100.6 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.056/8.501/14.194/1.787 ms
Purpose Verify the interface output and end-to-end data path connectivity.
Action From operational mode, enter the show interfaces at-1/0/0 and show interfaces at-1/0/0
terse commands.
Input packets : 0
Output packets: 0
Security: Zone: Null
VCI 2.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0
[edit]
user@host# run ping 100.100.100.6 count 100 rapid
PING 100.100.100.6 (100.100.100.6): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 100.100.100.6 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.231/9.167/58.852/5.716 ms
Verifying PPPoA on the at-1/0/0 Interface with Static IP and PAP Authentication
Purpose Verify the interface status and end-to-end data path testing.
Action From operational mode, enter the show interfaces at-1/0/0 and show interfaces at-1/0/0
terse commands.
100.100.100.255
VCI 2.119
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 28
Output packets: 29
Input packets : 0
Output packets: 0
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf pgm pim rip router-discovery rsvp sap vrrp
VCI 2.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0
[edit]
user@host# run ping 100.100.100.6 count 100 rapid
PING 100.100.100.6 (100.100.100.6): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 100.100.100.6 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.698/10.296/61.622/5.856 ms
Verifying PPPoA on the at-1/0/0 Interface with Static IP and CHAP Authentication
Purpose Verify the interface status and end-to-end data path testing.
Action From operational mode, enter the show interfaces at-1/0/0 and show interfaces at-1/0/0
terse commands.
Input packets : 0
Output packets: 0
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf pgm pim rip router-discovery rsvp sap vrrp
VCI 2.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0
[edit]
user@host# run ping 100.100.100.6 count 100 rapid
PING 100.100.100.6 (100.100.100.6): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 100.100.100.6 ping statistics ---
Purpose Verify the interface status and end-to-end data path testing.
Action From operational mode, enter the show interfaces at-1/0/0 and show interfaces at-1/0/0
terse commands.
Input packets : 0
Output packets: 0
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf pgm pim rip router-discovery rsvp sap vrrp
VCI 2.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0
[edit]
user@host# run ping 100.100.100.6 count 100 rapid
PING 100.100.100.6 (100.100.100.6): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 100.100.100.6 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.917/10.164/56.428/5.340 ms
Purpose Verify the interface status and end-to-end data path connectivity.
Action From operational mode, enter the show interfaces at-1/0/0 and show interfaces at-1/0/0
terse commands.
Input packets : 0
Output packets: 0
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf pgm pim rip router-discovery rsvp sap vrrp
VCI 2.4
Flags: Active
Total down time: 0 sec, Last down: Never
Input packets : 0
Output packets: 0
[edit]
user@host# run ping 100.100.100.6 count 100 rapid
PING 100.100.100.6 (100.100.100.6): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 100.100.100.6 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.881/9.046/15.136/1.697 ms
Verifying PPPoE over ATM on the at-1/0/0 Interface with Negotiated IP and PAP
Authentication
Purpose Verify the interface status and end-to-end data path connectivity
Action From operational mode, enter the show interfaces pp0 and show interfaces at-1/0/0 terse
commands.
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 12.12.12.15 --> 12.12.12.1
[edit]
user@host# run ping 12.12.12.1 count 100 rapid
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 12.12.12.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 9.369/10.590/16.716/1.660 ms
Verifying PPPoE over ATM on the at-1/0/0 Interface with Negotiated IP and CHAP
Authentication
Purpose Verify the interface status and end-to-end data path connectivity
Action From operational mode, enter the show interfaces pp0 and show interfaces at-1/0/0 terse
commands.
[edit]
[edit]
user@host# run ping 12.12.12.1 count 1000 rapid
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 12.12.12.1 ping statistics ---
1000 packets transmitted, 1000 packets received, 0% packet loss
round-trip min/avg/max/stddev = 8.748/10.461/21.386/1.915 ms
[edit]
user@host#
This example shows how to configure the VDSL2 interfaces for SRX110, SRX210, SRX220,
SRX240, SRX320, and SRX340 devices. (Platform support depends on the Junos OS
release in your installation.)
Requirements
Before you begin:
• Establish basic connectivity. See the Quick Start Guide for your device for factory default
settings.
Overview
In this example, you create a VDSL2 interface called pt-1/0/0, specify the type of
encapsulation, and set the VDSL2 profile to auto.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure the VDSL2 interfaces for the SRX110, SRX210, SRX240, SRX320, and SRX340
Procedure devices and enable VLAN tagging:
1. Create an interface.
[edit]
user@host# edit interfaces pt-1/0/0
NOTE: The VDSL2 interface supports PPPoE. You can also set no
encapsulation for the VDSL2 interface.
NOTE: This feature is supported only on the pt interface, and the range
of VLANs that can be configured is 0 to 4093.
Results From configuration mode, confirm your configuration by entering the show interfaces
pt-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile auto;
}
unit 0 {
encapsulation ppp-over-ether;
Family inet {
address 100.100.100.1/24;
dhcp;
}
[edit]
user@host# show interfaces pt-1/0/0
vlan-tagging;
vdsl-options {
vdsl-profile auto;
}
unit 0 {
encapsulation ppp-over-ether;
vlan-id 100;
Family inet {
address 100.100.100.1/24;
dhcp;
}
If you are done configuring the device, enter commit from configuration mode.
• Displaying the Configuration for VDSL2 Interface (When Connected to the DSLAM
Operating in Annex A Mode) on page 215
• Displaying the Configuration for VDSL2 Interface (When Connected to the DSLAM
Operating in Annex B Mode) on page 218
Displaying the Configuration for VDSL2 Interface (When Connected to the DSLAM
Operating in Annex A Mode)
Action From operational mode, enter the show interfaces pt-1/0/0 command.
Speed: VDSL2
Device flags : Present Running
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:b1:7e:85:84:ff
Last flapped : 2009-10-18 11:56:50 PDT (12:32:49 ago)
Statistics last cleared: 2009-10-19 00:29:37 PDT (00:00:02 ago)
Traffic statistics:
Input bytes : 22438962 97070256 bps
Output bytes : 10866024 43334088 bps
Input packets: 15141 8187 pps
Output packets: 7332 3655 pps
Input errors:
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 23789064 97070256 bps
Output bytes : 10866024 43334088 bps
Input packets: 16052 8187 pps
Output packets: 7332 3655 pps
Security: Zone: Null
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1482, Generation: 169, Route table: 0
Flags: None
Addresses, Flags: Is-Preferred Is-Primary
The output shows a summary of VDSL2 interface. Verify the following information:
Displaying the Configuration for VDSL2 Interface (When Connected to the DSLAM
Operating in Annex B Mode)
Action From operational mode, enter the show interfaces pt-1/0/0 command.
HEC : 0 0 0 0
Packet Forwarding Engine configuration:
Destination slot: 0 (0x00)
CoS information:
Direction : Output
CoS transmit queue Bandwidth Buffer Priority
Limit
% bps % usec
0 best-effort 95 43167050 95 0 low
none
3 network-control 5 2271950 5 0 low
none
The output shows a summary of the VDSL2 interface. Verify the following information:
• Annex B indicates the VDSL profile of the DSLAM connected at other end.
This example shows how to configure VDSL2 interfaces on SRX Series Services Gateways.
This example uses VDSL2 Mini-PIM installed on SRX210 and SRX320 devices. The
information is also applicable to SRX110 (integrated VDSL2), SRX220, SRX240, and
SRX320 devices (with VDSL2 Mini-PIMs). (Platform support depends on the Junos OS
release in your installation.)
Requirements
Before you begin:
• Establish basic connectivity and set up and perform initial configuration. See the Quick
Start Guide for your device for factory default settings.
• Make sure that you have deleted the previous configurations on pt-1/0/0 and pp0.
Overview
This example uses SRX210 or SRX320 devices. The information is also applicable to
SRX240 and SRX340 devices.
Figure 17 on page 220 shows typical SRX Series devices with VDSL2 Mini-PIM network
connections.
In this example, you begin a new configuration on a VDSL2 Mini-PIM. You first deactivate
previous interfaces and delete any old configuration from the device. Then you set the
interfaces with the VDSL profile and the Layer 3 configuration for the end-to-end data
path.
You then configure the PPPoE on the pt-1/0/0 interface with a static IP address or CHAP
authentication. You configure PPPoE on the pt-1/0/0 interface with unnumbered IP
address (PAP authentication or CHAP authentication).
Finally, you configure PPPoE on the pt-1/0/0 interface with negotiated IP address (PAP
authentication or CHAP authentication).
Configuration
• Beginning a New Configuration on a VDSL2 Mini-PIM on page 221
• Configuring the VDSL2 Mini-PIM for End-to-End Data Path on page 222
• Configuring PPPoE on the pt-1/0/0 Interface with a Static IP Address on page 223
• Configuring PPPoE on the pt-1/0/0 Interface with a Static IP Address (CHAP
Authentication) on page 225
• Configuring PPPoE on the pt-x/x/x Interface with Unnumbered IP (PAP
Authentication) on page 226
• Configuring PPPoE on the pt-1/0/0 Interface with Unnumbered IP (CHAP
Authentication) on page 228
• Configuring PPPoE on the pt-1/0/0 Interface with Negotiated IP (PAP
Authentication) on page 230
• Configuring PPPoE on the pt-1/0/0 Interface with Negotiated IP (CHAP
Authentication) on page 232
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
deactivate interface pt-1/0/0
deactivate interface at-1/0/0
delete interface pt-1/0/0
delete interface pp0
[edit]
user@host# deactivate interface pt-1/0/0
user@host# deactivate interface at-1/0/0
[edit]
user@host# delete interface pt-1/0/0
user@host# delete interface pp0
[edit]
user@host# commit
Results From configuration mode, confirm your configuration by entering the show chassis fpc
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
user@host# set interfaces pt-1/0/0 unit 0 family inet address 11.11.11.1/24
[edit]
user@host# commit
Results From configuration mode, confirm your configuration by entering the show interfaces
pt-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
family inet {
address 11.11.11.1/24;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
• Static IP address
Step-by-Step To configure the PPPoE on the pt-1/0/0 interface with a static IP address:
Procedure
1. Configure the VDSL options and encapsulation for the interface.
[edit]
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
[edit]
user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof
user@host# set interfaces pp0 unit 0 ppp-options pap local-name locky
user@host# set interfaces pp0 unit 0 ppp-options pap local-password india
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24
[edit]
user@host# set access profile pap_prof authentication-order password
user@host# set access profile pap_prof client cuttack pap-password india
Results From configuration mode, confirm your configuration by entering the show interfaces
pp0, show interfaces pt-1/0/0 and show access profile pap_prof commands. If the output
does not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
pap {
access-profile pap_prof;
local-name locky;
local-password "$ABC123"; ## SECRET-DATA
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
address 10.1.1.6/24;
}
}
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
encapsulation ppp-over-ether;
}
[edit]
user@host# show access profile pap_prof
authentication-order password;
client cuttack pap-password "$ABC123"; ## SECRET-DATA
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure the PPPoE on the pt-1/0/0 interface with a static IP address (CHAP
Procedure authentication):
[edit]
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
[edit]
user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india
user@host# set interfaces pp0 unit 0 ppp-options chap local-name locky
user@host# set interfaces pp0 unit 0 ppp-options chap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24
Results From configuration mode, confirm your configuration by entering the show interfaces
pt-1/0/0 and show interfaces pp0 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
encapsulation ppp-over-ether;
}
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
chap {
default-chap-secret "$ABC123"; ## SECRET-DATA
local-name locky;
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
address 10.1.1.6/24;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoE on the pt-1/0/0 interface with unnumbered IP (PAP authentication):
Procedure
1. Configure the VDSL options and encapsulation for the interface.
[edit]
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
[edit]
user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32
[edit]
user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof
user@host# set interfaces pp0 unit 0 ppp-options pap local-name locky
user@host# set interfaces pp0 unit 0 ppp-options pap local-password india
user@host# set interfaces pp0 unit 0 ppp-options pap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0
user@host# set interfaces pp0 unit 0 family inet unnumbered-address destination
10.1.1.1
[edit]
user@host# set access profile pap_prof authentication-order password
user@host# set access profile pap_prof client cuttack pap-password india
Results From configuration mode, confirm your configuration by entering the show interfaces lo0,
show interfaces pt-1/0/0, and show interfaces pp0 commands. If the output does not
display the intended configuration, repeat the configuration instructions in this example
to correct it.
[edit]
user@host# show interfaces lo0
unit 0 {
family inet {
address 10.1.1.24/32;
}
}
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
encapsulation ppp-over-ether;
}
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
pap {
access-profile pap_prof;
local-name locky;
local-password "$ABC123"; ## SECRET-DATA
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
unnumbered-address lo0.0 destination 10.1.1.1;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoE on the pt-1/0/0 interface with unnumbered IP (CHAP authentication):
Procedure
1. Configure the VDSL options and encapsulation for the interface.
[edit]
[edit]
user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32
[edit]
user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india
user@host# set interfaces pp0 unit 0 ppp-options chap local-name locky
user@host# set interfaces pp0 unit 0 ppp-options chap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0
user@host# set interfaces pp0 unit 0 family inet unnumbered-address destination
10.1.1.1
Results From configuration mode, confirm your configuration by entering the show interfaces
pp0, show interfaces pt-1/0/0, and show interfaces lo0 commands. If the output does
not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
chap {
default-chap-secret "$ABC123"; ## SECRET-DATA
local-name locky;
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
unnumbered-address lo0.0 destination 10.1.1.1;
}
}
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
encapsulation ppp-over-ether;
}
[edit]
user@host# show interfaces lo0
unit 0 {
family inet {
address 10.1.1.24/32;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoE on the pt-1/0/0 interface with negotiated IP (PAP authentication):
Procedure
1. Configure the VDSL options and encapsulation for the interface.
[edit]
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
[edit]
user@host# set interfaces pp0 unit 0 ppp-options pap access-profile my_prf
user@host# set interfaces pp0 unit 0 ppp-options pap local-name purple
user@host# set interfaces pp0 unit 0 ppp-options pap local-password <password>
user@host# set interfaces pp0 unit 0 ppp-options pap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet negotiate-address
[edit]
user@host# set access profile my_prf authentication-order password
user@host# set access profile my_prf
Results From configuration mode, confirm your configuration by entering the show interfaces
pt-1/0/0, show interfaces pp0, and show access profile my_prf commands. If the output
does not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
encapsulation ppp-over-ether;
}
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
pap {
access-profile my_prf;
local-name purple;
local-password "$ABC123"; ## SECRET-DATA
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
negotiate-address;
}
}
[edit]
user@host# show access profile my_prf
authentication-order password;
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure PPPoE on the pt-1/0/0 interface with negotiated IP (CHAP authentication):
Procedure
1. Configure the VDSL options and encapsulation for the interface.
[edit]
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
[edit]
user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret
<password>
user@host# set interfaces pp0 unit 0 ppp-options chap local-name purple
user@host# set interfaces pp0 unit 0 ppp-options chap passive
[edit]
user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120
user@host# set interfaces pp0 unit 0 pppoe-options client
[edit]
user@host# set interfaces pp0 unit 0 family inet negotiate-address
Results From configuration mode, confirm your configuration by entering the show interfaces
pp0 and show interfaces pt-1/0/0commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pp0
unit 0 {
ppp-options {
chap {
default-chap-secret "$ABC123"; ## SECRET-DATA
local-name purple;
passive;
}
}
pppoe-options {
underlying-interface pt-1/0/0.0;
auto-reconnect 120;
client;
}
family inet {
negotiate-address;
}
}
[edit]
user@host# show interfaces pt-1/0/0
vdsl-options {
vdsl-profile 17a;
}
unit 0 {
encapsulation ppp-over-ether;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action 1. Verify the FPC status by entering the show chassis fpc command. The output should
display FPC status as online.
NOTE: The VDSL2 Mini-PIM is installed in the first slot of the SRX320
device chassis; therefore, the FPC used here is fpc 1. For SRX340 devices,
the FPC used will be fpc 1, fpc 2, fpc 3, or fpc 4.
2. Enter run show interface pt-1/0/0 and verify the following information in the command
output:
Speed: VDSL2
Device flags : Present Running
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:b1:7e:85:84:ff
Last flapped : 2009-10-18 11:56:50 PDT (12:32:49 ago)
Statistics last cleared: 2009-10-19 00:29:37 PDT (00:00:02 ago)
Traffic statistics:
Input bytes : 22438962 97070256 bps
Output bytes : 10866024 43334088 bps
Input packets: 15141 8187 pps
Output packets: 7332 3655 pps
Input errors:
Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0,
L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 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 6759 6760 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
VDSL alarms : None
VDSL defects : None
VDSL media: Seconds Count State
LOF 0 0 OK
LOS 0 0 OK
LOM 0 0 OK
LOP 0 0 OK
LOCDI 0 0 OK
LOCDNI 0 0 OK
VDSL status:
Modem status : Showtime (Profile-17a)
VDSL profile : Profile-17a Annex A
Last fail code: None
Subfunction : 0x00
Seconds in showtime : 45171
VDSL Chipset Information: VTU-R VTU-C
Vendor Country : 0xb5 0xb5
Vendor ID : BDCM BDCM
Vendor Specific: 0x9385 0x9385
VDSL Statistics: VTU-R VTU-C
Attenuation (dB) : 0.0 0.0
Capacity used (%) : 0 0
Noise margin (dB) : 20.0 20.0
Output power (dBm) : 6.0 12.0
Interleave Fast Interleave Fast
Bit rate (kbps) : 100004 0 45440 0
CRC : 0 0 0 0
FEC : 0 0 0 0
HEC : 0 0 0 0
Packet Forwarding Engine configuration:
Destination slot: 0 (0x00)
CoS information:
Direction : Output
CoS transmit queue Bandwidth Buffer Priority
Limit
% bps % usec
0 best-effort 95 43168000 95 0 low
none
3 network-control 5 2272000 5 0 low
none
Logical interface pt-1/0/0.0 (Index 71) (SNMP ifIndex 525) (Generation 136)
Flags: SNMP-Traps Encapsulation: ENET2
Traffic statistics:
Input bytes : 23789064
Output bytes : 10866024
Input packets: 16052
Output packets: 7332
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 23789064 97070256 bps
Output bytes : 10866024 43334088 bps
Input packets: 16052 8187 pps
Output packets: 7332 3655 pps
Security: Zone: Null
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1482, Generation: 169, Route table: 0
Flags: None
Addresses, Flags: Is-Preferred Is-Primary
Action 1. Verify interface status by using the show interface terse command and test end-to-end
data path connectivity by sending the ping packets to the remote end IP address.
[edit]
user@host# run ping 11.11.11.2 count 1000 rapid
PING 11.11.11.2 (11.11.11.2): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 11.11.11.2 ping statistics ---
2. Verify the VDSL2 interface configuration and check the traffic statistics.
Speed: VDSL2
Device flags : Present Running
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:b1:7e:85:84:ff
Last flapped : 2009-10-28 00:36:29 PDT (00:12:03 ago)
Statistics last cleared: 2009-10-28 00:47:56 PDT (00:00:36 ago)
Traffic statistics:
Input bytes : 84000 0 bps
Output bytes : 138000 0 bps
Input packets: 1000 0 pps
Output packets: 1000 0 pps
Input errors:
Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0, L2 channel
errors: 0, L2 mismatch timeouts: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors:
0, Resource errors: 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
Logical interface pt-1/0/0.0 (Index 72) (SNMP ifIndex 521) (Generation 158)
Purpose Verify the interface output and the end-to-end data path.
Flags: Protocol-Down
Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
Destination: 10.1.1/24, Local: 10.1.1.6
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 10.1.1.6/24
[edit]
user@host# run ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 10.1.1.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 14.669/15.649/21.655/1.740 ms
Purpose Verify the interface status and check the end-to-end data path connectivity.
2. Verify the interface and check the end-to-end data path connectivity.
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 10.1.1.6/24
[edit]
user@host# run ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 10.1.1.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 14.608/15.466/25.939/1.779 ms
Purpose Verify the interface status and the end-to-end data path testing.
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 10.1.1.24 --> 10.1.1.1
[edit]
user@host# run ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 10.1.1.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 14.584/15.503/21.204/1.528 ms
Purpose Verify the interface status and end-to-end data path testing on the PPPoE interface.
PPPoE:
State: SessionUp, Session ID: 35,
Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55,
Configured AC name: None, Service name: None,
Auto-reconnect timeout: 120 seconds, Idle timeout: Never,
Underlying interface: pt-1/0/0.0 (Index 69)
Input packets : 25
Output packets: 22
Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
Keepalive: Input: 2 (00:00:10 ago), Output: 2 (00:00:02 ago)
LCP state: Opened
NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
Not-configured
CHAP state: Success
PAP state: Closed
Security: Zone: Null
Protocol inet, MTU: 1492
Flags: None
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.1.1.1, Local: 10.1.1.24
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 10.1.1.24 --> 10.1.1.1
[edit]
user@host# run ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-- 10.1.1.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 14.585/16.025/22.354/2.019 ms
Purpose Verify the PPPoE interface status and the end-to-end data path connectivity.
Input packets : 0
Output packets: 0
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 12.12.12.11 --> 12.12.12.1
[edit]
user@host# run ping 12.12.12.1 count 100 rapid
PING 12.12.12.1 (12.12.12.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 12.12.12.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 16.223/17.692/24.359/2.292 ms
Purpose Verify the interface status and the end-to-end data path connectivity.
[edit]
user@host# run show interfaces pp0 terse
Interface Admin Link Proto Local Remote
pp0 up up
pp0.0 up up inet 12.12.12.12 --> 12.12.12.1
[edit]
user@host# run ping 12.12.12.1 count 100 rapid
PING 12.12.12.1 (12.12.12.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 12.12.12.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 16.168/17.452/23.299/2.016 ms
Starting with Junos OS Release 15.51x49-D50, you can upgrade the VDSL PIC firmware
on SRX Series devices. This topic shows how to perform the upgrade.
This section describes the step-by-step procedure to upgrade VDSL PIC firmware.
If the file has been obtained from JTAC, use FTP or SCP to load the firmware file on
the device. Save the file in the /var/tmp directory.
To install the firmware package on the device and make it available for upgrading,
use the following command:
3. To check if the firmware package is available on the SRX Series device, use the
following command:
Hostname: user
Model: srx210h
user@host> request system firmware upgrade pic fpc-slot <no.> pic-slot 0 tag 10
6. To check the status of the upgraded firmware, use the following command:
7. To enable the upgraded firmware, restart the FPC slot in which the VDSL PIM is
installed.
FPC 1 restarted
15.1X49-D50 Starting with Junos OS Release 15.51x49-D50, you can upgrade the
VDSL PIC firmware on SRX Series devices.
Ethernet is a Layer 2 technology that operates in a shared bus topology. Ethernet supports
broadcast transmission, uses best-effort delivery, and has distributed access control.
Ethernet is a point-to-multipoint technology.
In a shared bus topology, all devices connect to a single, shared physical link through
which all data transmissions are sent. All traffic is broadcast so that all devices within
the topology receive every transmission. The devices within a single Ethernet topology
make up a broadcast domain.
Ethernet uses best-effort delivery to broadcast traffic. The physical hardware provides
no information to the sender about whether the traffic was received. If the receiving host
is offline, traffic to the host is lost. Although the Ethernet data link protocol does not
inform the sender about lost packets, higher layer protocols such as TCP/IP might provide
this type of notification.
The length of each transmission is determined by fixed Ethernet packet sizes. By fixing
the length of each transmission and enforcing a minimum idle time between transmissions,
Ethernet ensures that no pair of communicating devices on the network can monopolize
the wire and block others from sending and receiving traffic.
Collision Detection
To handle collisions, Ethernet devices monitor the link while they are transmitting data.
The monitoring process is known as collision detection. If a device detects a foreign signal
while it is transmitting, it terminates the transmission and attempts to transmit again
only after detecting an idle state on the wire. Collisions continue to occur if two colliding
devices both wait the same amount of time before retransmitting. To avoid this condition,
Ethernet devices use a binary exponential backoff algorithm.
Backoff Algorithm
With the binary exponential backoff algorithm, each device that sends a colliding
transmission randomly selects a value within a range. The value represents the number
of transmission times that the device must wait before retransmitting its data. If another
collision occurs, the range of values is doubled and retransmission takes place again.
Each time a collision occurs, the range of values doubles, to reduce the likelihood that
two hosts on the same network can select the same retransmission time.
Table 25 on page 253 shows collision rounds up to round 10.
1 2 {0,1}
2 4 {0,1,2,3}
3 8 {0,1,2,3,...,7}
4 16 {0,1,2,3,4,...,15}
5 32 {0,1,2,3,4,5,...,31}
6 64 {0,1,2,3,4,5,6,...,63}
7 128 {0,1,2,3,4,5,6,7,...,127}
8 256 {0,1,2,3,4,5,6,7,8,...,255}
9 512 {0,1,2,3,4,5,6,7,8,9,...,511}
10 1024 {0,1,2,3,4,5,6,7,8,9,10,...,1023}
Repeaters
Repeaters are electronic devices that act on analog signals. Repeaters relay all electronic
signals from one wire to another. A single repeater can double the distance between two
devices on an Ethernet network. However, the Ethernet specification restricts the number
of repeaters between any two devices on an Ethernet network to two, because collision
detection with latencies increases in complexity as the wire length and number of
repeaters increase.
Bridges and switches combine LAN segments into a single Ethernet network by using
multiple ports to connect the physical wires in each segment. Although bridges and
switches are fundamentally the same, bridges generally provide more management and
more interface ports. As Ethernet packets flow through a bridge, the bridge tracks the
source MAC address of the packets and stores the addresses and their associated input
ports in an interface table. As it receives subsequent packets, the bridge examines its
interface table and takes one of the following actions:
• If the destination address does not match an address in the interface table, the bridge
transmits the packet to all hosts on the network using the Ethernet broadcast address.
• If the destination address maps to the port through which the packet was received,
the bridge or switch discards the packet. Because the other devices on the LAN segment
also received the packet, the bridge does not need to retransmit it.
• If the destination address maps to a port other than the one through which the packet
was received, the bridge transmits the packet through the appropriate port to the
corresponding LAN segment.
Broadcast Domains
The combination of all the LAN segments within an Ethernet network is called a broadcast
domain. In the absence of any signaling devices such as a repeater, bridge, or switch, the
broadcast domain is simply the physical wire that makes up the connections in the
network. If a bridge or switch is used, the broadcast domain consists of the entire LAN.
Ethernet Frames
Data is transmitted through an Ethernet network in frames. The frames are of variable
length, ranging from 64 octets to 1518 octets, including the header, payload, and cyclic
redundancy check (CRC) value. Figure 18 on page 254 shows the Ethernet frame format.
• The preamble (PRE) field is 7 octets of alternating 0s and 1s. The predictable format
in the preamble allows receiving interfaces to synchronize themselves to the data
being sent. The preamble is followed by a 1-octet start-of-frame delimiter (SFD).
• The destination address (DA) and source address (SA) fields contain the 6-octet
(48-bit) MAC addresses for the destination and source ports on the network. These
Layer 2 addresses uniquely identify the devices on the LAN.
• The Length/Type field is a 2-octet field that either indicates the length of the frame's
data field or identifies the protocol stack associated with the frame. Here are some
common frame types:
• AppleTalk—0x809B
• AppleTalk ARP—0x80F3
• DECnet—0x6003
• IP—0x0800
• IPX—0x8137
• Loopback—0x9000
• XNS—0x0600
• The frame check sequence (FCS) is a 4-octet field that contains the calculated CRC
value. This value is calculated by the originating host and appended to the frame. When
it receives the frames, the receiving host calculates the CRC and checks it against this
appended value to verify the integrity of the received frame.
NOTE: On SRX650 devices, MAC pause frame and FCS error frame counters
are not supported for the interfaces ge-0/0/0 through ge-0/0/3. (Platform
support depends on the Junos OS Release in your installation.)
By default, the device responds to an Address Resolution Protocol (ARP) request only
if the destination address of the ARP request is on the local network of the incoming
interface. For Fast Ethernet or Gigabit Ethernet interfaces, you can configure static ARP
entries that associate the IP addresses of nodes on the same Ethernet subnet with their
media access control (MAC) addresses. These static ARP entries enable the device to
respond to ARP requests even if the destination address of the ARP request is not local
to the incoming Ethernet interface.
When promiscuous mode is enabled on a Layer 3 Ethernet interface, all packets received
on the interface are sent to the central point or Services Processing Unit (SPU) regardless
of the destination MAC address of the packet. You can also enable promiscuous mode
on chassis cluster redundant Ethernet interfaces and aggregated Ethernet interfaces. If
you enable promiscuous mode on a redundant Ethernet interface, promiscuous mode is
then enabled on any child physical interfaces. If you enable promiscuous mode on an
aggregated Ethernet interface, promiscuous mode is then enabled on all member
interfaces.
When promiscuous mode is enabled on a Layer 3 Ethernet interface, all packets received
on the interface are sent to the central point or to the Services Processing Unit (SPU)
regardless of the destination MAC address of the packet.
By default, an interface enables MAC filtering. You can configure promiscuous mode on
the interface to disable MAC filtering. When you delete the promiscuous mode
configuration, the interface will perform MAC filtering again.
You can change the MAC address of an interface even when the interface is operating
in promiscuous mode. When the interface is operating in normal mode again, the MAC
filtering function on the IOC uses the new MAC address to filter the packets.
You can also enable promiscuous mode on chassis cluster redundant Ethernet interfaces
and aggregated Ethernet interfaces. If you enable promiscuous mode on a redundant
Ethernet interface, promiscuous mode is then enabled on any child physical interfaces.
If you enable promiscuous mode on an aggregated Ethernet interface, promiscuous mode
is then enabled on all member interfaces.
Port mirroring copies packets entering or exiting a port and sends the copies to a local
interface for monitoring. Port mirroring is used to send traffic to applications that analyze
traffic for purposes such as monitoring compliance, enforcing policies, detecting intrusions,
monitoring and predicting traffic patterns, correlating events, and so on.
Port mirroring is used to send a copy of all the packets or only the sampled packets seen
on a port to a network monitoring connection. You can mirror the packets either on the
incoming port (ingress port mirroring) or the outgoing port (egress port mirroring).
NOTE: Port mirroring is supported only on the SRX devices with the following
I/O cards:
• SRX1K-SYSIO-GE
• SRX1K-SYSIO-XGE
• SRX3K-SFB-12GE
• SRX3K-2XGE-XFP
On SRX devices, all packets passing through the mirrored port are copied and sent to the
specified mirror-to port. These ports must be on the same Broadcom chipset in the I/O
cards.
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you create the ge-1/0/0 Ethernet interface and set the logical interface
to 0. The logical unit number can range from 0 to 16,384. You can also add values for
properties that you need to configure on the logical interface, such as logical encapsulation
or protocol family.
Configuration
[edit]
user@host# edit interfaces ge-1/0/0 unit 0
[edit]
user@host# commit
Verification
Purpose Verify if the configuration is working properly after creating the interface.
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you delete the ge-1/0/0 interface.
NOTE: Performing this action removes the interface from the software
configuration and disables it. Network interfaces remain physically present,
and their identifiers continue to appear on J-Web pages.
Configuration
[edit]
user@host# delete interfaces ge-1/0/0
[edit]
user@host# commit
Verification
Purpose Verify if the configuration is working properly after deleting the interface.
Requirements
No special configuration beyond device initialization is required before creating an
interface.
Overview
In this example, you configure a static ARP entry on the logical unit 0 of the ge-0/0/3
Gigabit Ethernet interface. The entry consists of the interface’s IP address (10.1.1.1/24)
and the corresponding MAC address of a node on the same Ethernet subnet
(00:ff:85:7f:78:03). The example also configures the device to reply to ARP requests
from the node using the publish option.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set interfaces ge-0/0/3 unit 0 family inet address 10.1.1.1/24 arp 10.1.1.3 mac
00:ff:85:7f:78:03
set interfaces ge-0/0/3 unit 0 family inet address 10.1.1.1/24 arp 10.1.1.3 publish
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces ge-0/0/3
3. Set the IP address of the subnet node and the corresponding MAC address.
Results From configuration mode, confirm your configuration by entering the show interfaces
ge-0/0/3 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host#show interfaces ge-0/0/3
unit 0 {
family inet {
address 10.1.1.1/24 {
arp 10.1.1.3 mac 00:ff:85:7f:78:03 publish;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify the IP address and MAC (hardware) address of the node.
Action From operational mode, enter the show interfaces ge-0/0/3 command.
Purpose Verify that all interfaces on the device are operational using the ping tool on each peer
address in the network.
2. In the Remote Host box, type the address of the interface for which you want to verify
the link state.
Action From operational mode, enter the show interfaces detail command.
0 best-effort 0 0 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
The output shows 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
ge-0/0/3] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the Interfaces>
ge-0/0/3 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. The Last Flapped time 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 ge-0/0/3 command.
Requirements
This example uses the following hardware and software components:
Overview
By default, the interfaces on an SRX5K-MPC have MAC address filtering enabled. In this
example, you configure promiscuous mode on an interface to disable MAC address
filtering. Then you delete promiscuous mode to reenable MAC address filtering on the
interface.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see the Junos OS CLI User Guide.
[edit interfaces]
user@host# set et-4/0/0 unit 0 family inet address 10.1.1.1/24
[edit interfaces]
user@host# set et-4/0/0 promiscuous-mode
Results From 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]
user@host# show interfaces
et-4/0/0 {
promiscuous-mode;
unit 0 {
family inet {
address 10.1.1.1/24;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# delete interfaces et-4/0/0 promiscuous-mode
Verification
Confirm that the configuration is working properly.
Meaning The Interface flags: Promiscuous field shows that promiscuous mode is enabled on the
interface.
Action Send traffic into the et-4/0/0 interface with a MAC address that is different from the
interface MAC address and turn on promiscuous mode.
Meaning The input packets and pps fields show that traffic is passing through the et-4/0/0 interface
as expected after promiscuous mode is enabled.
Purpose Verify that disabled promiscuous mode works on the et-4/0/0 interface.
Action Send traffic into the et-4/0/0 interface with a MAC address that is different from the
interface MAC address and turn off promiscuous mode.
Meaning The pps field shows that the traffic is not passing through the et-4/0/0 interface after
promiscuous mode is disabled.
To configure port mirroring on an SRX device, you must first configure the
forwarding-options and interfaces at the [edit] hierarchy level.
You must configure the forwarding-options statement to define an instance of the mirror-to
port for port mirroring and also configure the interface to be mirrored.
NOTE: The mirrored port and the mirror-to port must be under the same
Broadcom chipset in a I/O card.
1. Specify the rate and run-length at the [edit forwarding-options port-mirroring input]
hierarchy level:
NOTE:
• rate: Ratio of packets to be sampled (1 out of N) (1 through 65535)
[edit]
forwarding-options
port-mirroring {
input {
rate number;
run-length number;
}
}
2. To send the copies of the packet to the mirror-to port, include the interface intf-name
statement at the [edit forwarding-options port-mirroring family any output] hierarchy
level.
output {
interface intf-name;
}
NOTE: Port mirroring on SRX devices uses family any to transfer the
mirror-to port information to the Packet Forwarding Engine (PFE). The
mirroring engine copies all the packets from mirrored port to the mirror-to
port.
instance {
inst-name {
input {
rate number;
run-length number;
}
family any {
output {
interface intf-name;
}
}
}
}
interfaces
mirrored-intf-name {
port-mirror-instance instance-name;
}
NOTE: Port mirroring on SRX devices does not differentiate the traffic
direction, but mirrors the ingress and egress samples together.
family any {
output {
interface ge-1/0/9.0;
}
}
}
}
interfaces {
ge-1/0/2 {
port-mirror-instance inst1;
}
}
Link aggregation of Ethernet interfaces is defined in the IEEE 802.3ad standard. Junos
OS implementation of 802.3ad balances traffic across the member links within an
aggregated Ethernet bundle based on Layer 3 information carried in the packet, Layer 4
information carried in the packet, or both, or based on session ID data. (The session ID
data has higher precedence than the Layer 3 or 4 information.) This implementation uses
the same load-balancing algorithm used for per-packet load balancing.
NOTE: This topic is specific to the SRX3000 and SRX5000 line devices. For
information about link aggregation for other SRX Series devices, see the
Ethernet Switching and Layer 2 Transparent Mode Feature Guide for Security
Devices.
LAGs
You can combine multiple physical Ethernet ports to form a logical point-to-point link,
known as a link aggregation group (LAG) or bundle, such that a media access control
(MAC) client can treat the LAG as if it were a single link. Support for LAGs based on IEEE
802.3ad makes it possible to aggregate physical interface links on your device. LAGs
provide increased interface bandwidth and link availability by linking physical ports and
load-balancing traffic crossing the combined interface. For the LAG to operate correctly,
it is necessary to coordinate the two end systems connected by the LAG, either manually
or automatically.
Internally, a LAG is a virtual interface presented on SRX3000 and SRX5000 line devices
or on any system (consisting of devices such as routers and switches) supporting 802.3ad
link aggregation. Externally, a LAG corresponds to a bundle of physical Ethernet links
connected between an SRX3000 or SRX5000 line device and another system capable
of link aggregation. This bundle of physical links is a virtual link.
Follow these guidelines for aggregated Ethernet support for the SRX3000 and SRX5000
lines:
• The devices support a maximum of 16 physical interfaces per single aggregated Ethernet
bundle.
• Aggregated Ethernet interfaces can use interfaces from the same or different Flexible
PIC Concentrators (FPCs) and PICs.
• On the aggregated bundle, capabilities such as MAC accounting, VLAN rewrites, and
VLAN queuing are available.
LACP
Junos OS supports the Link Aggregation Control Protocol (LACP), which is a
subcomponent of IEEE 802.3ad. LACP provides additional functionality for LAGs.
aggregation for other SRX Series devices, see the Ethernet Switching and Layer 2
Transparent Mode Feature Guide for Security Devices.
LACP provides a standardized means for exchanging information between partner (remote
or far-end of the link) systems on a link. This exchange allows their link aggregation
control instances to reach agreement on the identity of the LAG to which the link belongs,
and then to move the link to that LAG. This exchange also enables the transmission and
reception processes for the link to function in an orderly manner.
For example, when LACP is not enabled, a local LAG might attempt to transmit packets
to a remote individual interface, which causes the communication to fail. (An individual
interface is a nonaggregatable interface.) When LACP is enabled, a local LAG cannot
transmit packets unless a LAG with LACP is also configured on the remote end of the
link.
You configure an aggregated Ethernet virtual link by specifying the link number as a
physical device. Then you associate a set of ports that have the same speed and are in
full-duplex mode. The physical ports can be 100-megabit Ethernet, 1-Gigabit Ethernet,
and 10-Gigabit Ethernet.
• LACP does not support automatic configuration on SRX3000 and SRX5000 line
devices, but partner systems are allowed to perform automatic configuration. When
an SRX3000 or SRX5000 line device is connected to a fully 802.3ad-compliant partner
system, static configuration of LAGs is initiated on the SRX3000 and SRX5000 line
device side, and static configuration is not needed on the partner side.
• Although the LACP functions on the SRX3000 and SRX5000 line devices are similar
to the LACP features on Juniper Networks MX Series routers, the following LACP features
on MX Series routers are not supported on SRX3000 and SRX5000 line devices: link
protection, system priority, and port priority for aggregated Ethernet interfaces. Instead,
SRX3000 and SRX5000 line devices provide active/standby support with redundant
Ethernet interface LAGs in chassis cluster deployments.
NOTE: This topic is specific to the SRX3000 and SRX5000 line devices.
1. Set the number of aggregated Ethernet interfaces on the device. See “Example:
Configuring the Number of Aggregated Ethernet Interfaces on a Device” on page 275.
2. Associate a physical interface with the aggregated Ethernet interface. See “Example:
Associating Physical Interfaces with Aggregated Ethernet Interfaces” on page 277.
3. (Optional) Set the required link speed for all the interfaces included in the bundle.
See “Example: Configuring Aggregated Ethernet Link Speed” on page 279.
4. (Optional) Configure the minimum number of links that must be up for the bundle as
a whole to be labeled as up. See “Example: Configuring Aggregated Ethernet Minimum
Links” on page 280.
5. (Optional) Enable or disable VLAN tagging. See “Understanding VLAN Tagging for
Aggregated Ethernet Interfaces” on page 285.
Related • Ethernet Switching and Layer 2 Transparent Mode Feature Guide for Security Devices
Documentation
• Understanding Aggregated Ethernet Interfaces on page 271
• Example: Configuring Link Aggregation Control Protocol (CLI Procedure) on page 288
By default, no aggregated Ethernet interfaces are created. You must set the number of
aggregated Ethernet interfaces on the routing device before you can configure them.
Once you set the device count, the system creates that number of empty aggregated
Ethernet interfaces. A globally unique MAC address is assigned to every aggregated
Ethernet interface. More aggregated Ethernet interfaces can be created by increasing
the parameter.
The maximum number of aggregated devices you can configure is 128. The aggregated
interfaces are numbered from ae0 through ae127.
Similarly, you can permanently remove an aggregated Ethernet interface from the device
configuration by deleting it from the device count. When you reduce the device count,
only the aggregated Ethernet interface objects at the end of the list are removed, leaving
the newly specified number of interfaces. That is, if you set the device count to 10 and
then reduce it to 6, the system removes the last 4 interface objects from the list.
This example shows how to configure the number of aggregated Ethernet interfaces on
a device.
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you create two aggregate Ethernet interfaces, thereby enabling all the
interfaces that you need for your configuration in one step.
Configuration
[edit]
user@host# set chassis aggregated-devices ethernet device-count 2
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show chassis aggregated-devices
command.
Related • Understanding the Aggregated Ethernet Interfaces Device Count on page 275
Documentation
• Aggregated Ethernet Interfaces Configuration Overview on page 274
A physical interface can be added to any aggregated Ethernet interface as long as all
member links have the same link speed and the maximum number of member links does
not exceed 16. The aggregated Ethernet interface instance number aex can be from 0
through 127, for a total of 128 aggregated interfaces.
NOTE:
• If you specify (on purpose or accidentally) that a link already associated
with an aggregated Ethernet interface be associated with another
aggregated Ethernet interface, the link is removed from the previous
interface (there is no need for you to explicitly delete it) and it is added to
the other one.
This example shows how to associate physical interfaces with aggregated Ethernet
interfaces.
Requirements
Before you begin, set the number of aggregated Ethernet interfaces on the device. See
“Example: Configuring the Number of Aggregated Ethernet Interfaces on a Device” on
page 275.
Overview
In this example, you associate the physical child link of the ge-1/0/0 and ge-2/0/0 physical
interfaces with the logical aggregate parent, ae0, thereby creating a LAG. Similarly, you
create a LAG that associate the ge-3/0/0, ge-3/0/1, and ge-4/0/1 physical interfaces
with the ae1 aggregated Ethernet interface.
Configuration
[edit]
user@host# set interfaces ge-1/0/0 gigether-options 802.3ad ae0
user@host# set interfaces ge-2/0/0 gigether-options 802.3ad ae0
[edit]
user@host# set interfaces ge-3/0/0 gigether-options 802.3ad ae1
user@host# set interfaces ge-3/0/1 gigether-options 802.3ad ae1
user@host# sset interfaces ge-4/0/0 gigether-options 802.3ad ae1
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
Related • Understanding Physical Interfaces for Aggregated Ethernet Interfaces on page 276
Documentation
• Aggregated Ethernet Interfaces Configuration Overview on page 274
On aggregated Ethernet interfaces, you can set the required link speed for all interfaces
included in the bundle. All interfaces that make up a bundle must be the same speed. If
you include in the aggregated Ethernet interface an individual link that has a speed
different from the speed you specify in the link-speed parameter, an error message will
be logged.
The speed value is specified 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 SRX3000 and SRX5000 line devices can have one
of the following speed values:
This example shows how to configure the aggregated Ethernet link speed.
Requirements
Before you begin:
• Add the aggregated Ethernet interfaces using the device count. See “Example:
Configuring the Number of Aggregated Ethernet Interfaces on a Device” on page 275.
• Associate physical interfaces with the aggregated Ethernet Interfaces. See “Example:
Associating Physical Interfaces with Aggregated Ethernet Interfaces” on page 277.
Overview
In this example, you set the required link speed for all interfaces included in the bundle
to 10 Gbps. All interfaces that make up a bundle must be the same speed.
Configuration
[edit]
user@host# set interfaces ae0 aggregated-ether-options link-speed 10g
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
On aggregated Ethernet interfaces, you can configure the minimum number of links that
must be up for the bundle as a whole to be labeled as up. By default, only one link must
be up for the bundle to be labeled as up.
On SRX1000, SRX3000, and SRX5000 line devices, the valid range for the minimum
links number is 1 through 16. When the maximum value (16) is specified, all configured
links of a bundle must be up for the bundle to be labeled as up.
If the number of links configured in an aggregated Ethernet interface is less than the
minimum-links value configured in the minimum-links statement, the configuration commit
fails and an error message is displayed.
This example shows how to configure the minimum number of links on an aggregated
Ethernet interface that must be up for the bundle as a whole to be labeled as up.
Requirements
Before you begin:
• Add the aggregated Ethernet interfaces using the device count. See “Example:
Configuring the Number of Aggregated Ethernet Interfaces on a Device” on page 275.
• Associate physical interfaces with the aggregated Ethernet Interfaces. See “Example:
Associating Physical Interfaces with Aggregated Ethernet Interfaces” on page 277.
• Configure the aggregated Ethernet link speed. See “Example: Configuring Aggregated
Ethernet Link Speed” on page 279.
Overview
In this example, you specify that on interface ae0 at least eight links must be up for the
bundle as a whole to be labeled as up.
Configuration
[edit]
user@host# set interfaces ae0 aggregated-ether-options minimum-links 8
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
You can delete an aggregated Ethernet interface from the interface configuration. Junos
OS removes the configuration statements related to aex and sets this interface to the
down state. The deleted aggregated Ethernet interface still exists, but it becomes an
empty interface.
This example shows how to delete aggregated Ethernet interfaces using the device count.
Requirements
Before you begin, set the number of aggregated Ethernet interfaces on the device. See
“Example: Configuring the Number of Aggregated Ethernet Interfaces on a Device” on
page 275.
Overview
This example shows how to clean up unused aggregated Ethernet interfaces. In this
example, you reduce the number of interfaces from 10 to 6, thereby removing the last 4
interfaces from the interface object list.
Configuration
[edit]
user@host# delete chassis aggregated-devices ethernet device-count 6
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show chassis aggregated-devices
command.
This example shows how to delete the contents of an aggregated Ethernet interface.
Requirements
Before you begin:
• Set the number of aggregated Ethernet interfaces on the device. See “Example:
Configuring the Number of Aggregated Ethernet Interfaces on a Device” on page 275.
• Associate a physical interface with the aggregated Ethernet interface. See “Example:
Associating Physical Interfaces with Aggregated Ethernet Interfaces” on page 277.
• Set the required link speed for all the interfaces included in the bundle. See “Example:
Configuring Aggregated Ethernet Link Speed” on page 279.
• Configure the minimum number of links that must be up for the bundle as a whole to
be labeled as up. See “Example: Configuring Aggregated Ethernet Minimum Links” on
page 280.
Overview
In this example, you delete the contents of the ae4 aggregated Ethernet interface, which
sets it to the down state.
Configuration
[edit]
user@host# delete interfaces ae4
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
Purpose Display status information in terse (concise) format for aggregated Ethernet interfaces.
Action From operational mode, enter the show interfaces ae0 terse command.
The output shows the bundle relationship for the aggregated Ethernet interface and the
overall status of the interface, including the following information:
• The link aggregation control PDUs run on the .0 child logical interfaces for the untagged
aggregated Ethernet interface.
• The link aggregation control PDUs run on the .32767 child logical interfaces for the
VLAN-tagged aggregated Ethernet interface.
• The .32767 logical interface is created for the parent link and all child links.
Purpose Display status information and statistics in extensive (detailed) format for aggregated
Ethernet interfaces.
Action From operational mode, enter the show interfaces ae0 extensive command.
The output shows detailed aggregated Ethernet interface information. This portion of
the output shows LACP information and LACP statistics for each logical aggregated
Ethernet interface.
• inner-tag-protocol-id
• inner-vlan-id
• pop-pop
• pop-swap
• push-push
• swap-push
• swap-swap
You can enable promiscuous mode on aggregated Ethernet interfaces. When promiscuous
mode is enabled on a Layer 3 Ethernet interface, all packets received on the interface
are sent to the central point or Services Processing Unit (SPU) regardless of the
destination MAC address of the packet. If you enable promiscuous mode on an aggregated
Ethernet interface, promiscuous mode is then enabled on all member interfaces.
Link Aggregation Control Protocol (LACP) provides a standardized means for exchanging
information between partner systems on a link. Within LACP, the local end of a child link
is known as the actor and the remote end of the link is known as the partner.
LACP is enabled on an aggregated Ethernet interface by setting the mode to either passive
or active. However, to initiate the transmission of link aggregation control protocol data
units (PDUs) and response link aggregation control PDUs, you must enable LACP at both
the local and remote ends of the links, and one end must be active:
• Active mode—If either the actor or partner is active, they exchange link aggregation
control PDUs. The actor sends link aggregation control PDUs to its protocol partner
that convey what the actor knows about its own state and that of the partner’s state.
• Passive mode—If the actor and partner are both in passive mode, they do not exchange
link aggregation control PDUs. As a result, the aggregated Ethernet links do not come
up. In passive transmission mode, links send out link aggregation control PDUs only
when they receive them from the remote end of the same link.
By default, the actor and partner transmit link aggregation control PDUs every second.
You can configure different periodic rates on active and passive interfaces. When you
configure the active and passive interfaces at different rates, the transmitter honors the
receiver’s rate.
You configure the interval at which the interfaces on the remote side of the link transmit
link aggregation control PDUs by configuring the periodic statement on the interfaces on
the local side. It is the configuration on the local side that specifies the behavior of the
remote side. That is, the remote side transmits link aggregation control PDUs at the
specified interval. The interval can be fast (every second) or slow (every 30 seconds).
• Example: Configuring Link Aggregation Control Protocol (CLI Procedure) on page 288
Requirements
This example uses an SRX Series device.
• Determine which interfaces to use and verify that they are in switch mode. See
Understanding VLANs.
Overview
In this example, for aggregated Ethernet interfaces, you configure the Link Aggregation
Control Protocol (LACP). LACP is one method of bundling several physical interfaces to
form one logical interface.
Configuration
CLI Quick To quickly configure this section of the example, copy the following commands, paste
Configuration them into a text file, remove any line breaks, change any details necessary to match your
network configuration, copy and paste the commands into the CLI at the [edit] hierarchy
level, and then enter commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
To configure LACP:
[edit ]
user@host# set interfaces ge-0/0/6 ether-options 802.3ad ae0
user@host# set interfaces ge-0/0/7 ether-options 802.3ad ae0
[edit ]
user@host# set interfaces ae0 vlan-tagging
3. Configure LACP for ae0 and configure periodic transmission of LACP packets.
[edit ]
user@host# set interfaces ae0 aggregated-ether-options lacp active periodic fast
[edit ]
user@host# set interfaces ae0 unit 0 family ethernet-switching interface-mode
trunk
[edit ]
user@host# set vlan vlan1000 vlan-id 1000
[edit ]
user@host# set interfaces ae0 unit 0 family ethernet-switching vlan members
vlan1000
[edit ]
user@host# 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
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces
ge-0/0/6 {
ether-options {
802.3ad ae0;
}
}
ge-0/0/7 {
ether-options {
802.3ad ae0;
}
}
ae0 {
vlan- tagging;
aggregated-ether-options {
lacp {
active;
periodic fast;
}
}
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members vlan1000;
}
}
}
}
Verification
Action From operational mode, enter the show lacp statistics interfaces ae0 command.
Meaning The output shows LACP statistics for each physical interface associated with the
aggregated Ethernet interface, such as the following:
• The LACP received counter that increments for each normal hello packet received
Use the following command to clear the statistics and see only new changes:
Action From operational mode, enter the show lacp interfaces ae0 command.
Meaning The output shows aggregated Ethernet interface information, including the following
information:
• The LACP state—Indicates whether the link in the bundle is an actor (local or near-end
of the link) or a partner (remote or far-end of the link).
• The LACP mode—Indicates whether both ends of the aggregated Ethernet interface
are enabled (active or passive)—at least one end of the bundle must be active.
Action From operational mode, enter the show lacp statistics interfaces ae0 command.
The output shows LACP statistics for each physical interface associated with the
aggregated Ethernet interface, such as the following:
• The LACP received counter that increments for each normal hello
Use the following command to clear the statistics and see only new changes:
• Example: Configuring Link Aggregation Control Protocol (CLI Procedure) on page 288
Action From operational mode, enter the show lacp interfaces ae0 command.
The output shows aggregated Ethernet interface information, including the following
information:
• The LACP state—Indicates whether the link in the bundle is an actor (local or near-end
of the link) or a partner (remote or far-end of the link).
• The LACP mode—Indicates whether both ends of the aggregated Ethernet interface
are enabled (active or passive)—at least one end of the bundle must be active.
• The LACP protocol state—Indicates the link is up ifit is collecting and distributing
packets.
Related • Example: Configuring Link Aggregation Control Protocol (CLI Procedure) on page 288
Documentation
• Verifying LACP on Redundant Ethernet Interfaces on page 298
You can combine multiple physical Ethernet ports to form a logical point-to-point link,
known as a link aggregation group (LAG) or bundle, such that a media access control
(MAC) client can treat the LAG as if it were a single link.
LAGs can be established across nodes in a chassis cluster to provide increased interface
bandwidth and link availability.
The Link Aggregation Control Protocol (LACP) provides additional functionality for LAGs.
LACP is supported in standalone deployments, where aggregated Ethernet interfaces
are supported, and in chassis cluster deployments, where aggregated Ethernet interfaces
and redundant Ethernet interfaces are supported simultaneously.
You configure LACP on a redundant Ethernet interface by setting the LACP mode for the
parent link with the lacp statement. The LACP mode can be off (the default), active, or
passive.
• Chassis Cluster Redundant Ethernet Interface Link Aggregation Groups on page 294
• Sub-LAGs on page 294
• Supporting Hitless Failover on page 295
• Managing Link Aggregation Control PDUs on page 295
When at least two physical child interface links from each node are included in a redundant
Ethernet interface configuration, the interfaces are combined within the redundant
Ethernet interface to form a redundant Ethernet interface LAG.
Having multiple active redundant Ethernet interface links reduces the possibility of
failover. For example, when an active link is out of service, all traffic on this link is
distributed to other active redundant Ethernet interface links, instead of triggering a
redundant Ethernet active/standby failover.
Aggregated Ethernet interfaces, known as local LAGs, are also supported on either node
of a chassis cluster but cannot be added to redundant Ethernet interfaces. Likewise, any
child interface of an existing local LAG cannot be added to a redundant Ethernet interface,
and vice versa. The total maximum number of combined individual node LAG interfaces
(ae) and redundant Ethernet (reth) interfaces per cluster is 128.
However, aggregated Ethernet interfaces and redundant Ethernet interfaces can coexist,
because the functionality of a redundant Ethernet interface relies on the Junos OS
aggregated Ethernet framework.
For more information, see Understanding Chassis Cluster Redundant Ethernet Interface
Link Aggregation Groups.
Minimum Links
Sub-LAGs
LACP maintains a point-to-point LAG. Any port connected to the third point is denied.
However, a redundant Ethernet interface does connect to two different systems or two
remote aggregated Ethernet interfaces by design.
To support LACP on redundant Ethernet interface active and standby links, a redundant
Ethernet interface is created automatically to consist of two distinct sub-LAGs, where
all active links form an active sub-LAG and all standby links form a standby sub-LAG.
In this model, LACP selection logic is applied and limited to one sub-LAG at a time. In
this way, two redundant Ethernet interface sub-LAGs are maintained simultaneously
while all the LACP advantages are preserved for each sub-LAG.
It is necessary for the switches used to connect the nodes in the cluster to have a LAG
link configured and 802.3ad enabled for each LAG on both nodes so that the aggregate
links are recognized as such and correctly pass traffic.
NOTE: The redundant Ethernet interface LAG child links from each node in
the chassis cluster must be connected to a different LAG at the peer devices.
If a single peer switch is used to terminate the redundant Ethernet interface
LAG, two separate LAGs must be used in the switch.
The lacpd process manages both the active and standby links of the redundant Ethernet
interfaces. A redundant Ethernet interface state remains up when the number of active
up links is more than the number of minimum links configured. Therefore, to support
hitless failover, the LACP state on the redundant Ethernet interface standby links must
be collected and distributed before failover occurs.
• Configure Ethernet links to passively transmit PDUs, sending out link aggregation
control PDUs only when they are received from the remote end of the same link
The local end of a child link is known as the actor and the remote end of the link is known
as the partner. That is, the actor sends link aggregation control PDUs to its protocol
partner that convey what the actor knows about its own state and that of the partner’s
state.
You configure the interval at which the interfaces on the remote side of the link transmit
link aggregation control PDUs by configuring the periodic statement on the interfaces on
the local side. It is the configuration on the local side that specifies the behavior of the
remote side. That is, the remote side transmits link aggregation control PDUs at the
specified interval. The interval can be fast (every second) or slow (every 30 seconds).
For more information, see “Example: Configuring LACP on Chassis Clusters” on page 296.
By default, the actor and partner transmit link aggregation control PDUs every second.
You can configure different periodic rates on active and passive interfaces. When you
configure the active and passive interfaces at different rates, the transmitter honors the
receiver’s rate.
Requirements
Before you begin:
Complete the tasks such as enabling the chassis cluster, configuring interfaces and
redundancy groups. See SRX Series Chassis Cluster Configuration Overview and Example:
Configuring Chassis Cluster Redundant Ethernet Interfaces for more details.
Overview
You can combine multiple physical Ethernet ports to form a logical point-to-point link,
known as a link aggregation group (LAG) or bundle. You configure LACP on a redundant
Ethernet interface of SRX series device in chassis cluster.
In this example, you set the LACP mode for the reth1 interface to active and set the link
aggregation control PDU transmit interval to slow, which is every 30 seconds.
When you enable LACP, the local and remote sides of the aggregated Ethernet links
exchange protocol data units (PDUs), which contain information about the state of the
link. You can configure Ethernet links to actively transmit PDUs, or you can configure the
links to passively transmit them (sending out LACP PDUs only when they receive them
from another link). One side of the link must be configured as active for the link to be up.
Figure 19: Topology for LAGs Connecting SRX Series Devices in Chassis
Cluster to an EX Series Switch
SRX Series SRX Series
Node 0 Node 1
RETH 1
192.168.2.1/24
ae1 ae2
g200022
ge-0/0/0 ge-0/0/3
ge-0/0/2 ge-0/0/1
EX Series Switch
In the Figure 19 on page 297, the ge-3/0/0 interface on SRX Series device is connected to
ge-0/0/0 interface on EX Series switch and the ge-15/0/0 interface is connected to
ge-0/0/1 on EX Series switch. For more information on EX Series switch configuration,
see Configuring Aggregated Ethernet LACP (CLI Procedure).
Configuration
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see the CLI User Guide.
[edit interfaces]
user@host# set interfaces ge-3/0/0 gigether-options redundant-parent reth1
user@host# set interfaces ge-3/0/1 gigether-options redundant-parent reth1
user@host# set interfaces ge-15/0/0 gigether-options redundant-parent reth1
user@host# set interfaces ge-15/0/1 gigether-options redundant-parent reth1
[edit interfaces]
user@host# set interfaces reth1 redundant-ether-options redundancy-group 1
[edit interfaces]
user@host# set interfaces reth1 redundant-ether-options lacp active
user@host# set interfaces reth1 redundant-ether-options lacp periodic slow
[edit interfaces]
user@host# set interfaces reth1 unit 0 family inet address 192.168.2.1/24
[edit interfaces]
user@host# commit
Verification
Action From operational mode, enter the show lacp interfaces reth1 command.
The output shows redundant Ethernet interface information, such as the following:
• The LACP state—Indicates whether the link in the bundle is an actor (local or near-end
of the link) or a partner (remote or far-end of the link).
• The LACP mode—Indicates whether both ends of the aggregated Ethernet interface
are enabled (active or passive)—at least one end of the bundle must be active.
Action From operational mode, enter the show lacp interfaces reth0 command.
The output shows redundant Ethernet interface information, such as the following:
• The LACP state—Indicates whether the link in the bundle is an actor (local or near-end
of the link) or a partner (remote or far-end of the link).
• The LACP mode—Indicates whether both ends of the aggregated Ethernet interface
are enabled (active or passive)—at least one end of the bundle must be active.
LAG and LACP Support on SRX5000 Line Devices with I/O Cards (IOCs)
Support for LAGs based on IEEE 802.3ad makes it possible to aggregate physical interface
links on your device. LAGs provide increased interface bandwidth and link availability by
linking physical ports and load-balancing traffic crossing the combined interface.
LACP provides a standardized means for exchanging information between partner (remote
or far-end of the link) systems on a link. This exchange allows their link aggregation
control instances to reach agreement on the identity of the LAG to which the link belongs,
and then to move the link to that LAG. This exchange also enables the transmission and
reception processes for the link to function in an orderly manner.
The following LAG and LACP features are supported on the SRX5K-MPC:
• LACP bundles several physical interfaces to form one logical interface by exchanging
LACP packets between the local interface and the remote interface. LACP monitors
the link for changes in interface state by exchanging a periodic LACP heartbeat between
two sides. Any changes in interface state are reflected in the LACP packet.
• Normally after an LACP is configured and committed, two sides start to exchange
interface and port information. Once they identify each other and match the LACP
state machine criteria, the LACP is declared as up. You can deactivate or delete the
LACP configuration.
• By default, the LACP packets are exchanged in every second. You can configure the
LACP interval as fast (every second) or slow (every 30 seconds) to ensure the health
of the interfaces.
SRX5K-MPCs on SRX5000 line devices provide active and standby support with
redundant Ethernet interface LAGs in chassis cluster deployments.
LAG and LACP Support on the SRX5000 Line IOCs in Express Path Mode
Starting in Junos OS Release 15.1X49-D40, the IOC2 and IOC3 cards on SRX5400,
SRX5600, and SRX5800 devices support link aggregation groups (LAGs) and Link
Aggregation Control Protocol (LACP) in Express Path mode.
You can use the links in a LAG as ingress or egress interfaces in Express Path mode. The
LAG links can include links from cards such as IOC2 or IOC3. For a LAG link to qualify for
Express Path, all its member links should be connected to Express Path-enabled network
processors. If Express Path is disabled on any of the member links in a LAG, a regular
session (non-Express Path session) is created.
NOTE:
• Cross-IOC LAG interfaces do not support Layer 2 transparent mode.
• Mixed interface speeds are not supported on the same aggregated bundle.
15.1X49-D40 Starting in Junos OS Release 15.1X49-D40, the IOC2 and IOC3 cards on
SRX5400, SRX5600, and SRX5800 devices support link aggregation
groups (LAGs) and Link Aggregation Control Protocol (LACP) in Express
Path mode.
Example: Configuring LAG Interface on an SRX5000 Line Device with IOC2 or IOC3
Starting in Junos OS Release 15.15X49-D40, IEEE 802.3ad link aggregation enables you
to group Ethernet interfaces to form a single, aggregated Ethernet interface. This single,
aggregated Ethernet interface is also known as a LAG or bundle. The LACP provides
additional functionality for LAGs.
This example shows how to configure LAG on an SRX Series device using the links from
either IOC2 or IOC3 in Express Path mode.
Requirements
This example uses the following software and hardware components:
• SRX5800 with IOC2 or IOC3 with Express Path enabled on IOC2 and IOC3. For details,
see Example: Configuring SRX5K-MPC3-100G10G (IOC3) and SRX5K-MPC3-40G10G
(IOC3) on an SRX5000 Line Device to Support Express Path.
Overview
In this example, you create a logical aggregated Ethernet interface and define the
parameters associated with the logical aggregated Ethernet interface, such as a logical
unit, interface properties, and LACP. Next, define the member links to be contained within
the aggregated Ethernet interface—for example, four 10-Gigabit Ethernet interfaces.
Finally, configure an LACP for link detection.
• xe-0/0/8
• xe-0/0/9
• xe-1/0/8
• xe-1/0/9
• xe-3/1/4
• xe-3/1/5
• xe-5/1/4
• xe-5/1/5
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them into a text
Configuration file, remove any line breaks, change any details necessary to match your network
configuration, delete, and then copy and paste the commands into the CLI at the [edit]
hierarchy level, and then enter commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see the Junos OS CLI User Guide.
[edit chassis]
user@host# set aggregated-devices ethernet device-count 5
[edit interfaces]
user@host# set xe-0/0/8 gigether-options 802.3ad ae1
user@host# set xe-0/0/9 gigether-options 802.3ad ae0
user@host# set xe-1/0/8 gigether-options 802.3ad ae1
user@host# set xe-1/0/9 gigether-options 802.3ad ae0
user@host# set xe-3/1/4 gigether-options 802.3ad ae1
user@host# set xe-3/1/5 gigether-options 802.3ad ae0
user@host# set xe-5/1/4 gigether-options 802.3ad ae1
user@host# set xe-5/1/5 gigether-options 802.3ad ae0
[edit interfaces]
user@host# set ae0 unit 0 family inet address 17.0.0.1/24
user@host# set ae1 unit 0 family inet address 16.0.0.1/24
[edit interfaces]
user@host# set ae0 aggregated-ether-options lacp active
user@host# set ae1 aggregated-ether-options lacp active
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces
xe-0/0/8 {
gigether-options {
802.3ad ae1;
}
}
xe-0/0/9 {
gigether-options {
802.3ad ae0;
}
}
xe-1/0/8 {
gigether-options {
802.3ad ae1;
}
}
xe-1/0/9 {
gigether-options {
802.3ad ae0;
}
}
xe-3/1/4 {
gigether-options {
802.3ad ae1;
}
}
xe-3/1/5 {
gigether-options {
802.3ad ae0;
}
}
ae0 {
aggregated-ether-options {
lacp {
active;
}
}
unit 0 {
family inet {
address 17.0.0.1/24;
}
}
}
ae1 {
aggregated-ether-options {
lacp {
active;
}
}
unit 0 {
family inet {
address 16.0.0.1/24;
}
}
}
[edit]
user@host# show chassis
aggregated-devices {
ethernet {
device-count 5;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Action From operational mode, enter the show lacp interfaces command to check that LACP
has been enabled as active on one end.
The output indicates that LACP has been set up correctly and is active at one end.
Example: Configuring Aggregated Ethernet Device with LAG and LACP on a Security
Device (CLI Procedure)
Requirements
No special configuration beyond device initialization is required before configuring this
feature.
Overview
This example shows the configuration of aggregated Ethernet (ae) devices with LAG
and LACP.
Configuration
[edit]
user@host# set chassis aggregated-devices ethernet device-count 5
[edit]
user@host# set interfaces ge-2/0/1 ether-options 802.3ad ae0
user@host# set interfaces ge-2/0/2 ether-options 802.3ad ae0
[edit]
user@host# set interfaces ae0 aggregated-ether-options lacp active
4. Configure family Ethernet switching for the aggregated Ethernet interface with LAG.
[edit]
user@host# set interfaces ae0 unit 0 family ethernet-switching
[edit]
user@host# set vlans vlan20 vlan-id 20
[edit]
user@host# set vlans vlan20 interface ae0
7. Check the configuration by entering the show vlans and show interfaces commands
[edit]
user@host# commit
NOTE: Likewise, you can configure other devices with LAG and LACP.
Verification
Purpose Verify that you can configure aggregated Ethernet interfaces with LAG and LACP.
Action From configuration mode, enter the show lacp interfaces to view the LACP interfaces.
From configuration mode, enter the show vlans command to view the VLAN interfaces.
From configuration mode, enter the show interfaces (interface name) command to view
the status of the ge-2/0/1 and ge-2/0/2 interfaces.
Meaning The output shows the aggregated Ethernet Interface with LAG and LACP is configured.
• Example: Configuring Link Aggregation Control Protocol (CLI Procedure) on page 288
The 1-Port Gigabit Ethernet SFP Mini-PIM interfaces a single Gigabit Ethernet device or
a network. It supports a variety of transceivers with data speeds of
10-Mbps/100-Mbps/1-Gbps with extended LAN or WAN connectivity.
Supported Features
The following features are supported on the 1-Port Gigabit Ethernet SFP Mini-PIM:
• Half-duplex/full-duplex support
• Autonegotiation
• Encapsulations
• Maximum transmission unit (MTU) size of 1514 bytes (default) and 9010 bytes (jumbo
frames)
• Loopback
type-fpc/pic/port
Where:
• fpc—Number of the Flexible PIC Concentrator (FPC) card on which the physical interface
is located
By default, the interfaces on the ports on the uplink module installed on the device are
enabled. You can also specify the MTU size for the Gigabit Ethernet interface. Junos OS
supports values from 256 through 9010. The default MTU size for Gigabit Ethernet
interfaces is 1514.
The 1-Port Gigabit Ethernet SFP Mini-PIM supports the following link modes:
Link Settings
The 1-Port Gigabit Ethernet SFP Mini-PIM includes the following link settings:
• loopback—Enables loopback.
• no-loopback—Disables loopback.
NOTE: On SRX340 High Memory devices, traffic might stop between the
SRX340 device and the Cisco switch due to link mode mismatch. We
recommend setting the same value to the autonegotiation parameters on
both ends.
NOTE: On SRX300 devices, the link goes down when you upgrade FPGA on
1-Port Gigabit Ethernet SFP mini-PIM. As a workaround, run the restart fpc
command and restart the FPC.
This example shows how to perform basic configuration for the 1-Port Gigabit Ethernet
SFP Mini-PIM.
Requirements
Before you begin:
• Establish basic connectivity. See the Getting Started Guide for your device.
Overview
In this example, you configure the ge-2/0/0 interface, set the operating speed to 100
Mbps, and define a logical interface that you can connect to the 1-Port Gigabit Ethernet
SFP Mini-PIM. You also set the MTU value to 9010 and set the link option to no-loopback.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
GUI Step-by-Step To quickly configure the physical properties of a 1-Port Gigabit Ethernet SFP Mini-PIM
Procedure using J-Web, use the following steps:
2. Under Interface, select ge-2/0/0 and then click Edit. A pop-up window appears.
3. In the Description box, type the description for the SFP Mini-PIM.
9. Click OK
GUI Step-by-Step To disable the 1-Port Gigabit Ethernet SFP Mini-PIM using J-Web, use the following steps:
Procedure
1. Select Configure > Interfaces .
GUI Step-by-Step To quickly configure the logical properties of a 1-Port Gigabit Ethernet SFP Mini-PIM using
Procedure J-Web, use the following steps:
2. Under Interface, select ge-2/0/0.0, and then click Add Logical Interface. A pop-up
window appears.
6. To edit the family protocol type to the Mini-PIM interfaces, select the IPv4 tab, and
then select Enable address configuration.
8. Click OK.
Step-by-Step To quickly configure the physical properties of a 1-Port Gigabit Ethernet SFP Mini-PIM
Procedure using J-Web:
1. Under Interface, select the logical interface added to the 1-Port Gigabit Ethernet
SFP Mini-PIM and then click Edit. A pop-up window appears.
2. Under Interface, select ge-2/0/0.0, and then click Edit Logical Interface. A pop-up
window appears.
4. To enable DHCP client on the interface, select the IPv4 tab and then select Enable
DHCP.
5. Click OK.
NOTE: You cannot add or edit Description and Unit for a logical interface.
GUI Step-by-Step To delete the logical interface of 1–Port Gigabit Ethernet SFP Mini-PIM using J-Web,
Procedure
1. Select Configure > Interfaces.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
[edit]
user@host# edit interfaces ge-2/0/0
2. Set the operating link-mode full-duplex speed of 100 Mbps for the SFP Mini-PIM.
Results From configuration mode, confirm your configuration by entering the show interfaces
ge-2/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces ge-2/0/0
mtu 9010;
speed 100m;
gigether-options {
no-loopback;
}
unit 0 {
family inet {
14.1.1.1/24
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the 1-Port Gigabit Ethernet SFP Mini-PIM is installed on the device.
Action From operational mode, enter the show chassis hardware command.
NOTE: In the example shown above, the output for 1-Port SFP Mini-Physical
Interface Module is displayed as 1X GE SFP mPIM and the output for 1-Port
Gigabit Ethernet SFP Mini-Physical Interface Module is displayed as 1X GE
High-Perf SFP mPIM.
NOTE: The 1-Port GE SFP Mini-PIM is installed in the second slot of the device
chassis; therefore the output displayed is 1x GE High-Perf SFP mPIM and the
Flexible PIC Concentrator (FPC) used here is fpc 2.
The 1-Port SFP Mini-PIM is installed in the fourth slot of the device chassis;
therefore the output displayed is 1x GE SFP mPIM and Flexible PIC
Concentrator (FPC) used here is fpc 4.
Action From operational mode, enter the show chassis fpc command.
The 1-Port SFP Mini-PIM is installed in the fourth slot of the device chassis; the output
shows the FPC status for slot 4 as online.
The 1-Port Gigabit Ethernet SFP Mini-PIM is installed in the second slot of the device
chassis; the output shows the FPC status for slot 2 as online.
Action From operational mode, enter the show interface ge-2/0/0 command.
• MTU—9010; Link-mode—Full-duplex
• Speed—100 Mbps
• Loopback—Disabled
• 2 X copper ports. The copper ports support 10GBASE-T running with CAT6A or CAT7
Ethernet cable for up to 100 meters.
• 2 X fiber (SFP+) ports. The fiber ports support SFP+ multiple 10G modules.
The 2-Port 10-Gigabit Ethernet XPIM provides interconnects for LANs, WANs, and
metropolitan area networks (MANs). The XPIM provides multiple service levels (1-Gigabit
Ethernet to 10-Gigabit Ethernet in increments) and a single connection option for a wide
range of customer needs and applications.
Supported Features
The following features are supported on the 2-Port 10-Gigabit Ethernet XPIM:
• SFPP-10GE-SR
• SFPP-10GE-LR
• SFPP-10GE-ER
• SFPP-10GE-LRM
• Flow control
type-fpc/pic/port
Where:
• fpc — Number of the Flexible PIC Concentrator (FPC) card on which the physical
interface is located
• pic — Number of the PIC on which the physical interface is located (0)
By default, the interfaces (for example, xe-6/0/0 or xe-2/0/0) on the ports on the uplink
module installed on the device are enabled. You can also specify the maximum
transmission unit (MTU) size for the Gigabit Ethernet interface. Junos OS supports values
from 256 through 9192. The default MTU for Gigabit Ethernet interfaces is 1514.
The 2-Port 10-Gigabit Ethernet XPIM can be configured to operate in two copper mode,
two fiber mode, or mixed mode (one copper and one fiber). In mixed mode, the two ports
should be from different port groups (one port from port 1 and the other from port 2).
Link Speeds
The 2-Port 10-Gigabit Ethernet XPIM ports support the following link speeds for copper
and fiber:
Link Settings
The 2-Port 10-Gigabit Ethernet XPIM includes the following link settings:
• loopback—Enables loopback.
• no-loopback—Disables loopback.
By default, flow control is enabled on all ports, a link speed of 10 Gbps in full duplex is
supported, autonegotiation is disabled on the fiber ports, and autonegotiation is enabled
on copper ports.
This example shows how to perform basic configuration for the 1-Port Gigabit Ethernet
SFP Mini-PIM.
Requirements
Before you begin:
• Establish basic connectivity. See the Getting Started Guide for your device.
Overview
In this example, you configure the xe-6/0/0 interface, set the operating mode to copper
mode, set the operating speed to 10 Gbps, and define a logical interface that you can
connect to the 2-Port 10-Gigabit Ethernet XPIM. Additionally, you set the MTU value to
1514, set the link option to no loopback, and enable the interface.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set interfaces xe-6/0/0 media-type copper speed 10g unit 0 family inet mtu 1514
set interface xe-6/0/0 gigether-options no-loopback
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
[edit]
user@host# edit interfaces xe-6/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
xe-6/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces xe-6/0/0
speed 10g;
media-type copper;
gigether-options {
no-loopback;
}
unit 0 {
family inet {
mtu 1514;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the 2-Port 10-Gigabit Ethernet XPIM is installed on the device.
Action From operational mode, enter the show chassis hardware command.
Hardware inventory:
Item Version Part number Serial number Description
Chassis AJ0309AC0047 SRX650
Midplane REV 04 710-023875 TV3993
Action From operational mode, enter the show chassis fpc command.
Action From operational mode, enter the show interface xe-6/0/0 command.
• MTU—1514
• Speed—10 Gbps
• Loopback—Disabled
• Flow control—Enabled
A Gigabit Ethernet Physical Interface Module (XPIM) is a network interface card (NIC)
that installs in the front slots of the SRX550 Services Gateway to provide physical
connections to a LAN or a WAN.
Supported Features
The following features are supported on the 8-Port Gigabit Ethernet SFP XPIM:
• Operates on both a slot with a maximum bandwidth of 8 gigabits and a slot with a
maximum bandwidth of 1 gigabit
• Layer 2 protocols
• Spanning Tree Protocol (STP), Real-Time Streaming Protocol (RTSP), and Multiple
Spanning Tree Protocol (MSTP)
• 802.1x
• ethernet-bridge
• ethernet-ccc
• ethernet-tcc
• ethernet-vpls
• extended-vlan-ccc
• extended-vlan-tcc
• flexible-ethernet-services
• vlan-ccc
• Q in Q VLAN tagging
NOTE:
The following Layer 2 switching features are not supported when the 8-Port
Gigabit Ethernet SFP XPIM is plugged in slots with speeds of less than 1
gigabit:
• Q in Q VLAN tagging
type-fpc/pic/port
Where:
• fpc—Number of the Flexible PIC Concentrator (FPC) card where the physical interface
resides
By default, the interfaces on the ports on the uplink module installed on the device are
enabled. You can also specify the maximum transmission unit (MTU) size for the XPIM.
Junos OS supports values from 256 through 9192. The default MTU size for the 8-Port
Gigabit Ethernet SFP XPIM is 1514.
Related • Example: Configuring 8-Port Gigabit Ethernet SFP XPIMs on page 326
Documentation
This example shows how to perform a basic back-to-back device configuration with
8-port Gigabit Ethernet small form-factor pluggable (SFP) XPIMs. It describes a common
scenario in which SFP XPIMs are deployed.
Requirements
This example uses the following hardware and software components:
• Eight pairs of SFP transceivers as mentioned in 8-Port Gigabit Ethernet SFP XPIM
Supported Modules and eight cables to connect them.
• Establish basic connectivity. See the Getting Started Guide for your device.
ge-0/0/3
Device 1
ge-6/0/0
8-Port GE SFP XPIM
Fiber-optic cable
Client
(Packet generator/receiver)
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them into a text
Configuration 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 The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# set interfaces ge-6/0/0
NOTE: Repeat these steps for the remaining seven ports on Device 1.
[edit]
user@host# edit interfaces ge-6/0/0
NOTE: Repeat these steps for the remaining seven ports on Device 2.
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
Device 1 [edit]
user@host# show interfaces
ge-6/0/0 {
mtu 9192;
unit 0 {
family inet {
address 10.1.1.1/24;
}
}
}
ge-6/0/1 {
mtu 9192;
unit 0 {
family inet {
address 11.1.1.1/24;
}
}
}
ge-6/0/2 {
mtu 9192;
unit 0 {
family inet {
address 12.1.1.1/24;
}
}
}
ge-6/0/3 {
mtu 9192;
unit 0 {
family inet {
address 13.1.1.1/24;
}
}
}
ge-6/0/4 {
mtu 9192;
unit 0 {
family inet {
address 14.1.1.1/24;
}
}
}
ge-6/0/5 {
mtu 9192;
unit 0 {
family inet {
address 15.1.1.1/24;
}
}
}
ge-6/0/6 {
mtu 9192;
unit 0 {
family inet {
address 16.1.1.1/24;
}
}
}
ge-6/0/7 {
mtu 9192;
unit 0 {
family inet {
address 17.1.1.1/24;
}
}
}
Device 2 [edit]
user@host# show interfaces
ge-6/0/0 {
mtu 9192;
unit 0 {
family inet {
address 10.1.1.2/24;
}
}
}
ge-6/0/1 {
mtu 9192;
unit 0 {
family inet {
address 11.1.1.2/24;
}
}
}
ge-6/0/2 {
mtu 9192;
unit 0 {
family inet {
address 12.1.1.2/24;
}
}
}
ge-6/0/3 {
mtu 9192;
unit 0 {
family inet {
address 13.1.1.2/24;
}
}
}
ge-6/0/4 {
mtu 9192;
unit 0 {
family inet {
address 14.1.1.2/24;
}
}
}
ge-6/0/5 {
mtu 9192;
unit 0 {
family inet {
address 15.1.1.2/24;
}
}
}
ge-6/0/6 {
mtu 9192;
unit 0 {
family inet {
address 16.1.1.2/24;
}
}
}
ge-6/0/7 {
mtu 9192;
unit 0 {
family inet {
address 17.1.1.2/24;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the 8-Port Gigabit Ethernet SFP XPIM is installed on the device.
Action From operational mode, enter the show chassis hardware command.
Meaning The output displays the hardware details of the device and a list of all interfaces
configured.
NOTE: In the example, the output for 8-Port SFP Gigabit Ethernet XPIM is
displayed as 8x GE SFP gPIM.
Purpose Verify that the status of the Flexible PIC Concentrator is online.
Action From operational mode, enter the show chassis fpc pic-status command.
Meaning The output shows the FPC status for slot 5 and slot 6 as online. The 8-Port Gigabit
Ethernet SFP XPIM is installed in slot 5 and slot 6 of the device.
Action From operational mode, enter the show interface terse ge-6/0/* command.
If the link displays up for all interfaces, the configuration is working properly. This verifies
that the XPIM is up and end-to-end ping is working.
Action From operational mode, enter the show interface ge-6/0/0 extensive | no-more command.
0 best-effort 3 3 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
Logical interface ge-6/0/0.0 (Index 81) (SNMP ifIndex 509) (Generation 146)
Flags: SNMP-Traps 0x0 Encapsulation: ENET2
Traffic statistics:
Input bytes : 0
Output bytes : 42
Input packets: 0
Output packets: 1
Local statistics:
Input bytes : 0
Output bytes : 42
Input packets: 0
Output packets: 1
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
• MTU—9192
• Speed—1000 Mbps
Action From operational mode, enter the show interface terse ge-6/0/* command.
If the link displays up for all interfaces, the configuration is working properly. This verifies
that the XPIM is up and end-to-end ping is working.
Action From operational mode, enter the show interface ge-6/0/0 extensive | no-more command.
0 best-effort 3 3 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
Autonegotiation information:
Negotiation status: Complete
Link partner:
Link mode: Full-duplex, Flow control: None, Remote fault: OK,
Link partner Speed: 1000 Mbps
Local resolution:
Flow control: None, Remote fault: Link OK
Packet Forwarding Engine configuration:
Destination slot: 6
CoS information:
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
Logical interface ge-6/0/0.0 (Index 73) (SNMP ifIndex 509) (Generation 146)
Flags: SNMP-Traps 0x0 Encapsulation: ENET2
Traffic statistics:
Input bytes : 0
Output bytes : 42
Input packets: 0
Output packets: 1
Local statistics:
Input bytes : 0
Output bytes : 42
Input packets: 0
Output packets: 1
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf ospf3 pgm pim rip ripng router-discovery rsvp sap vrrp
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 9178, Generation: 162, Route table: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.1.1/24, Local: 10.1.1.2, Broadcast: 10.1.1.255,
Generation: 176
• MTU—9192
• Speed—1000 Mbps
Related • Understanding the 8-Port Gigabit Ethernet SFP XPIM on page 324
Documentation
Port mirroring copies packets entering or exiting a port and sends the copies to a local
interface for monitoring. Port mirroring is used to send traffic to applications that analyze
traffic for purposes such as monitoring compliance, enforcing policies, detecting intrusions,
monitoring and predicting traffic patterns, correlating events, and so on.
Port mirroring is used to send a copy of all the packets or only the sampled packets seen
on a port to a network monitoring connection. You can mirror the packets either on the
incoming port (ingress port mirroring) or the outgoing port (egress port mirroring).
NOTE: Port mirroring is supported only on the SRX devices with the following
I/O cards:
• SRX1K-SYSIO-GE
• SRX1K-SYSIO-XGE
• SRX3K-SFB-12GE
• SRX3K-2XGE-XFP
On SRX devices, all packets passing through the mirrored port are copied and sent to the
specified mirror-to port. These ports must be on the same Broadcom chipset in the I/O
cards.
To configure port mirroring on an SRX device, you must first configure the
forwarding-options and interfaces at the [edit] hierarchy level.
You must configure the forwarding-options statement to define an instance of the mirror-to
port for port mirroring and also configure the interface to be mirrored.
NOTE: The mirrored port and the mirror-to port must be under the same
Broadcom chipset in a I/O card.
1. Specify the rate and run-length at the [edit forwarding-options port-mirroring input]
hierarchy level:
NOTE:
• rate: Ratio of packets to be sampled (1 out of N) (1 through 65535)
[edit]
forwarding-options
port-mirroring {
input {
rate number;
run-length number;
}
}
2. To send the copies of the packet to the mirror-to port, include the interface intf-name
statement at the [edit forwarding-options port-mirroring family any output] hierarchy
level.
output {
interface intf-name;
}
NOTE: Port mirroring on SRX devices uses family any to transfer the
mirror-to port information to the Packet Forwarding Engine (PFE). The
mirroring engine copies all the packets from mirrored port to the mirror-to
port.
instance {
inst-name {
input {
rate number;
run-length number;
}
family any {
output {
interface intf-name;
}
}
}
}
interfaces
mirrored-intf-name {
port-mirror-instance instance-name;
}
NOTE: Port mirroring on SRX devices does not differentiate the traffic
direction, but mirrors the ingress and egress samples together.
family any {
output {
interface ge-1/0/9.0;
}
}
}
}
interfaces {
ge-1/0/2 {
port-mirror-instance inst1;
}
}
• Understanding Ethernet OAM Link Fault Management for SRX Series Services
Gateways on page 347
• Example: Configuring Ethernet OAM Link Fault Management on a Security
Device on page 349
• Example: Configuring Remote Loopback Mode on VDSL Interfaces on a Security
Device on page 353
Understanding Ethernet OAM Link Fault Management for SRX Series Services Gateways
Starting in Junos OS Release 15.1X49-D70, Ethernet OAM link fault management for SRX
Series services gateways is supported on SRX300, SRX320, SRX340, SRX345, SRX550M,
and SRX1500 devices.
The Ethernet interfaces on SRX Series devices support the IEEE 802.3ah standard for
Operation, Administration, and Maintenance (OAM). The standard defines OAM link fault
management (LFM). You can configure IEEE 802.3ah OAM LFM on point-to-point Ethernet
links that are connected either directly or through Ethernet repeaters. The IEEE 802.3ah
standard meets the requirement for OAM capabilities as Ethernet moves from being
solely an enterprise technology to a WAN and access technology, and the standard
remains backward-compatible with existing Ethernet technology.
NOTE: For SRX550M devices, LFM is supported only on devices that have
16-port or 24-port GPIMs.
in discovery. The device performs link monitoring by sending periodic OAM protocol
data units (PDUs) to advertise OAM mode, configuration, and capabilities.
You can specify the number of OAM PDUs that an interface can miss before the link
between peers is considered down.
• Remote fault detection—Remote fault detection uses flags and events. Flags convey
Link Fault (a loss of signal), Dying Gasp (an unrecoverable condition such as a power
failure), and Critical Event (an unspecified vendor-specific critical event). You can
specify the periodic OAM PDU sending interval for fault detection. SRX Series devices
use the Event Notification OAM PDU to notify the remote OAM device when a problem
is detected. You can specify the action to be taken by the system when the configured
link-fault event occurs.
• Remote loopback—Remote loopback mode ensures link quality between the device
and a remote peer during installation or troubleshooting. In this mode, when the
interface receives a frame that is not an OAM PDU or a pause frame, it sends it back
on the same interface on which it was received. The link appears to be in the active
state. You can use the returned loopback acknowledgement to test delay, jitter, and
throughput.
Junos OS can place a remote data terminal equipment (DTE) into loopback mode (if
remote loopback mode is supported by the remote DTE). When you place a remote
DTE into loopback mode, the interface receives the remote loopback request and puts
the interface into remote loopback mode. When the interface is in remote loopback
mode, all frames except OAM PDUs are looped back without any changes made to
the frames. OAM PDUs continue to be sent and processed.
• ccc
• ethernet-switching
• inet6
• inet
• iso
• mpls
• tcc
IFD encapsulations
• ethernet-ccc
• extended-vlan-ccc (IFD vlan-tagging mode)
• ethernet-tcc
• extended-vlan-tcc
IFD encapsulations
• ethernet-ccc
• extended-vlan-ccc (IFD vlan-tagging mode)
• vlan-ccc
Related • Example: Configuring Ethernet OAM Link Fault Management on a Security Device on
Documentation page 349
The Ethernet interfaces on the SRX Series devices support the IEEE 802.3ah standard
for Operation, Administration, and Maintenance (OAM). The standard defines OAM link
fault management (LFM). You can configure IEEE 802.3ah OAM LFM on point-to-point
Ethernet links that are connected either directly or through Ethernet repeaters.
This example describes how to enable and configure OAM LFM on a Gigabit Ethernet or
Fast Ethernet interface:
Requirements
This example uses the following hardware and software components:
• Establish basic connectivity. See the Getting Started Guide for your device.
• Ensure that you configure the interfaces as per the interface modules listed in
“Understanding Ethernet OAM Link Fault Management for SRX Series Services
Gateways” on page 347
Overview
The Ethernet interfaces on the SRX Series devices support the IEEE 802.3ah standard
for Operation, Administration, and Maintenance (OAM). The standard defines OAM link
fault management (LFM). You can configure IEEE 802.3ah OAM LFM on point-to-point
Ethernet links that are connected either directly or through Ethernet repeaters.
This example uses two SRX Series devices connected directly. Before you begin configuring
Ethernet OAM LFM on these two devices, connect the two devices directly through
supported interfaces. See “Understanding Ethernet OAM Link Fault Management for
SRX Series Services Gateways” on page 347.
ge-0/0/0
NOTE: For more information about configuring Ethernet OAM Link Fault
®
Management, see Junos OS Ethernet Interfaces.
Configuration
To configure Ethernet OAM LFM, perform these tasks:
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the Junos OS CLI User Guide.
2. Set the periodic OAM PDU-sending interval (in milliseconds) for fault detection.
Results From configuration mode, confirm your configuration by entering the show protocols
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@device1# show protocols
protocols {
oam {
ethernet {
link-fault-management {
interface ge-0/0/0 {
pdu-interval 800;
link-discovery active;
}
}
}
}
}
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
2. Set the periodic OAM PDU-sending interval (in milliseconds) for fault detection.
Results From configuration mode, confirm your configuration by entering the show protocols
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@device2# show protocols
protocols {
oam {
ethernet {
link-fault-management {
interface ge-0/0/1 {
negotiation-options {
allow-remote-loopback;
}
}
}
}
}
}
Verification
Action From operational mode, enter the show oam ethernet link-fault-management command.
Interface: ge-0/0/0.0
Status: Running, Discovery state: Send Any
Peer address: 2001:bd8:00:31
Flags:Remote-Stable Remote-State-Valid Local-Stable 0x50
Remote entity information:
Remote MUX action: forwarding, Remote parser action: forwarding
Discovery mode: active, Unidirectional mode: unsupported
Remote loopback mode: supported, Link events: supported
Variable requests: unsupported
Meaning The output displays the MAC address and the discovery state is Send Any if OAM LFM
has been configured properly.
Related • Understanding Ethernet OAM Link Fault Management for SRX Series Services Gateways
Documentation on page 347
Requirements
This example uses the following hardware and software components:
• Establish basic connectivity. See the Getting Started Guide for your device.
• Ensure that you configure the interfaces as per the interface modules listed in
“Understanding Ethernet OAM Link Fault Management for SRX Series Services
Gateways” on page 347
• Ensure that you configure PPPOE as per the instructions listed in “Example: Configuring
PPPoE Interfaces” on page 385
Overview
This example uses an SRX Series device connected to a DSLAM. Before you begin
configuring Ethernet OAM LFM on these two devices, connect the two devices directly
through supported interfaces. See “Understanding Ethernet OAM Link Fault Management
for SRX Series Services Gateways” on page 347.
pt-1/0/0
SRX Series Device
B-RAS DSLAM
g200064
pppoe Link
LFM Session
NOTE: For more information about configuring Ethernet OAM Link Fault
®
Management, see Junos OS Ethernet Interfaces.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step To configure remote loopback mode on a VDSL interface of an SRX Series device:
Procedure
1. Enable OAM on a VDSL interface.
Results From configuration mode, confirm your configuration by entering the show protocols
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@device2# show protocols
protocols {
oam {
ethernet {
link-fault-management {
interface pt-1/0/0 {
negotiation-options {
allow-remote-loopback;
}
}
}
}
}
}
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Results From configuration mode, confirm your configuration by entering the show protocols
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@device2# show protocols
protocols {
oam {
ethernet {
link-fault-management {
interface pt-1/0/0 {
link-discovery active;
negotiation-options {
allow-remote-loopback;
}
}
}
}
}
}
Verification
Action From operational mode, enter the show oam ethernet link-fault-management command.
Interface: pt-1/0/0.0
Status: Running, Discovery state: Send Any
Meaning The output displays the MAC address and the discovery state is Send Any if OAM LFM
has been configured properly.
Related • Understanding Ethernet OAM Link Fault Management for SRX Series Services Gateways
Documentation on page 347
Power over Ethernet (PoE) is the implementation of the IEEE 802.3 AF and IEEE 802.3
AT standards that allow both data and electrical power to pass over a copper Ethernet
LAN cable.
The SRX Series devices support PoE on Ethernet ports. PoE ports transfer electrical
power and data to remote devices over standard twisted-pair cable in an Ethernet
network. PoE ports allow you to plug in devices that require both network connectivity
and electrical power, such as VoIP and IP phones and wireless LAN access points.
You can configure the SRX Series device to act as power sourcing equipment (PSE),
supplying power to powered devices that are connected on designated ports.
Table 27: PoE Specifications for the SRX210, SRX240, SRX320, SRX340, and SRX650 Devices
For SRX210 For SRX240 For SRX320 For SRX340 For SRX650
Specifications Device Device Device Device Device
Supported • IEEE 802.3 AF • IEEE 802.3 AF • IEEE 802.3 AF • IEEE 802.3 AF • IEEE 802.3 AF
standards • Legacy • IEEE 802.3 AT • Legacy • IEEE 802.3 AT • IEEE 802.3 AT
(pre-standards) (PoE+) (pre-standards) (PoE+) (PoE+)
• Legacy • Legacy • Legacy
(pre-standards) (pre-standards) (pre-standards)
Supported Supported on two Supported on all 16 Supported on two Supported on all 16 Supported on the
ports Gigabit Ethernet Gigabit Ethernet Gigabit Ethernet Gigabit Ethernet following ports:
ports and two Fast ports (ge-0/0/0 to ports and two Fast ports (ge-0/0/0 to
Ethernet ports ge-0/0/15). Ethernet ports ge-0/0/15). • Slot 2 or 6 on 16
(ge-0/0/0, (ge-0/0/0 to Gigabit Ethernet
ge-0/0/1, fe-0/0/2, ge-0/0/5). ports
and fe-0/0/3). • ge-2/0/0 to
ge-2/0/15
• ge-6/0/0 to
ge-6/0/15
• Slot 2 or 6 on 24
Gigabit Ethernet
ports
• ge-2/0/0 to
ge-2/0/23
• ge-6/0/0 to
ge-6/0/23
• 250 watts on a
single power
supply, or with
redundancy using
the
two-power-supply
option.
• 500 watts with
the
two-power-supply
option operating
as nonredundant.
Maximum 30 W 30 W 30 W 30 W 30 W
per port
power limit
Table 27: PoE Specifications for the SRX210, SRX240, SRX320, SRX340, and SRX650
Devices (continued)
For SRX210 For SRX240 For SRX320 For SRX340 For SRX650
Specifications Device Device Device Device Device
Power • Static: Power • Static: Power • Static: Power • Static: Power • Static: Power
management allocated for allocated for allocated for allocated for allocated for
modes each interface each interface each interface each interface each interface
can be can be can be can be can be
configured. configured. configured. configured. configured.
• Class: Power • Class: Power • Class: Power • Class: Power • Class: Power
allocated for allocated for allocated for allocated for allocated for
interfaces is interfaces is interfaces is interfaces is interfaces is
based on the based on the based on the based on the based on the
class of powered class of powered class of powered class of powered class of powered
device device device device device
connected. connected. connected. connected. connected.
Table 28 on page 361 lists the classes and their power ratings as specified by the IEEE
standards.
0 Default 15.4 W
1 Optional 4.0 W
2 Optional 7.0 W
3 Optional 15.4 W
PoE Options
When configuring PoE, you must enable the PoE interface in order for the port to provide
power to a connected, powered device. In addition, you can configure the following PoE
features:
• Port priority—Sets port priority. When it is not possible to maintain power to all
connected ports, lower priority ports are powered off before higher priority ports. When
a new device is connected on a higher-priority port, a lower priority port will be powered
off automatically if available power is insufficient to power on the higher priority port.
(For the ports with the same priority configuration, ports on the left are given higher
priority than the ports on the right.)
• Reserve power—Reserves the specified amount of power for the gateway in case of a
spike in PoE consumption. The default is 0.
Requirements
Before you begin, configure Ethernet interfaces. See “Example: Creating an Ethernet
Interface” on page 257.
Overview
This example shows how to configure PoE on all interfaces on a device. In this example,
you set the power port priority to low and the maximum power available to a port to 15.4
watts. Then you enable the PoE power consumption logging with the default telemetries
settings, and you set the PoE management mode to static. Finally, you set the reserved
power consumption to 15 watts in case of a spike in PoE consumption.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see the Junos OS CLI User Guide.
1. Enable PoE.
[edit]
user@host# edit poe interface all
[edit]
user@host# set poe management static
[edit]
user@host# set poe guard-band 15
Results From configuration mode, confirm your configuration by entering the show poe interface
all command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show poe interface all
priority low;
maximum-power 15.4;
telemetries;
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the PoE interfaces on the device are enabled and set to the desired priority
settings. (The device used here is the SRX340 Services Gateway.)
Action From operational mode, enter the show poe interface all command.
Interface Admin status Oper status Max power Priority Power consumption Class
ge-0/0/0 Enabled Searching 15.4W Low 0.0W 0
ge-0/0/1 Enabled Powered-up 15.4W High 6.6W 0
ge-0/0/2 Disabled Disabled 15.4W Low 0.0W 0
ge-0/0/3 Disabled Disabled 15.4W Low 0.0W 0
The show poe interface all command lists PoE interfaces configured on the SRX 240
device, including information on status, priority, power consumption, and class. This
output shows that the device has four PoE interfaces of which two are enabled with
default values. One port has a device connected that is drawing power within expected
limits.
Requirements
Before you begin:
• Configure Ethernet interfaces. See “Example: Creating an Ethernet Interface” on page 257.
• Configure PoE on all interfaces. See “Example: Configuring PoE on All Interfaces” on
page 362.
Overview
This example shows how to configure PoE on the ge-0/0/0 interface. In this example,
you set the power port priority to high and the maximum power available to a port to 15.4
watts. Then you enable the PoE power consumption logging with the default telemetries
settings, and you set the PoE management mode to static. Finally, you set the reserved
power to 15 watts in case of a spike in PoE consumption.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see the Junos OS CLI User Guide.
To configure PoE:
1. Enable PoE.
[edit]
user@host# edit poe interface ge-0/0/0
[edit]
user@host# set poe management static
[edit]
user@host# set poe guard-band 15
Results From configuration mode, confirm your configuration by entering the show poe interface
ge-0/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show poe interface ge-0/0/0
priority high;
maximum-power 15.4;
telemetries;
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the PoE interfaces on the device are enabled and set to the desired priority
settings. (The device used in this example is the SRX240 or SRX340 Services Gateway,
depending on the Junos OS release in the installation.)
Action From operational mode, enter the show poe interface ge-0/0/1 command.
The show poe interface ge-0/0/1 command lists PoE interfaces configured on the SRX340
device, with their status, priority, power consumption, and class.
Purpose Verify the PoE interface's power consumption over a specified period.
Action From operational mode, enter the show poe telemetries interface command.
The telemetry status displays the power consumption history for the specified interface,
provided telemetry has been configured for that interface.
Purpose Verify global parameters such as guard band, power limit, and power consumption.
Action From operational mode, enter the show poe controller command.
The show poe controller command lists the global parameters configured on the SRX
Series device such as controller index, maximum power, power consumption, guard band,
and management mode along with their status.
This example shows how to disable PoE on all interfaces or on a specific interface.
Requirements
Before you begin:
• Configure PoE on all interfaces. See “Example: Configuring PoE on All Interfaces” on
page 362.
Overview
In this example, you disable PoE on all interfaces and on a specific interface, which in
this case is ge-0/0/0.
Configuration
[edit]
user@host# set poe interface all disable
[edit]
user@host# set poe interface ge-0/0/0 disable
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show poe interface command.
Encapsulation is the process by which a lower level protocol accepts a message from a
higher level protocol and places it in the data portion of the lower level frame. As a result,
datagrams transmitted through a physical network have a sequence of headers: the first
header for the physical network (or Data Link Layer) protocol, the second header for the
Network Layer protocol (IP, for example), the third header for the Transport Layer protocol,
and so on.
• High-Level Data Link Control. See “Understanding High-Level Data Link Control” on
page 378.
The Frame Relay packet-switching protocol operates at the Physical Layer and Data
Link Layer in a network to optimize packet transmissions by creating virtual circuits
between hosts. Figure 23 on page 374 shows a typical Frame Relay network.
Figure 23 on page 374 shows multiple paths from Host A to Host B. In a typical routed
network, traffic is sent from device to device with each device making routing decisions
based on its own routing table. In a packet-switched network, the paths are predefined.
Devices switch a packet through the network according to predetermined next-hops
established when the virtual circuit is set up.
Virtual Circuits
A virtual circuit is a bidirectional path between two hosts in a network. Frame Relay virtual
circuits are logical connections between two hosts that are established either by a call
setup mechanism or by an explicit configuration.
A virtual circuit created through a call setup mechanism is known as a switched virtual
circuit (SVC). A virtual circuit created through an explicit configuration is called a
permanent virtual circuit (PVC).
Because PVCs are explicitly configured, they do not require the setup and teardown of
SVCs. Data can be switched across the PVC whenever a host is ready to transmit. SVCs
are useful in networks where data transmission is sporadic and a permanent circuit is
not needed.
Traffic congestion is typically defined in the buffer queues on a device. When the queues
reach a predefined level of saturation, traffic is determined to be congested. When traffic
congestion occurs in a virtual circuit, the device experiencing congestion sets the
congestion bits in the Frame Relay header to 1. As a result, transmitted traffic has the
FECN bit set to 1, and return traffic on the same virtual circuit has the BECN bit set to 1.
When the FECN and BECN bits are set to 1, they provide a congestion notification to the
source and destination devices. The devices can respond in either of two ways: to control
traffic on the circuit by sending it through other routes, or to reduce the load on the circuit
by discarding packets.
If devices discard packets as a means of congestion (flow) control, Frame Relay uses
the discard eligibility (DE) bit to give preference to some packets in discard decisions. A
DE value of 1 indicates that the frame is of lower importance than other frames and more
likely to be dropped during congestion. Critical data (such as signaling protocol messages)
without the DE bit set is less likely to be dropped.
• Network control protocol (NCP)—Initializes the PPP protocol stack to handle multiple
Network Layer protocols, such as IPv4, IPv6, and Connectionless Network Protocol
(CLNP).
1. LCP must first detect a clocking signal on each endpoint. However, because the
clocking signal can be generated by a network clock and shared with devices on the
network, the presence of a clocking signal is only a preliminary indication that the link
might be functioning.
4. After receiving the acknowledgement, the initiating endpoint identifies the link as
established. At the same time, the remote endpoint sends its own request packets
and processes the acknowledgement packets. In a functioning network, both endpoints
treat the connection as established.
use either a 32-bit FCS or a 0-bit FCS (no FCS). Alternatively, you can enable HDLC
encapsulation across the PPP connection.
PPP Authentication
PPP’s authentication layer uses a protocol to help ensure that the endpoint of a PPP link
is a valid device. Authentication protocols include the Password Authentication Protocol
(PAP), the Extensible Authentication Protocol (EAP), and the Challenge Handshake
Authentication Protocol (CHAP). CHAP is the most commonly used.
NOTE: Support for user id and the password to comply with full ASCII
character set is supported through RFC 2486.
The user can enable or disable the RFC 2486 support under the PPP options.
The RFC 2486 is disabled by default, and enable the support globally use
the command set access ppp-options compliance rfc 2486”.
CHAP ensures secure connections across PPP links. After a PPP link is established by
LCP, the PPP hosts at either end of the link initiate a three-way CHAP handshake. Two
separate CHAP handshakes are required before both sides identify the PPP link as
established.
CHAP configuration requires each endpoint on a PPP link to use a shared secret
(password) to authenticate challenges. The shared secret is never transmitted over the
wire. Instead, the hosts on the PPP connection exchange information that enables both
to determine that they share the same secret. Challenges consist of a hash function
calculated from the secret, a numeric identifier, and a randomly chosen challenge value
that changes with each challenge. If the response value matches the challenge value,
authentication is successful. Because the secret is never transmitted and is required to
calculate the challenge response, CHAP is considered very secure.
PPP NCPs include support for the following protocols. IPCP and IPv6CP are the most
widely used on SRX Series devices.
• OSINLCP—OSI Network Layer Control Protocol (includes IS-IS, ES-IS, CLNP, and IDRP)
Magic Numbers
Hosts running PPP can create “magic” numbers for diagnosing the health of a connection.
A PPP host generates a random 32-bit number and sends it to the remote endpoint during
LCP negotiation and echo exchanges.
In a typical network, each host's magic number is different. A magic number mismatch
in an LCP message informs a host that the connection is not in loopback mode and traffic
is being exchanged bidirectionally. If the magic number in the LCP message is the same
as the configured magic number, the host determines that the connection is in loopback
mode, with traffic looped back to the transmitting host.
Looping traffic back to the originating host is a valuable way to diagnose network health
between the host and the loopback location. To enable loopback testing,
telecommunications equipment typically supports channel service unit/data service unit
(CSU/DSU) devices.
CSU/DSU Devices
A channel service unit (CSU) connects a terminal to a digital line. A data service unit
(DSU) performs protective and diagnostic functions for a telecommunications line.
Typically, the two devices are packaged as a single unit. A CSU/DSU device is required
for both ends of a T1 or T3 connection, and the units at both ends must be set to the
same communications standard.
A CSU/DSU device enables frames sent along a link to be looped back to the originating
host. Receipt of the transmitted frames indicates that the link is functioning correctly up
to the point of loopback. By configuring CSU/DSU devices to loop back at different points
in a connection, network operators can diagnose and troubleshoot individual segments
in a circuit.
High-Level Data Link Control (HDLC) is a bit-oriented, switched and nonswitched link-layer
protocol. HDLC is widely used because it supports half-duplex and full-duplex
connections, point-to-point and point-to-multipoint networks, and switched and
nonswitched channels.
HDLC Stations
Nodes within a network running HDLC are called stations. HDLC supports three types of
stations for data link control:
• Normal Response Mode (NRM)—The primary station on the HDLC link initiates all
information transfers with secondary stations. A secondary station on the link can
transmit a response of one or more information frames only when it receives explicit
permission from the primary station. When the last frame is transmitted, the secondary
station must wait for explicit permission before it can transmit more frames.
NRM is used most widely for point-to-multipoint links, in which a single primary station
controls many secondary stations.
• Asynchronous Response Mode (ARM)—The secondary station can transmit either data
or control traffic at any time, without explicit permission from the primary station. The
primary station is responsible for error recovery and link setup, but the secondary station
can transmit information at any time.
ARM is used most commonly with point-to-point links, because it reduces the overhead
on the link by eliminating the need for control packets.
Point-to-Point Protocol over Ethernet (PPPoE) combines PPP, which typically runs over
broadband connections, with the Ethernet link-layer protocol that allows users to connect
to a network of hosts over a bridge or access concentrator. PPPoE enables service
providers to maintain access control through PPP connections and also manage multiple
hosts at a remote site.
PPPoE connects multiple hosts on an Ethernet LAN to a remote site through a single
customer premises equipment (CPE) device—a Juniper Networks device. Hosts share a
common digital subscriber line (DSL), a cable modem, or a wireless connection to the
Internet.
To use PPPoE, you must initiate a PPPoE session, encapsulate Point-to-Point Protocol
(PPP) packets over Ethernet, and configure the device as a PPPoE client. To provide a
PPPoE connection, each PPP session must learn the Ethernet address of the remote
peer and establish a unique session identifier during the PPPoE discovery and session
stages.
PPPoE has two stages, the discovery stage and the PPPoE session stage. In the discovery
stage, the client discovers the access concentrator by identifying the Ethernet media
access control (MAC) address of the access concentrator and establishing a PPPoE
session ID. In the session stage, the client and the access concentrator build a
point-to-point connection over Ethernet, based on the information collected in the
discovery stage.
To initiate a PPPoE session, a host must first identify the Ethernet MAC address of the
remote peer and establish a unique PPPoE session ID for the session. Learning the remote
Ethernet MAC address is called PPPoE discovery.
During the PPPoE discovery process, the host does not discover a remote endpoint on
the Ethernet network. Instead, the host discovers the access concentrator through which
all PPPoE sessions are established. Discovery is a client/server relationship, with the host
(a device running Junos OS) acting as the client and the access concentrator acting as
the server. Because the network might have more than one access concentrator, the
discovery stage allows the client to communicate with all of them and select one.
NOTE: A device cannot receive PPPoE packets from two different access
concentrators on the same physical interface.
2. PPPoE Active Discovery Offer (PADO)—Any access concentrator that can provide
the service requested by the client in the PADI packet replies with a PADO packet that
contains its own name, the unicast address of the client, and the service requested.
An access concentrator can also use the PADO packet to offer other services to the
client.
3. PPPoE Active Discovery Request (PADR)—From the PADOs it receives, the client
selects one access concentrator based on its name or the services offered and sends
it a PADR packet to indicate the service or services needed.
• To accept the session, the access concentrator sends the client a PADS packet
with a unique session ID for a PPPoE session and a service name that identifies the
service under which it accepts the session.
• To reject the session, the access concentrator sends the client a PADS packet with
a service name error and resets the session ID to zero.
Each PPPoE session is uniquely identified by the Ethernet address of the peer and the
session ID. After the PPPoE session is established, data is sent as in any other PPP
encapsulation. The PPPoE information is encapsulated within an Ethernet frame and is
sent to a unicast address. Magic numbers, echo requests, and all other PPP traffic behave
exactly as in normal PPP sessions. In this stage, both the client and the server must
allocate resources for the PPPoE logical interface.
After a session is established, the client or the access concentrator can send a PPPoE
Active Discovery Termination (PADT) packet anytime to terminate the session. The PADT
packet contains the destination address of the peer and the session ID of the session to
be terminated. After this packet is sent, the session is closed to PPPoE traffic.
NOTE: If PPPoE session is already up and the user restarts the PPPoE
daemon, a new PPPoE daemon with a new PID starts while the existing
session is not terminated.
If PPPoE session is already down and user restarts the PPPoE daemon, the
PPPoE discovery establishes a new session.
The PPPoE session is not terminated for the following configuration changes:
• Add ac name
The device’s Point-to-Point Protocol over Ethernet (PPPoE) interface to the access
concentrator can be a Fast Ethernet interface, a Gigabit Ethernet interface, a redundant
Ethernet interface, an ATM-over-ADSL interface, or an ATM-over-SHDSL interface. The
PPPoE configuration is the same for all interfaces. The only difference is the encapsulation
for the underlying interface to the access concentrator:
To configure a PPPoE interface, you create an interface with a logical interface unit 0,
then specify a logical Ethernet or ATM interface as the underlying interface for the PPPoE
session. You then specify other PPPoE options, including the access concentrator and
PPPoE session parameters.
Requirements
Before you begin, configure an Ethernet interface. See “Example: Creating an Ethernet
Interface” on page 257.
Overview
In this example, you create the PPPoE interface pp0.0 and specify the logical Ethernet
interface ge-0/0/1.0 as the underlying interface. You also set the access concentrator,
set the PPPoE session parameters, and set the MTU of the IPv4 family to 1492.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces pp0 unit 0
Results From configuration mode, confirm your configuration by entering the show interfaces
pp0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pp0
unit 0 {
pppoe-options {
underlying-interface ge-0/0/1.0;
idle-timeout 100;
access-concentrator ispl.com;
service-name "vide0@ispl.com";
auto-reconnect 100;
client;
}
family inet {
mtu 1492;
negotiate-address;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Purpose Verify that the PPPoE device interfaces are configured properly.
Action From operational mode, enter the show interfaces pp0 command.
The output shows information about the physical and the logical interfaces. Verify the
following information:
• For underlying interface, the physical interface on which the PPPoE session is running
is correct:
Purpose Verify that a PPPoE session is running properly on the logical interface.
Action From operational mode, enter the show pppoe interfaces command.
The output shows information about the PPPoE sessions. Verify the following information:
• For underlying interface, the physical interface on which the PPPoE session is running
is correct:
NOTE: To clear a PPPoE session on the pp0.0 interface, use the clear pppoe
sessions pp0.0 command. To clear all sessions on the interface, use the clear
pppoe sessions command.
Purpose Verify the version information of the PPPoE protocol configured on the device interfaces.
Action From operational mode, enter the show pppoe version command.
The output shows PPPoE protocol information. Verify the following information:
Action From operational mode, enter the show pppoe statistics command.
The output shows information about active sessions on PPPoE interfaces. Verify the
following information:
• For packet type, the number of packets of each type sent and received during the
PPPoE session
concentrator can also use the PADO packet to offer other services to the client. When a
client receives a PADO packet, and if it encounters the End-of-List tag in the PADO packet,
tags after the End-of-List tag are ignored and the complete information is not processed
correctly. As a result, the PPPoE connection is not established correctly.
Starting in Junos OS Release 12.3X48-D10 you can avoid some PPPoE connection errors
by configuring the ignore-eol-tag option to disable the End-of-List tag in the PADO packet.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# set interfaces pp0 unit 0
Results From configuration mode, confirm your configuration by entering the show interfaces
pp0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces pp0
unit 0 {
pppoe-options {
ignore-eol-tag;
}
If you are done configuring the device, enter commit from configuration mode.
Purpose Verify the status of the End-of-List tag in the PPPoE configuration.
Action From operational mode, enter the show interfaces pp0.0 command.
The output shows information about active sessions on PPPoE interfaces. Verify that
the Ignore End-of-List tag: Enable option is set.
12.3X48-D10 Starting in Junos OS Release 12.3X48-D10 you can avoid some PPPoE
connection errors by configuring the ignore-eol-tag option to disable
the End-of-List tag in the PADO packet.
During a Point-to-Point Protocol over Ethernet (PPPoE) session, the device encapsulates
each PPP frame in an Ethernet frame and transports the frames over an Ethernet loop.
Figure 24 on page 392 shows a typical PPPoE session between a device and an access
concentrator on the Ethernet loop.
Requirements
Before you begin:
Overview
In this example, you configure PPPoE encapsulation on the ge-0/0/1 interface.
Configuration
[edit]
user@host# set interfaces ge-0/0/1 unit 0 encapsulation ppp-over-ether
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces ge-0/0/1
command.
This example shows how to configure a physical interface for Ethernet over ATM
encapsulation and how to create a logical interface for PPPoE over LLC encapsulation.
Requirements
Before you begin:
• Configure network interfaces. See “Example: Creating an Ethernet Interface” on page 257.
• Configure PPPoE interfaces. See “Example: Configuring PPPoE Interfaces” on page 385.
Overview
In this example, you configure the physical interface at-2/0/0 for Ethernet over ATM
encapsulation. As part of the configuration, you set the virtual path identifier (VPI) on an
ATM-over-ADSL physical interface to 0, you set the ADSL operating mode to auto, and
you set the encapsulation type to ATM-over-ADSL. Then you create a logical interface
for PPPoE over LLC encapsulation.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
Results From configuration mode, confirm your configuration by entering the show interfaces
at-2/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-2/0/0 {
encapsulation ethernet-over-atm;
atm-options {
vpi 0;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 0.120;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
This example shows how to configure a physical interface for Ethernet over ATM
encapsulation and how to create a logical interface for PPPoE over LLC encapsulation.
Requirements
Before you begin:
• Configure network interfaces. See “Example: Creating an Ethernet Interface” on page 257.
• Configure PPPoE interfaces. See “Example: Configuring PPPoE Interfaces” on page 385.
Overview
In this example, you configure the physical interface at-2/0/0 for Ethernet over ATM
encapsulation. As part of the configuration, you set the virtual path identifier (VPI) on an
ATM-over-ADSL physical interface to 0, you set the ADSL operating mode to auto, and
you set the encapsulation type to ATM-over-ADSL. Then you create a logical interface
for PPPoE over LLC encapsulation.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces at-2/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
at-2/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces at-2/0/0 {
encapsulation ethernet-over-atm;
atm-options {
vpi 0;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 0.120;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
For interfaces with Point-to-Point Protocol over Ethernet (PPPoE) encapsulation, you
can configure interfaces to support the PPP Challenge Handshake Authentication Protocol
(CHAP). When you enable CHAP on an interface, the interface can authenticate its peer
and be authenticated by its peer.
If you set the passive option to handle incoming CHAP packets only, the interface does
not challenge its peer. However, if the interface is challenged, it responds to the challenge.
If you do not set the passive option, the interface always challenges its peer.
You can configure Remote Authentication Dial-In User Service (RADIUS) authentication
of PPP sessions using CHAP. CHAP enables you to send RADIUS messages through a
routing instance to customer RADIUS servers in a private network.
Requirements
Before you begin:
• Configure a PPPoE interface. See “Example: Configuring PPPoE Interfaces” on page 385.
Overview
In this example, you configure a CHAP access profile, and then apply it to the PPPoE
interface pp0. You also configure the hostname to be used in CHAP challenge and
response packets, and set the passive option for handling incoming CHAP packets.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# set access profile A-ppp-client client client1 chap-secret my-secret
[edit]
user@host# edit interfaces pp0 unit 0 ppp-options chap
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces
pp0 {
unit 0 {
ppp-options {
chap {
access-profile A-ppp-client;
local-name A-ge-0/0/1.0;
passive;
}
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Display PPPoE credit-flow control information about credits on each side of the PPPoE
session when credit processing is enabled on the interface.
pp0.51 Index 73
State: Session up, Session ID: 3,
Service name: None,
Configured AC name: None, Session AC name: None,
Remote MAC address: 00:22:83:84:2e:81,
Session uptime: 00:05:48 ago,
Auto-reconnect timeout: Never, Idle timeout: Never,
pp0.1000 Index 71
State: Down, Session ID: 1,
Service name: None,
Configured AC name: None, Session AC name: None,
Remote MAC address: 00:00:00:00:00:00,
Auto-reconnect timeout: Never, Idle timeout: Never,
Underlying interface: ge-0/0/1.0 Index 70
PADG Credits: enabled
Dynamic bandwidth: enabled
pp0.51 Index 75
State: Session up, Session ID: 1,
Service name: None,
Configured AC name: None, Session AC name: None,
Remote MAC address: 00:11:22:33:44:55,
Session uptime: 00:04:18 ago,
Auto-reconnect timeout: Never, Idle timeout: Never,
Underlying interface: ge-0/0/1.0 Index 70
PADQ Current bandwidth: 750 Kbps, Maximum 1000 Kbps
Quality: 85, Resources 65, Latency 100 msec.
Dynamic bandwidth: 3 Kbps
Interface: ge-0/0/3.51
Nodes: 0
Heartbeat Timeouts 0
Node Term Timeouts 0
Terminate Timeouts 0
Session: 1
Destination MAC address 01:02:03:04:05:06
Status: Established VLANs 201
Virtual channel: 2
Session Update: last received: 3.268 seconds
Current bandwidth: 22000 Kbps, Maximum 22000 Kbps
Quality: 100, Resources 100, Latency 100 msec.
Effective bandwidth: 952 Kbps, last change: 51.484 seconds
Updates below threshold: 1
Terminate Timeouts 0
To trace the operations of the router’s PPPoE process, include the traceoptions statement
at the [edit protocols pppoe] hierarchy level:
To specify more than one tracing operation, include multiple flag statements.
• config—Configuration code
• events—Event code
• gres—Gres code
• init—Initialization code
• timer—Timer code
Configuring PPPoE-Based
Radio-to-Router Protocol
• Messages that define how an external device provides the router with timely information
about the quality of a link connection
• A flow control mechanism that indicates how much data the router can forward
The router uses the information provided in these PPPoE messages to dynamically adjust
the interface speed. When OSPF is notified of this change, it adjusts the cost of the link
and updates the routing tables accordingly.
The router and radio are deployed in highly dynamic environments, such as moving
vehicles. The quality of the radio link between the routers can vary significantly as a
vehicle moves behind an obstruction. Each radio monitors the link every 50 milliseconds
for changes in the link bandwidth, quality, and utilization. If any changes are detected,
the radios announce the new set of metrics to the respective routers through a PPPoE
Active Discovery Quality (PADQ) message, which is a nonstandard extension to the
PPPoE Discovery Protocol [RFC2516]. The router transforms these metrics into a
bandwidth value for the PPP link and compares it to the value currently in use. When the
router detects that the difference exceeds a user-specified threshold, it adjusts the speed
of the PPP link. An event message notifies OSPF of the change, which then triggers OSPF
to announce any resulting routing topology changes to its neighbors.
The PPPoE-based radio-to-router protocol notifies the router about neighbors joining or
leaving the network and to create and maintain OSPF adjacencies over the dynamic links
established between them. The costs assigned to these links are based on network
conditions and flow control information sent by the radios. The calculations and requests
to update interface speeds are performed by routines in a common library.
When PPPoE is used for applications, such as mobile radio, the radio links have variable
bandwidth. So a mobile radio can function in a PPPoE environment, PPPoE messaging
includes PADQ messages, which enable a link cost to be propagated to OSPF through
the evaluation of various link quality metrics. The router uses information from these
notifications along with user-configured parameters to calculate interface link costs that
are used by the routing protocols.
A radio can send an optional PADQ at any time to query or report link quality metrics.
When transmitting PPP streams over radio links, the quality of the link directly affects
the throughput. The PADQ packet is used by the radio modem to report link metrics.
To support the credit-based flow control extensions described in RFC4938, PPPoE peers
can also grant each other forwarding credits. The grantee can forward traffic to the peer
only when it has a sufficient number of credits to do so. Credit-based forwarding allows
both sides of the session to agree to use a non-default credit scaling factor during the
PADR and PADS message exchange. Although this is used on both sides of the session,
this feature provides the radio client with a flow control mechanism that throttles traffic
by limiting the number of credits it grants to the router.
(LCP) and Internet Protocol Control Protocol (IPCP) messages to configure the link and
exchange OSPF messages to establish the network topology.
Each HNW radio monitors the link every 50 milliseconds for changes in the link bandwidth,
quality, and utilization. If any changes are detected, the radios announce the new set of
metrics to the respective devices through a PPPoE Active Discovery Quality (PADQ)
message, which is a nonstandard extension to the PPPoE Discovery Protocol (RFC 2516).
The device transforms these metrics into a bandwidth value for the PPP link and compares
it to the value currently in use. When the device detects that the difference exceeds a
user-specified threshold, it adjusts the speed of the PPP link. OSPF is notified of the
change and announces any resulting routing topology changes to its neighbors.
The CLI statement, radio-router, indicates that metrics announcements received on the
interface will be processed by the device. When a PPPoE logical interface refers to this
as an underlying interface, the device then processes incoming PADQ messages and
uses information from the host’s messages to control the flow of traffic and manage the
speed of the link, resulting in a corresponding adjustment of the OSPF cost. If this option
is not specified, then PADQ messages received over the underlying interface are ignored.
The following options are available within the radio-router configuration statement:
• bandwidth, resource, latency, and quality —These statements provide control over the
weights used when transforming PADQ link metrics into an interface speed for the
virtual link:
• resource—Resource weight
• latency—Latency weight
All four weights accept values from 0 through 100. The default value for all four weights
is 100.
The following hierarchy provides another view of the radio-router configuration statements.
interfaces{
interface-name {
radio-router {
bandwidth;
credit {
interval;
}
latency;
quality;
resource;
threshold;
}
}
}
3. Specify the logical Ethernet interface as the underlying interface for the PPPoE session.
7. Provide a name for the type of service provided by the access concentrator.
Requirements
Before you begin:
2. Configure PPPoE interfaces. See “Example: Configuring PPPoE Interfaces” on page 385.
Overview
In this example, you configure the ge-3/0/3 interface and set the bandwidth, resource,
latency, and quality to 100. You also set the threshold value to 10, and then configure
options on the logical interface.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
set interfaces ge-3/0/3 unit 1 radio-router bandwidth 100 resource 100 latency 100 quality
100 threshold 10
set interfaces pp0 unit 1 pppoe-options underlying-interface ge-3/0/3 server
set interfaces pp0 unit 1 family inet unnumbered-address lo0.0 destination 192.168.1.2
set interfaces pp0 unit 1 family inet6 address lo0.0 destination fec0:1:1:1::2
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see the Junos OS CLI User Guide.
[edit]
user@host# edit interfaces ge-3/0/3 unit 1 radio-router
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
For brevity, this show interfaces command output includes only the configuration that is
relevant to this example. Any other configuration on the system has been replaced with
ellipses (...).
[edit]
user@host# show interfaces ge-3/0/3 {
unit 1
radio-router {
bandwidth 100;
resource 100;
latency 100;
quality 100;
threshold 10;
}
}
}
...
pp0 {
unit 1 {
pppoe-options {
underlying-interface ge-3/0/3;
server;
}
family inet {
unnumbered-address lo0.0 destination 192.168.1.2;
}
family inet6;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
To support the credit-based flow control extensions described in RFC4938, PPPoE peers
can grant each other forwarding credits. The grantee is allowed to forward traffic to the
peer only when it has a sufficient number of credits to do so. When credit-based
forwarding is used on both sides of the session, the radio client can throttle traffic by
limiting the number of credits it grants to the router.
The interfaces statement includes the radio-router attribute, which contains the
parameters used for rate-based scheduling and OSPF link cost calculations. It also
includes the credit attribute to indicate that credit-based packet scheduling is supported
on the PPPoE interfaces that reference this underlying interface. Interfaces that set the
encapsulation attribute support the PPPoE Active Discovery Grant (PADG) and PPPoE
Active Discovery Credit (PADC) messages in the same way that the radio-router attribute
provides active support for the PPPoE Active Discovery Quality (PADQ) message.
The credit interval parameter controls how frequently the router generates credit
announcement messages. For PPPoE this corresponds to the interval between PADG
credit announcements for each session.
In radio-router topologies, the router connects to the radio over a Gigabit Ethernet link
and the radio transmits packets over the radio frequency (RF) link. The radio periodically
sends metrics to the router, which uses RF link characteristics and other data to inform
the router on the shaping and OSPF link capacity. The router uses this information to
shape the data traffic and provide the OSPF link cost for its SPF calculations. The radio
functions like a Layer 2 switch and can only identify remote radio-router pairs using the
Layer 2 MAC addresses. With R2CP the router receives metrics for each neighboring
router, identified by the MAC address of the remote router. The R2CP daemon translates
the MAC addresses to link the local IPv6 address and sends the metrics for each neighbor
to OSPF. Processing these metrics is similar to the handling of PPPoE PADQ metrics.
Unlike PPPoE, which is a point-to-point link, these R2CP neighbors are treated as nodes
in a broadcast LAN.
You must configure each neighbor node with a per unit scheduler for CoS. The scheduler
context defines the attributes of Junos class-of-service. To define CoS for each radio,
you can configure virtual channels to limit traffic. You need to configure virtual channels
for as many remote radio-router pairs as there are in the network. You configure virtual
channels on a logical interface. Each virtual channel can be configured to have a set of
eight queues with a scheduler and an optional shaper. When the radio initiates the session
with a peer radio-router pair, a new session is created with the remote MAC address of
the router and the VLAN over which the traffic flows. Junos OS chooses from the list of
free virtual channels and assigns the remote MAC and the eight CoS queues and the
scheduler to this remote MAC address. All traffic destined to this remote MAC address
is subjected to the CoS that is defined in the virtual channel.
A virtual channel group is a collection of virtual channels. Each radio can have only one
virtual channel group assigned uniquely. If you have more than one radio connected to
the router, you must have one virtual channel group for each local radio-to-router pair.
Although a virtual channel group is assigned to a logical interface, a virtual channel is not
the same as a logical interface. The only features supported on a virtual channel are
queuing, packet scheduling, and accounting. Rewrite rules and routing protocols apply
to the entire logical interface.
All nodes in the R2CP network are in a broadcast LAN. The point-to-multipoint over LAN
protocol supports advertising different bandwidth information for neighbors on a
broadcast link. The network link is a point-to-multipoint link in the OSPFv3 link state
database, which uses existing OSPF neighbor discovery to provide automatic discovery
without configuration. It enables each node to advertise a different metric to every other
node in the network to accurately represent the cost of communication. The
p2mp-over-lan interface type under the OSPFv3 interface configuration enables you to
configure the interface. OSPFv3 then uses LAN procedures for neighbor discovery and
flooding, but represents the interface as point-to-multipoint in the link state database.
The interface type and router LSA are available under the following hierarchies:
For example:
protocols {
ospf3 {
area 0.0.0.0 {
interface ge-0/0/2.0 {
interface-type p2mp-over-lan;
}
}
}
}
The following example creates four logical interfaces on ge-0/0/2, using unit 52 for
R2CP control messages and units 101-193 for data traffic. The per-unit-scheduler
statement is required for R2CP.
interfaces {
ge-0/0/2 {
per-unit-scheduler;
vlan-tagging;
unit 52 {
vlan-id 52;
family inet {
address 52.1.1.1/24;
}
}
unit 101 {
vlan-id 101;
family inet {
address 101.1.1.1/24;
}
}
unit 102 {
vlan-id 102;
family inet {
address 102.1.1.1/24;
}
}
unit 103 {
vlan-id 103;
family inet {
address 103.1.1.1/24;
}
}
}
}
The following example configures g2-0/0/2.52 as the interface for R2CP control
messages, vg1 as the virtual-channel group, and ge-0/0/2.101-103 as data interfaces
using the radio-interface statement.
protocols {
r2cp {
radio myRadio {
interface ge-0/0/2.52;
virtual-channel-group vg1;
radio-interface ge-0/0/2.101;
radio-interface ge-0/0/2.102;
radio-interface ge-0/0/2.103;
}
}
}
The following example defines virtual-channels, their initial shaping-rates, and the
virtual-channel-group to which they belong. It also makes the association between
class-of-service {
virtual-channels {
vc1;
vc2;
vc3;
vc4;
}
virtual-channel-groups {
vg1 {
vc1 {
scheduler-map sm;
shaping-rate 15m;
default;
}
vc2 {
scheduler-map sm;
shaping-rate 20m;
}
vc3 {
scheduler-map sm;
shaping-rate 20m;
}
vc4 {
scheduler-map sm;
shaping-rate 20m;
}
}
}
forwarding-classes {
queue 0 DATA-queue;
}
interfaces {
ge-0/0/2 {
unit 101 {
virtual-channel-group vg1;
vc-shared-scheduler;
}
unit 102 {
virtual-channel-group vg1;
vc-shared-scheduler;
}
unit 103 {
virtual-channel-group vg1;
vc-shared-scheduler;
}
}
}
scheduler-maps {
sm {
forwarding-class DATA-queue scheduler sm-scheduler;
}
}
schedulers {
sm-scheduler {
transmit-rate percent 20;
buffer-size percent 20;
priority low;
}
}
}
Link services include the multilink services Multilink Point-to-Point Protocol (MLPPP),
Multilink Frame Relay (MLFR), and Compressed Real-Time Transport Protocol (CRTP).
Juniper Networks devices support link services on the lsq-0/0/0 link services queuing
interface.
You configure the link services queuing interface (lsq-0/0/0) on a Juniper Networks
device to support multilink services and CRTP.
The link services queuing interface on SRX Series devices consists of services provided
by the following interfaces on the Juniper Networks M Series and T Series routing
platforms: multilink services interface (ml-fpc/pic/port), link services interface
(ls-fpc/pic/port), and link services intelligent queuing interface (lsq-fpc/pic/port). Although
the multilink services, link services, and link services intelligent queuing (IQ) interfaces
on M Series and T Series routing platforms are installed on Physical Interface Cards
(PICs), the link services queuing interface on SRX Series devices is an internal interface
only and is not associated with a physical medium or Physical Interface Module (PIM).
Multilink bundles by means Aggregates multiple constituent links into one • Example: Configuring an MLPPP Bundle on
of MLPPP and MLFR larger logical bundle to provide additional page 464
encapsulation bandwidth, load balancing, and redundancy. • Example: Configuring Multilink Frame Relay
FRF.15 on page 469
NOTE: Dynamic call admission control (DCAC)
• Example: Configuring Multilink Frame Relay
configurations are not supported on Link
Services Interfaces. FRF.16 on page 473
Link fragmentation and Reduces delay and jitter on links by breaking “Understanding Link Fragmentation and
interleaving (LFI) up large data packets and interleaving Interleaving Configuration” on page 447
delay-sensitive voice packets with the resulting
smaller packets.
Compressed Real-Time Reduces the overhead caused by Real-Time “Compressed Real-Time Transport Protocol
Transport Protocol (CRTP) Transport Protocol (RTP) on voice and video Overview” on page 427
packets.
Class-of-service (CoS) Provides a higher priority to delay-sensitive • Example: Configuring Interface Shaping
classifiers, forwarding packets—by configuring CoS, such as the Rates on page 460
classes, schedulers and following: • Configuring Fragmentation by Forwarding
scheduler maps, and Class on page 427
shaping rates • Classifiers—To classify different types of
traffic, such as voice, data, and network
control packets.
• Forwarding classes—To direct different types
of traffic to different output queues.
• Fragmentation map—To define mapping
between forwarding class and multilink class,
and forwarding class and fragment
threshold. In forwarding class and multilink
class mapping, drop timeout can be
configured.
• Schedulers and scheduler maps—To define
properties for the output queues such as
delay-buffer, transmission rate, and
transmission priority.
• Shaping rate—To define certain bandwidth
usage by an interface.
• Support for link and multilink services are on the lsq-0/0/0 interface instead of the
ml-fpc/pic/port, lsq-fpc/pic/port, and ls-fpc/pic/port interfaces.
• When LFI is enabled, fragmented packets are queued in a round-robin fashion on the
constituent links to enable per-packet and per-fragment load balancing. See “Queuing
with LFI” on page 426.
• Support for per-unit scheduling is on all types of constituent links (on all types of
interfaces).
• Support for Compressed Real-Time Transport Protocol (CRTP) is for both MLPPP and
PPP.
NOTE: Configuring both LFI and multiclass MLPPP on the same bundle is
not necessary, nor is it supported, because multiclass MLPPP represents a
superset of functionality. When you configure multiclass MLPPP, LFI is
automatically enabled.
Multiclass MLPPP greatly simplifies packet ordering issues that occur when multiple links
are used. Without multiclass MLPPP, all voice traffic belonging to a single flow is hashed
to a single link to avoid packet ordering issues. With multiclass MLPPP, you can assign
voice traffic to a high-priority class, and you can use multiple links.
To configure multiclass MLPPP on a link services IQ interface, you must specify how
many multilink classes should be negotiated when a link joins the bundle, and you must
specify the mapping of a forwarding class into an multiclass MLPPP class.
To specify how many multilink classes should be negotiated when a link joins the bundle,
include the multilink-max-classes statement:
multilink-max-classes number;
The number of multilink classes can be 1 through 8. The number of multilink classes for
each forwarding class must not exceed the number of multilink classes to be negotiated.
To specify the mapping of a forwarding class into a multiclass MLPPP class, include the
multilink-class statement at the [edit class-of-service fragmentation-maps
forwarding-class class-name] hierarchy level:
The multilink class index number can be 0 through 7. The multilink-class statement and
the no-fragmentation statement are mutually exclusive.
To view the number of multilink classes negotiated, issue the show interfaces
lsq-0/0/0.logical-unit-number detail command.
For example, assume that Queue Q0 is configured with fragmentation threshold 128, Q1
is configured with no fragmentation, and Q2 is configured with fragmentation threshold
512. Q0 is receiving stream of traffic with packet size 512. Q1 is receiving voice traffic of
64 bytes, and Q2 is receiving stream of traffic with 128-byte packets. Next the stream on
Q0 gets fragmented and queued up into Q0 of a constituent link. Also, all packets on Q2
are queued up on Q0 on constituent link. The stream on Q1 is considered to be LFI because
no fragmentation is configured. All the packets from Q0 and Q2 are queued up on Q0 of
constituent link. All the packets from Q1 are queued up on Q2 of constituent link.
Using lsq-0/0/0, CRTP can be applied on LFI and non-LFI packets. There will be no
changes in their queue numbers because of CRTP.
When using class of service on a multilink bundle, all Q2 traffic from the multilink bundle
is queued to Q2 of constituent links based on a hash computed from the source address,
destination address, and the IP protocol of the packet. If the IP payload is TCP or UDP
traffic, the hash also includes the source port and destination port. As a result of this
hash algorithm, all traffic belonging to one traffic flow is queued to Q2 of one constituent
link. This method of traffic delivery to the constituent link is applied at all times, including
when the bundle has not been set up with LFI.
Figure 27 on page 427 shows how CRTP compresses the RTP header in a voice packet by
reducing a 40-byte header to a 2-byte header.
You can configure CRTP with MLPPP or PPP logical interface encapsulation on link
services interfaces. See “Example: Configuring an MLPPP Bundle” on page 464.
Real-time and non-real-time data frames are carried together on lower-speed links
without causing excessive delays to the real-time traffic. See “Understanding Link
Fragmentation and Interleaving Configuration” on page 447.
When you do not configure fragmentation properties for the queues on MLPPP interfaces,
the fragmentation threshold you set at the [edit interfaces interface-name unit
logical-unit-number fragment-threshold] hierarchy level is the fragmentation threshold
for all forwarding classes within the MLPPP interface. For MLFR FRF.16 interfaces, the
If you do not set a maximum fragment size anywhere in the configuration, packets are
still fragmented if they exceed the smallest maximum transmission unit (MTU) or
maximum received reconstructed unit (MRRU) of all the links in the bundle. A
non-encapsulated flow uses only one link. If the flow exceeds a single link, then the
forwarding class must be multilink encapsulated, unless the packet size exceeds the
MTU/MRRU.
Even if you do not set a maximum fragment size anywhere in the configuration, you can
configure the MRRU by including the mrru statement at the [edit interfaces lsq-0/0/0
unit logical-unit-number] or [edit interfaces interface-name mlfr-uni-nni-bundle-options]
hierarchy level. The MRRU is similar to the MTU, but is specific to link services interfaces.
By default the MRRU size is 1504 bytes, and you can configure it to be from 1500 through
4500 bytes.
[edit class-of-service]
fragmentation-maps {
map-name {
forwarding-class class-name {
fragment-threshold bytes;
multilink-class number;
no-fragmentation;
}
}
}
For a given forwarding class, you can include either the fragment-threshold or
no-fragmentation statement; they are mutually exclusive.
You use the multilink-class statement to map a forwarding class into a multiclass MLPPP.
For a given forwarding class, you can include either the multilink-class or no-fragmentation
statement; they are mutually exclusive.
To associate a fragmentation map with a multilink PPP interface or MLFR FRF.16 DLCI,
include the fragmentation-map statement at the [edit class-of-service interfaces
interface-name unit logical-unit-number] hierarchy level:
lsq-0/0/0 {
unit logical-unit-number { # Multilink PPP
fragmentation-map map-name;
}
}
By default, 4 percent of the total bundle bandwidth is set aside for link-layer overhead.
In most network environments, the average link-layer overhead is 1.6 percent. Therefore,
we recommend 4 percent as a safeguard.
For lsq-0/0/0 on Juniper Networks device, you can configure the percentage of bundle
bandwidth to be set aside for link-layer overhead. To do this, include the
link-layer-overhead statement:
link-layer-overhead percent;
• Establish basic connectivity. See the Getting Started Guide for your device.
• Have a basic understanding of physical and logical interfaces and Juniper Networks
interface conventions. See “Understanding Interfaces” on page 3
Plan how you are going to use the link services interface on your network. See “Link
Services Interfaces Overview” on page 423.
1. Configure link fragmentation and interleaving (LFI). See “Example: Configuring Link
Fragmentation and Interleaving” on page 448.
2. Configure classifiers and forwarding classes. See “Example: Defining Classifiers and
Forwarding Classes” on page 452.
3. Configure scheduler maps. See “Understanding How to Define and Apply Scheduler
Maps” on page 455.
4. Configure interface shaping rates. See “Example: Configuring Interface Shaping Rates”
on page 460
5. Configure an MLPPP bundle. See “Example: Configuring an MLPPP Bundle” on page 464.
6. To configure MLFR, see “Example: Configuring Multilink Frame Relay FRF.15” on page 469
or “Example: Configuring Multilink Frame Relay FRF.16” on page 473
Action The sample output provided in this section is based on the configurations provided in
“Example: Configuring an MLPPP Bundle” on page 464. To verify that the constituent links
are added to the bundle correctly and the packets are fragmented and transmitted
correctly, take the following actions:
1. On device R0 and device R1, the two devices used in this example, configure MLPPP
and LFI as described in “Example: Configuring an MLPPP Bundle” on page 464.
2. From the CLI, enter the ping command to verify that a connection is established
between R0 and R1.
4. On R0, from the CLI, enter the show interfaces interface-name statistics command.
0 DATA 10 10 0
1 expedited-fo 0 0 0
2 VOICE 0 0 0
3 NC 0 0 0
Logical interface lsq-0/0/0.0 (Index 67) (SNMP ifIndex 41) (Generation 133)
Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: Multilink-PPP
Bandwidth: 16mbps
Bundle options:
...
Drop timer period 0
Sequence number format long (24 bits)
Fragmentation threshold 128
This output shows a summary of interface information. Verify the following information:
• In the CLI configuration editor, delete the disable statement at the [edit interfaces
interface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the
Interfaces>interface-name page.
• Physical link—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).
• Last flapped—The Last Flapped time is an expected value. The Last Flapped time
indicates the last time the physical interface became unavailable and then available
again. Unexpected flapping indicates likely link-layer errors.
• Traffic statistics—Number and rate of bytes and packets received and transmitted on
the interface. Verify that the number of inbound and outbound bytes and packets
match the expected throughput for the physical interface. To clear the statistics and
see only new changes, use the clear interfaces statistics interface-name command.
• Queue counters—Name and number of queues are as configured. This sample output
shows that 10 data packets were transmitted and no packets were dropped.
• Statistics—The fragments and packets are received and transmitted correctly by the
device. All references to traffic direction (input or output) are defined with respect to
the device. Input fragments received by the device are assembled into input packets.
Output packets are segmented into output fragments for transmission out of the
device.
In this example, 10 data packets of 200 bytes were transmitted. Because the
fragmentation threshold is set to 128 bytes, all data packets were fragmented into two
fragments. The sample output shows that 10 packets and 20 fragments were
transmitted correctly.
• Link—The constituent links are added to this bundle and are receiving and transmitting
fragments and packets correctly. The combined number of fragments transmitted on
the constituent links must be equal to the number of fragments transmitted from the
bundle. This sample output shows that the bundle transmitted 20 fragments and the
two constituent links se-1/0/0.0 and se-1/0/1.0.0 correctly transmitted 10+10=20
fragments.
• Destination and Local—IP address of the remote side of the multilink bundle and the
local side of the multilink bundle. This sample output shows that the destination
address is the address on R1 and the local address is the address on R0.
The sample output provided in this section is based on the configurations provided
in“Example: Configuring an MLPPP Bundle” on page 464.
Drop profiles:
Loss priority Protocol Index Name
Low any 1 [default-drop-profile]
These output examples show a summary of configured CoS components. Verify the
following information:
• Logical Interface—Name of the multilink bundle and the CoS components applied to
the bundle. The sample output shows that the multilink bundle is lsq-0/0/0.0, and
the CoS scheduler-map s_map is applied to it.
• Classifier—Code points, forwarding classes, and loss priorities assigned to the classifier.
The sample output shows that a default classifier, ipprec-compatibility, was applied
to the lsq-0/0/0 interface and the classifier classify_input was applied to the ge-0/0/1
interface.
• Scheduler—Transmit rate, buffer size, priority, and loss priority assigned to each
scheduler. The sample output displays the data, voice, and network control schedulers
with all the configured values.
• Determine Which CoS Components Are Applied to the Constituent Links on page 435
• Determine What Causes Jitter and Latency on the Multilink Bundle on page 437
• Determine If LFI and Load Balancing Are Working Correctly on page 437
• Determine Why Packets Are Dropped on a PVC Between a Juniper Networks Device
and a Third-Party Device on page 444
Problem Description: You are configuring a multilink bundle, but you also have traffic without
MLPPP encapsulation passing through constituent links of the multilink bundle. Do you
apply all CoS components to the constituent links, or is applying them to the multilink
bundle enough?
Solution You can apply a scheduler map to the multilink bundle and its constituent links. Although
you can apply several CoS components with the scheduler map, configure only the ones
that are required. We recommend that you keep the configuration on the constituent
links simple to avoid unnecessary delay in transmission.
Table 30 on page 436 shows the CoS components to be applied on a multilink bundle and
its constituent links.
Table 30: CoS Components Applied on Multilink Bundles and Constituent Links
Multilink Constituent
Cos Component Bundle Links Explanation
Forwarding class Yes No Forwarding class is associated with a queue, and the
queue is applied to the interface by a scheduler map. The
queue assignment is predetermined on the constituent
links. All packets from Q2 of the multilink bundle are
assigned to Q2 of the constituent link, and packets from
all the other queues are queued to Q0 of the constituent
link.
Scheduler map Yes Yes Apply scheduler maps on the multilink bundle and the
constituent link as follows:
Shaping rate for a per-unit No Yes Because per-unit scheduling is applied only at the end
scheduler or an point, apply this shaping rate to the constituent links only.
interface-level scheduler Any configuration applied earlier is overwritten by the
constituent link configuration.
Rewrite rules Yes No Rewrite bits are copied from the packet into the
fragments automatically during fragmentation. Thus
what you configure on the multilink bundle is carried on
the fragments to the constituent links.
Table 30: CoS Components Applied on Multilink Bundles and Constituent Links (continued)
Multilink Constituent
Cos Component Bundle Links Explanation
Virtual channel group Yes No Virtual channel groups are identified through firewall
filter rules that are applied on packets only before the
multilink bundle. Thus you do not need to apply the
virtual channel group configuration to the constituent
links.
• See the Junos OS Class of Service Configuration Guide for Security Devices
Problem Description: To test jitter and latency, you send three streams of IP packets. All packets
have the same IP precedence settings. After configuring LFI and CRTP, the latency
increased even over a noncongested link. How can you reduce jitter and latency?
1. Make sure that you have configured a shaping rate on each constituent link.
2. Make sure that you have not configured a shaping rate on the link services interface.
3. Make sure that the configured shaping rate value is equal to the physical interface
bandwidth.
4. If shaping rates are configured correctly, and jitter still persists, contact the Juniper
Networks Technical Assistance Center (JTAC).
Problem Description: In this case, you have a single network that supports multiple services. The
network transmits data and delay-sensitive voice traffic. After configuring MLPPP and
LFI, make sure that voice packets are transmitted across the network with very little delay
and jitter. How can you find out if voice packets are being treated as LFI packets and load
balancing is performed correctly?
Solution When LFI is enabled, data (non-LFI) packets are encapsulated with an MLPPP header
and fragmented to packets of a specified size. The delay-sensitive, voice (LFI) packets
are PPP-encapsulated and interleaved between data packet fragments. Queuing and
load balancing are performed differently for LFI and non-LFI packets.
To verify that LFI is performed correctly, determine that packets are fragmented and
encapsulated as configured. After you know whether a packet is treated as an LFI packet
or a non-LFI packet, you can confirm whether the load balancing is performed correctly.
Solution Scenario—Suppose two Juniper Networks devices, R0 and R1, are connected by
a multilink bundle lsq-0/0/0.0 that aggregates two serial links, se-1/0/0 and se-1/0/1.
On R0 and R1, MLPPP and LFI are enabled on the link services interface and the
fragmentation threshold is set to 128 bytes.
In this example, we used a packet generator to generate voice and data streams. You
can use the packet capture feature to capture and analyze the packets on the incoming
interface.
The following two data streams were sent on the multilink bundle:
• 100 data packets of 200 bytes (larger than the fragmentation threshold)
The following two voice streams were sent on the multilink bundle:
NOTE: Only the significant portions of command output are displayed and
described in this example.
1. Verify packet fragmentation. From operational mode, enter the show interfaces
lsq-0/0/0 command to check that large packets are fragmented correctly.
The total number of packets sent (600 + 400) on the multilink bundle match the
number of transiting packets (1000), indicating that no packets were dropped.
The number of transiting fragments exceeds the number of transiting packets by 100,
indicating that 100 large data packets were correctly fragmented.
Corrective Action—If the packets are not fragmented correctly, check your
fragmentation threshold configuration. Packets smaller than the specified
fragmentation threshold are not fragmented.
non-LFI packet, determine its encapsulation type. LFI packets are PPP encapsulated,
and non-LFI packets are encapsulated with both PPP and MLPPP. PPP and MLPPP
encapsulations have different overheads resulting in different-sized packets. You can
compare packet sizes to determine the encapsulation type.
A small unfragmented data packet contains a PPP header and a single MLPPP header.
In a large fragmented data packet, the first fragment contains a PPP header and an
MLPPP header, but the consecutive fragments contain only an MLPPP header.
PPP and MLPPP encapsulations add the following number of bytes to a packet:
4 bytes of header+2 bytes of frame check sequence (FCS)+1 byte that is idle or
contains a flag
Figure 28 on page 440 shows the overhead added to PPP and MLPPP headers.
For CRTP packets, the encapsulation overhead and packet size are even smaller than
for an LFI packet. For more information, see Example: Configuring the Compressed
Real-Time Transport Protocol.
Table 31 on page 440 shows the encapsulation overhead for a data packet and a voice
packet of 70 bytes each. After encapsulation, the size of the data packet is larger than
the size of the voice packet.
From operational mode, enter the show interfaces queue command to display the size
of transmitted packet on each queue. Divide the number of bytes transmitted by the
number of packets to obtain the size of the packets and determine the encapsulation
type.
3. Verify load balancing. From operational mode, enter the show interfaces queue
command on the multilink bundle and its constituent links to confirm whether load
balancing is performed accordingly on the packets.
Packets : 18 0 pps
Bytes : 234 0 bps
Meaning—The output from these commands shows the packets transmitted and
queued on each queue of the link services interface and its constituent links.
Table 32 on page 443 shows a summary of these values. (Because the number of
transmitted packets equaled the number of queued packets on all the links, this table
shows only the queued packets.)
• The number of packets queued matches the number transmitted. If the numbers
match, no packets were dropped. If more packets were queued than were
transmitted, packets were dropped because the buffer was too small. The buffer
size on the constituent links controls congestion at the output stage. To correct this
problem, increase the buffer size on the constituent links.
• The number of packets transiting Q0 (600) matches the number of large and small
data packets received (100+500) on the multilink bundle. If the numbers match,
all data packets correctly transited Q0.
• The number of packets transiting Q2 on the multilink bundle (400) matches the
number of voice packets received on the multilink bundle. If the numbers match,
all voice LFI packets correctly transited Q2.
• The total number of packets transiting Q0 (350+350) matches the number of data
packets and data fragments (500+200). If the numbers match, all the data packets
after fragmentation correctly transited Q0 of the constituent links.
Packets transited both constituent links, indicating that load balancing was correctly
performed on non-LFI packets.
LFI packets from source port 100 transited se-1/0/0, and LFI packets from source
port 200 transited se-1/0/1. Thus all LFI (Q2) packets were hashed based on the
source port and correctly transited both constituent links.
Corrective Action—If the packets transited only one link, take the following steps to
resolve the problem:
b. Verify that the classifiers are correctly defined for non-LFI packets. Make sure that
non-LFI packets are not configured to be queued to Q2. All packets queued to Q2
are treated as LFI packets.
c. Verify that at least one of the following values is different in the LFI packets: source
address, destination address, IP protocol, source port, or destination port. If the
same values are configured for all LFI packets, the packets are all hashed to the
same flow and transit the same link.
Determine Why Packets Are Dropped on a PVC Between a Juniper Networks Device and a
Third-Party Device
Problem Description: You are configuring a permanent virtual circuit (PVC) between T1, E1, T3, or
E3 interfaces on a Juniper Networks device and a third-party device, and packets are
being dropped and ping fails.
Solution If the third-party device does not have the same FRF.12 support as the Juniper Networks
device or supports FRF.12 in a different way, the Juniper Networks device interface on the
PVC might discard a fragmented packet containing FRF.12 headers and count it as a
"Policed Discard."
Link fragmentation and interleaving (LFI) solves this problem. It reduces delay and jitter
on links by fragmenting large packets and interleaving delay-sensitive packets with the
resulting smaller packets for simultaneous transmission across multiple links of a multilink
bundle.
Figure 29 on page 448 illustrates how LFI works. In this figure, device R0 and device R1
have LFI enabled. When device R0 receives large and small packets, such as data and
voice packets, it divides them into two categories. All voice packets and any other packets
configured to be treated as voice packets are categorized as LFI packets and transmitted
without fragmentation or an MLPPP header. If CRTP is configured on the bundle, LFI
packets are transmitted through CRTP processing. The remaining non-LFI (data) packets
can be fragmented or unfragmented based on the configured fragmentation threshold.
The packets larger than the fragmentation threshold are fragmented. An MLPPP header
(containing a multilink sequence number) is added to all non-LFI packets, fragmented
and unfragmented.
The unfragmented data packets are treated as a single fragment. Thus device R1 does
not buffer the unfragmented data packets and transmits them as it receives them.
To configure LFI, you define the MLPPP encapsulation type and enable fragmentation
and interleaving of packets by specifying the fragmentation threshold and fragmentation
maps, with a no-fragmentation knob mapped to the forwarding class of choice.
Requirements
Before you begin, you should have two Juniper Networks devices configured with at least
two serial interfaces that communicate over serial links. This example shows two devices.
Overview
In this example, you create an interface called lsq-0/0/0. You specify the encapsulation
type as multilink-ppp and set the fragmentation threshold value to 128. Set a
fragmentation threshold of 128 bytes on the MLPPP bundle so that it applies to all traffic
on both constituent links, enabling that any packet larger than 128 bytes transmitted on
these links is fragmented. Any nonzero value must be a multiple of 64 bytes. The value
can be between 128 and 16320. The default value is 0 bytes.
Configuration
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure LFI:
1. Create an interface.
[edit]
user@host# edit interfaces lsq-0/0/0
[edit]
user@host# commit
Verification
Action From operational mode, enter the show interfaces lsq-0/0/0 command.
By defining classifiers you associate incoming packets with a forwarding class and loss
priority. Based on the associated forwarding class, you assign packets to output queues.
To configure classifiers, you specify the bit pattern for the different types of traffic. The
classifier takes this bit pattern and attempts to match it to the type of packet arriving on
the interface. If the information in the packet’s header matches the specified pattern,
the packet is sent to the appropriate queue, defined by the forwarding class associated
with the classifier.
On a Juniper Networks device, when LFI is enabled, all forwarding traffic assigned to
queue 2 or member link is treated as LFI (voice) traffic. You do not need to assign network
control traffic to a queue explicitly, because it is assigned to queue 3 by default.
NOTE:
On member links:
This example shows how to define classifiers for different types of traffic, such as voice,
data, and network control packets, and to direct the traffic to different output queues
to manage your throughput.
Requirements
Before you begin:
• Configure two Juniper Networks devices with at least two serial interfaces that
communicate over serial links.
• Configure CoS components. See Junos OS Class of Service Configuration Guide for
Security Devices.
Overview
In this example, you configure class of service and set the default IP precedence classifier
to classify_input, which is assigned to all incoming traffic. You then set the precedence
bit value in the type of service field to 000 for all incoming data traffic and 010 for all
incoming voice traffic. You set all outgoing data traffic to queue 0 and all voice traffic to
queue 2, and fragmentation-map maps queue 2 to no fragmentation.
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them into a text
Configuration 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 The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
[edit]
user@host# edit class-of-service
[edit class-of-service]
user@host# edit classifiers inet-precedence classify_input
3. Assign packets with IP precedence to the data forwarding class and specify a loss
priority.
4. Assign packets with IP precedence to the voice forwarding class and specify a loss
priority.
[edit class-of-service]
user@host# edit forwarding-classes
user@host# set queue 0 DATA
user@host# set queue 2 VOICE
user@host# set queue 3 NC
[edit class-of-service]
user@host# edit interfaces ge-0/0/1
user@host# set unit 0 classifiers inet-precedence classify_input
[edit]
user@host# edit class-of-service
user@host# set fragmentation-maps FM forwarding-class VOICE no-fragmentation
[edit class-of-service]
Results From configuration mode, confirm your configuration by entering the show class-of-service
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show class-of-service
classifiers {
inet-precedence classify_input {
forwarding-class DATA {
loss-priority low code-points 000;
}
forwarding-class VOICE {
loss-priority low code-points 010;
}
}
}
forwarding-classes {
queue 0 DATA;
queue 2 VOICE;
queue 3 NC;
}
interfaces {
lsq-0/0/0 {
unit 0 {
fragmentation-map FM;
}
}
ge-0/0/1 {
unit 0 {
classifiers {
inet-precedence classify_input;
}
}
}
}
fragmentation-maps {
FM {
forwarding-class {
VOICE {
no-fragmentation;
}
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
To confirm that the configuration is working properly, perform this task:
Related • Junos OS Feature Support Reference for SRX Series and J Series Devices
Documentation
• Understanding How to Define Classifiers and Forwarding Classes on page 451
If you configure CoS components with LFI on a Juniper Networks device, we recommend
that you follow certain recommendations for shaping rate, scheduling priority, and buffer
size.
When you configure LFI, we recommend that you configure the shaping rate on each
constituent link of the multilink bundle. Shaping rate configuration on the constituent
links is required to limit the jitter on the LFI queue. If you anticipate no delay-sensitive or
jitter-sensitive traffic on the LFI queue, or if there is no LFI traffic at all, shaping rate
configuration is optional.
Table 33 on page 456 shows an example of correct and incorrect relative priorities on a
multilink bundle and its constituent link. In this example, you have assigned a high priority
to LFI packets and a low priority to data packets on the multilink bundle. To maintain the
relative priority on the constituent links, you can assign a high priority to the LFI packets
and a medium-high priority to the data packets, but you cannot assign a medium-high
priority to LFI packets and a high priority to data packets.
By defining schedulers you configure the properties of output queues that determine the
transmission service level for each queue. These properties include the amount of interface
bandwidth assigned to the queue, the size of the memory buffer allocated for storing
packets, and the priority of the queue. After defining schedulers you associate them with
forwarding classes by means of scheduler maps. You then associate each scheduler
map with an interface, thereby configuring the hardware queues and packet schedulers
that operate according to this mapping.
NOTE: When data and LFI streams are present, the following scheduler map
configuration is recommended for constituent links. This gives less latency
for LFI traffic and avoids out-of-order transmission of data traffic.
This example shows how to configure scheduler maps to determine the transmission
service level for each output queue.
Requirements
Before you begin, you should have two Juniper Networks devices configured with at least
two serial interfaces that communicate over serial links.
Overview
In this example, you create interfaces called lsq-0/0/0, se-1/0/0, and se-1/0/1. You
enable per-unit scheduling to allow the configuration of scheduler maps on the bundle.
You configure a scheduler map as s_map on lsq-0/0/0. You then apply the scheduler
map to the constituent links, se-1/0/0 and se-1/0/1, of the multilink bundle. You associate
the scheduler with each of the forwarding classes, DATA, VOICE and NC. You define the
properties of output queues for the DATA scheduler by setting the transmit rate and the
buffer size to 49 percent. You specify the properties of output queues for the VOICE
scheduler by setting the transmit rate to 50 percent, the buffer size to 5 percent, and the
priority to high. Finally, you define the properties of output queues for the NC scheduler
by setting the transmit rate and the buffer size to 1 percent and the priority to high.
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them into a text
Configuration 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 The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
[edit interfaces]
user@host# set lsq-0/0/0 per-unit-scheduler
user@host# set se-1/0/0 per-unit-scheduler
user@host# set se-1/0/1 per-unit-scheduler
2. Define a scheduler map and apply it to the constituent links in the multilink bundle.
Results From configuration mode, confirm your configuration by entering the show class-of-service
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show class-of-service
interfaces {
lsq-0/0/0 {
unit 0 {
scheduler-map s_map;
}
}
se-1/0/0 {
unit 0 {
scheduler-map s_map;
}
}
se-1/0/1 {
unit 0 {
scheduler-map s_map;
}
}
}
scheduler-maps {
s_map {
forwarding-class DATA scheduler DATA;
forwarding-class VOICE scheduler VOICE;
forwarding-class NC scheduler NC;
}
}
schedulers {
DATA {
transmit-rate percent 49;
buffer-size percent 49;
}
VOICE {
transmit-rate percent 50;
buffer-size percent 5;
priority high;
}
NC {
transmit-rate percent 1;
buffer-size percent 1;
priority high;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
To confirm that the configuration is working properly, perform this task:
Action From operational mode, enter the show class-of-services lsq-0/0/0 scheduler-map s_map,
show class-of-services se-1/0/0 scheduler-map s_map, and show class-of-services se-1/0/1
scheduler-map s_map commands.
Related • Junos OS Feature Support Reference for SRX Series and J Series Devices
Documentation
• Understanding How to Define and Apply Scheduler Maps on page 455
When you configure LFI, we recommend that you configure the shaping rate on each
constituent link of the multilink bundle. Shaping rate configuration on the constituent
links is required to limit the jitter on the LFI queue. If you anticipate no delay-sensitive or
jitter-sensitive traffic on the LFI queue, or if there is no LFI traffic at all, shaping rate
configuration is optional.
The shaping rate specifies the amount of bandwidth to be allocated for the multilink
bundle. You must configure the shaping rate to be equal to the combined physical
interface bandwidth for the constituent links. The combined bandwidth capacity of the
two constituent links is 2 Mbps. Hence, configure a shaping rate of 2 Mbps on each
constituent link.
This example shows how to configure interface shaping rates to control the maximum
rate of traffic transmitted on an interface.
Requirements
Before you begin:
• Configure two Juniper Networks devices configured with at least two serial interfaces
that communicate over serial links. For more information about serial interfaces. See
“Serial Interfaces Overview” on page 561.
• To apply shaping rates to interfaces, you have to first enable per-unit scheduling. For
more information on per-unit scheduling. See “Example: Configuring Scheduler Maps”
on page 457.
Overview
In this example, you set the shaping rate to 2000000 for the constituent links of the
multilink bundle, se-1/0/0 and se-1/0/1.
Configuration
[edit]
user@host# edit class-of-service
2. Apply the shaping rates to the constituent links of the multilink bundle.
[edit class-of-service]
user@host# set interfaces se-1/0/0 unit 0 shaping-rate 2000000
user@host# set interfaces se-1/0/1 unit 0 shaping-rate 2000000
Verification
To verify the configuration is working properly, enter the show class-of-service command.
Related • Junos OS Feature Support Reference for SRX Series and J Series Devices
Documentation
• Link Services Interfaces Overview on page 423
• Understanding MLPPP Bundles and Link Fragmentation and Interleaving (LFI) on Serial
Links on page 463
• Example: Configuring an MLPPP Bundle on page 464
Understanding MLPPP Bundles and Link Fragmentation and Interleaving (LFI) on Serial
Links
Juniper Networks devices support MLPPP and MLFR multilink encapsulations. MLPPP
multilink encapsulation enables you to bundle multiple PPP links into a single multilink
bundle and MLFR multilink encapsulation enables you to bundle multiple Frame Relay
data-link connection identifiers (DLCIs) into a single multilink bundle. Multilink bundles
provide additional bandwidth, load balancing, and redundancy by aggregating low-speed
links, such as T1, E1, and serial links.
NOTE: Currently, Junos OS supports bundling of only one xDSL link under
bundle interface.
You configure multilink bundles as logical units or channels on the link services interface
lsq-0/0/0:
• With MLPPP and MLFR FRF.15, multilink bundles are configured as logical units on
lsq-0/0/0—for example, lsq-0/0/0.0 and lsq-0/0/0.1.
After creating multilink bundles, you add constituent links to the bundle. The constituent
links are the low-speed physical links that are to be aggregated. You can create 64
multilink bundles, and on each multilink bundle you can add up to 8 constituent links.
The following rules apply when you add constituent links to a multilink bundle:
• On each multilink bundle, add only interfaces of the same type. For example, you can
add either T1 or E1, but not both.
• Only interfaces with a PPP encapsulation can be added to an MLPPP bundle, and only
interfaces with a Frame Relay encapsulation can be added to an MLFR bundle.
• If an interface is a member of an existing bundle and you add it to a new bundle, the
interface is automatically deleted from the existing bundle and added to the new
bundle.
Configuring a multilink bundle on the two serial links increases the bandwidth by
70 percent from approximately 1 Mbps to 1.7 Mbps and prepends each packet with a
multilink header as specified in the FRF.12 standard. To increase the bandwidth further,
you can add up to eight serial links to the bundle. In addition to a higher bandwidth,
configuring the multilink bundle provides load balancing and redundancy. If one of the
serial links fails, traffic continues to be transmitted on the other links without any
interruption. In contrast, independent links require routing policies for load balancing and
redundancy. Independent links also require IP addresses for each link as opposed to one
IP address for the bundle. In the routing table, the multilink bundle is represented as a
single interface.
This example shows how to configure an MLPPP bundle to increase traffic bandwidth.
Requirements
Before you begin, you should have two Juniper Networks devices configured with at least
two serial interfaces that communicate over serial links.
Overview
In this example, you create the MLPPP bundle lsq-0/0/0.0 at the logical unit level of the
link services interface lsq-0/0/0 on Juniper Networks devices R0 and R1. You then add
the two serial interfaces se-1/0/0 and se-1/0/1 as constituent links to the multilink bundle.
In Figure 30 on page 465, your company's branch office is connected to its main branch
using devices R0 and R1. You transmit data and voice traffic on two low-speed 1-Mbps
serial links. To increase bandwidth, you configure MLPPP and join the two serial links
se-1/0/0 and se-1/0/1 into the multilink bundle lsq-0/0/0.0. Then you configure LFI and
CoS on R0 and R1 to enable them to transmit voice packets ahead of data packets.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
For device R0
set interfaces lsq-0/0/0 unit 0 family inet address 10.0.0.10/24
set interfaces se-1/0/0 unit 0 family mlppp bundle lsq-0/0/0.0
set interfaces se-1/0/1 unit 0 family mlppp bundle lsq-0/0/0.0
set interfaces se-1/0/0 serial-options clocking-mode dce clock-rate 2.0mhz
set interfaces se-1/0/1 serial-options clocking-mode dce clock-rate 2.0mhz
For device R1
set interfaces lsq-0/0/0 unit 0 family inet address 10.0.0.9/24
set interfaces se-1/0/0 unit 0 family mlppp bundle lsq-0/0/0.0
set interfaces se-1/0/1 unit 0 family mlppp bundle lsq-0/0/0.0
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces lsq-0/0/0 unit 0
4. Specify the names of the constituent links to be added to the multilink bundle on
both devices.
[edit interfaces]
user@host# edit se-1/0/0 unit 0
user@host# set family mlppp bundle lsq-0/0/0.0
[edit interfaces]
user@host# edit se-1/0/1 unit 0
user@host# set family mlppp bundle lsq-0/0/0.0
5. Set the serial options to the same values for both interfaces on R0.
NOTE: R0 is set as a DCE device. The serial options are not set for
interfaces on R1. You can set the serial options according to your network
setup.
[edit interfaces]
user@host# set se-1/0/0 serial-options clocking-mode dce clock-rate 2.0mhz
user@host# set se-1/0/1 serial-options clocking-mode dce clock-rate 2.0mhz
Results From configuration mode, confirm your configuration by entering the show interfaces
lsq-0/0/0, show interfaces se-1/0/0, and show interfaces se-1/0/1 commands for R0 and
R1. If the output does not display the intended configuration, repeat the configuration
instructions in this example to correct it.
For device R0
[edit]
user@host# show interfaces lsq-0/0/0
family inet {
address 10.0.0.10/24;
}
}
[edit]
user@host# show interfaces se-1/0/0
clocking-mode dce;
clock-rate 2.0mhz;
}
unit 0 {
family mlppp {
bundle lsq-0/0/0.0;
}
}
[edit]
user@host# show interfaces se-1/0/1
serial-options {
clocking-mode dce;
clock-rate 2.0mhz;
}
unit 0 {
family mlppp {
bundle lsq-0/0/0.0;
}
}
For device R1
[edit]
user@host# show interfaces lsq-0/0/0
family inet {
address 10.0.0.9/24;
}
}
[edit]
user@host# show interfaces se-1/0/0
unit 0 {
family mlppp {
bundle lsq-0/0/0.0;
}
}
[edit]
user@host# show interfaces se-1/0/1
unit 0 {
family mlppp {
bundle lsq-0/0/0.0;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the constituent links are added to the bundle correctly.
Action From operational mode, enter the show interfaces lsq-0/0/0 statistics command.
Related • Understanding MLPPP Bundles and Link Fragmentation and Interleaving (LFI) on Serial
Documentation Links on page 463
The link services intelligent queuing interface lsq-0/0/0 supports Multilink Frame Relay
end-to-end (MLFR FRF.15).
With MLFR FRF.15, multilink bundles are configured as logical units on the link services
intelligent queuing interface, such as lsq-0/0/0.0. MLFR FRF.15 bundles combine multiple
permanent virtual circuits (PVCs) into one aggregated virtual circuit (AVC). This process
provides fragmentation over multiple PVCs on one end and reassembly of the AVC on
the other end. You can configure LFI and CoS with MLFR in the same way that you
configure them with MLPPP.
Related • Understanding MLPPP Bundles and Link Fragmentation and Interleaving (LFI) on Serial
Documentation Links on page 463
This example shows how to configure MLFR FRF.15 for additional bandwidth, load
balancing, and redundancy by aggregating low-speed links such as T1, E1, and serial links.
Requirements
Before you begin, you should have two Juniper Networks devices configured with at least
two serial interfaces that communicate over serial links.
Overview
In this example, you aggregate two T1 links to create the MLFR FRF.15 bundle on two
Juniper Networks devices, R0 and R1, and set the interface to lsq-0/0/0. You configure
a logical unit on the lsq-0/0/0 interface and set the family type to inet with address
10.0.0.4/24. Then you configure an IP address for the multilink bundle on the unit level
of the interface.
You define the multilink bundle as an MLFR FRF.15 bundle by specifying the MLFR
end-to-end encapsulation type. You specify the names of the constituent links to be
added to the multilink bundle as t1-2/0/0 and t1-2/0/1 and set the encapsulation type
to frame relay. You then define R0 as a DCE device and R1 as a DTE device. You set the
DLCI value to 100 (range is 16 through 1022). Finally, you set the multilink bundle to
lsq-0/0/0.0.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
For device R0
set interfaces lsq-0/0/0 unit 0 family inet address 10.0.0.4/24
set interfaces lsq-0/0/0 unit 0 encapsulation multilink-frame-relay-end-to-end
set interfaces t1-2/0/0 encapsulation frame-relay
set interfaces t1-2/0/1 encapsulation frame-relay
set interfaces lsq-0/0/0 dce
set interfaces lsq-0/0/0 unit 0 dlci 100 family mlfr-end-to-end bundle lsq-0/0/0.0
For device R1
set interfaces lsq-0/0/0 unit 0 family inet address 10.0.0.5/24
set interfaces lsq-0/0/0 unit 0 encapsulation multilink-frame-relay-end-to-end
set interfaces t1-2/0/0 encapsulation frame-relay
set interfaces t1-2/0/1 encapsulation frame-relay
set interfaces lsq-0/0/0 unit 0 dlci 100 family mlfr-end-to-end bundle lsq-0/0/0.0
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
2. Set a logical unit on the interface and define the family type for devices R0 and R1.
4. Specify the names of the constituent links to be added to the multilink bundle.
[edit interfaces]
user@host# set t1-2/0/0 encapsulation frame-relay
user@host# set t1-2/0/1 encapsulation frame-relay
[edit interfaces]
user@host# edit lsq-0/0/0
user@host# set dce
6. Specify the DLCI as well as the multilink bundle to which the interface is to be added.
Results From configuration mode, confirm your configuration by entering the show interfaces
lsq-0/0/0, show interfaces t1-2/0/0, and show interfaces t1-2/0/1 commands for R0 and
R1. If the output does not display the intended configuration, repeat the configuration
instructions in this example to correct it.
For device R0
[edit]
user@host# show interfaces lsq-0/0/0
dce;
unit 0 {
encapsulation multilink-frame-relay-end-to-end;
dlci 100;
family inet {
address 10.0.0.4/24;
}
family mlfr-end-to-end {
bundle lsq-0/0/0.0;
}
}
[edit]
user@host#show interfaces t1-2/0/0
encapsulation frame-relay;
[edit]
For device R1
[edit]
user@host# show interfaces lsq-0/0/0
unit 0 {
encapsulation multilink-frame-relay-end-to-end;
dlci 100;
family inet {
address 10.0.0.5/24;
}
family mlfr-end-to-end {
bundle lsq-0/0/0.0;
}
}
[edit]
user@host# show interfaces t1-2/0/0
encapsulation frame-relay;
[edit]
user@host# show interfaces t1-2/0/1
encapsulation frame-relay;
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
The link services intelligent queuing interface lsq-0/0/0 supports the Multilink Frame
Relay (MLFR) user-to-network interface (UNI) and network-to-network interface (NNI)
(MLFR FRF.16).
MLFR FRF.16 configures multilink bundles as channels on the link services intelligent
queuing interface, such as lsq-0/0/0:0. A multilink bundle carries Frame Relay permanent
virtual circuits (PVCs), identified by their data-link connection identifiers (DLCIs). Each
DLCI is configured at the logical unit level of the link services intelligent queuing interface
and is also referred as a logical interface. Packet fragmentation and reassembly occur
on each virtual circuit. You can configure LFI and CoS with MLFR in the same way that
you configure them with MLPPP.
Related • Understanding MLPPP Bundles and Link Fragmentation and Interleaving (LFI) on Serial
Documentation Links on page 463
This example shows how to configure MLFR FRF.16 for additional bandwidth, load
balancing, and redundancy.
Requirements
Before you begin, you should have two Juniper Networks devices configured with at least
two serial interfaces that communicate over serial links.
Overview
In this example, you aggregate two T1 interfaces to create an MLFR FRF.16 bundle on
two Juniper Networks devices, R0 and R1. You configure the chassis interface and specify
the number of MLFR FRF.16 bundles to be created on the interface. You then specify the
channel to be configured as a multilink bundle and create interface lsq-0/0/0:0. You set
the multilink bundle as an MLFR FRF.16 bundle by specifying the MLFR UNI NNI
encapsulation type.
Then you define R0 as a DCE device and R1 as a DTE device. You configure a logical unit
on the multilink bundle lsq-0/0/0:0, and set the family type to inet. You then assign a
DLCI of 400 and an IP address of 10.0.0.10/24 to the multilink bundle. You create the T1
interfaces, t1-2/0/0 and t1-2/0/1, that are to be added as constituent links to the multilink
bundle and define the Frame Relay encapsulation type. Finally, you set the multilink
bundle to lsq-0/0/0:0.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
For device R0
set chassis fpc 0 pic 0 mlfr-uni-nni-bundles 1
set interfaces lsq-0/0/0:0 encapsulation multilink-frame-relay-uni-nni
set interfaces lsq-0/0/0:0 dce
set interfaces lsq-0/0/0 unit 0 dlci 400 family inet address 10.0.0.10/24
set interfaces t1-2/0/0 encapsulation multilink-frame-relay-uni-nni
set interfaces t1-2/0/1 encapsulation multilink-frame-relay-uni-nni
set interfaces t1-2/0/0 unit 0 family mlfr-uni-nni bundle lsq-0/0/0:0
set interfaces t1-2/0/1 unit 0 family mlfr-uni-nni bundle lsq-0/0/0:0
For device R1
set chassis fpc 0 pic 0 mlfr-uni-nni-bundles 1
set interfaces lsq-0/0/0:0 encapsulation multilink-frame-relay-uni-nni
set interfaces lsq-0/0/0 unit 0 dlci 400 family inet address 10.0.0.9/24
set interfaces t1-2/0/0 encapsulation multilink-frame-relay-uni-nni
set interfaces t1-2/0/1 encapsulation multilink-frame-relay-uni-nni
set interfaces t1-2/0/0 unit 0 family mlfr-uni-nni bundle lsq-0/0/0:0
set interfaces t1-2/0/1 unit 0 family mlfr-uni-nni bundle lsq-0/0/0:0
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit chassis
[edit chassis]
user@host# set fpc 0 pic 0 mlfr-uni-nni-bundles 1
3. Create an interface.
[edit]
user@host# edit interfaces lsq-0/0/0:0
6. Specify a logical unit on the multilink bundle and set the family type.
[edit interfaces]
user@host# set t1-2/0/0 encapsulation multilink-frame-relay-uni-nni
user@host# set t1-2/0/1 encapsulation multilink-frame-relay-uni-nni
Results From configuration mode, confirm your configuration by entering the show commands
for devices R0 and R1. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
For device R0
[edit chassis]
user@host#show
fpc 0 {
pic 0 {
mlfr-uni-nni-bundles 1;
}
}
For device R1
[edit chassis]
user@host#show
fpc 0 {
pic 0 {
mlfr-uni-nni-bundles 1;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
NOTE:
• F-max period—Maximum number of compressed packets allowed between
transmission of full headers. It has a range from 1 to 65,535.
This example shows how to configure CRTP to improve packet transmission, especially
for time-sensitive voice packets.
Requirements
Before you begin, you should have two Juniper Networks devices configured with at least
two serial interfaces that communicate over serial links.
Overview
In this example, you create a T1 interface called t1-1/0/0 and set the type of encapsulation
to PPP. You set the link services intelligent queuing interface to lsq-0/0/0.0. You then
create an interface called lsq-0/0/0 and set the logical unit 0. Finally, you set the F-max
period to 2500, the minimum UDP port value to 2000, and the maximum UDP port value
to 64009.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces t1-1/0/0
3. Add the link services intelligent queuing interface to the physical interface.
[edit interfaces]
Results From configuration mode, confirm your configuration by entering the show interfaces
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces
lsq-0/0/0 {
unit 0 {
compression {
rtp {
f-max-period 2500;
port minimum 2000 maximum 64009;
}
}
}
}
t1-1/0/0 {
encapsulation ppp;
unit 0 {
compression-device lsq-0/0/0.0;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
The link services interface is an internal interface only. It is not associated with a physical
medium or PIM. Within an SRX Series device, packets are routed to this interface for link
bundling or compression.
It may be required that you upgrade your configuration to use the internal interface
lsq-0/0/0 as the link services queuing interface instead of ls-0/0/0, which has been
deprecated. You can also roll back your modified configuration to use ls-0/0/0.
This example shows how to upgrade from ls-0/0/0 to lsq-0/0/0 (or to reverse the
change) for multilink services.
Requirements
This procedure is only necessary if you are still using ls-0/0/0 instead of lsq-/0/0/0 or
if you need to revert to the old interface.
Overview
In this example, you rename the link services internal interface from ls-0/0/0 to lsq-0/0/0
or vice versa. You rename all occurrences of ls-0/0/0 in the configuration to lsq-0/0/0
and configure the fragmentation map by adding no fragmentation. You specify no
fragmentation after the name of queue 2, if queue 2 is configured, or after assured
forwarding. You then attach the fragmentation map configured in the preceding step to
lsq-0/0/0 and specify the unit number as 6 of the multilink bundle for which interleave
fragments is configured.
Then you roll back the configuration from lsq-0/0/0 to ls-0/0/0. You rename all
occurrences in the configuration from lsq-0/0/0 to ls-0/0/0. You delete the
fragmentation map if it is configured under the [class-of-service] hierarchy and delete
the fragmentation map if it is assigned to lsq-0/0/0. You can delete multilink-max-classes
if it is configured for lsq-0/0/0 under the [interfaces] hierarchy. You then delete
link-layer-overhead if it is configured for lsq-0/0/0 under the [interfaces] hierarchy.
Configuration
CLI Quick To quickly upgrade from ls-0/0/0 to lsq-0/0/0 (or reverse the change), copy the following
Configuration commands and paste them into the CLI:
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# rename interfaces ls-0/0/0 to lsq-0/0/0
[edit class-of-service ]
user@host# set interfaces lsq-0/0/0 unit 6 fragmentation-map map6
[edit]
user@host# rename interfaces lsq-0/0/0 to ls-0/0/0
[edit]
user@host# delete class-of-service fragmentation-maps map6
[edit interfaces]
user@host# delete lsq-0/0/0 unit 6 link-layer-overhead
[edit interfaces]
user@host# delete lsq-0/0/0:0 mlfr-uni-nni-bundle-options link-layer-overhead
[edit interfaces]
user@host# set ls-0/0/0 unit 6 interleave-fragments
Results From configuration mode, confirm your configuration by entering the show class-of-service
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show class-of-service
interfaces {
lsq-0/0/0 {
unit 6 {
fragmentation-map map6;
}
}
}
fragmentation-maps {
map6 {
forwarding-class {
assured-forwarding {
no-fragmentation;
}
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify the link services internal interface ls-0/0/0 changed to lsq-0/0/0.
Management interfaces are the primary interfaces for accessing the device remotely.
Typically, a management interface is not connected to the in-band network, but is
connected instead to the device's internal network. Through a management interface
you can access the device over the network using utilities such as ssh and telnet and
configure it from anywhere, regardless of its physical location. SNMP can use the
management interface to gather statistics from the device.
• The SRX5600 and SRX5800 devices include a 10/100-Mbps Ethernet port on the
Routing Engine (RE). This port, which is labeled ETHERNET, is a dedicated out-of-band
management interface for the device. Junos OS automatically creates the device’s
management interface fxp0. To use fxp0 as a management port, you must configure
its logical port fxp0.0 with a valid IP address. While you can use fxp0 to connect to a
management network, you cannot place it into the management zone.
NOTE: On the SRX5600 and SRX5800 devices, you must first connect to
the device through the serial console port before assigning a unique IP address
to the management interface.
In an SRX Series device, the fxp0 management interface is a dedicated port located on
the Routing Engine. In an SRX Series chassis cluster configuration, the control link interface
must be port 0 on an SPC. For each node in the chassis cluster, you must configure the
SPC that is used for the control link interface.
The discard (dsc) interface is not a physical interface, but a virtual interface that discards
packets. You can configure one discard interface. This interface allows you to identify
the ingress (inbound) 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. Traffic routed out the discard interface is
silently discarded.
The loopback address (lo0) has several uses, depending on the particular Junos feature
being configured. It can perform the following functions:
• Device identification—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.
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.
The 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. Junos OS creates the loopback interface for the internal routing instance. This
interface prevents any filter on lo0.0 from disrupting internal traffic.
The loopback interface supports many different network and operational functions and
is an always-up interface. This means that the loopback interface ensures that the device
is reachable, even if some of the physical interfaces are down or removed, or an IP address
has changed. In most cases, you always define a loopback interface.
Junos OS requires that the loopback interface always be configured with a /32 network
mask because the Routing Engine is essentially a host.
If you are using routing instances, you can configure the loopback interface for the default
routing instance or for a specific routing instance. The following procedure adds the
loopback interface to the default routing instance.
Optionally, instead of configuring the loopback interface at the [edit interfaces] hierarchy
level, you can use a configuration group, as shown in this procedure. This is a
recommended best practice for configuring the loopback interface. This procedure uses
a group called global as an example.
Each host in your network deployment should have a unique loopback interface
address. The address used here is only an example.
You can configure as many addresses as you need on the lo0 interface, so it is good
practice to designate one preferred IP address.
Only unit 0 is permitted as the master loopback interface. If you want to add more IP
addresses to unit 0, you configure them in the normal way under unit 0, without the
preferred option.
NOTE: You do not have to include the /32 as long as the IPv4 address is
a valid host address. (This usually means that the last octet cannot be
zero.)
On the lo0.0 interface, it is useful to have the IP address 127.0.0.1 configured, as certain
processes such as NTP and MPLS ping use this default host address. The 127.0.0.1/32
address is a Martian IP address (an address invalid for routing), so it is never advertised
by the Juniper Networks device.
Depending on your network configuration, you might also need an ISO address for the
IS-IS routing protocol.
6. If you used a configuration group, apply the configuration group, substituting global
with the appropriate group name.
[edit]
user@host# set apply-groups global
user@host# commit
The LTE Mini-Physical Interface Module (Mini-PIM) provides wireless WAN support on
the SRX320, SRX340, SRX345, and SRX550M (High Memory) Services Gateways. The
LTE Mini-PIM operates on both 3G and 4G networks. Table 34 on page 495 provides a
summary of the different models of the Mini-PIM.
For 3G (HSPA+):
For 3G (HSPA+):
• Bands 1, 5, 6, 8, 9, and 19
Supported Features
The LTE Mini-PIM supports the following features:
• Multiple service provider and access point name (APN) profiles—You can configure
up to 16 profiles for each SIM, although only one profile can be active at a time. The
LTE Mini-PIM supports two SIM cards and so you can configure a total of 32 profiles.
• SIM security functions—The Mini-PIM supports security functions such as SIM lock and
unlock, and PIN change.
• Backup—The Mini-PIM connects to the 3G/4G network when the primary connection
fails.
• Primary and backup interface—You can configure the LTE Mini-PIM either as a primary
interface or as a backup interface.
When configured as the primary interface, the LTE Mini-PIM supports both the
Always-on and Dial-on-demand modes.
When configured as the backup interface, the LTE Mini-PIM connects to the network
only when the primary interface fails.
• A dialer pool to which the physical interface belongs and the priority of the interface
in the pool.
• Primary interface—The dialer interface connects to the network and is always on. For
more information, see “Configuring the LTE Mini-PIM as the Primary Interface” on
page 499.
• Backup interface for the primary WAN connection—The dialer interface is activated
only when the primary connection fails. For more information, see “Configuring the LTE
Mini-PIM as a Backup Interface” on page 501.
• You cannot configure the dialer interface as a constituent link in a multilink bundle.
• You cannot configure any dial-in options for the dialer interface.
You can also specify optional operating parameters for the dialer interface:
• Activation delay—Number of seconds after the primary interface is down before the
backup interface is activated. The default value is 0 seconds, and the maximum value
is 60 seconds.
The dialer interface has limited bandwidth, which can lead to traffic congestion. Starting
with Junos OS Release 15.1X49-D100, the dialer interface supports the configuration of
4G LTE dialer interface Class of Service (CoS) parameters on SRX320, SRX340, SRX345,
and SRX550M devices. The dialer interface supports the following CoS parameters:
• Policers
• Shapers
• Schedulers
• Rewrite rules
NOTE: The dialer interface (dl0) supports scheduling only at the physical
interface queue level. As this interface does not support shaping at the logical
interface level, per-unit scheduling is not supported on the dialer interface.
See Class of Service Feature Guide for Security Devices for information on configuring
these parameters.
The configuration process for the LTE Mini-PIM includes the following tasks:
1. Install your SRX Series device and establish basic connectivity for your device. For
more information, see the SRX Series Hardware Guide for your device.
2. Establish an account with a cellular network service provider. Contact your service
provider for more information.
Figure 31 on page 499 illustrates a scenario where the LTE Mini-PIM is installed on a SRX320
Services Gateway and functions as the primary interface. This procedure assumes that
the LTE Mini-PIM is installed in slot 1 on the SRX320 Services Gateway.
NOTE: The LTE Mini-PIM can be installed in any of the Mini-PIM slots on the
SRX320, SRX340, SRX345, and SRX550M Services Gateways.
Before you begin the procedure, ensure that dl0.0 is not configured as a backup. If dl0.0
is configured as a backup option for any interface on the SRX Series device, then this
configuration overrides the configuration outlined in this procedure, and the LTE Mini-PIM
will function as a backup interface.
Use the show interfaces | display set | match backup-option | match dl0.0 command to
check whether any interface uses dl0.0 as a backup interface. If dl0.0 is configured as a
backup interface, then delete the configuration by issuing the following command:
delete interfaces interface-name unit 0 backup-options interface dl0.0
2. Configure the dialer pool for the LTE Mini-PIM physical interface:
3. Configure the profile. The Subscriber Identity Module (SIM) uses a profile to establish
a connection with the network. You can configure up to 16 profiles for each SIM card.
The LTE Mini-PIM supports two SIM cards and so you can configure a total of 32
profiles, although only one profile can be active at a time.
user@host# run request modem wireless create-profile profile-id profile-id cl-1/0/0 slot
sim-slot-number access-point-name apn-name authentication-method none
NOTE: sim-slot-number is the slot on the Mini-PIM in which the SIM card
is inserted.
6. Select the profile and configure the radio access type for the SIM card:
NOTE: If a SIM card is installed in the second slot, then select the profile
and configure the radio access type for the secondary SIM card as well.
NOTE: If the LTE Mini-PIM gets an IP address with a mask of /32 from the
service provider, the user has to configure the default gateway information
using the set interfaces cl-interface cellular-options sim sim-slot gateway
ip-address/mask command to make the Mini-PIM accept the assigned IP
address.
You can configure the LTE Mini-PIM as a backup interface. If the primary interface fails,
the Mini-PIM connects to the network and remains online only until the primary interface
becomes functional. The dialer interface is enabled only when the primary interface fails.
Figure 31 on page 499 illustrates a scenario where the LTE Mini-PIM is installed on a SRX320
Services Gateway and functions as a backup interface. The ge-0/0/1 port is connected
to the Internet and functions as the primary interface.
NOTE: The LTE Mini-PIM can be installed in any of the Mini-PIM slots on the
SRX320, SRX340, SRX345, and SRX550M Services Gateways. In this scenario,
the Mini-PIM is installed on slot 1.
2. Configure the dialer pool for the LTE Mini-PIM physical interface:
3. Configure the profile. The Subscriber Identity Module (SIM) uses a profile to establish
a connection with the network. You can configure up to 16 profiles for each SIM card.
The LTE Mini-PIM supports two SIM cards and so you can configure a total of 32
profiles, although only one profile can be active at a time.
user@host# run request modem wireless create-profile profile-id profile-id cl-1/0/0 slot
sim-slot-number access-point-name l3vpn.corp authentication-method none
NOTE: sim-slot-number is the slot on the Mini-PIM in which the SIM card
is inserted.
6. Select the profile and configure the radio access type for the SIM card:
NOTE: If a SIM card is installed in the second slot, then select the profile
and configure the radio access type for the secondary SIM card as well.
7. Configure the Ethernet interface as the primary interface, which connects to the
wireless network. Configure the dl0 interface as the backup interface.
Related • Configuring the LTE Mini-PIM as the Primary Interface on page 499
Documentation
• Configuring the LTE Interface as a Dial-on-Demand Interface on page 503
When the LTE interface is configured as a primary interface, it can function either in
always-on mode or in dial-on-demand mode. In always-on mode, the interface remains
connected to the network whereas In dial-on-demand mode, the connection is established
only when needed.
In dial-on-demand mode, the dialer interface is enabled only when network traffic
configured as an “interesting traffic” arrives on the network. Interesting traffic triggers or
activates the wireless WAN connection. You define an interesting packet by using the
dialer filter. To configure dial-on-demand by using a dialer filter, you first configure the
dialer filter and then apply the filter to the dialer interface. Once the traffic is sent over
the network, an inactivity timer is triggered and the connection is closed after the timer
expires.
Figure 31 on page 499 illustrates a scenario where the LTE Mini-PIM is installed on a SRX320
Services Gateway and functions as the primary interface. This procedure assumes that
the LTE Mini-PIM is installed in slot 1 on the SRX320 Services Gateway.
NOTE: The LTE Mini-PIM can be installed in any of the Mini-PIM slots on the
SRX320, SRX340, SRX345, and SRX550M Services Gateways.
2. Configure the dialer pool for the LTE Mini-PIM physical interface:
user@host# set firewall family inet dialer-filter dialer-filter-name term term1 from
destination-address ip-address then note
5. Configure the profile. The Subscriber Identity Module (SIM) uses a profile to establish
a connection with the network. You can configure up to 16 profiles for each SIM card.
The LTE Mini-PIM supports two SIM cards and so you can configure a total of 32
profiles, although only one profile can be active at a time.
user@host# run request modem wireless create-profile profile-id profile-id cl-1/0/0 slot
sim-slot-number access-point-name apn-name authentication-method none
NOTE: sim-slot-number is the slot on the Mini-PIM in which the SIM card
is inserted.
8. Select the profile and configure the radio access type for the SIM card:
NOTE: If a SIM card is installed in the second slot, then select the profile
and configure the radio access type for the secondary SIM card as well.
9. Verify the configuration by sending traffic to the destination address. The traffic is
routed to the dl0 interface and if it matches the dialer filter rule, then the dl0 is triggered
to dial.
10. Verify the status of the wireless network and dialer interface:
Related • Configuring the LTE Mini-PIM as the Primary Interface on page 499
Documentation
3G refers to the third generation of mobile phone standards and technology based on
the International Telecommunication Union (ITU) International Mobile
Telecommunications-2000 (IMT-2000) global standard. 3G networks are wide area
cellular telephone networks that have evolved to include high-data rate services of up
to 3 Mbps. This increased bandwidth makes 3G networks a viable option as primary or
backup wide area network (WAN) links for a branch office.
Figure 34 on page 510 illustrates a basic setup for 3G wireless connectivity for two branch
offices. Branch Office A has a T1 leased line as the primary wide area network (WAN)
link and a 3G wireless modem connection as the failover link. Branch Office B uses the
3G wireless modem connection as the primary WAN link.
Internet/carrier network
1. Install your SRX Series device and establish basic connectivity for your device. For
more information, see the SRX Series Hardware Guide for your device.
3. Establish an account with a cellular network service provider. Contact your service
provider for more information.
4. With the services gateway powered off, insert the 3G wireless modem card into the
ExpressCard slot (SRX320 devices) or 3G USB modems (SRX300 devices). Power
on the device. The EXPCARD LED (for SRX320) and 3G LED (SRX320) on the front
panel of the device indicates the status of the 3G wireless modem interface.
WARNING: The device must be powered off before you insert the 3G
wireless modem card in the ExpressCard slot (SRX320) or integrated 3G
USB modem (SRX320). Do not insert or remove the card when the device
is powered on.
1. Configure a dialer interface. See “Example: Configuring the Dialer Interface” on page 514.
2. Configure the 3G wireless modem interface. See “Example: Configuring the 3G Wireless
Modem Interface” on page 520.
3. Configure security zones and policies, as needed, to allow traffic through the WAN
link. See Example: Creating Security Zones.
1. Upgrade the BIOS software packaged inside the Junos OS image. For detailed
information about BIOS upgrade procedures, see the Installation and Upgrade Guide.
NOTE: You need the BIOS version of 2.1 or higher to use the 3G USB
modems on the SRX210 device.
2. Configure the WAN port using the CLI command set chassis routing-engine usb-wwan
port 1 to enable the USB port to use the U319 USB modem.
3. Plug the 3G USB modem in to the appropriate USB slot (USB port 1) on the device.
NOTE: You can use the USB modem with a standard USB extension cable
of 1.8288 meters (6 ft) or longer.
• Understanding Account Activation for CDMA EV-DO Modem Cards on page 525
The dialer interface, dln, is a logical interface for configuring properties for modem
connections. You can configure multiple dialer interfaces on an SRX Series device. A
dialer interface and a dialer pool (which includes the physical interface) are bound
together in a dialer profile.
The dialer interface for 3G wireless modems is no longer supported on SRX300, SRX320,
SRX340, SRX345, and SRX550HM devices.
• The dialer interface must be configured to use the default Point-to-Point Protocol
(PPP) encapsulation. You cannot configure Cisco High-Level Data Link Control (HDLC)
or Multilink PPP (MLPPP) encapsulation on dialer interfaces.
• You cannot configure the dialer interface as a constituent link in a multilink bundle.
• You cannot configure any dial-in options for the dialer interface.
With GSM HSDPA 3G wireless modem cards, you might need to configure PAP or CHAP
for authentication with the service provider network. The service provider must supply
the username and password, which you configure in an access profile. You then specify
the access profile in a dialer interface.
Next you set the dialer interface as a backup WAN link to a primary interface. Then you
create a dialer watch to enable the device to monitor the route to a head office router
and set a dialer pool. Finally, you create a dialer filter firewall rule for traffic from the
branch office to the main office router and associate the dialer filter with a dialer interface.
PAP allows a simple method for a peer to establish its identity using a two-way handshake
during initial link establishment. After the link is established, an identification and password
pair is repeatedly sent by the peer to the authenticator until authentication is
acknowledged or the connection is terminated.
• As a backup interface for a single primary WAN connection. The dialer interfaces are
activated only when the primary interface fails. The 3G wireless modem backup
connectivity is supported on all interfaces except lsq-0/0/0.
• As a dialer filter. The Dialer filter enables the 3G wireless modem connection to be
activated only when specific network traffic is sent on the backup WAN link. You
configure a firewall rule with the dialer filter option, and then apply the dialer filter to
the dialer interface.
• As a dialer watch interface. With dialer watch, the SRX Series device monitors the
status of a specified route and if the route disappears, the dialer interface initiates the
3G wireless modem connection as a backup connection. To configure dialer watch,
you first add the routes to be monitored to a watch list in a dialer interface; specify a
dialer pool for this configuration. Then configure the 3G wireless modem interface to
use the dialer pool.
• Activation delay—Number of seconds after the primary interface is down before the
backup interface is activated. The default value is 0 seconds, and the maximum value
is 60 seconds. Use this option only if dialer watch is configured.
• Initial route check—Number of seconds before the primary interface is checked to see
if it is up. The default value is 120 seconds, and the range is from 1 to 300 seconds.
This example shows how to configure the dialer interface for 3G wireless modem
connections.
The dialer interface for 3G wireless modems is no longer supported on SRX300, SRX320,
SRX340, SRX345, and SRX550HM devices.
Requirements
Before you begin, install your SRX Series device and establish basic connectivity for your
device. See “3G Wireless Modem Configuration Overview” on page 510.
Overview
In this example, you first configure the dialer interface as dl0, specify the PPP
encapsulation dialer pool as 1, specify the dial string as 14691, and negotiate the address
option for the interface IP address.
Configuration
• Configuring a Dialer Interface on page 515
• Configuring PAP on the Dialer Interface on page 515
• Configuring CHAP on the Dialer Interface on page 516
• Configuring the Dialer Interface as a Backup WAN Connection on page 517
• Configuring Dialer Watch for the 3G Wireless Modem Interface on page 518
• Configuring a Dialer Filter for the 3G Wireless Modem Interface on page 518
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set interfaces dl0 description 3g-wireless encapsulation ppp unit 0 dialer-options pool 1
dial-string 14691
set interfaces dl0 unit 0 family inet negotiate-address
Step-by-Step 1. Set the interface and specify the PPP encapsulation, dialer pool, and dial string.
Procedure
[edit]
user@host# set interfaces dl0 description 3g-wireless encapsulation ppp unit 0
dialer-options pool 1 dial-string 14691
[edit]
user@host# set interfaces dl0 unit 0 family inet negotiate-address
Results From configuration mode, confirm your configuration by entering the show interfaces dl0
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces dl0
description 3g-wireless;
encapsulation ppp;
unit 0 {
family inet {
negotiate-address;
}
dialer-options {
pool 1;
dial-string 14691;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# set interfaces dl0 unit 0 ppp-options pap access-profile pap-1
Results From configuration mode, confirm your configuration by entering the show interfaces dl0
and show access profile pap-1 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces dl0
unit 0 {
ppp-options {
pap {
access-profile pap-1;
}
}
}
[edit]
user@host# show access profile pap-1
client clientX pap-password "$9$jnqTz3nCBESu01hSrKvZUDkqf"; ## SECRET-DATA
If you are done configuring the device, enter commit from configuration mode.
CLI Quick With GSM HSDPA 3G wireless modem cards, you may need to configure CHAP for
Configuration authentication with the service provider network. The service provider must supply the
username and password, which you configure in an access profile. You then specify this
access profile in a dialer interface.
To quickly configure this example, copy the following command, paste it into a text file,
remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
Results From configuration mode, confirm your configuration by entering the show access profile
chap-1 and show interfaces dl0 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show access profile chap-1
client clientX chap-secret "$9$neYpCO1REyWx-Kv87-VsYQF39Cu"; ## SECRET-DATA
[edit]
user@host# show interfaces dl0
unit 0 {
ppp-options {
chap {
access-profile chap-1;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Results From configuration mode, confirm your configuration by entering the show interfaces
ge-0/0/1 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces ge-0/0/1
unit 0 {
backup-options {
interface dl0.0;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# set interfaces dl0 description dialer-watch unit 0 dialer-options pool
dw-pool
Results From configuration mode, confirm your configuration by entering the show interfaces dl0
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces dl0
description dialer-watch;
unit 0 {
dialer-options {
watch-list {
200.200.201.1/32;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set firewall family inet dialer-filter traffic-filter term term1 then note
[edit]
user@host# commit check
Results From configuration mode, confirm your configuration by entering the show firewall
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show firewall
family inet {
dialer-filter traffic-filter {
term term-1 {
then note;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action Verify the configuration output by entering the show interfaces command.
You configure two types of interfaces for 3G wireless modem connectivity—the physical
interface and a logical dialer interface.
The physical interface for the 3G wireless modem uses the name cl-0/0/8. This interface
is automatically created when a 3G wireless modem is installed in the device.
• A dialer pool to which the physical interface belongs and the priority of the interface
in the pool. A physical interface can belong to more than one dialer pool. The dialer
pool priority has a range from 1 to 255, with 1 designating the lowest-priority interfaces
and 255 designating the highest-priority interfaces.
• Modem initialization string (optional). These strings begin with AT and execute Hayes
modem commands that specify modem operation.
• GSM profile for establishing a data call with a GSM cellular network.
By default, the modem allows access to networks other than the home network.
Requirements
Before you begin, configure a dialer interface. See “Example: Configuring the Dialer
Interface” on page 514.
Overview
In this example, you configure the physical interface as cl-0/0/8 for the 3G wireless
modem to use dialer pool 1 and set the priority for the dialer pool to 25. You also configure
a modem initialization string to autoanswer after two rings.
Configuration
[edit]
user@host# set interfaces cl-0/0/8 dialer-options pool 1 priority 25
[edit]
user@host# set interfaces cl-0/0/8 modem-options init-command-string
“ATSO=2\n”
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces cl-0/0/8 modem
options command.
To allow data calls to a Global System for Mobile Communications (GSM) network, you
must obtain the following information from your service provider:
You configure this information in a GSM profile associated with the 3G wireless modem
physical interface. You can configure up to 16 different GSM profiles, although only one
profile can be active at a time.
NOTE: You also need to configure a CHAP or PAP profile with the specified
username and password for the dialer interface.
Subscriber information is written to the Subscriber Identity Module (SIM) on the GSM
HSDPA 3G wireless modem card. If the SIM is locked, you must unlock it before activation
by using the master subsidy lock (MSL) value given by the service provider when you
purchase the cellular network service.
Some service providers may preload subscriber profile information on a SIM card. The
assigned subscriber information is stored in profile 1, while profile 0 is a default profile
created during manufacturing. If this is the case, specify profile 1 for the GSM profile
associated with the 3G wireless modem physical interface.
Configuring the information in a GSM profile associated with the 3G wireless modem
physical interface is no longer supported on SRX300, SRX320, SRX340, SRX345, and
SRX550HM devices.
This example shows how to configure the GSM profile for the 3G wireless modem interface
with service provider networks such as AT&T and T-Mobile.
Requirements
Before you begin:
• Configure a dialer interface. See “Example: Configuring the Dialer Interface” on page 514
• Configure the 3G wireless modem interface. See “Example: Configuring the 3G Wireless
Modem Interface” on page 520.
Overview
In this example, you configure the following information provided by a service provider
in a GSM profile called juniper99 that is associated with the 3G wireless modem physical
interface cl-0/0/8:
• Username—juniper99
• Password—1@#6ahgfh
• Authentication method—CHAP
Configuration
[edit]
user@host> request modem wireless gsm create-profile profile-id 1 sip-user-id
juniper99 sip-password 16ahgfh access-point-name apn.service.com
authentication-method chap
[edit]
user@host# set interface cl-0/0/8 cellular-options gsm-options select-profile
profile-id 1
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces cl-0/0/8
command.
• Understanding Account Activation for CDMA EV-DO Modem Cards on page 525
• Activating the CDMA EV-DO Modem Card with IOTA Provisioning on page 527
• Activating the CDMA EV-DO Modem Card with OTASP Provisioning on page 528
• Activating the CDMA EV-DO Modem Card Manually on page 529
• Unlocking the GSM 3G Wireless Modem on page 531
Account activation is the process of enabling the CDMA EV-DO wireless modem card to
connect to your service provider’s cellular network. This is a one-time process where your
subscriber information is saved in nonvolatile memory on the card. The procedure you
use to perform account activation depends upon the service provider network.
Before activating an account, you can verify the signal strength on the 3G wireless modem
interface by using the show modem wireless interface cl-0/0/8 rssi command. The signal
strength should be at least -90 dB and preferably better than -80 dB (-125 dB indicates
nil signal strength). If the signal strength is below -90 dB, activation may not be possible
from that location. For example:
• Inspect the modem card itself; the ESN is printed on the card.
• Use the CLI show modem wireless interface cl-0/0/8 firmware command, as shown in
the following example, and note the value for the Electronic Serial Number (ESN) field:
• Over the air service provisioning (OTASP)—protocol for programming phones over the
air using Interim Standard 95 (IS-95) Data Burst Messages.
To activate the 3G wireless modem card with OTASP, you need to obtain from the
service provider the dial number that the modem will use to contact the network.
Typically, OTASP dial numbers begin with the feature code *228 to indicate an
activation call type to the cellular network's base transceiver station, followed by
additional digits specified by the service provider.
• Internet-based over the air (IOTA) provisioning—method for programming phones for
voice and data services
Sprint uses manual and IOTA activation, whereas Verizon uses only OTASP.
Manual activation stores the supplied values in the 3G wireless modem card's nonvolatile
memory. If the modem card is reset or you need to update Mobile IP (MIP) parameters,
use the CLI operational mode command to activate the modem card with IOTA.
Before you begin, activate the CDMA EV-DO 3G wireless modem card. See “Understanding
Account Activation for CDMA EV-DO Modem Cards” on page 525.
This topic describes the activation of the CDMA EV-DO 3G wireless modem card for use
with service provider networks such as Verizon.
• Obtain the dial number that the modem will use to contact the network from the service
provider.
• The service provider must activate your account before OTASP provisioning can
proceed.
Use the CLI operational mode command to activate the 3G wireless modem card.
In this example, the dial number from the service provider is *22864.
To activate the CDMA EV-DO 3G wireless modem card with OTASP provisioning:
user@host> request modem wireless interface cl-0/0/8 activate otasp dial-string *22864
OTASP number *22286*, Selecting NAM 0
• Activating the CDMA EV-DO Modem Card with IOTA Provisioning on page 527
Manual activation stores the supplied values into the 3G wireless modem card's
nonvolatile memory. This topic describes the activation of the CDMA EV-DO 3G wireless
modem card for use with service provider networks such as Sprint.
Before you begin, the service provider must activate your account before you can activate
the CDMA EV-DO 3G wireless modem card.
Using the electronic serial number (ESN) you provided and your account information,
the service provider supplies you with the following information for manual activation of
the 3G wireless modem card:
You also need to obtain the following information from the 3G wireless modem card
itself for the activation:
Use the CLI show modem wireless interface cl-0/0/8 network command to display the
SID and NID, as shown in the following example:
Use the CLI operational mode command to manually activate the 3G wireless modem
card.
user@host> request modem wireless interface cl-0/0/8 activate manual msl 43210 mdn
0123456789 imsi 0123456789 sid 12345 nid 12345 sip-id jnpr sip-password jn9rl
Checking status...
Starting activation...
• Activating the CDMA EV-DO Modem Card with OTASP Provisioning on page 528
• Activating the CDMA EV-DO Modem Card with IOTA Provisioning on page 527
The subscriber identity module (SIM) in the GSM 3G wireless modem card is a detachable
smart card. Swapping out the SIM allows you to change the service provider network,
however some service providers lock the SIM to prevent unauthorized access to the
service provider's network. If this is the case, you will need to unlock the SIM by using an
personal identification number (PIN), a four-digit number provided by the service provider.
Before you begin, obtain the PIN from the service provider.
Use the CLI operational mode command to unlock the SIM on the GSM 3G wireless
modem card.
This example uses the PIN 3210 from the service provider.
A SIM is blocked after three consecutive failed unlock attempts; this is a security feature
to prevent brute force attempts to unlock the SIM. When the SIM is blocked, you need
to unblock the SIM with an eight-digit PIN unlocking key (PUK) obtained from the service
provider.
user@host#
NOTE: On SRX300, SRX320 devices, when you power on or reboot the device,
the Subscriber Identity Module (SIM) will be locked. If the SIM Personal
Identification Number (PIN) or the unlock code is configured in the set
interfaces cl-0/0/8 cellular-options gsm-options sim-unlock-code configuration
command, then Junos OS attempts to unlock the SIM only once. This is to
keep the SIM from being blocked. If the SIM is blocked, you must provide a
PIN Unblocking Key (PUK) obtained from the service provider. If the wrong
SIM PIN is configured, the SIM will remain locked, and the administrator can
unlock it by using the remaining two attempts.
This example uses the PUK 76543210 from the service provider.
NOTE: If you enter the PUK incorrectly ten times, you will need to return the
SIM to the service provider for reactivation.
Juniper Networks SRX Series devices support the use of USB modems for remote
management. You can use Telnet or SSH to connect to the device from a remote location
through two modems over a telephone network. The USB modem is connected to the
USB port on the device, and a second modem is connected to a remote management
device such as a PC or laptop computer.
NOTE: USB modems are no longer supported for dial backup on SRX300,
SRX320, SRX340, SRX345, SRX550HM devices.
You can configure your device to fail over to a USB modem connection when the primary
Internet connection experiences interruption.
A USB modem connects to a device through modem interfaces that you configure. The
device applies its own modem AT commands to initialize the attached modem. Modem
setup requires that you connect and configure the USB modem at the device and the
modem at the user end of the network.
You use either the J-Web configuration editor or CLI configuration editor to configure the
USB modem and its supporting dialer interfaces.
NOTE: Low-latency traffic such as VoIP traffic is not supported over USB
modem connections.
• A physical interface which uses the naming convention umd0. The device creates this
interface when a USB modem is connected to the USB port.
• A logical interface called the dialer interface. You use the dialer interface, dln, to
configure dialing properties for USB modem connections. The dialer interface can be
configured using Point-to-Point Protocol (PPP) encapsulation. You can also configure
the dialer interface to support authentication protocols—PPP Challenge Handshake
(CHAP) or Password Authentication Protocol (PAP). You can configure multiple dialer
interfaces for different functions on the device. After configuring the dialer interface,
you must configure a backup method such as a dialer backup, a dialer filter, or a dialer
watch.
The USB modem provides a dial-in remote management interface, and supports dialer
interface features by sharing the same dial pool as a dialer interface. The dial pool allows
the logical dialer interface and the physical interface to be bound together dynamically
on a per-call basis. You can configure the USB modem to operate either as a dial-in
console for management or as a dial-in WAN backup interface. Dialer pool priority has
a range from 1 to 255, with 1 designating the lowest priority interfaces and 255 designating
the highest priority interfaces.
• The dialer interface must be configured to use PPP encapsulation. You cannot configure
Cisco High-Level Data Link Control (HDLC) or Multilink PPP (MLPPP) encapsulation
on dialer interfaces.
• The dialer interface can perform backup, dialer filter, and dialer watch functions, but
these operations are mutually exclusive. You can configure a single dialer interface to
operate in only one of the following ways:
• As a dialer filter
The backup dialer interfaces are activated only when the primary interface fails. USB
modem backup connectivity is supported on all interfaces except lsq-0/0/0.
Dialer watch is a backup method that integrates backup dialing with routing capabilities
and provides reliable connectivity without relying on a dialer filter to trigger outgoing USB
modem connections. With dialer watch, the device monitors the existence of a specified
route. If the route disappears, the dialer interface initiates the USB modem connection
as a backup connection.
S7=45 Instructs the modem to wait 45 seconds for a telecommunications service provider
(carrier) signal before terminating the call.
S0=0 Disables the auto answer feature, whereby the modem automatically answers calls.
&C1 Disables reset of the modem when it loses the carrier signal.
E0 Disables the display on the local terminal of commands issued to the modem from
the local terminal.
When the device applies the modem AT commands in the init-command-string command
or the default sequence of initialization commands to the modem, it compares them to
the initialization commands already configured on the modem and makes the following
changes:
• If the commands are the same, the device overrides existing modem values that do
not match. For example, if the initialization commands on the modem include S0=0
and the device’s init-command-string command includes S0=2, the device applies
S0=2.
• If the initialization commands on the modem do not include a command in the device’s
init-command-string command, the device adds it. For example, if the
init-command-string command includes the command L2, but the modem commands
do not include it, the device adds L2 to the initialization commands configured on the
modem.
NOTE: On SRX210 devices, the USB modem interface can handle bidirectional
traffic of up to 19 Kbps. On oversubscription of this amount (that is,
bidirectional traffic of 20 Kbps or above), keepalives do not get exchanged,
and the interface goes down. (Platform support depends on the Junos OS
release in your installation.)
• Example: Configuring a Dialer Interface for USB Modem Dial-In on page 547
NOTE: USB modems are no longer supported for dial backup on SRX300,
SRX320, SRX340, and SRX345 devices.
1. Install device hardware. For more information, see the Getting Started Guide for your
device.
2. Establish basic connectivity. For more information, see the Getting Started Guide for
your device.
3. Order a US Robotics USB 56k V.92 Modem, model number USR Model 5637
(http://www.usr.com/).
4. Order a public switched telephone network (PSTN) line from your telecommunications
service provider. Contact your service provider for more information.
NOTE: When you connect the USB modem to the USB port on the device,
the USB modem is initialized with the modem initialization string
configured for the USB modem interface on the device.
Suppose you have a branch office router and a head office router each with a USB modem
interface and a dialer interface. This example shows you how to establish a backup
connection between the branch office and head office routers. See Table 36 on page 537
for a summarized description of the procedure.
Table 36: Configuring Branch Office and Head Office Routers for USB Modem Backup
Connectivity
Router Location Configuration Requirement Procedure
Branch Office Configure the logical dialer interface on the To configure the logical dialer interface,
branch office router for USB modem dial see “Example: Configuring a USB Modem
backup. Interface” on page 538.
Configure the dialer interface dl0 on the Configure the dialer interface using one
branch office router using one of the following of the following backup methods:
backup methods:
• To configure dl0 as a backup for
• Configure the dialer interface dl0 as the t1-1/0/0 see “Example: Configuring
backup interface on the branch office Dialer Interfaces and Backup Methods
router's primary T1 interface t1-1/0/0. for USB Modem Dial Backup” on
• Configure a dialer filter on the branch office page 541.
router's dialer interface. • To configure a dialer filter on dl0, see
• Configure a dialer watch on the branch “Example: Configuring Dialer
office router's dialer interface. Interfaces and Backup Methods for
USB Modem Dial Backup” on page 541.
• To configure a dialer watch on dl0, see
“Example: Configuring Dialer
Interfaces and Backup Methods for
USB Modem Dial Backup” on page 541.
Head Office Configure dial-in on the dialer interface dl0 To configure dial-in on the head office
on the head office router. router, see “Example: Configuring a Dialer
Interface for USB Modem Dial-In” on
page 547.
If the dialer interface is configured to accept only calls from a specific caller ID, the device
matches the incoming call's caller ID against the caller IDs configured on its dialer
interfaces. If an exact match is not found and the incoming call's caller ID has more digits
than the configured caller IDs, the device performs a right-to-left match of the incoming
call's caller ID with the configured caller IDs and accepts the incoming call if a match is
found. For example, if the incoming call's caller ID is 4085321091 and the caller ID
configured on a dialer interface is 5321091, the incoming call is accepted. Each dialer
interface accepts calls from only callers whose caller IDs are configured on it.
See Table 37 on page 538 for a list of available incoming map options.
You can configure the accept-all option for only one of the dialer interfaces
associated with a USB modem physical interface. The dialer interface with the
accept-all option configured is used only if the incoming call's caller ID does not
match the caller IDs configured on other dialer interfaces.
caller Dialer interface accepts calls from a specific caller ID. You can configure a
maximum of 15 caller IDs per dialer interface.
You configure dialer interfaces to support PAP. PAP allows a simple method for a peer
to establish its identity using a two-way handshake during initial link establishment. After
the link is established, an ID and password pair are repeatedly sent by the peer to the
authenticator until authentication is acknowledged or the connection is terminated.
This example shows how to configure a USB modem interface for dial backup.
NOTE: USB modems are no longer supported for dial backup on SRX300,
SRX320, SRX340, and SRX345 devices.
Requirements
No special configuration beyond device initialization is required before configuring this
feature.
Overview
In this example, you create an interface called as umd0 for USB modem connectivity
and set the dialer pool priority to 25. You also configure a modem initialization string to
autoanswer after a specified number of rings. The default modem initialization string is
AT S7=45 S0=0 V1 X4 &C1 E0 Q0 &Q8 %C0. The modem command S0=0 disables the
modem from autoanswering the calls. Finally, you set the modem to act as a dial-in WAN
backup interface.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
1. Create an interface.
[edit]
user@host# edit interfaces umd0
Results From configuration mode, confirm your configuration by entering the show interface umd0
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interface umd0
modem-options {
init-command-string "ATS0=2 \n";
dialin routable;
}
dialer-options {
pool usb-modem-dialer-pool priority 25;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action From configuration mode, enter the show interfaces umd0 extensive command. The
output shows a summary of interface information and displays the modem status.
• Example: Configuring a Dialer Interface for USB Modem Dial-In on page 547
Example: Configuring Dialer Interfaces and Backup Methods for USB Modem Dial
Backup
This example shows how to configure a dialer interfaces and backup methods for USB
modem dial backup.
NOTE: USB modems are no longer supported for dial backup on SRX300,
SRX320, SRX340, SRX345, and SRX550HM devices.
Requirements
Before you begin, configure a USB modem for the device. See “Example: Configuring a
USB Modem Interface” on page 538.
Overview
In this example, you configure a logical dialer interface on the branch office router for the
USB modem dial backup. You then configure dial backup to allow one or more dialer
interfaces to be configured as the backup link for the primary serial interface. To configure
dialer watch, you first add a dialer watch interface and then configure the USB modem
interface to participate as a dialer watch interface. The USB modem interface must have
the same pool identifier to participate in dialer watch. Dialer pool name dw-pool is used
when configuring the USB modem interface.
Configuration
• Configuring a Dialer Interface for USB Modem Dial Backup on page 542
• Configuring a Dial Backup for a USB Modem Connection on page 544
• Configuring a Dialer Filter for USB Modem Dial Backup on page 544
• Configuring a Dialer Watch for USB Modem Dial Backup on page 546
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
To configure a logical dialer interface on the branch office router for the USB modem
dial backup:
1. Create an interface.
[edit]
user@host# edit interfaces dl0
2. Specify a description.
NOTE: You cannot configure Cisco High-Level Data Link Control (HDLC)
or Multilink PPP (MLPPP) encapsulation on dialer interfaces used in
USB modem connections.
[edit]
user@host# edit interfaces dl0 unit 0
user@host# set family inet address 172.20.10.2 destination 172.20.10.1
Results From configuration mode, confirm your configuration by entering the show interfaces dl0
command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces dl0
description USB-modem-backup;
encapsulation ppp;
unit 0 {
family inet {
address 172.20.10.2/32 {
destination 172.20.10.1;
}
}
dialer-options {
pool usb-modem-dialer-pool;
dial-string 5551212;
idle-timeout 30;
activation-delay 60;
deactivation-delay 30;
initial-route-check 30;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# edit interfaces t1-1/0/0 unit 0
[edit]
user@host# set backup-options interface dl0.0
Results From configuration mode, confirm your configuration by entering the show interfaces
t1-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces t1-1/0/0
encapsulation ppp;
unit 0 {
backup-options {
interface dl0.0;
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set firewall family inet dialer-filter interesting-traffic term term1 from source-address
20.20.90.4/32
set firewall family inet dialer-filter interesting-traffic term term1 from destination-address
200.200.201.1/32
set firewall family inet dialer-filter interesting-traffic term term1 then note
set interfaces dl0 unit 0 family inet filter dialer interesting-traffic
[edit]
user@host# edit firewall
[edit]
user@host# edit family inet
user@host# edit dialer-filter interesting-traffic
[edit]
user@host# edit term term1
user@host# set from source-address 20.20.90.4/32
user@host# set from destination-address 200.200.201.1/32
[edit]
user@host# set then note
[edit]
user@host# edit interfaces dl0 unit 0
[edit]
user@host# edit family inet filter
user@host# set dialer interesting-traffic
Results From configuration mode, confirm your configuration by entering the show firewall family
inet dialer-filter interesting-traffic and show interfaces dl0commands. If the output does
not display the intended configuration, repeat the configuration instructions in this
example to correct it.
[edit]
user@host# show firewall family inet dialer-filter interesting-traffic
term term1 {
from {
source-address {
20.20.90.4/32;
}
destination-address {
200.200.201.1/32;
}
}
then note;
}
[edit]
user@host# show interfaces dl0
unit 0 {
family inet {
filter {
dialer interesting-traffic;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# edit interfaces
2. Specify a description.
[edit]
user@host# edit dl0
user@host# set description dialer-watch
3. Configure the route to the head office router for dialer watch.
[edit]
user@host# edit unit 0 dialer-options
user@host# set watch-list 200.200.201.1/32
[edit]
user@host# set pool dw-pool
[edit]
user@host# edit interfaces umd0 dialer-options pool dw-pool
Results From configuration mode, confirm your configuration by entering the show interfaces dl0
and show interfaces umd0 commands. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces dl0
dialer-options {
pool dw-pool;
}
[edit]
user@host# show interfaces umd0
description dialer-watch;
unit 0 {
dialer-options {
pool dw-pool;
watch-list {
200.200.201.1/32;
}
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action From operational mode, enter the show interface terse command.
This example shows how to configure a dialer interface for USB modem dial-in.
NOTE: USB modems are no longer supported for dial-in to a dialer interface
on SRX300, SRX320, SRX340, and SRX345 devices.
Requirements
No special configuration beyond device initialization is required before configuring this
feature.
Overview
To enable connections to the USB modem from a remote location, you must configure
the dialer interfaces set up for USB modem use to accept incoming calls. You can
configure a dialer interface to accept all incoming calls or accept only calls from one or
more caller IDs.
If the dialer interface is configured to accept only calls from a specific caller ID, the system
matches the incoming call's caller ID against the caller IDs configured on its dialer
interfaces. If an exact match is not found and the incoming call's caller ID has more digits
than the configured caller IDs, the system performs a right-to-left match of the incoming
call's caller ID with the configured caller IDs and accepts the incoming call if a match is
found. For example, if the incoming call's caller ID is 4085550115 and the caller ID
configured on a dialer interface is 5550115, the incoming call is accepted. Each dialer
interface accepts calls from only callers whose caller IDs are configured on it.
You can configure the following incoming map options for the dialer interface:
You can configure the accept-all option for only one of the dialer interfaces associated
with a USB modem physical interface. The device uses the dialer interface with the
accept-all option configured only if the incoming call's caller ID does not match the
caller IDs configured on other dialer interfaces.
• caller—Dialer interface accepts calls from a specific caller ID—for example, 4085550115.
You can configure a maximum of 15 caller IDs per dialer interface.
The same caller ID must not be configured on different dialer interfaces. However, you
can configure caller IDs with more or fewer digits on different dialer interfaces. For
example, you can configure the caller IDs 14085550115, 4085550115, and 5550115 on
different dialer interfaces.
In this example, you configure the incoming map option as caller 4085550115 for dialer
interface dl0.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# edit interfaces dl0
[edit]
user@host# edit unit 0 dialer-options incoming-map caller 4085551515
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interface dl0 command.
Requirements
No special configuration beyond device initialization is required before configuring this
feature.
Overview
In this example, you specify a PAP access profile with a client username and a PAP
password and select a dialer interface. Finally, you configure PAP on the dialer interface
and specify the local name and password.
Configuration
[edit]
user@host# set access profile pap-access-profile client pap-access-user
pap-password my-pap
[edit]
user@host# edit interfaces dl0 unit 0
[edit]
user@host# set ppp-options pap local-name pap-access-user local-password
my-pap
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interface dl0 command.
• Example: Configuring Dialer Interfaces and Backup Methods for USB Modem Dial
Backup on page 541
• Example: Configuring a Dialer Interface for USB Modem Dial-In on page 547
This example shows how to configure CHAP on dialer interfaces for authentication.
Requirements
No special configuration beyond device initialization is required before configuring this
feature.
Overview
In this example, you configure dialer interfaces to support CHAP for authentication. CHAP
is a server-driven, three-step authentication method that depends on a shared secret
password residing on both the server and the client. You specify a CHAP access profile
with a client username and a password. You then specify a dialer interface as dl0. Finally,
you enable CHAP on a dialer interface and specify a unique profile name containing a
client list and access parameters.
Configuration
[edit]
user@host# set access profile usb-modem-access-profile client usb-modem-user
chap-secret my-secret
[edit]
user@host# edit interfaces dl0 unit 0
[edit]
user@host# set ppp-options chap access-profile usb-modem-access-profile
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interface dl0 command.
• Example: Configuring Dialer Interfaces and Backup Methods for USB Modem Dial
Backup on page 541
• Example: Configuring a Dialer Interface for USB Modem Dial-In on page 547
Data over Cable Service Interface Specifications (DOCSIS) define the communications
and operation support interface requirements for a data-over-cable system. Cable
operators use DOCSIS to provide Internet access over their existing cable infrastructure
for both residential and business customers. DOCSIS 3.0 is the latest interface standard,
allowing channel bonding to deliver speeds higher than 100 Mbps throughput in either
direction, far surpassing other WAN technologies such as T1/E1, ADSL2+, ISDN, and DS3.
DOCSIS network architecture includes a cable modem on SRX Series Services Gateways
with a DOCSIS Mini-Physical Interface Module (Mini-PIM) located at customer premises
and a cable modem termination system (CMTS) located at the head-end or data center
locations. Standards-based DOCSIS 3.0 Mini-PIM is interoperable with CMTS equipment.
The DOCSIS Mini-PIM provides backward compatibility with CMTS equipment based on
the following standards:
• DOCSIS 2.0
• DOCSIS 1.1
• DOCSIS 1.0
The cable modem interface of Mini-PIM is managed and monitored by CMTS through
SNMP. This DOCSIS 3.0 Mini-PIM can be deployed in any multiple service operator (MSO)
networks. The primary application is for distributed enterprise offices to connect to a
CMTS network through the DOCSIS 3.0 (backward compatible to 2.0, 1.1, and 1.0)
interface. The DOCSIS Mini-PIM uses PIM infrastructure developed for third-party PIMs.
The Mini-PIM can also be used with encapsulations other than GRE, PPPoE, and IP-in-IP.
CMTS manages and monitors the cable modem interface of then Mini-PIM through
SNMP. This DOCSIS 3.0 Mini-PIM can be deployed in any multiple MSO network.
Figure 35 on page 554 shows a typical use for this Mini-PIM in an MSO network.
Table 38 on page 555 lists the software features supported on DOCSIS Mini-PIMs.
DHCP and DHCPv6 clients The DHCP and DHCPv6 clients are used to get the IP address from the CMTS using the DHCP
protocol. DHCP is supported on IPv4 and IPv6. One of the main components of the
configuration file is the static public IP address, which CMTS assigns to the cable modem.
The management IP address is configured on the Mini-PIM’s hybrid fiber coaxial (HFC) interface,
which performs the following tasks:
• Allows CMTS to execute remote monitoring and management of the Mini-PIM’s cable
interface.
• Downloads the configuration file from CMTS and uses it for configuring the cable interface.
QoS support The SRX Series device’s Routing Engine is configured through the existing QoS CLI. Because
the configuration on the SRX Series device’s Routing Engine and Mini-PIM is done together,
the QoS configuration has to be consistent between the Routing Engine and the cable modem
interface. The QoS mechanisms on the Routing Engine are decoupled from the QoS
mechanisms on the Mini-PIM.
The configuration file downloaded from CMTS contains parameters for primary and secondary
flows. These parameters are programmed in the DOCSIS Mini-PIM. The Mini-PIM sends these
parameters to the Routing Engine through the PIM infrastructure. The secondary flows are
prioritized over primary flows in the DOCSIS Mini-PIM.
SNMP support CMTS issues the SNMP requests that go to the cable modem. The DOCSIS MIB on the SRX
Series device’s Routing Engine displays the Ethernet interface of the cable modem. The
following features are supported on the DOCSIS Mini-PIM:
• NAT support
• Dying gasp support
• Back pressure information
MAC address The MAC address of the DOCSIS Mini-PIM is statically set at the factory and cannot be changed.
The MAC address is retrieved from the Mini-PIM and assigned to the cable modem interface
in Junos OS.
Transparent bridging The DOCSIS Mini-PIM performs transparent bridging by sending the packets received on the
Ethernet interface with the SRX Series device to the HFC interface and vice versa, without
any modifications to the packet. All the other services such as webserver, DHCP server, and
DNS server are disabled on the DOCSIS Mini-PIM during transparent bridging.
This example shows how to configure DOCSIS Mini-PIM network interfaces for SRX210,
SRX220, and SRX240 devices.
Requirements
Before you begin:
• Establish basic connectivity. See the Quick Start for your device.
Overview
In this example, you configure the DOCSIS Mini-PIM interface as cm-2/0/0. You specify
the physical properties by setting the interface trace options and the flag option. You
then set the logical interface to unit 0 and specify the family protocol type as inet. Finally,
you configure the DHCP client.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
[edit]
user@host# edit interfaces cm-2/0/0
[edit]
user@host# set interfaces cm-2/0/0 traceoptions
[edit]
user@host# set interfaces cm-2/0/0 traceoptions flag all
[edit]
user@host# set interfaces cm-2/0/0 unit 0
[edit]
user@host# set interfaces cm-2/0/0 unit 0 family inet
[edit]
user@host# set interfaces cm-2/0/0 unit 0 family inet dhcp
Results From configuration mode, confirm your configuration by entering the show interfaces
cm-2/0/0 command. If the output does not display the intended configuration, repeat
the configuration instructions in this example to correct it.
[edit]
user@host# show interfaces cm-2/0/0
traceoptions {
flag all;
}
unit 0 {
family inet {
dhcp;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Verify that the DOCSIS interface properties are configured properly.
Action From operational mode, enter the show interfaces cm-2/0/0 command.
The output shows a summary of DOCSIS interface properties. Verify the following
information:
• The physical interface is Enabled. If the interface is shown as Disabled, do either of the
following:
• In the CLI configuration editor, delete the disable statement at the [edit interfaces
interface-name] level of the configuration hierarchy.
• In the J-Web configuration editor, clear the Disable check box on the
Interfaces>interface-name 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. The Last Flapped time indicates the last
time the physical interface became unavailable and then available again. Unexpected
flapping indicates likely link-layer errors.
• The traffic statistics reflect the expected input and output rates. Verify that the number
of inbound and outbound bytes and packets matches the expected throughput for the
physical interface. To clear the statistics and see only new changes, use the clear
interfaces statistics interface-name command.
Serial links are simple, bidirectional links that require very few control signals. In a basic
serial setup, data communications equipment (DCE) installed in a user's premises is
responsible for establishing, maintaining, and terminating a connection. A modem is a
typical DCE device.
A serial cable connects the DCE to a telephony network where, ultimately, a link is
established with data terminal equipment (DTE). DTE is typically where a serial link
terminates.
The distinction between DCE and DTE is important because it affects the cable pinouts
on a serial cable. A DCE cable uses a female 9-pin or 25-pin connector, and a DTE cable
uses a male 9-pin or 25-pin connector, and .
To form a serial link, the cables are connected to each other. However, if the pins are
identical, each side's transmit and receive lines are connected, which makes data transport
impossible. To address this problem, each cable is connected to a null modem cable,
which crosses the transmit and receive lines in the cable.
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 39 on page 562 lists
and defines serial signals and their sources.
CD Carrier detect –
RI Ring indicator –
1. The DCE transmits a DSR signal to the DTE, which responds with a DTR signal. After
this handshake, the link is established and traffic can pass.
2. When the DTE device is ready to receive data, 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.)
3. When the DCE device is ready to receive data, 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.)
4. When the negotiation to send information has taken place, data is transmitted across
the transmitted data (TD) and received data (RD) lines:
• TD line—Line through which data from a DTE device is transmitted to a DCE device
• RD line—Line through which data from a DCE device is transmitted to a DTE device
The name of the wire does not indicate the direction of data flow.
The DTR and DSR signals were originally designed to operate as a handshake mechanism.
When a serial port is opened, 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
not commonly used.
The carrier detect and ring indicator signals are used to detect connections with remote
modems. These signals are not commonly used.
Signal Polarity
Serial interfaces use a balanced (also called differential) protocol signaling technique.
Two serial signals are associated with a circuit: the A signal and the B signal. The A signal
is denoted with a plus sign (for example, DTR+), and the B signal is denoted with a minus
sign (for example, 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, but sometimes they might be reversed. For
example, signals might be miswired as a result of reversed polarities.
• Loop clocking mode—Uses the DCE's receive (RX) clock to clock data from the DCE
to the DTE.
• DCE clocking mode—Uses the transmit (TXC) clock, generated by the DCE specifically
to be used by the DTE as the DTE's transmit clock.
• Internal clocking mode—Uses an internally generated clock. The speed of this clock is
configured locally. Internal clocking mode is also known as line timing.
Both loop clocking mode and DCE clocking mode use external clocks generated by the
DCE.
Figure 36 on page 564 shows the clock sources for loop, DCE, and internal clocking modes.
When an externally timed clocking mode (DCE or loop) is used, long cables might
introduce a phase shift of the DTE-transmitted clock and data. At high speeds, this phase
shift might cause errors. Inverting the transmit clock corrects the phase shift, thereby
reducing error rates.
Although the serial interface is intended for use at the default clock rate of 16.384 MHz,
you might need to use a slower rate under any of the following conditions:
• The interconnecting cable is exposed to an extraneous noise source that might cause
an unwanted voltage in excess of +1 volt.
The voltage must be measured differentially between the signal conductor and the
point in the circuit from which all voltages are measured (“circuit common”) at the
load end of the cable, with a 50-ohm resistor substituted for the generator.
EIA-530
The EIA-530 line protocol is a specification for a serial interface that uses a DB-25
connector and balanced equivalents of the RS-232 signals—also called V.24. The EIA-530
line protocol is equivalent to the RS-422 and RS-423 interfaces implemented on a 25-pin
connector.
The EIA-530 line protocol supports both balanced and unbalanced modes. In unbalanced
transmissions, voltages are transmitted over a single wire. Because only a single signal
is transmitted, differences in ground potential can cause fluctuations in the measured
voltage across the link. For example, if a 3-V signal is sent from one endpoint to another,
and the receiving endpoint has a ground potential 1 V higher than the transmitter, the
signal on the receiving end is measured as a 2-V signal.
Balanced transmissions use two wires instead of one. Rather than sending a single signal
across the wire and having the receiving end measure the voltage, the transmitting device
sends two separate signals across two separate wires. The receiving device measures
the difference in voltage of the two signals (balanced sampling) and uses that calculation
to evaluate the signal. Any differences in ground potential affect both wires equally, and
the difference in the signals is still the same.
RS-232
RS-232 is a Recommended Standard (RS) describing the most widely used type of serial
communication. The RS-232 protocol is used for asynchronous data transfer as well as
synchronous transfers using HDLC, Frame Relay, and X.25. RS-232 is also known as
EIA-232.
The RS-232 line protocol is very popular for low-speed data signals. RS-232 signals are
carried as single voltages referred to a common ground signal. The voltage output level
of these signals varies between –12 V and +12 V. Within this range, voltages between
–3 V and +3 V are considered inoperative and are used to absorb line noise. Control
signals are considered operative when the voltage ranges from +3 V to +25 V.
The RS-232 line protocol is an unbalanced protocol, because it uses only one wire and
is susceptible to signal degradation. Degradation can be extremely disruptive, particularly
when a difference in ground potential exists between the transmitting and receiving ends
of a link.
The RS-232 interface is implemented in a 25-pin D-shell connector and supports line
rates up to 200 Kbps over lines shorter than 98 feet (30 meters).
NOTE: RS-232 serial interfaces cannot function error-free with a clock rate
greater than 200 KHz.
RS-422/449
The RS-449 standard (also known as EIA-449) is compatible with RS-422 signal levels.
The EIA created RS-449 to detail the DB-37 connector pinout and define a set of modem
control signals for regulating flow control and line status.
The RS-422/499 line protocol runs in balanced mode, allowing serial communications
to extend over distances of up to 4,000 feet (1.2 km) and at very fast speeds of up to
10 Mbps.
V.35
V.35 is an ITU-T standard describing a synchronous, Physical Layer protocol used for
communications between a network access device and a packet network. V.35 is most
commonly used in the United States and Europe.
The V.35 line protocol is a mixture of balanced (RS-422) and common ground (RS-232)
signal interfaces. The V.35 control signals DTR, DSR, DCD, RTS, and CTS are single-wire
common ground signals that are essentially identical to their RS-232 equivalents.
Unbalanced signaling for these control signals is sufficient, because the control signals
are mostly constant, varying at very low frequency, which makes single-wire transmission
suitable. Higher frequency data and clock signals are sent over balanced wires.
X.21
X.21 is an ITU-T standard for serial communications over synchronous digital lines. The
X.21 protocol is used primarily in Europe and Japan.
The X.21 line protocol is a state-driven protocol that sets up a circuit-switched network
using call setup. X.21 interfaces use a 15-pin connector with the following eight signals:
• Signal ground (G)—Reference signal used to evaluate the logic states of the other
signals. This signal can be connected to the protective earth (ground).
• DTE common return (Ga)—Reference ground signal for the DCE interface. This signal
is used only in unbalanced mode.
• Transmit (T)—Binary signal that carries the data from the DTE to the DCE. This signal
can be used for data transfer or in call-control phases such as Call Connect or Call
Disconnect.
• Receive (R)—Binary signal that carries the data from the DCE to the DTE. This signal
can be used for data transfer or in call-control phases such as Call Connect or Call
Disconnect.
• Control (C)—DTE-controlled signal that controls the transmission on an X.21 link. This
signal must be on during data transfer, and can be on or off during call-control phases.
• Signal Element Timing (S)—Clocking signal that is generated by the DCE. This signal
specifies when sampling on the line must occur.
• Byte Timing (B)—Binary signal that is on when data or call-control information is being
sampled. When an 8-byte transmission is over, this signal switches to off.
Transmissions across an X.21 link require both the DCE and DTE devices to be in a ready
state, indicated by an all 1s transmission on the T and R signals.
This example shows how to complete the initial configuration on a serial interface.
Requirements
Before you begin, install a serial PIM in the SRX Series device. See SRX Series Services
Gateways for the Branch Physical Interface Modules Hardware Guide.
Overview
In this example, you create the interface se-1/0/0. You create the basic configuration for
the new interface by setting the encapsulation type to ppp. Then you set the logical
interface to 0. The logical unit number can range from 0 through 16,384. You can enter
additional values for properties you need to configure on the logical interface, such as
logical encapsulation or protocol family. Finally, you set IPv4 address 10.10.10.10/24 on
the serial interface.
Configuration
CLI Quick To quickly configure this example, copy the following command, paste it into a text file,
Configuration remove any line breaks, change any details necessary to match your network configuration,
copy and paste the command into the CLI at the [edit] hierarchy level, and then enter
commit from configuration mode.
set interfaces se-1/0/0 encapsulation ppp unit 0 family inet address 10.10.10.10/24
Step-by-Step The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
[edit]
user@host# edit interfaces se-1/0/0
Results From configuration mode, confirm your configuration by entering the show interfaces
se-1/0/0 command. If the output does not display the intended configuration, repeat the
configuration instructions in this example to correct it.
[edit]
user@host# show interfaces se-1/0/0
encapsulation ppp;
unit 0 {
family inet {
address 10.10.10.10/24;
}
}
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Purpose Use the ping tool on each peer address in the network to verify that all interfaces on the
device are operational.
2. In the Remote Host box, type the address of the interface for which you want to verify
the link state.
Action From operational mode, enter the show interfaces detail command.
The output shows 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.
Requirements
No special configuration beyond device initialization is required before configuring an
interface.
Overview
In this example, you delete the se-1/0/0 interface.
NOTE: Performing this action removes the interface from the software
configuration and disables it. Network interfaces remain physically present,
and their identifiers continue to appear on J-Web pages.
Configuration
[edit]
user@host# delete se-1/0/0
[edit]
user@host# commit
Verification
To verify the configuration is working properly, enter the show interfaces command.
NOTE: Serial interfaces, including the 8-port synchronous serial GPIM, are
no longer supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM
devices.
The 8-port synchronous serial GPIM provides the physical connection to serial network
media types, receiving incoming packets from the network and transmitting outgoing
packets to 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.
Supported Features
Table 40 on page 572 lists the features supported on the 8-port synchronous serial GPIM.
• Rx clock modes
• Baud clock (internally generated)
• Loop clock (external)
NOTE: RS-232 serial interfaces might cause an error with a clock rate greater
than 200 KHz.
HDLC features • Idle flag/fill (0x7e or all ones), default idle flag is (0x7e)
• Counters—giants, runts, FCS error, abort error, align error
Data cables Separate cable for each line protocol (both DTE/DCE mode)
• PPP
• Cisco HDLC
• Frame Relay
• MLPPP
• MLFR
• IF-MIB - rfc2863a.mib
• jnx-chassis.mib
This example shows how to perform a basic back-to-back device configuration with an
8-port synchronous serial GPIM. It describes the most common scenario in which a serial
GPIM is deployed.
In this example, the SRX650 devices are shown as both data communication equipment
(DCE) and data terminal equipment (DTE). In certain deployment scenarios, the DTE
can be a serial modem or an encryptor or decryptor.
NOTE: Serial interfaces, including the 8-port synchronous serial GPIM, are
no longer supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM
devices.
Requirements
This example uses the following hardware and software components:
• Four pairs of DCE and DTE cables. The cable can be any type as mentioned in 8-Port
Serial GPIM Interface Cables.
• Establish basic connectivity. See the Getting Started Guide for your device.
In this example, all 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.
For Device 1, you set the encapsulation type to ppp. Then you set the logical interface to
0. The logical unit number can range from 0 through 16,384. You can enter additional
values for properties you need to configure on the logical interface, such as logical
encapsulation or protocol family. Finally, you set the IPv4 address to 10.10.10.1/24 on the
serial port. For Device 2, you follow a procedure similar to Device 1, but you set the clocking
mode to dce.
ge-0/0/0
8-Port Serial GPIM
Device 1
(DCE)
Serial cable
8-Port Serial GPIM
Device 2
(DTE)
ge-0/0/1
g034406
Client
(Packet generator/receiver)
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them into a text
Configuration 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 The following example requires you to navigate various levels in the configuration
Procedure hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
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
NOTE: Repeat the same configuration for the other seven ports on
Device 1.
[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
NOTE: Repeat the same configuration for the other seven ports on
Device 2.
[edit]
user@host# 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
configuration instructions in this example to correct it.
Device 1 [edit]
user@host# show interfaces
se-7/0/0 {
mtu 9192;
encapsulation ppp;
serial-options {
clocking-mode internal;
}
unit 0 {
family inet {
address 10.10.10.1/24;
}
}
}
se-7/0/1 {
mtu 9192;
encapsulation cisco-hdlc;
serial-options {
clocking-mode internal;
}
unit 0 {
family inet {
address 11.11.11.1/24;
}
}
}
se-7/0/2 {
dce;
mtu 9192;
encapsulation frame-relay;
serial-options {
clocking-mode internal;
}
unit 0 {
dlci 111;
family inet {
address 12.12.12.1/24;
}
}
}
se-7/0/3 {
mtu 9192;
encapsulation ppp;
serial-options {
clocking-mode internal;
}
unit 0 {
family inet {
address 13.13.13.1/24;
}
}
}
se-7/0/4 {
mtu 9192;
encapsulation cisco-hdlc;
serial-options {
clocking-mode internal;
}
unit 0 {
family inet {
address 14.14.14.1/24;
}
}
}
se-7/0/5 {
dce;
mtu 9192;
encapsulation frame-relay;
serial-options {
clocking-mode internal;
}
unit 0 {
dlci 112;
family inet {
address 15.15.15.1/24;
}
}
}
se-7/0/6 {
mtu 9192;
encapsulation cisco-hdlc;
serial-options {
clocking-mode internal;
}
unit 0 {
family inet {
address 16.16.16.1/24;
}
}
}
se-7/0/7 {
mtu 9192;
encapsulation ppp;
serial-options {
clocking-mode internal;
}
unit 0 {
family inet {
address 17.17.17.1/24;
}
}
}
[edit]
user@host# show routing-options
static {
route 21.21.21.0/24 next-hop 10.10.10.2;
route 23.23.23.0/24 next-hop 11.11.11.2;
route 25.25.25.0/24 next-hop 12.12.12.2;
route 27.27.27.0/24 next-hop 13.13.13.2;
route 29.29.29.0/24 next-hop 14.14.14.2;
route 31.31.31.0/24 next-hop 15.15.15.2;
route 33.33.33.0/24 next-hop 16.16.16.2;
route 35.35.35.0/24 next-hop 17.17.17.2;
If you are done configuring the device, enter commit from configuration mode.
Device 2 [edit]
user@host# show interfaces
se-3/0/0 {
mtu 9192;
encapsulation ppp;
serial-options {
clocking-mode dce;
}
unit 0 {
family inet {
address 10.10.10.2/24;
}
}
}
se-3/0/1 {
mtu 9192;
encapsulation cisco-hdlc;
serial-options {
clocking-mode dce;
}
unit 0 {
family inet {
address 11.11.11.2/24;
}
}
}
se-3/0/2 {
dce;
mtu 9192;
encapsulation frame-relay;
serial-options {
clocking-mode dce;
}
unit 0 {
dlci 111;
family inet {
address 12.12.12.2/24;
}
}
}
se-3/0/3 {
mtu 9192;
encapsulation ppp;
serial-options {
clocking-mode dce;
}
unit 0 {
family inet {
address 13.13.13.2/24;
}
}
}
se-3/0/4 {
mtu 9192;
encapsulation cisco-hdlc;
serial-options {
clocking-mode dce;
}
unit 0 {
family inet {
address 14.14.14.2/24;
}
}
}
se-3/0/5 {
dce;
mtu 9192;
encapsulation frame-relay;
serial-options {
clocking-mode dce;
}
unit 0 {
dlci 112;
family inet {
address 15.15.15.2/24;
}
}
}
se-3/0/6 {
mtu 9192;
encapsulation cisco-hdlc;
serial-options {
clocking-mode dce;
}
unit 0 {
family inet {
address 16.16.16.2/24;
}
}
}
se-3/0/7 {
mtu 9192;
encapsulation ppp;
serial-options {
clocking-mode dce;
}
unit 0 {
family inet {
address 17.17.17.2/24;
}
}
}
[edit]
user@host# show routing-options
static {
route 20.20.20.0/24 next-hop 10.10.10.1;
route 22.22.22.0/24 next-hop 11.11.11.1;
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Action From operational mode, enter the show interface terse se-7/0/* command.
Meaning The output displays a list of all interfaces configured. If the Link column displays up for
all interfaces, the configuration is working properly. This verifies that the GPIM is up and
end-to-end ping is working.
Purpose Verify that the interfaces are configured properly for DCE.
Action From operational mode, enter the show interface se-7/0/0 extensive | no-more command.
0 best-effort 0 0 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
Logical interface se-7/0/0.0 (Index 82) (SNMP ifIndex 600) (Generation 147)
Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPP
Security: Zone: HOST
Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp
ospf pgm pim rip router-discovery rsvp sap vrrp
Flow Statistics :
Flow Input statistics :
Self packets : 153
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 13152
Connections established : 1
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1500, Generation: 162, Route table: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.10.10/24, Local: 10.10.10.1, Broadcast: 10.10.10.255,
Generation: 175
Meaning The output displays a list of all DCE verification parameters and the mode configured. If
the local mode displays DCE, the configuration is working properly.
Purpose Verify that the interfaces are configured properly for DTE.
Action From operational mode, enter the show interfaces se-3/0/0 extensive | no-more command.
0 best-effort 2 2 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
Meaning The output displays a list of all DTE verification parameters and the mode configured. If
the local mode displays DTE, the configuration is working properly.
Configuration Statements
accept-source-mac
Syntax accept-source-mac {
mac-address mac-address;
}
Description For Gigabit Ethernet (GE), Fast Ethernet (FE), or 10 Gigabit Ethernet (XE) interfaces,
specify the MAC addresses from which the interface can receive packets. Ensure that
you update the MAC address if the remote Ethernet card is replaced. Replacing the
interface card changes the MAC address. If you do not update the MAC address, the
interface cannot receive packets from the new card.
NOTE:
• Software-based MAC limiting is supported on SRX300, SRX320, and
SRX340 devices. A maximum of 32 MAC addresses is supported per device.
Options mac-address —MAC address filter. You can specify the MAC address as six hexadecimal
bytes in one of the following formats: nn:nn:nn:nn:nn:nn:nn (for example,
00:11:22:33:44:55) or nnnn:nnnn:nnnn (for example, 0011.2233.4455). You can
configure up to 32 source addresses. To specify more than one address, include
multiple mac-addresses in the source-address-filter statement.
access-point-name
Description Configure the access point name (APN) provided by the service provider for connection
to a Global System for Mobile Communications (GSM) cellular network.
apply-groups
Syntax apply-groups;
Description Apply the groups from which to inherit configuration data. If radio-router is set without
any other attributes specified, the first four values become 100 and threshold stays at
10, and capacity, margin, and delay are deprecated. If radio-router is set, do not change
the OSPF reference-bandwidth value because this generates an incorrect link cost.
arp-resp
Options • restricted—Enable restricted proxy ARP response on the interface. This is the default.
authentication-method (Interfaces)
Description Specify the authentication method for connection to a Global System for Mobile
Communications (GSM) cellular network.
bandwidth (Interfaces)
Description This option controls the weight of the current (vs. maximum) data rate (value 0–100).
bundle (Interfaces)
cbr rate
Description For ATM encapsulation only, define a constant bit rate bandwidth utilization in the
traffic-shaping profile.
cellular-options
Syntax cellular-options {
roaming-mode (home only | automatic)
gsm-options {
select-profile profile-name;
profiles {
profile-name {
sip-user-id simple-ip-user-id;
sip-password simple-ip-password;
access-point-name apn;
authentication-method (pap | chap | none);
}
}
}
}
Description Configure options for connecting a 3G wireless modem interface to a cellular network.
Options The remaining statements are explained separately. See CLI Explorer.
classifiers (CoS)
Syntax classifiers {
(dscp | dscp-ipv6 | exp | ieee-802.1 | ieee-802.1ad | inet-precedence) classifier-name {
forwarding-class forwarding-class-name {
loss-priority (high | low | medium-high | medium-low) {
code-point alias-or-bit-string ;
}
import (default | user-defined;
}
}
• import (default | user-defined)—Specify the template to use to map any code points
not explicitly mapped in this configuration. For example, if the classifier is of type dscp
and you specify import default, code points you do not map in your configuration will
use the predefined DSCP default mapping; if you specify import mymap, for example,
code points not mapped in the forwarding-class configuration would use the mappings
in a user-defined classifier named mymap.
• forwarding-class class-name—Specify the name of the forwarding class. You can use
the default forwarding class names or define new ones.
• loss-priority level—Specify a loss priority for this forwarding class: high, low,
medium-high, medium-low.
• code-points (alias | bits)—Specify a code-point alias or the code points that map to
this forwarding class.
client-identifier (Interfaces)
Syntax client-identifier {
(ascii string | hexadecimal string);
}
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family family-name dhcp]
Description Specify an ASCII or hexadecimal identifier for the Dynamic Host Configuration Protocol
(DHCP) client. The DHCP server identifies a client by a client-identifier value.
code-points (CoS)
Release Information Statement introduced in Junos OS Release 12.1X44 for the SRX Series.
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description Configure one or more code-point aliases or bit sets to apply to a forwarding class.
NOTE: OCX Series switches do not support MPLS, and therefore, do not
support EXP code points or code point aliases.
compression-device (Interfaces)
credit (Interfaces)
Syntax credit {
interval number;
}
Description This parameter controls credit-based scheduling parameters and includes an interval
option to set the grant rate interval to a value between 1–60 seconds.
data-rate
Description Configure the weight of the resource factor when calculating an effective data rate.
disable (PoE)
Syntax disable;
Description Disables the PoE capabilities of the port. If PoE capabilities are disabled for a port, the
port operates as a standard network access port. If the disable statement is specified
after the telemetries statement, logging of PoE power consumption for the port is disabled.
To disable monitoring and retain the stored interval and duration values for possible
future use, you can specify the disable sub statement in the sub stanza for telemetries.
Similarly for retaining the port configuration but disabling the PoE feature on the port,
disable can be used in sub stanza for interface.
Default The PoE capabilities are automatically enabled when a PoE interface is set. Specifying
the telemetries statement enables monitoring of PoE per-port power consumption.
dhcp (Interfaces)
Syntax dhcp {
client-identifier {
(ascii string | hexadecimal string);
}
lease-time (length | infinite);
retransmission-attempt value;
retransmission-interval seconds;
server-address server-address;
update-server;
vendor-id vendor-id ;
}
duration (PoE)
Description Modifies the duration for which telemetry records are stored. If telemetry logging continues
beyond the specified duration, the older records are discarded one by one as new records
are collected.
encapsulation (Interfaces)
Options • frame-relay—Configure a Frame Relay encapsulation when the physical interface has
multiple logical units, and the units are either point to point or multipoint.
• ppp—For normal mode (when the device is using only one ISDN B-channel per call).
Point-to-Point Protocol is for communication between two computers using a serial
interface.
Syntax inet {
accounting {
destination-class-usage;
source-class-usage {
input;
output;
}
}
address (source–address/prefix) {
arp destination-address {
(mac mac-address | multicast-mac multicast-mac-address);
publish publish-address;
}
broadcast address;
preferred;
primary;
vrrp-group group-id {
(accept-data | no-accept-data);
advertise-interval seconds;
advertisements-threshold number;
authentication-key key-value;
authentication-type (md5 | simple);
fast-interval milliseconds;
inet6-advertise-interval milliseconds
(preempt <hold-time seconds> | no-preempt );
priority value;
track {
interface interface-name {
bandwidth-threshold bandwidth;
priority-cost value;
}
priority-hold-time seconds;
route route-address{
routing-instance routing-instance;
priority-cost value;
}
}
virtual-address [address];
virtual-link-local-address address;
vrrp-inherit-from {
active-group value;
active-interface interface-name;
}
}
web-authentication {
http;
https;
redirect-to-https;
}
}
dhcp {
client-identifier {
(ascii string | hexadecimal string);
}
lease-time (length | infinite);
retransmission-attempt value;
retransmission-interval seconds;
server-address server-address;
update-server;
vendor-id vendor-id ;
}
dhcp-client {
client-identifier {
prefix {
host-name;
logical-system-name;
routing-instance-name;
}
use-interface-description (device | logical);
user-id (ascii string| hexadecimal string);
}
lease-time (length | infinite);
retransmission-attempt value;
retransmission-interval seconds;
server-address server-address;
update-server;
vendor-id vendor-id ;
}
filter {
group number;
input filter-name;
input-list [filter-name];
output filter-name;
output-list [filter-name];
}
mtu value;
no-neighbor-learn;
no-redirects;
policer {
arp arp-name;
input input-name;
output output-name;
}
primary;
rpf-check {
fail-filter filter-name;
mode {
loose;
}
}
sampling {
input;
output;
simple-filter;
}
targeted-broadcast {
(forward-and-send-to-re |forward-only);
}
unnumbered-address {
interface-name;
preferred-source-address preferred-source-address;
}
}
Release Information Statement supported in Junos 10.2 for SRX Series devices.
Options ipaddress—Specify the IP address for the interface. The remaining statements are
explained separately.
NOTE: You use family inet to assign an IPv4 address. You use family inet6 to
assign an IPv6 address. An interface can be configured with both an IPv4 and
IPv6 address.
family inet6
Syntax inet6 {
accounting {
destination-class-usage;
source-class-usage {
input;
ouput;
}
}
address source–address/prefix {
eui-64;
ndp address {
(mac mac-address | multicast-mac multicast-mac-address);
publish;
}
preferred;
primary;
vrrp-inet6-group group_id {
(accept-data | no-accept-data);
advertisements-threshold number;
authentication-key value;
authentication-type (md5 | simple);
fast-interval milliseconds;
inet6-advertise-interval milliseconds;
(preempt <hold-time seconds>| no-preempt );
priority value;
track {
interface interface-name {
bandwidth-threshold value;
priority-cost value;
}
priority-hold-time seconds;
route route-address{
routing-instance routing-instance;
}
}
virtual-inet6-address [address];
virtual-link-local-address address;
vrrp-inherit-from {
active-group value;
active-interface interface-name;
}
}
web-authentication {
http;
https;
redirect-to-https;
}
}
(dad-disable | no-dad-disable);
dhcpv6-client {
Release Information Statement supported in Junos 10.2 for SRX Series devices.
Options ipaddress—Specify the IP address for the interface. The remaining statements are
explained separately.
NOTE: You use family inet6 to assign an IPv6 address. You use family inet to
assign an IPv4 address. An interface can be configured with both an IPv4 and
IPv6 address.
flag (Interfaces)
Syntax flag
Description Define tracing operations for individual interfaces. To specify more than one tracing
operation, include multiple flag statements.
• cache—Enable interface flags for Web filtering cache maintained on the routing table.
NOTE:
• MTU is limited to 1518 on this interface.
• Cache and enhanced options are applicable only to Enhanced Web Filtering.
flexible-vlan-tagging (Interfaces)
Syntax flexible-vlan-tagging;
Description Simultaneously supports transmission of 802.1Q VLAN single-tag and dual-tag frames
on logical interfaces on the same Ethernet port.
flow-control (Interfaces)
Description For Fast Ethernet, Gigabit Ethernet, and redundant Ethernet interfaces only, explicitly
enable flow control, which regulates the flow of packets from the device to the remote
side of the connection. Enabling flow control is useful when the device is a Gigabit Ethernet
switch.
flow-monitoring (Services)
Syntax flow-monitoring {
version9 {
template template-name {
flow-active-timeout seconds;
flow-inactive-timeout seconds;
ipv4-template;
ipv6-template;
option-refresh-rate {
packets packets;
seconds seconds;
}
template-refresh-rate {
packets packets;
seconds seconds;
}
}
}
}
forwarding-classes (CoS)
Syntax forwarding-classes {
class class-name {
priority (high | low);
queue-num number;
spu-priority (high | low | medium-high | medium-low);
}
queue queue-number {
class-name {
priority (high | low);
}
}
}
Release Information Statement introduced in Junos OS Release 8.5. Statement updated in Junos OS Release
11.4. The spu-priority option introduced in Junos OS Release 11.4R2.
Options • class class-name—Display the forwarding class name assigned to the internal queue
number.
fpc (Interfaces)
Syntax fpc;
gratuitous-arp-reply
Supported Platforms ACX Series, EX Series, M Series, MX Series, SRX Series, T Series
Description For Ethernet interfaces, enable updating of the Address Resolution Protocol (ARP) cache
for gratuitous ARPs.
gsm-options
Syntax gsm-options {
select-profile profile-name;
profiles {
profile-name {
sip-user-id simple-ip-user-id;
sip-password simple-ip-password;
access-point-name apn;
authentication-method (pap | chap | none);
}
}
}
Description Configure the 3G wireless modem interface to establish a data call with a Global System
for Mobile Communications (GSM) cellular network.
Options The remaining statements are explained separately. See CLI Explorer.
guard-band (PoE)
Description Reserves the specified amount of power for the SRX Series device in case of a spike in
PoE consumption.
Options watts—Amount of power to be reserved for the SRX Series device in case of a spike in
PoE consumption.
Range: 0 through 19 W
Default: 0 W
hub-assist
Description Configure the weight of the resource factor when calculating an effective interface
bandwidth.
Syntax inline-jflow {
flow-export-rate number;
source-address ip-address;
}
Hierarchy Level [edit forwarding-options sampling instance instance- name family inet output]
[edit forwarding-options sampling instance instance- name family inet6 output]
Release Information Statement introduced in Junos OS Release 10.4. Support for family inet6 added in Junos
OS Release 12.1X45-D10.
Options • flow-export-rate value—Flow export rate of monitored packets in kpps. The range is
from 1 through 400.
interface (PoE)
Description Enable a PoE interface for a PoE port. The PoE interface must be enabled in order for the
port to provide power to a connected powered device.
Options • all— Apply the configuration to all interfaces on the SRX Series device that have not
been explicitly configured otherwise.
interfaces (CoS)
Syntax interfaces
interface-name {
input-scheduler-map map-name ;
input-shaping-rate rate ;
scheduler-map map-name ;
scheduler-map-chassis map-name ;
shaping-rate rate ;
unit logical-unit-number {
adaptive-shaper adaptive-shaper-name ;
classifiers {
(dscp | dscp-ipv6 | exp | ieee-802.1 | inet-precedence)
( classifier-name | default);
}
forwarding-class class-name ;
fragmentation-map map-name ;
input-scheduler-map map-name ;
input-shaping-rate (percent percentage | rate );
input-traffic-control-profile profiler-name shared-instance instance-name ;
loss-priority-maps {
default;
map-name ;
}
output-traffic-control-profile profile-name shared-instance instance-name ;
rewrite-rules {
dscp ( rewrite-name | default);
dscp-ipv6 ( rewrite-name | default);
exp ( rewrite-name | default) protocol protocol-types ;
frame-relay-de ( rewrite-name | default);
inet-precedence ( rewrite-name | default);
}
scheduler-map map-name ;
shaping-rate rate ;
virtual-channel-group group-name ;
}
}
}
Options interface interface-name unit number—The user-specified interface name and unit number.
interval (Interfaces)
Description Configure the frequency that the router generates credit announcement messages.
interval (PoE)
Description Modifies the interval for logging telemetries if you are monitoring the per-port power
consumption for PoE interfaces.
ipv4-template (Services)
Syntax ipv4-template;
Description Specify that the flow monitoring version 9 template is used only for IPv4 records.
ipv6-template (Services)
Syntax ipv6-template;
Description Specify that the flow monitoring version 9 template is used only for IPv6 records.
lacp (Interfaces)
Syntax lacp {
(active | passive);
periodic;
}
Description For redundant Ethernet interfaces in a chassis cluster only, configure Link Aggregation
Control Protocol (LACP).
Default: If you do not specify lacp as either active or passive, LACP remains off (the
default).
latency (Interfaces)
lease-time
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp]
Release Information Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 9.2 for SRX Series devices.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description Request a specific lease time for the IP address. The lease time is the length of time in
seconds that a client holds the lease for an IP address assigned by a DHCP server.
Default If no lease time is requested by client, then the server sends the lease time. The default
lease time on a Junos OS DHCP server is one day.
• unit
• family
line-rate (Interfaces)
Syntax line-rate
• value — Select the values between 192 kbps and 22784 kbps for the speed of
transmission of data on the G.SHDSL connection.
link-speed (Interfaces)
Description For redundant Ethernet interfaces in a chassis cluster only, set the required link speed.
Options speed —For redundant Ethernet links, you can specify speed 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).
Supported Platforms ACX Series, EX Series, M Series, MX Series, NFX Series, OCX1100, QFX Series, SRX Series, T
Series, vSRX
Release Information Statement introduced before Junos OS Release 7.4 for MX Series.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 12.2 for ACX Series Universal Access Routers.
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Statement modified in Junos OS Release 9.2 for the SRX Series.
Description For aggregated Ethernet, Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet
interfaces, enable or disable loopback mode.
NOTE:
• By default, local aggregated Ethernet, Fast Ethernet, Tri-Rate Ethernet
copper, Gigabit Ethernet, and 10-Gigabit Ethernet interfaces connect to a
remote system.
Description Map CoS values to a packet loss priority (PLP). In Junos OS, classifiers associate incoming
packets with a forwarding class (FC) and PLP. PLPs allow you to set the priority for
dropping packets. Typically, you mark packets exceeding some service level with a high
loss priority—that is, a greater likelihood of being dropped.
Description Specify a loss priority to which to apply a rewrite rule. The rewrite rule sets the code-point
aliases and bit patterns for a specific forwarding class and packet loss priority (PLP).
The inputs for the map are the forwarding class and the PLP. The output of the map is
the code-point alias or bit pattern.
Syntax loss-priority-maps {
frame-relay-de (map-name | default);
}
Options • default—Apply default loss priority map. The default map contains the following:
loss-priority-maps (CoS)
Syntax loss-priority-maps {
frame-relay-de loss-priority-map-name {
loss-priority (high | low | medium-high | medium-low) {
code-points [bit-string];
}
}
}
Description Map the loss priority of incoming packets based on CoS values.
management (PoE)
Description Designates how the SRX Series device allocates power to the PoE ports.
Default static
Options • static—When a powered device is connected to a PoE port, the power allocated to it
is equal to the maximum power configured for the port.
maximum-power (PoE)
Default 15.4 W
Options Watts—The maximum number of watts that can be supplied to the port.
Default—15.4 W
media-type (Interfaces)
Syntax media-type
Description Configure the operating modes for the 2-Port 10 Gigabit Ethernet XPIM.
Options • copper
• fiber
minimum-links (Interfaces)
Description For redundant Ethernet interfaces configured as 802.3ad redundant Ethernet interface
link aggregation groups (LAGs) in a chassis cluster only, set the required minimum number
of physical child links on the primary node that must be working to prevent the interface
from being down. Interfaces configured as redundant Ethernet interface LAGs typically
have between 4 and 16 physical interfaces, but only half, those on the primary node, are
relevant to the minimum-links setting.
If the number of operating interfaces on the primary node falls below the configured
value, it will cause the interface to be down even if some of the interfaces are still working.
Options number—For redundant Ethernet interface link aggregation group links, specify the number
of physical child links on the primary node in the redundant Ethernet interface that
must be working. The default minimum-links value is 1. The maximum value is half
of the total number of physical child interfaces bound to the redundant Ethernet
interface being configured or 8, whichever is smaller.
mtu
Description Maximum transmission unit (MTU) size for the media or protocol. The default MTU size
depends on the device type. Not all devices allow you to set an MTU value, and some
devices have restrictions on the range of allowable MTU values.
native-vlan-id (Interfaces)
Syntax native-vlan-idvlan-id;
Description Configure VLAN identifier for untagged packets received on the physical interface of a
trunk mode interface.
Options vlan-id—Configure a VLAN identifier for untagged packets. Enter a number from 0 through
4094.
next-hop-tunnel
Description For the secure tunnel (st) interface, create entries in the Next-Hop Tunnel Binding (NHTB)
table, which is used to map the next-hop gateway IP address to a particular IP Security
(IPsec) Virtual Private Network (VPN) tunnel. NHTB allows the binding of multiple IPsec
VPN tunnels to a single IPsec tunnel interface.
no-dns-propagation
Syntax no-dns-propagation;
Hierarchy Level [edit interface interface-name unit unit-number family inet | inet6 dhcp-client]
option-refresh-rate (Services)
Syntax option-refresh-rate
Options • packets—Specify the number of packets. The range is from 1 through 480,000.
• ct1—Channelized T1 mode.
periodic (Interfaces)
Description For redundant Ethernet interfaces in a chassis cluster only, configure the interval at which
the interfaces on the remote side of the link transmit link aggregation control protocol
data units (PDUs) by configuring the periodic statement on the interfaces on the local
side. It is the configuration on the local side that specifies the behavior of the remote
side. That is, the remote side transmits link aggregation control PDUs at the specified
interval.
Default: fast
ppp-over-ether
Syntax ppp-over-ether;
Description This encapsulation is used for underlying interfaces of pp0 interfaces. This encapsulation
is supported on Fast Ethernet interface, Gigabit Ethernet interface, and Redundant
Ethernet interface. When Redundant Ethernet interface is used as underlying interface,
an existing pppoe session can be continued in case of failover.
pppoe
Syntax pppoe {
command binary-file-path;
disable;
failover (alternate-media | other-routing-engine);
}
Description Enable users to connect to a network of hosts over a bridge or access concentrator.
• failover—Configure the device to reboot if the software process fails four times within
30 seconds, and specify the software to use during the reboot.
pppoe-options
Syntax pppoe-options {
access-concentrator name ;
auto-reconnect seconds;
(client | server);
ignore-eol-tag;
service-name name;
underlying-interface interface-name;
}
Release Information Statement modified in Junos OS Release 12.3X48 to include ignore-eol-tag statement.
ignore-eol-tag—Disable the End-of-List tag to process the tags after the End-of-List tag
in a PPPoE Active Discovery Offer (PADO) packet.
service-name name—Configure the service to be requested from the PPP over Ethernet
server; that is, the access concentrator. For example, you can use this statement to
indicate an Internet service provider (ISP) name or a class of service.
priority (PoE)
Description Sets the priority of individual ports. When it is not possible to maintain power to all
connected ports, lower-priority ports are powered off before higher priority ports. When
a new device is connected on a higher-priority port, a lower-priority port will be powered
off automatically if available power is insufficient to power on the higher-priority port.
Note that for ports with the same priority configuration, ports on the left are given higher
priority than the ports on the right.
Default low
• high—Specify that this port is to be treated as high priority in terms of power allocation
• low—Specify that this port is to be treated as low priority in terms of power allocation.
profile (Access)
}
provisioning-order (gx-plus | jsrc);
service {
accounting-order {
activation-protocol;
radius;
}
}
session-options {
client-group [group-name];
client-idle-timeout minutes;
client-session-timeout minutes;
}
}
Description Create a profile containing a set of attributes that define device management access.
profiles
Syntax profiles {
profile-name {
sip-user-id simple-ip-user-id;
sip-password simple-ip-password;
access-point-name apn;
authentication-method (pap | chap | none);
}
}
Description Configure a profile to establish a data call with a Global System for Mobile
Communications (GSM) cellular network. You can configure up to 16 profiles.
promiscuous-mode (Interfaces)
Syntax promiscuous-mode;
Description Enable promiscuous mode on Layer 3 Ethernet interfaces. When promiscuous mode is
enabled on an interface, all packets received on the interface are sent to the central point
or Services Processing Unit regardless of the destination MAC address of the packet.
You can also enable promiscuous mode on chassis cluster redundant Ethernet interfaces
and on aggregated Ethernet interfaces. If you enable promiscuous mode on a redundant
Ethernet interface, promiscuous mode is then enabled on any child physical interfaces.
If you enable promiscuous mode on an aggregated Ethernet interface, promiscuous mode
is then enabled on all member interfaces.
Related • Enabling and Disabling Promiscuous Mode on Ethernet Interfaces (CLI Procedure) on
Documentation page 262
quality (Interfaces)
Description This option controls relative link quality weight (value 0–100).
r2cp
Syntax r2cp {
command binary-file-path;
disable;
}
Description Specify the Radio-to-Router Control Protocol (R2CP) used to exchange dynamic metric
changes in the network that routers use to update the OSPF topologies.
radio-router (Interfaces)
Syntax radio-router {
bandwidth number;
credit {
interval number;
}
data-rate number;
latency number;
quality number;
resource number;
threshold number;
}
Options The remaining statements are explained separately. See CLI Explorer.
redundancy-group (Interfaces)
Description Specify the redundancy group that a redundant Ethernet interface belongs to.
Options number —Number of the redundancy group that the redundant interface belongs to.
Failover properties of the interface are inherited from the redundancy group.
Range: 1 through 255
redundant-ether-options
Syntax redundant-ether-options {
(flow-control | no-flow-control);
lacp {
(active | passive);
periodic (fast | slow);
}
link-speed speed;
(loopback | no-loopback);
minimum-links number;
redundancy-group number;
source-address-filter mac-address;
(source-filtering | no-source-filtering);
}
Options The remaining statements are explained separately. See CLI Explorer.
Related • Example: Enabling Eight Queue Class of Service on Redundant Ethernet Interfaces
Documentation
• Example: Configuring Chassis Cluster Redundant Ethernet Interfaces for IPv4 and IPv6
Addresses
Description Configure Fast Ethernet-specific interface properties for Ethernet redundancy in a chassis
cluster.
Release Information Statement supported on SRX300, SRX320, SRX340, and SRX345 is introduced in Junos
OS Release 15.1X49-D60.
Statement supported on SRX1500 and vSRX instances is introduced in Junos OS Release
15.1X49-D100.
Output Fields When you enter this command, this command returns no output.
Sample Output
Release Information Statement supported on SRX300, SRX320, SRX340, and SRX345 is introduced in Junos
OS Release 15.1X49-D60.
Statement supported on SRX1500 and vSRX instances is introduced in Junos OS Release
15.1X49-D100.
Options session id — (Optional) Disconnect the session for which the session ID is specified.
pppoe interface name— (Optional) Disconnect the session for a specific pppoe interface
name.
Output Fields When you enter this command, this command returns no output.
Sample Output
resource (Interfaces)
retransmission-attempt
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp]
Release Information Statement introduced in Junos OS Release 8.5 for J Series devices.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 9.2 for SRX Series devices.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description Specify the number of times the device retransmits a Dynamic Host Control Protocol
(DHCP) packet if a DHCP server fails to respond. After the specified number of attempts,
no further attempts at reaching a server are made.
• unit
• family
retransmission-interval (Interfaces)
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family family-name dhcp]
roaming-mode
Description Specify whether the 3G wireless modem interface can access networks other than the
home network.
• automatic—Allows access to networks other than the home network. This is the default.
• virtual-channel-groups
• virtual-channels
select-profile
Description Select the active profile to establish a data call with a Global System for Mobile
Communications (GSM) cellular network.
server-address
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp]
Release Information Statement introduced in Junos OS Release 8.5 for J Series devices.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 9.2 for SRX Series devices.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description Specify the address of the DHCP server that the client should accept DHCP offers from.
If this option is included in the DHCP configuration, the client accepts offers only from
this server and ignores all other offers.
Default The client accepts the first offer it receives from any DHCP server.
• unit
• family
Description For logical interfaces on which you configure packet scheduling, configure traffic shaping
by specifying the amount of bandwidth to be allocated to the logical interface.
Logical and physical interface traffic shaping can be configured together. This means
you can include the shaping-rate statement at the [edit class-of-service interfaces interface
interface-name] hierarchy level and the [edit class-of-service interfaces interface
interface-name unit logical-unit-number] hierarchy level. If you configure traffic shaping
at both the logical and physical interface levels, the logical interface shaping credit is
checked and updated before the physical interface shaping credit.
Alternatively, you can configure a shaping rate for a logical interface and oversubscribe
the physical interface by including the shaping-rate statement at the [edit class-of-service
traffic-control-profiles] hierarchy level. With this configuration approach, you can
independently control the delay-buffer rate.
Default If you do not include this statement at the [edit class-of-service interfaces interface
interface-name unit logical-unit-number] hierarchy level, the default logical interface
bandwidth is the average of unused bandwidth for the number of logical interfaces that
require default bandwidth treatment. If you do not include this statement at the [edit
class-of-service interfaces interface interface-name] hierarchy level, the default physical
interface bandwidth is the average of unused bandwidth for the number of physical
interfaces that require default bandwidth treatment.
Options rate—Peak rate, in bits per second (bps). 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).
Range: For logical interfaces, 1000 through 6,400,000,000,000 bps.
simple-filter (Interfaces)
Syntax simple-filter;
Description Apply a simple filter to an interface. You can apply simple filters on ingress interfaces
only.
Options input filter-name: Name of one filter to evaluate when packets are received on the
interface.
sip-password
Description Configure the password provided by the service provider for connection to a Global
System for Mobile Communications (GSM) cellular network.
Options simple-ip-password—Password.
sip-user-id
Description Configure the username provided by the service provider for connection to a Global
System for Mobile Communications (GSM) cellular network.
Options simple-ip-user-id—Username.
source-address-filter (Interfaces)
Description For redundant Ethernet interfaces, specify the MAC addresses from which the interface
can receive packets. For this statement to have any effect, you must include the
source-filtering statement in the configuration to enable source address filtering.
Be sure to update the MAC address if the remote Ethernet card is replaced. Replacing
the interface card changes the MAC address. Otherwise, the interface cannot receive
packets from the new card.
NOTE:
• Software based MAC limiting is supported on SRX300, SRX320, and
SRX340 devices.
Options mac-address —MAC address filter. You can specify the MAC address as six hexadecimal
bytes in one of the following formats: nn:nn:nn:nn:nn:nn:nn (for example,
00:11:22:33:44:55) or nnnn:nnnn:nnnn (for example, 0011.2233.4455). You can
configure up to 64 source addresses. To specify more than one address, include
multiple mac-address options in the source-address-filter statement.
source-filtering (Interfaces)
Description For redundant Ethernet interfaces, enable the filtering of MAC source addresses, which
blocks all incoming packets to that interface. To allow the interface to receive packets
from specific MAC addresses, include the source-address-filter statement.
If the remote Ethernet card is changed, the interface cannot receive packets from the
new card because it has a different MAC address.
speed (Interfaces)
Description Configure the operating speed for the 2-Port 10 Gigabit Ethernet XPIM.
telemetries (PoE)
Syntax telemetries {
disable;
duration hours;
interval minutes;
}
Description Allow logging of per-port PoE power consumption. The telemetries section must be
explicitly specified to enable logging. If left unspecified, telemetries is disabled by default.
Default If the telemetries statement is specified, logging is enabled with the default values for
interval and duration.
template-refresh-rate (Services)
Syntax template-refresh-rate;
Options • packets—Specify the number of packets. The range is from 1 through 480,000.
threshold (Interfaces)
Description This option controls the percentage of bandwidth change required for routing updates.
traceoptions (Interfaces)
Syntax traceoptions
Description Define tracing operations for individual interfaces. To specify more than one tracing
operation, include multiple flag statements.
update-server
Syntax update-server;
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp]
Release Information Statement introduced in Junos OS Release 8.5 for J Series devices.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 9.2 for SRX Series devices.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description Propagate TCP/IP settings learned from an external DHCP server to the DHCP server
running on the switch, router, or device.
• interfaces
• unit
• family
vbr rate
Description For ATM encapsulation only, define a variable bit rate bandwidth utilization in the
traffic-shaping profile.
Options • Burst Size–The maximum burst size that can be sent at the peak rate.
• Peak Rate–The maximum instantaneous rate at which the user will transmit.
vdsl-profile
Syntax vdsl-profile
Description Configure the type of VDSL2 profiles. A profile is a table that contains a list of
preconfigured VDSL2 settings.
• 8a
• 8b
• 8c
• 8d
• 12a
• 12b
• 17a
vendor-id (Interfaces)
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family family-name dhcp]
Description Configure a vendor class ID for the Dynamic Host Configuration Protocol (DHCP) client.
vlan-tagging (Interfaces)
Description Configure VLAN identifier for untagged packets received on the physical interface of a
trunk mode interface.
Options native-vlan-id—Configures a VLAN identifier for untagged packets. Enter a number from
0 through 4094.
web-authentication (Interfaces)
Syntax web-authentication {
http;
https;
redirect-to-https;
}
Hierarchy Level [edit interfaces interface-name unit logical-unit-number family family-name address
address ]
Description Enable the Web authentication process for firewall user authentication.
Operational Commands
Description Clear the relevant path information from the database for the specified remote host.
List of Sample Output clear oam ethernet connectivity-fault- management path-database on page 689
Sample Output
Description Clear the binding state of a DHCPv6 client from the client table on the DHCPv6 local
server.
Options • all—(Optional) Clear the binding state for all DHCPv6 clients.
• client-id—(Optional) Clear the binding state for the DHCPv6 client with the specified
client ID (option 1).
• ip-address—(Optional) Clear the binding state for the DHCPv6 client with the specified
address.
• session-id—(Optional) Clear the binding state for the DHCPv6 client with the specified
session ID.
Sample Output
List of Sample Output clear interfaces statistics <swfab0 | swfab1> on page 692
Output Fields When you enter this command, interface statistics for swfab0 and swfab1 are cleared.
Sample Output
host hostname—(Optional) Clear the information for the specified IPv6 neighbors.
Sample Output
Description Clear the LACP statistics. If you do not specify an interface name, LACP statistics for all
interfaces are cleared.
restart (Reset)
Syntax restart
<application-identification |application-security |audit-process |commitd-service
|chassis-control | class-of-service |database-replication |datapath-trace-service |ddns
|dhcp |dhcp-service |dynamic-flow-capture |disk-monitoring |event-processing |
ethernet-connectivity-fault-management |ethernet-link-fault-management
|extensible-subscriber-services |fipsd |firewall |firewall-authentication-service
|general-authentication-service |gracefully |gprs-process |idp-policy |immediately
|interface-control | ipmi |ipsec-key-management |jflow-service |jnu-management
|jnx-wmicd-service |jsrp-service |kernel-replication |l2-learning |l2cpd-service |lacp
|license-service |logical-system-service |mib-process |mountd-service |named-service
|network-security |network-security-trace |nfsd-service |ntpd-service |pgm
|pic-services-logging |profilerd |pki-service |remote-operations |rest-api |routing |sampling
|sampling-route-record |scc-chassisd |secure-neighbor-discovery |security-intelligence
|security-log |services |service-deployment |simple-mail-client-service |soft |snmp
|static-routed |statistics-service |subscriber-management |subscriber-management-helper
|system-log-vital |tunnel-oamd |uac-service |user-ad-authentication |vrrp
|web-management >
• lacp—(Optional) Restart the Link Aggregation Control Protocol (LACP) process. LACP
provides a standardized means for exchanging information between partner systems
on a link. The LACP process allows link aggregation control instances to reach
agreement on the identity of the LAG to which a link belongs, moves the link to that
LAG, and enables the transmission and reception processes for the link to function in
an orderly manner.
• l2-learning—(Optional) Restart the Layer 2 (L2) address flooding and learning process.
• mib-process—(Optional) Restart the MIB version II process, which provides the router's
MIB II agent.
• mountd-service—(Optional) Restart the service for Network File System (NFS) mount
requests.
• nfsd-service—(Optional) Restart the remote NFS server process, which provides remote
file access for applications that need NFS-based transport.
• pgm—(Optional) Restart the process that implements the Pragmatic General Multicast
(PGM) protocol for assisting in the reliable delivery of multicast packets.
• pic-services-logging—(Optional) Restart the logging process for some PICs. With this
process, also known as fsad (the file system access daemon), PICs send special logging
information to the Routing Engine for archiving on the hard disk.
• snmp—(Optional) Restart the SNMP process, which enables the monitoring of network
devices from a central location and provides the router's or switch’s SNMP master
agent.
Output Fields When you enter this command, you are provided feedback on the status of your request.
Sample Output
restart interfaces
user@host> restart interfaces
interfaces process terminated
interfaces process restarted
Release Information Command introduced in Junos OS 9.5. The slot sim-slot-number option is introduced in
Junos OS 15.1X49-D100.
Description Create a profile. The Subscriber Identity Module (SIM) uses a profile to establish a
connection with the network. You can configure up to 16 profiles for each SIM card. The
LTE Mini-PIM supports two SIM cards and so you can configure a total of 32 profiles,
although only one profile can be active at a time.
To create a profile, you must obtain the following information from the service provider:
Options • interface-name—The LTE interface is cl-x/0/0, where x is the slot number in which the
LTE Mini-PIM is installed.
• CHAP
• PAP
• None
• profile-id profile-id—Profile identification number for the profile. The default value is 1.
The range of possible values is from 1 through 16.
• sip-user-id sip-id—Simple IP user identification. Obtain the username from the service
provider.
• slot sim-slot-number—The slot in which the SIM card is inserted. The value can be either
1 or 2.
Sample Output
Description Enable or disable over-the-air (OTA) firmware upgrade for the modem on the LTE
Mini-PIM. OTA firmware upgrade enables automatic and timely upgrade of modem
firmware when new firmware versions are available. The OTA upgrade can be enabled
or disabled on the LTE Mini-PIM. OTA is disabled by default.
List of Sample Output request modem wireless fota (enable) on page 702
request modem wireless fota (disable) on page 702
Sample Output
Description Lock the Subscriber Identity Module (SIM) on the Mini-PIM. The SIM lock does not take
effect until the next reboot of the services gateway. You can verify the locked mode using
the show modem wireless firmware command.
NOTE: If there are two SIMs installed on the LTE Mini-PIM, then only the
active SIM is locked. After the SIM is locked, it cannot connect to the network.
The SIM must be unlocked before it is used to connect to the network.
Options • interface-name—The LTE Mini-PIM is denoted as cl-x/0/0, where x is the slot number
in which the LTE Mini-PIM is installed.
• pin pin—Four-digit personal identification number (PIN). Obtain the PIN from the service
provider.
NOTE: If the PIN is entered incorrectly three consecutive times, the SIM
card is blocked. Obtain a PIN unblocking key (PUK) from the service
provider.
Sample Output
Description Unlock the Subscriber Identity Module (SIM) on the LTE Mini-PIM. Some service providers
lock the SIM to prevent unauthorized access to the service provider's network. If this is
the case, you will need to unlock the SIM by using an personal identification number
(PIN), which is provided by the service provider. You can verify the unlocked mode using
the show modem wireless firmware command.
NOTE: If there are two SIM cards installed on the Mini-PIM, then only the
active SIM card is unlocked.
The SIM must be unlocked before it can be used to connect to the service
provider’s network.
Options • interface-name—The LTE interface is denoted as cl-x/0/0, where x is the slot number
in which the LTE Mini-PIM is installed.
• pin unlock-code—Four-digit personal identification number (PIN). Obtain the PIN from
the service provider.
NOTE: If the PIN is entered incorrectly three consecutive times, the SIM
card is blocked. Obtain a PIN unblocking key (PUK) from the service
provider.
Sample Output
Use the set chassis fpc <slot> pic <pic> power off command to choose the PICs you want
to power on.
When you use the set chassis fpc <slot> pic <pic> power off command to power off PIC0
and PIC1, PIC2 and PIC3 are automatically turned on.
When you switch from one set of PICs to another set of PICs using the set chassis fpc
<slot> pic <pic> power off command again, ensure that there is 60 seconds duration
between the two actions, otherwise core files are seen during the configuration.
The Table 41 on page 706 summarizes the SRX5K-MPC3-40G10G (IOC3) PICs selected
for various configuration scenarios.
Description Display status information about the installed Flexible PIC Concentrators (FPCs) and
PICs.
• node—(Optional) For chassis cluster configurations, display status information for all
FPCs or for the specified FPC on a specific node (device) in the cluster.
• pic-status—(Optional) Display status information for all FPCs or for the FPC in the
specified slot (see fpc-slot).
Output Fields Table 42 on page 708 lists the output fields for the show chassis fpc command. Output
fields are listed in the approximate order in which they appear.
Slot or Slot State Slot number and state. The state can be one of the following conditions:
Temp (C) or Temperature Temperature of the air passing by the FPC, in degrees Celsius or in both Celsius and
Fahrenheit.
Total CPU Utilization (%) Total percentage of CPU being used by the FPC's processor.
Interrupt CPU Utilization (%) Of the total CPU being used by the FPC's processor, the percentage being used for
interrupts.
Memory DRAM (MB) Total DRAM, in megabytes, available to the FPC's processor.
Heap Utilization (%) Percentage of heap space (dynamic memory) being used by the FPC's processor. If this
number exceeds 80 percent, there may be a software problem (memory leak).
Buffer Utilization (%) Percentage of buffer space being used by the FPC's processor for buffering internal
messages.
Start Time Time when the Routing Engine detected that the FPC was running.
Uptime How long the Routing Engine has been connected to the FPC and, therefore, how long
the FPC has been up and running.
Sample Output
Utilization (%)
Slot State (C) Total Interrupt 1min 5min 15min DRAM (MB)
Heap Buffer
0 Online 36 20 0 20 19 19 1024
4 26
1 Online 35 8 0 8 8 8 2048
12 14
2 Online 40 21 0 20 20 20 3584
5 13
Sample Output
Sample Output
show chassis fpc pic-status (SRX5600 and SRX5800 devices with SPC2)
user@host> show chassis fpc pic-status
show chassis fpc pic-status (SRX5600 and SRX5800 devices with SRX5K-MPC)
user@host> show chassis fpc pic-status
show chassis fpc pic-status (SRX5600 and SRX5800 devices when Express Path [formerly known as services
offloading] is configured)
user@host> show chassis fpc pic-status
show chassis fpc pic-status (with 20-Gigabit Ethernet MIC with SFP)
user@host> show chassis fpc pic-status
node0:
--------------------------------------------------------------------------
Slot 0 Online SRX5k SPC II
PIC 0 Online SPU Cp
PIC 1 Online SPU Flow
PIC 2 Online SPU Flow
PIC 3 Online SPU Flow
Slot 1 Offline SRX5k SPC II
Slot 2 Online SRX5k DPC 4X 10GE
PIC 0 Online 1x 10GE(LAN/WAN) RichQ
PIC 1 Online 1x 10GE(LAN/WAN) RichQ
PIC 2 Online 1x 10GE(LAN/WAN) RichQ
PIC 3 Online 1x 10GE(LAN/WAN) RichQ
Slot 9 Online SRX5k IOC II
PIC 0 Online 10x 1GE(LAN) SFP
PIC 1 Online 10x 1GE(LAN) SFP
PIC 2 Online 10x 1GE(LAN) SFP
PIC 3 Online 10x 1GE(LAN) SFP
Slot 10 Online SRX5k IOC II
PIC 0 Online 10x 10GE SFP+
PIC 2 Online 1x 100GE CFP
Slot 11 Offline SRX5k IOC II
Sample Output
node1:
--------------------------------------------------------------
Slot 4 Online SRX5k DPC 40x 1GE
PIC 0 Online 10x 1GE RichQ
PIC 1 Online 10x 1GE RichQ
PIC 2 Online 10x 1GE RichQ
PIC 3 Online 10x 1GE RichQ
Slot 5 Online SRX5k SPC
PIC 0 Online SPU Cp-Flow
PIC 1 Online SPU Flow
node1:
--------------------------------------------------------------------------
Slot 2 Online SRX5k IOC3 24XGE+6XLG
PIC 0 Online 12x 10GE SFP+
PIC 1 Online 12x 10GE SFP+
PIC 2 Offline 3x 40GE QSFP+
PIC 3 Offline 3x 40GE QSFP+
Slot 4 Online SRX5k IOC II
PIC 2 Online 10x 10GE SFP+
Slot 5 Online SRX5k SPC II
PIC 0 Online SPU Cp
PIC 1 Online SPU Flow
PIC 2 Offline
PIC 3 Offline
Release Information Command introduced in Junos OS Release 9.2. Command modified in Junos OS Release
9.2 to include node option.
• models—(Optional) Display model numbers and part numbers for orderable FRUs.
Output Fields Table 43 on page 714 lists the output fields for the show chassis hardware command.
Output fields are listed in the approximate order in which they appear.
Item Chassis component—Information about the backplane; power supplies; fan trays; Routing
Engine; each Physical Interface Module (PIM)—reported as FPC and PIC—and each fan,
blower, and impeller.
Serial Number Serial number of the chassis component. The serial number of the backplane is also the
serial number of the device chassis. Use this serial number when you need to contact
Juniper Networks Customer Support about the device chassis.
CLEI code Common Language Equipment Identifier code. This value is displayed only for hardware
components that use ID EEPROM format v2. This value is not displayed for components
that use ID EEPROM format v1.
EEPROM Version ID EEPROM version used by hardware component: 0x01 (version 1) or 0x02 (version 2).
• There are three SCB slots in SRX5800 devices. The third slot can be used for an
SCB or an FPC. When an SRX5K-SCB was used , the third SCB slot was used as an
FPC. SCB redundancy is provided in chassis cluster mode.
• With an SCB2, a third SCB is supported. If a third SCB is plugged in, it provides
intra-chassis fabric redundancy.
• The Ethernet switch in the SCB2 provides the Ethernet connectivity among all the
FPCs and the Routing Engine. The Routing Engine uses this connectivity to distribute
forwarding and routing tables to the FPCs. The FPCs use this connectivity to send
exception packets to the Routing Engine.
• Fabric connects all FPCs in the data plane. The Fabric Manager executes on the
Routing Engine and controls the fabric system in the chassis. Packet Forwarding
Engines on the FPC and fabric planes on the SCB are connected through HSL2
channels.
• SCB2 supports HSL2 with both 3.11 Gbps and 6.22 Gbps (SerDes) link speed and
various HSL2 modes. When an FPC is brought online, the link speed and HSL2 mode
are determined by the type of FPC.
Starting with Junos OS Release 15.1X49-D10 and Junos OS Release 17.3R1, the
SRX5K-SCB3 (SCB3) with enhanced midplane is introduced.
• Type of Flexible PIC Concentrator (FPC), Physical Interface Card (PIC), Modular
Interface Cards (MICs), and PIMs.
• IOCs
Starting with Junos OS Release 15.1X49-D10 and Junos OS Release 17.3R1, the
SRX5K-MPC3-100G10G (IOC3) and the SRX5K-MPC3-40G10G (IOC3) are introduced.
• IOC3 has two types of IOC3 MPCs, which have different built-in MICs: the 24x10GE
+ 6x40GE MPC and the 2x100GE + 4x10GE MPC.
• IOC3 supports SCB3 and SRX5000 line backplane and enhanced backplane.
• IOC3 can only work with SRX5000 line SCB2 and SCB3. If an SRX5000 line SCB is
detected, IOC3 is offline, an FPC misconfiguration alarm is raised, and a system log
message is generated.
• IOC3 interoperates with SCB2 and SCB3.
• IOC3 interoperates with the SRX5K-SPC-4-15-320 (SPC2) and the SRX5K-MPC
(IOC2).
• The maximum power consumption for one IOC3 is 645W. An enhanced power
module must be used.
• The IOC3 does not support the following command to set a PIC to go offline or
online:
request chassis pic fpc-slot <fpc-slot> pic-slot <pic-slot> <offline | online> .
• IOC3 supports 240 Gbps of throughput with the enhanced SRX5000 line backplane.
• Chassis cluster functions the same as for the SRX5000 line IOC2.
• IOC3 supports intra-chassis and inter-chassis fabric redundancy mode.
• IOC3 supports ISSU and ISHU in chassis cluster mode.
• IOC3 supports intra-FPC and and Inter-FPC Express Path (previously known as
services offloading) with IPv4.
• NAT of IPv4 and IPv6 in normal mode and IPv4 for Express Path mode.
• All four PICs on the 24x10GE + 6x40GE cannot be powered on. A maximum of two
PICs can be powered on at the same time.
Use the set chassis fpc <slot> pic <pic> power off command to choose the PICs you
want to power on.
NOTE: The RE2 provides significantly better performance than the previously used
Routing Engine, even with a single core.
node1:
--------------------------------------------------------------------------
Hardware inventory:
Item Version Part number Serial number Description
Chassis JN124FE77AGB SRX5600
Midplane REV 01 760-063936 ACRE2970 Enhanced SRX5600 Midplane
FPM Board REV 01 710-024631 CABY3552 Front Panel Display
PEM 0 Rev 03 740-034701 QCS133809028 PS 1.4-2.6kW; 90-264V
AC in
PEM 1 Rev 03 740-034701 QCS133809027 PS 1.4-2.6kW; 90-264V
AC in
Routing Engine 0 REV 02 740-056658 9009218294 SRX5k RE-1800X4
Routing Engine 1 REV 02 740-056658 9013104758 SRX5k RE-1800X4
CB 0 REV 01 750-062257 CAEB8180 SRX5k SCB3
CB 1 REV 01 750-062257 CADZ3334 SRX5k SCB3
FPC 0 REV 18 750-054877 CACJ9834 SRX5k SPC II
CPU BUILTIN BUILTIN SRX5k DPC PPC
PIC 0 BUILTIN BUILTIN SPU Cp
PIC 1 BUILTIN BUILTIN SPU Flow
PIC 2 BUILTIN BUILTIN SPU Flow
PIC 3 BUILTIN BUILTIN SPU Flow
FPC 1 REV 01 750-062243 CAEB0981 SRX5k IOC3 24XGE+6XLG
CPU REV 02 711-062244 CAEA4644 RMPC PMB
PIC 0 BUILTIN BUILTIN 12x 10GE SFP+
Xcvr 0 REV 01 740-031980 AP41BLH SFP+-10G-SR
Xcvr 1 REV 01 740-031980 AQ400SL SFP+-10G-SR
Xcvr 2 REV 01 740-031980 AP422LJ SFP+-10G-SR
Xcvr 3 REV 01 740-021308 AMG0RBT SFP+-10G-SR
Xcvr 9 REV 01 740-021308 MUC2FRG SFP+-10G-SR
PIC 1 BUILTIN BUILTIN 12x 10GE SFP+
PIC 2 BUILTIN BUILTIN 3x 40GE QSFP+
PIC 3 BUILTIN BUILTIN 3x 40GE QSFP+
WAN MEZZ REV 15 750-049136 CAEA4837 MPC5E 24XGE OTN Mezz
FPC 3 REV 11 750-043157 CACA8784 SRX5k IOC II
CPU REV 04 711-043360 CACA8820 SRX5k MPC PMB
MIC 0 REV 05 750-049488 CADF0521 10x 10GE SFP+
PIC 0 BUILTIN BUILTIN 10x 10GE SFP+
Xcvr 0 REV 01 740-030658 AD1130A00PV SFP+-10G-USR
Xcvr 1 REV 01 740-031980 AN40MVV SFP+-10G-SR
Xcvr 2 REV 01 740-021308 CF36KM37B SFP+-10G-SR
Xcvr 3 REV 01 740-021308 AD153830DSZ SFP+-10G-SR
MIC 1 REV 01 750-049487 CABB5961 2x 40GE QSFP+
PIC 2 BUILTIN BUILTIN 2x 40GE QSFP+
Xcvr 1 REV 01 740-032986 QB160513 QSFP+-40G-SR4
FPC 5 REV 02 750-044175 ZY2569 SRX5k SPC II
CPU BUILTIN BUILTIN SRX5k DPC PPC
PIC 0 BUILTIN BUILTIN SPU Flow
PIC 1 BUILTIN BUILTIN SPU Flow
PIC 2 BUILTIN BUILTIN SPU Flow
PIC 3 BUILTIN BUILTIN SPU Flow
Fan Tray Enhanced Fan Tray
C in
PEM 1 Rev 03 740-034701 QCS13090904T PS 1.4-2.6kW; 90-264V A
C in
Routing Engine 0 REV 01 740-056658 9009196496 SRX5k RE-1800X4
CB 0 REV 01 750-062257 CAEC2501 SRX5k SCB3
FPC 0 REV 10 750-056758 CADC8067 SRX5k SPC II
CPU BUILTIN BUILTIN SRX5k DPC PPC
PIC 0 BUILTIN BUILTIN SPU Cp
PIC 1 BUILTIN BUILTIN SPU Flow
PIC 2 BUILTIN BUILTIN SPU Flow
PIC 3 BUILTIN BUILTIN SPU Flow
FPC 2 REV 01 750-062243 CAEE5924 SRX5k IOC3 24XGE+6XLG
CPU REV 01 711-062244 CAEB4890 SRX5k IOC3 PMB
PIC 0 BUILTIN BUILTIN 12x 10GE SFP+
PIC 1 BUILTIN BUILTIN 12x 10GE SFP+
PIC 2 BUILTIN BUILTIN 3x 40GE QSFP+
Xcvr 0 REV 01 740-038623 MOC13156230449 QSFP+-40G-CU1M
Xcvr 2 REV 01 740-038623 MOC13156230449 QSFP+-40G-CU1M
PIC 3 BUILTIN BUILTIN 3x 40GE QSFP+
WAN MEZZ REV 01 750-062682 CAEE5817 24x 10GE SFP+ Mezz
FPC 4 REV 11 750-043157 CACY1595 SRX5k IOC II
CPU REV 04 711-043360 CACZ8879 SRX5k MPC PMB
MIC 1 REV 04 750-049488 CACM6062 10x 10GE SFP+
PIC 2 BUILTIN BUILTIN 10x 10GE SFP+
Xcvr 7 REV 01 740-021308 AD1439301TU SFP+-10G-SR
Xcvr 8 REV 01 740-021308 AD1439301SD SFP+-10G-SR
Xcvr 9 REV 01 740-021308 AD1439301TS SFP+-10G-SR
FPC 5 REV 05 750-044175 ZZ1371 SRX5k SPC II
CPU BUILTIN BUILTIN SRX5k DPC PPC
PIC 0 BUILTIN BUILTIN SPU Flow
PIC 1 BUILTIN BUILTIN SPU Flow
PIC 2 BUILTIN BUILTIN SPU Flow
PIC 3 BUILTIN BUILTIN SPU Flow
Fan Tray Enhanced Fan Tray
node1:
--------------------------------------------------------------------------
Hardware inventory:
Item Version Part number Serial number Description
Chassis JN124FEC0AGB SRX5600
Midplane REV 01 760-063936 ACRE2946 Enhanced SRX5600 Midplane
FPM Board test 710-017254 test Front Panel Display
PEM 0 Rev 01 740-038514 QCS114111003 DC 2.6kW Power Entry
Module
PEM 1 Rev 01 740-038514 QCS12031100J DC 2.6kW Power Entry
Module
Routing Engine 0 REV 01 740-056658 9009186342 SRX5k RE-1800X4
CB 0 REV 01 750-062257 CAEB8178 SRX5k SCB3
FPC 0 REV 07 750-044175 CAAD0769 SRX5k SPC II
CPU BUILTIN BUILTIN SRX5k DPC PPC
PIC 0 BUILTIN BUILTIN SPU Cp
PIC 1 BUILTIN BUILTIN SPU Flow
PIC 2 BUILTIN BUILTIN SPU Flow
PIC 3 BUILTIN BUILTIN SPU Flow
FPC 4 REV 11 750-043157 CACY1592 SRX5k IOC II
CPU REV 04 711-043360 CACZ8831 SRX5k MPC PMB
MIC 1 REV 04 750-049488 CACN0239 10x 10GE SFP+
PIC 2 BUILTIN BUILTIN 10x 10GE SFP+
Xcvr 7 REV 01 740-031980 ARN23HW SFP+-10G-SR
Xcvr 8 REV 01 740-031980 ARN2FVW SFP+-10G-SR
Xcvr 9 REV 01 740-031980 ARN2YVM SFP+-10G-SR
FPC 5 REV 10 750-056758 CADA8736 SRX5k SPC II
CPU BUILTIN BUILTIN SRX5k DPC PPC
PIC 0 BUILTIN BUILTIN SPU Flow
PIC 1 BUILTIN BUILTIN SPU Flow
PIC 2 BUILTIN BUILTIN SPU Flow
PIC 3 BUILTIN BUILTIN SPU Flow
Fan Tray Enhanced Fan Tray
Hardware inventory:
Item Version Part number Serial number Description
Chassis DK2816AR0020 SRX4200
Mainboard REV 01 650-071675 16061032317 SRX4200
Routing Engine 0 BUILTIN BUILTIN SRX Routing Engine
FPC 0 BUILTIN BUILTIN FEB
PIC 0 BUILTIN BUILTIN 8x10G-SFP
Xcvr 0 REV 01 740-038153 MOC11511530020 SFP+-10G-CU3M
Xcvr 1 REV 01 740-038153 MOC11511530020 SFP+-10G-CU3M
Xcvr 2 REV 01 740-038153 MOC11511530020 SFP+-10G-CU3M
Xcvr 3 REV 01 740-038153 MOC11511530020 SFP+-10G-CU3M
Xcvr 4 REV 01 740-021308 04DZ06A00364 SFP+-10G-SR
Xcvr 5 REV 01 740-031980 233363A03066 SFP+-10G-SR
Xcvr 6 REV 01 740-021308 AL70SWE SFP+-10G-SR
Xcvr 7 REV 01 740-031980 ALN0N6C SFP+-10G-SR
Xcvr 8 REV 01 740-030076 APF16220018NK1 SFP+-10G-CU1M
Power Supply 0 REV 04 740-041741 1GA26241849 JPSU-650W-AC-AFO
Power Supply 1 REV 04 740-041741 1GA26241846 JPSU-650W-AC-AFO
Fan Tray 0 SRX4200 0, Front to Back
Airflow - AFO
Fan Tray 1 SRX4200 1, Front to Back
Airflow - AFO
Fan Tray 2 SRX4200 2, Front to Back
Airflow - AFO
Fan Tray 3 SRX4200 3, Front to Back
Airflow - AFO
Output Fields Table 44 on page 725 lists the output fields for the show ethernet-switching
mac-learning-log command. Output fields are listed in the approximate order in which
they appear.
Date and Time Timestamp when the MAC address was added or deleted from the log.
VLAN-IDX VLAN index. An internal value assigned by Junos OS for each VLAN.
Deleted | Added MAC address deleted or added to the MAC learning log.
Sample Output
Options • none—(Optional) Display brief information about the Ethernet switching table.
Output Fields Table 45 on page 727 lists the output fields for the show ethernet-switching table command.
Output fields are listed in the approximate order in which they appear.
Age The time remaining before the entry ages out and is removed from the Ethernet switching
table.
Interfaces Interface associated with learned MAC addresses or All-members (flood entry).
Learned For learned entries, the time which the entry was added to the Ethernet switching table.
Sample Output
Sample Output
Sample Output
Interface(s): Router
Type: Static
T10, 00:00:5E:00:53:AI
Interface(s): ge-0/0/46.0
Type: Learn, Age: 0, Learned: 2:03:08
T10, 00:00:5E:00:53:AJ
Interface(s): Router
Type: Static
T111, *
Interface(s): ge-0/0/15.0
Type: Flood
[output truncated]
Sample Output
T10, 00:00:5E:00:53:AJ
Interface(s): Router
Type: Static
T111, *
Interface(s): ge-0/0/15.0
Type: Flood
[output truncated]
Sample Output
• vlan vlan-id |vlan-name—(Optional) Display route information for the specified VLAN.
Output Fields Table 46 on page 732 lists the output fields for the show igmp-snooping route command.
Output fields are listed in the approximate order in which they appear.
Sample Output
Description Display status information and statistics about interfaces on SRX Series appliance running
Junos OS.
On SRX Series appliance, on configuring identical IPs on a single interface, you will not
see a warning message; instead, you will see a syslog message.
• ct1-pim/0/port—Channelized T1 interface.
• e1-pim/0/port—E1 interface.
• e3-pim/0/port—E3 interface.
• se-pim/0/port—Serial interface.
Output Fields Table 47 on page 737 lists the output fields for the show interfaces command. Output
fields are listed in the approximate order in which they appear.
Physical Interface
Physical interface Name of the physical interface. All levels
Interface index Index number of the physical interface, which reflects its initialization sequence. detail extensive none
SNMP ifIndex SNMP index number for the physical interface. detail extensive none
Link-level type Encapsulation being used on the physical interface. All levels
Generation Unique number for use by Juniper Networks technical support only. detail extensive
MTU Maximum transmission unit size on the physical interface. All levels
BPDU error Bridge protocol data unit (BPDU) error: Detected or None
Loopback Loopback status: Enabled or Disabled. If loopback is enabled, type of loopback: All levels
Local or Remote.
Auto-negotiation (Gigabit Ethernet interfaces) Autonegotiation status: Enabled or Disabled. All levels
Last flapped Date, time, and how long ago the interface went from down to up. The format detail extensive none
is Last flapped: year-month-day hour:minute:second:timezone (hour:minute:second
ago). For example, Last flapped: 2002-04-26 10:52:40 PDT (04:33:20 ago).
Input Rate Input rate in bits per second (bps) and packets per second (pps). None
Active alarms and Ethernet-specific defects that can prevent the interface from passing packets. detail extensive none
Active defects When a defect persists for a certain amount of time, it is promoted to an alarm.
These fields can contain the value None or Link.
Statistics last cleared Time when the statistics for the interface were last set to zero. detail extensive
Traffic statistics Number and rate of bytes and packets received and transmitted on the physical detail extensive
interface.
• Carrier transitions—Number of times the interface has gone from down to up.
This number does not normally increment quickly, increasing only when the
cable is unplugged, the far-end system is powered down and then up, or
another problem occurs. If the number of carrier transitions increments quickly
(perhaps once every 10 seconds), the cable, the far-end system, or the PIC
or PIM is malfunctioning.
• Errors—Sum of the outgoing frame aborts and FCS errors.
• Drops—Number of packets dropped by the output queue of the I/O Manager
ASIC. If the interface is saturated, this number increments once for every
packet that is dropped by the ASIC's RED mechanism.
• Collisions—Number of Ethernet collisions. The Gigabit Ethernet PIC supports
only full-duplex operation; therefore, for Gigabit Ethernet PICs, this number
must always remain 0. If it is nonzero, there is a software bug.
• Aged packets—Number of packets that remained in shared packet SDRAM
so long that the system automatically purged them. The value in this field
must never increment. If it does, it is most likely a software bug or possibly
malfunctioning hardware.
• FIFO errors—Number of FIFO errors in the send direction as reported by the
ASIC on the PIC. If this value is ever nonzero, the PIC is probably
malfunctioning.
• HS link CRC errors—Number of errors on the high-speed links between the
ASICs responsible for handling the interfaces.
• MTU errors—Number of packets whose size exceeded the MTU of the interface.
• Resource errors—Sum of transmit drops.
Ingress queues Total number of ingress queues supported on the specified interface. extensive
Queue counters and CoS queue number and its associated user-configured forwarding class name. detail extensive
queue number
• Queued packets—Number of queued packets.
• Transmitted packets—Number of transmitted packets.
• Dropped packets—Number of packets dropped by the ASIC's RED mechanism.
MAC statistics Receive and Transmit statistics reported by the PIC's MAC subsystem, including extensive
the following:
• Jabber frames—Number of frames that were longer than 1518 octets (excluding
framing bits, but including FCS octets), and had either an FCS error or an
alignment error. This definition of jabber is different from the definition in
IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). These
documents define jabber as the condition in which any packet exceeds 20
ms. The allowed range to detect jabber is from 20 ms to 150 ms.
• Fragment frames—Total number of packets that were less than 64 octets in
length (excluding framing bits, but including FCS octets) and had either an
FCS error or an alignment error. Fragment frames normally increment because
both runts (which are normal occurrences caused by collisions) and noise
hits are counted.
• VLAN tagged frames—Number of frames that are VLAN tagged. The system
uses the TPID of 0x8100 in the frame to determine whether a frame is tagged
or not.
• Code violations—Number of times an event caused the PHY to indicate “Data
reception error” or “invalid data symbol error.”
Filter statistics Receive and Transmit statistics reported by the PIC's MAC address filter extensive
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.
Packet Forwarding Information about the configuration of the Packet Forwarding Engine: extensive
Engine configuration
• Destination slot—FPC slot number.
CoS information Information about the CoS queue for the physical interface. extensive
Interface transmit Status of the interface-transmit-statistics configuration: Enabled or Disabled. detail extensive
statistics
Queue counters CoS queue number and its associated user-configured forwarding class name. detail extensive
(Egress)
• Queued packets—Number of queued packets.
• Transmitted packets—Number of transmitted packets.
• Dropped packets—Number of packets dropped by the ASIC's RED mechanism.
Logical Interface
Logical interface Name of the logical interface. All levels
Index Index number of the logical interface, which reflects its initialization sequence. detail extensive none
SNMP ifIndex SNMP interface index number for the logical interface. detail extensive none
Generation Unique number for use by Juniper Networks technical support only. detail extensive
Traffic statistics Number and rate of bytes and packets received and transmitted on the specified detail extensive
interface set.
Local statistics Number and rate of bytes and packets destined to the device. extensive
Transit statistics Number and rate of bytes and packets transiting the switch. extensive
NOTE: For Gigabit Ethernet intelligent queuing 2 (IQ2) interfaces, the logical
interface egress statistics might not accurately reflect the traffic on the wire
when output shaping is applied. Traffic management output shaping might
drop packets after they are tallied by the Output bytes and Output packets
interface counters. However, correct values display for both of these egress
statistics when per-unit scheduling is enabled for the Gigabit Ethernet IQ2
physical interface, or when a single logical interface is actively using a shared
scheduler.
MTU Maximum transmission unit size on the logical interface. detail extensive none
Generation Unique number for use by Juniper Networks technical support only. detail extensive
Route Table Route table in which the logical interface address is located. For example, 0 detail extensive none
refers to the routing table inet.0.
Addresses, Flags Information about the address flags.. detail extensive none
Destination IP address of the remote side of the connection. detail extensive none
Generation Unique number for use by Juniper Networks technical support only. detail extensive
Sample Output
Sample Output
Sample Output
0 best-effort 0 0 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
Logical interface ge-0/0/1.0 (Index 71) (SNMP ifIndex 514) (Generation 136)
Flags: Device-Down SNMP-Traps 0x0 Encapsulation: ENET2
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Sample Output
0 best-effort 0 0 0
1 expedited-fo 0 0 0
2 assured-forw 0 0 0
3 network-cont 0 0 0
Destination slot: 0
CoS information:
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
Logical interface ge-0/0/1.0 (Index 71) (SNMP ifIndex 514) (Generation 136)
Flags: Device-Down SNMP-Traps 0x0 Encapsulation: ENET2
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Security: Zone: public
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1500, Generation: 150, Route table: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
Destination: 1.1.1/24, Local: 1.1.1.1, Broadcast: 1.1.1.255,
Generation: 150
Sample Output
Sample Output
ds-1/2/3:1 up up
ds-1/2/3:2 up up
Sample Output
Sample Output
Sample Output
Sample Output
Sample Output
Sample Output
Sample Output
SEFS: 0, UAS: 0
17:13-17:28:
LCV: 0, PCV: 0, CCV: 0, LES: 0, PES: 0, PSES: 0, CES: 0, CSES: 0,
SEFS: 0, UAS: 0
16:58-17:13:
LCV: 0, PCV: 0, CCV: 0, LES: 0, PES: 0, PSES: 0, CES: 0, CSES: 0,
SEFS: 0, UAS: 0
16:43-16:58:
LCV: 0, PCV: 0, CCV: 0, LES: 0, PES: 0, PSES: 0, CES: 0, CSES: 0,
...
Interval Total:
LCV: 230, PCV: 1145859, CCV: 455470, LES: 0, PES: 230, PSES: 230,
CES: 230, CSES: 230, SEFS: 230, UAS: 238
Sample Output
Sample Output
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):
Sample Output
iso
so-2/1/0 up down
...
Sample Output
The following truncated example shows the CoS queue sizes for queues 0, 1, and 3. Queue
1 has a queue buffer size (guaranteed allocated memory) of 9192 bytes.
..
Queue: 3, Forwarding classes: class3
Queued:
..
..
Queue Buffer Usage:
Reserved buffer : 6250000 bytes
Queue-depth bytes :
Current : 0
..
..
Sample Output
ae0
ae1
ae2
ae3
ae4
Interface : rlsq0:0
State : On primary
Last change : 00:45:46
Primary : lsq-0/2/0:0
Secondary : lsq-1/2/0:0
Current status : both up
Mode : warm-standby
Sample Output
Sample Output
Sample Output
Sample Output
Sample Output
Sample Output
Sample Output
OTU-BBE 0 800 No No
OTU-ES 0 135 No No
OTU-SES 0 90 No No
OTU-UAS 427 90 No No
Far End Suspect Flag:True Reason:Unknown
PM COUNT THRESHOLD TCA-ENABLED TCA-RAISED
OTU-BBE 0 800 No No
OTU-ES 0 135 No No
OTU-SES 0 90 No No
OTU-UAS 0 90 No No
Near End Suspect Flag:False Reason:None
PM COUNT THRESHOLD TCA-ENABLED TCA-RAISED
ODU-BBE 0 800 No No
ODU-ES 0 135 No No
ODU-SES 0 90 No No
ODU-UAS 427 90 No No
Far End Suspect Flag:True Reason:Unknown
PM COUNT THRESHOLD TCA-ENABLED TCA-RAISED
ODU-BBE 0 800 No No
ODU-ES 0 135 No No
ODU-SES 0 90 No No
ODU-UAS 0 90 No No
FEC Suspect Flag:False Reason:None
PM COUNT THRESHOLD TCA-ENABLED TCA-RAISED
FEC-CorrectedErr 2008544300 0 NA NA
FEC-UncorrectedWords 0 0 NA NA
BER Suspect Flag:False Reason:None
PM MIN MAX AVG THRESHOLD TCA-ENABLED
TCA-RAISED
BER 3.6e-5 5.8e-5 3.6e-5 10.0e-3 No
Yes
Physical interface: et-0/1/0, SNMP ifIndex 515
14:45-current
Suspect Flag:True Reason:Object Disabled
PM CURRENT MIN MAX AVG THRESHOLD
TCA-ENABLED TCA-RAISED
(MIN)
(MAX) (MIN) (MAX) (MIN) (MAX)
Lane chromatic dispersion 0 0 0 0 0
0 NA NA NA NA
Lane differential group delay 0 0 0 0 0
0 NA NA NA NA
q Value 120 120 120 120 0
0 NA NA NA NA
SNR 28 28 29 28 0
0 NA NA NA NA
Sample Output
Description Display diagnostics data and alarms for Gigabit Ethernet optical transceivers (SFP)
installed in SRX Series Services Gateways. The information provided by this command
is known as digital optical monitoring (DOM) information.
Thresholds that trigger a high alarm, low alarm, high warning, or low warning are set by
the transponder vendors. Generally, a high alarm or low alarm indicates that the optics
module is not operating properly. This information can be used to diagnose why a
transceiver is not working.
Options interface-name—Name of the interface associated with the port in which the transceiver
is installed: ge-fpc/pic/port .
Output Fields Table 48 on page 766 lists the output fields for the show interfaces diagnostics optics
command. Output fields are listed in the general order in which they appear.
Laser bias current Displays the magnitude of the laser bias power setting
current, in milliamperes. The laser bias provides direct
modulation of laser diodes and modulates currents.
Laser output power Displays the laser output power, in milliwatts (mW) and
decibels referred to 1.0 mW (dBm).
Receiver signal average optical power Displays the receiver signal average optical power, in
milliwatts (mW) and decibels referred to 1.0 mW (dBm).
Laser bias current high alarm Displays whether the laser bias power setting high alarm
is On or Off.
Laser bias current low alarm Displays whether the laser bias power setting low alarm
is On or Off.
Laser bias current high warning Displays whether the laser bias power setting high warning
is On or Off.
Laser bias current low warning Displays whether the laser bias power setting low warning
is On or Off.
Laser output power high alarm Displays whether the laser output power high alarm is On
or Off.
Laser output power low alarm Displays whether the laser output power low alarm is On
or Off.
Laser output power high warning Displays whether the laser output power high warning is
On or Off.
Laser output power low warning Displays whether the laser output power low warning is
On or Off.
Module temperature high alarm Displays whether the module temperature high alarm is
On or Off.
Module temperature low alarm Displays whether the module temperature low alarm is On
or Off.
Module temperature high warning Displays whether the module temperature high warning
is On or Off.
Module temperature low warning Displays whether the module temperature low warning is
On or Off.
Module voltage high alarm Displays whether the module voltage high alarm is On or
Off.
Module voltage low alarm Displays whether the module voltage low alarm is On or
Off.
Module voltage high warning Displays whether the module voltage high warning is On
or Off.
Module voltage low warning Displays whether the module voltage low warning is On or
Off.
Laser rx power high alarm Displays whether the receive laser power high alarm is On
or Off.
Laser rx power low alarm Displays whether the receive laser power low alarm is On
or Off.
Laser rx power high warning Displays whether the receive laser power high warning is
On or Off.
Laser rx power low warning Displays whether the receive laser power low warning is
On or Off.
Laser bias current high alarm Displays the vendor-specified threshold for the laser bias
threshold current high alarm.
Laser bias current low alarm threshold Displays the vendor-specified threshold for the laser bias
current low alarm.
Laser bias current high warning Displays the vendor-specified threshold for the laser bias
threshold current high warning.
Laser bias current low warning Displays the vendor-specified threshold for the laser bias
threshold current low warning.
Laser output power high alarm Displays the vendor-specified threshold for the laser output
threshold power high alarm.
Laser output power low alarm Displays the vendor-specified threshold for the laser output
threshold power low alarm.
Laser output power high warning Displays the vendor-specified threshold for the laser output
threshold power high warning.
Laser output power low warning Displays the vendor-specified threshold for the laser output
threshold power low warning.
Module temperature high alarm Displays the vendor-specified threshold for the module
threshold temperature high alarm.
Module temperature low alarm Displays the vendor-specified threshold for the module
threshold temperature low alarm.
Module temperature high warning Displays the vendor-specified threshold for the module
threshold temperature high warning.
Module temperature low warning Displays the vendor-specified threshold for the module
threshold temperature low warning.
Module voltage high alarm threshold Displays the vendor-specified threshold for the module
voltage high alarm.
Module voltage low alarm threshold Displays the vendor-specified threshold for the module
voltage low alarm.
Module voltage high warning Displays the vendor-specified threshold for the module
threshold voltage high warning.
Module voltage low warning threshold Displays the vendor-specified threshold for the module
voltage low warning.
Laser rx power high alarm threshold Displays the vendor-specified threshold for the laser rx
power high alarm.
Laser rx power low alarm threshold Displays the vendor-specified threshold for the laser rx
power low alarm.
Laser rx power high warning threshold Displays the vendor-specified threshold for the laser rx
power high warning.
Laser rx power low warning threshold Displays the vendor-specified threshold for the laser rx
power low warning.
Sample Output
Options Interface-name —(Optional) Display flow statistics about the specified interface. Following
is a list of typical interface names. Replace pim with the PIM slot and port with the port
number. For a complete list, see the “Interface Naming Conventions” on page 9.
• ce1-pim/0/port—Channelized E1 interface.
• ct1-pim/0/port—Channelized T1 interface.
• e1-pim/0/port—E1 interface.
• e3-pim/0/port—E3 interface.
• se-pim/0/port—Serial interface.
List of Sample Output show interfaces flow-statistics (Gigabit Ethernet) on page 774
Output Fields Table 49 on page 772 lists the output fields for the show interfaces flow-statistics
command. Output fields are listed in the approximate order in which they appear.
Traffic statistics Number of packets and bytes transmitted and received on the physical interface.
Local statistics Number of packets and bytes transmitted and received on the physical interface.
Transit statistics Number of packets and bytes transiting the physical interface.
Flow error statistics Packet drop statistics for the flow module.
Table 50: Flow Error Statistics (Packet Drop Statistics for the Flow Module)
Screen:
Address spoofing The packet was dropped when the screen module detected address spoofing.
Syn-attack protection The packet was dropped because of SYN attack protection or SYN cookie protection.
VPN:
Authentication failed The packet was dropped because the IPsec Encapsulating Security Payload (ESP) or
Authentication Header (AH) authentication failed.
No SA for incoming SPI The packet was dropped because the incoming IPsec packet's security parameter index
(SPI) does not match any known SPI.
Security association not active The packet was dropped because an IPsec packet was received for an inactive SA.
NAT:
Incoming NAT errors The source NAT rule search failed, an invalid source NAT binding was found, or the NAT
allocation failed.
Multiple incoming NAT Sometimes packets are looped through the system more than once; if source NAT is specified
more than once, the packet will be dropped.
Auth:
Multiple user authentications Sometimes packets are looped through the system more than once. Each time a packet
passes through the system, that packet must be permitted by a policy. If the packet matches
more than one policy that specifies user authentication, then it will be dropped.
Table 50: Flow Error Statistics (Packet Drop Statistics for the Flow Module) (continued)
User authentication errors Packet was dropped because policy requires authentication; however:
Flow:
No one interested in self packets This counter is incremented for one of the following reasons:
• The outbound interface is a self interface, but the packet is not marked as a to-self packet
and the destination address is in a source NAT pool.
• No service is interested in the to-self packet
• When a zone has ident-reset service enabled, the TCP RST to IDENT request for port 113
is sent back and this counter is incremented.
No minor session The packet was dropped because no minor sessions are available and a minor session was
requested. Minor sessions are allocated for storing additional TCP state information.
No more sessions The packet was dropped because there were no more free sessions available.
No route present The packet was dropped because a valid route was not available to forward the packet.
For new sessions, the counter is incremented for one of the following reasons:
For existing sessions, the prior route was changed or deleted, or a more specific route was
added. The session is rerouted, and this reroute could fail because:
• A new route could not be found; either the previous route was removed, or the route was
changed to discard or reject.
• Multiple packets may concurrently force rerouting to occur, and only one packet can
successfully complete the rerouting process. Other packets will be dropped.
• The route table was locked for updates by the Routing Engine. Packets that match a new
session are retried, whereas packets that match an existing session are not.
No tunnel found The packet was dropped because a valid tunnel could not be found
No session for a gate This counter is incremented when a packet is destined for an ALG, and the ALG decides to
drop this packet.
No zone or NULL zone binding The packet was dropped because its incoming interface was not bound to any zone.
Policy denied The error counter is incremented for one of the following reasons:
• Source and/or destination NAT has occurred and policy says to drop the packet.
• Policy specifies user authentication, which failed.
• Policy was configured to deny this packet.
Table 50: Flow Error Statistics (Packet Drop Statistics for the Flow Module) (continued)
TCP sequence number out of A TCP packet with a sequence number failed the TCP sequence number check that was
window received.
No NAT gate -
Sample Output
Options none—Show detailed CoS queue statistics for all physical interfaces.
l2-statistics—(Optional) Display Layer 2 statistics for MLPPP, FRF.15, and FRF.16 bundles.
Output Fields Table 51 on page 776 lists the output fields for the show interfaces queue command. Output
fields are listed in the approximate order in which they appear.
Enabled State of the interface. Possible values are described in the “Enabled Field” section under Common
Output Fields Description.
Interface index Index number of the physical interface. The number reflects the interface’s initialization sequence.
Forwarding classes Total number of forwarding classes supported on the specified interface.
supported
Forwarding classes in Total number of forwarding classes in use on the specified interface.
use
Egress queues Total number of egress queues supported on the specified interface.
supported
Egress queues in use Total number of egress queues in use on the specified interface.
The following output fields are applicable to both the interface component and Packet Forwarding Engine component in the
show interfaces queue command:
Transmitted Packets Number of packets transmitted by this queue. When fragmentation occurs on the egress interface,
the first set of packet counters shows the postfragmentation values. The second set of packet counters
(displayed under the Packet Forwarding Engine Chassis Queues field) shows the prefragmentation
values.
RED-dropped packets Number of packets dropped because of random early detection (RED).
Queue Buffer Usage: • Reserved buffer—The size of the memory buffer that is allocated for storing packets
• Current—The amount of buffer memory that is currently in use on this queue.
Sample Output
The following truncated example shows the CoS queue sizes for queues 0, 1, and 3. Queue
1 has a queue buffer size (guaranteed allocated memory) of 9192 bytes.
..
Queue Buffer Usage:
Reserved buffer : 6250000 bytes
Queue-depth bytes :
Current : 0
..
..
Description Displays the interface input and output statistics for physical and logical interface.
Sample Output
Sample Output
Output Fields Table 52 on page 782 lists the output fields for the show ipv6 neighbors command. Output
fields are listed in the approximate order in which they appear.
State State of the link: up, down, incomplete, reachable, stale, or unreachable.
Secure Whether this entry was created using the Secure Neighbor Discovery (SEND) protocol:
yes or no.
Sample Output
Description Display Link Aggregation Control Protocol (LACP) information about the specified
aggregated Ethernet interface, redundant Ethernet interface, Gigabit Ethernet interface,
or 10-Gigabit Ethernet interface. If you do not specify an interface name, LACP information
for all interfaces is displayed.
• Aggregated Ethernet—aenumber
• Redundant Ethernet—rethnumber
• Gigabit Ethernet—ge-fpc/pic/port
• 10-Gigabit Ethernet—xe-fpc/pic/port
NOTE: The show lacp interfaces command returns the following error message
if your system is not configured in either active or passive LACP mode:
List of Sample Output show lacp interfaces (Aggregated Ethernet) on page 786
show lacp interfaces (Redundant Ethernet) on page 787
show lacp interfaces (Gigabit Ethernet) on page 787
Output Fields Table 53 on page 785 lists the output fields for the show lacp interfaces command. Output
fields are listed in the approximate order in which they appear.
• Exp—Expired state. Yes indicates the actor or partner is in an expired state. No indicates the actor
or partner is not in an expired state.
• Def—Default. Yes indicates that the actor’s receive machine is using the default operational partner
information, administratively configured for the partner. No indicates the operational partner
information in use has been received in a link aggregation control protocol data unit (PDU).
• Dist—Distribution of outgoing frames. No indicates distribution of outgoing frames on the link is
currently disabled and is not expected to be enabled. Otherwise, the value is Yes.
• Col—Collection of incoming frames. Yes indicates collection of incoming frames on the link is
currently enabled and is not expected to be disabled. Otherwise, the value is No.
• Syn—Synchronization. If the value is Yes, the link is considered synchronized. It has been allocated
to the correct link aggregation group, the group has been associated with a compatible aggregator,
and the identity of the link aggregation group is consistent with the system ID and operational key
information transmitted. If the value is No, the link is not synchronized. It is currently not in the right
aggregation.
• Aggr—Ability of aggregation port to aggregate (Yes) or to operate only as an individual link (No).
• Timeout—LACP timeout preference. Periodic transmissions of link aggregation control PDUs occur
at either a slow or fast transmission rate, depending upon the expressed LACP timeout preference
(Long Timeout or Short Timeout).
• Activity—Actor or partner’s port activity. Passive indicates the port’s preference for not transmitting
link aggregation control PDUs unless its partner’s control value is Active. Active indicates the port’s
preference to participate in the protocol regardless of the partner’s control value.
• Link state (active or standby) indicated in parentheses next to the interface when link protection
is configured.
• Receive State—One of the following values:
• Current—The state machine receives a link aggregation control PDU and enters the Current state.
• Defaulted—If no link aggregation control PDU is received before the timer for the Current state
expires a second time, the state machine enters the Defaulted state.
• Expired—If no link aggregation control PDU is received before the timer for the Current state
expires once, the state machine enters the Expired state.
• Initialize—When the physical connectivity of a link changes or a Begin event occurs, the state
machine enters the Initialize state.
• LACP Disabled—If the port is operating in half duplex, the operation of LACP is disabled on the
port, forcing the state to LACP Disabled. This state is similar to the Defaulted state, except that
the port is forced to operate as an individual port.
• Port Disabled—If the port becomes inoperable and a Begin event has not occurred, the state
machine enters the Port Disabled state.
• Mux State—State of the multiplexer state machine for the aggregation port. The state is one of the
following values:
• Attached—Multiplexer state machine initiates the process of attaching the port to the selected
aggregator.
• Collecting Distributing—Collecting and distributing states are merged together to form a combined
state (coupled control). Because independent control is not possible, the coupled control state
machine does not wait for the partner to signal that collection has started before enabling both
collection and distribution.
• Detached—Process of detaching the port from the aggregator is in progress.
• Waiting—Multiplexer state machine is in a holding process, awaiting an outcome.
Sample Output
Supported Platforms EX Series, MX Series, NFX Series, OCX1100, PTX Series, QFabric System, QFX Series, T Series
Description Display Link Aggregation Control Protocol (LACP) statistics about the specified
aggregated Ethernet interface or redundant Ethernet interface. If you do not specify an
interface name, LACP statistics for all interfaces are displayed.
• Verifying That LACP Is Configured Correctly and Bundle Members Are Exchanging LACP
Protocol Packets
• Example: Configuring Link Aggregation Between a QFX Series Product and an Aggregation
Switch
• Example: Configuring Link Aggregation with LACP Between a QFX Series Product and an
Aggregation Switch
Output Fields Table 54 on page 788 lists the output fields for the show lacp statistics interfaces command.
Output fields are listed in the approximate order in which they appear.
• LACP Rx—LACP received counter that increments for each normal hello.
• LACP Tx—Number of LACP transmit packet errors logged.
• Unknown Rx—Number of unrecognized packet errors logged.
• Illegal Rx—Number of invalid packets received.
Sample Output
Options • interface-name—The LTE interface is cl-x/0/0, where x is the slot number in which the
LTE Mini-PIM is installed.
Output Fields Table 55 on page 790 lists some of the output fields for the show modem wireless firmware
command. Output fields are listed in the approximate order in which they appear.
LTE mPIM firmware Displays the details of the firmware installed on the LTE Mini-PIM.
details
OTA status Displays the status of over-the-air (OTA) upgrade. The OTA upgrade can be enabled or disabled on the
LTE Mini-PIM. OTA upgrade is disabled by default.
• SIM user operation needed—Action required by the user. This can be one of the following:
• No op—No user operation required.
• Enter PIN—Enter the personal identification number (PIN) to unlock the SIM card.
• Enter PUK—Enter the PUK to unblock the SIM card.
• Retries remaining—If the value of SIM user operation needed is Enter PIN, this is the number of PIN
unlock attempts remaining before the modem is blocked. If the PIN is entered incorrectly three
consecutive times, the SIM card is blocked.
If the value of SIM user operation needed is Enter PUK, this is the number of unblock attempts remaining
before the modem is unusable. If the PUK is entered incorrectly ten times, the SIM card must be
returned to the service provider for reactivation.
Sample Output
Description Display the status of the modem and the status of the network connection for the LTE
Mini-PIM.
Options • interface-name—The LTE interface is cl-x/0/0, where x is the slot number in which the
LTE Mini-PIM is installed.
Output Fields Table 56 on page 793 lists some of the output fields for the show modem wireless network
command. Output fields are listed in the approximate order in which they appear.
Current Modem Status Status of the modem on the Mini-PIM. The status can be one of the following states:
• Disconnected
• Calling
• Connected
Current Service Status Status of the network connection. The status can be one of the following states:
• Normal
• Emergency Call Only
• No Service Available
• Unable To Register
• Forbidden PLMN
• Forbidden Area
• Roaming Not Permitted
• Account Not Permitted
• Modem Not Permitted
• Unknown IMSI
• Authentication Failure
• Unknown
• LTE
• DC-HSPA+
• HSPA+
• HSPA
• UMTS
Mobile Country Code (MCC) Number that uniquely identifies the country.
Mobile Network Code Number that uniquely identifies a network within a country.
Sample Output
Options • interface-name—The LTE interface is cl-x/0/0, where x is the slot number in which the
LTE Mini-PIM is installed.
• slot-number—The slot in which the SIM card is inserted. The value can be either 1 or 2.
Output Fields Table 56 on page 793 lists some of the output fields for the show modem wireless profiles
command. Output fields are listed in the approximate order in which they appear.
Max profiles The maximum number of profiles available for each SIM card. This value is always 16.
The LTE Mini-PIM supports two SIM cards and so you can configure a total of 32 profiles,
although only one profile can be active at a time.
Default profile Id The profile used to connect to the network when there is no profile selected. The default
profile ID is always 1.
Sample Output
Profile details
Max profiles: 16
Default profile Id: 1
Profile 1: ACTIVE
Valid: TRUE
Access point name (APN): ctnet
Authentication: None
Profile 2: Inactive
Valid: TRUE
Username: myuser
Password: 123456
Access point name (APN): testapn
Authentication: PAP
Profile 3: Invalid
Profile 4: Invalid
Profile 5: Invalid
Profile 6: Invalid
Profile 7: Invalid
Profile 8: Invalid
Profile 9: Invalid
Profile 10: Invalid
Profile 11: Invalid
Profile 12: Invalid
Profile 13: Invalid
Profile 14: Invalid
Profile 15: Invalid
Profile 16: Invalid
Release Information Statement for SRX Series devices introduced in Junos OS Release 9.5.
Description Display Operation, Administration, and Maintenance (OAM) link fault management (LFM)
information for Ethernet interfaces.
• Understanding Ethernet OAM Link Fault Management for SRX Series Services Gateways
on page 347
List of Sample Output show oam ethernet link-fault-management brief on page 802
show oam ethernet link-fault-management detail on page 802
Output Fields Table 58 on page 798 lists the output fields for the show oam ethernet
link-fault-management command. Output fields are listed in the approximate order in
which they appear.
• Passive Wait
• Send Any
• Send Local Remote
• Send Local Remote Ok
Remote loopback An OAM entity can put its remote peer into loopback mode using the Loopback All levels
status control OAM PDU. In loopback mode, every frame received is transmitted back
on the same port (except for OAM PDUs, which are needed to maintain the
OAM session).
The protocol default value is the number of symbols that can be received in
one second on the underlying physical layer.
Threshold Number of errored symbols in the period required for the event to be generated. detail
Errors in period Number of symbol errors in the period reported in the received event PDU. detail
Total errors Number of errored symbols that have been reported in received event TLVs detail
after the OAM sublayer was reset.
Window Duration of the window in terms of the number of 100 ms period intervals. detail
Threshold Number of detected errored frames required for the event to be generated. detail
Total errors Number of errored frames that have been reported in received event TLVs after detail
the OAM sublayer was reset.
Total errors Number of frame seconds errors that have been reported in received event TLVs detail
after the OAM sublayer was reset.
Window The symbol error event window in the transmitted PDU. detail
Threshold Number of errored symbols in the period required for the event to be generated. detail
Errors in period Number of symbol errors in the period reported in the transmitted event PDU. detail
Total errors Number of errored symbols reported in event TLVs that have been transmitted detail
after the OAM sublayer was reset.
Window Duration of the window in terms of the number of 100-ms period intervals. detail
Threshold Number of detected errored frames required for the event to be generated. detail
Total errors Number of errored frames that have been detected after the OAM sublayer was detail
reset.
Sample Output
Description Display the status of the Power over Ethernet (PoE) controller.
Output Fields Table 59 on page 803 lists the output fields for the show poe controller command. Output
fields are listed in the approximate order in which they appear.
Maximum-power Specifies the maximum power that can be provided by the SRX Series device to
PoE ports.
Power-consumption Specifies the total amount of power allocated to the PoE ports.
Sample Output
extensive—(Optional) Display information about the number of packets sent and received
and the number of timeouts during a PPPoE session.
pp0.logical—(Optional) Name of an interface. The logical unit number for static interfaces
can be a value from 0 through 16,385. The logical unit number for dynamic interfaces
can be a value from 1,073,741,824 through the maximum number of logical interfaces
supported on your SRX300, SRX320, and SRX340, and SRX550M devices.
Output Fields Table 60 on page 804 lists the output fields for the show pppoe interfaces command.
Output fields are listed in the approximate order in which they appear.
Index Index number of the logical interface, which reflects its initialization sequence.
Service name Type of service required (can be used to indicate an ISP name, a class, or quality of service).
Remote MAC MAC address of the remote side of the connection, either the access concentrator or the PPPoE
address or Remote client.
MAC
Auto-reconnect Timeout value for reconnecting after a PPPoE session is terminated (in seconds).
timeout
Idle timeout Length of time (in seconds) that a connection can be idle before disconnecting.
Session uptime Length of time the session has been up, in hh:mm:ss.
Ignore End-Of-List Disables the End-of-List tag to continue processing of other tags after the End-of-List tag in a
tag PPPoE Active Discovery Offer (PADO) packet.
Packet Type Number of packets sent and received during the PPPoE session, categorized by packet type and
packet errors:
Sample Output
PADI 1 0
PADO 0 1
PADR 1 0
PADS 0 1
PADT 0 0
Service name error 0 0
AC system error 0 0
Generic error 0 0
Malformed packets 0 0
Unknown packets 0 0
Timeout
PADI 0
PADO 0
PADR 0
Receive Error Counters
PADI 0
PADO 0
PADR 0
PADS 0
Output Fields Table 61 on page 808 lists the output fields for the show pppoe statistics command. Output
fields are listed in the approximate order in which they appear.
Packet Type Number of packets sent and received during the PPPoE session, categorized by packet type and
packet errors:
Receive Error Counters Error counters received during the PPPoE session:
Sample Output
Description Display a history of power consumption on the specified interface. Telemetries must be
enabled on the interface before you can display a history of power consumption.
• count number—Display the specified number of telemetries records for the specified
PoE interface.
Output Fields Table 62 on page 810 lists the output fields for the show poe telemetries interface
command. Output fields are listed in the approximate order in which they appear.
S1 No Number of the record for the specified port. The last record is the most is the most recent.
Power Amount of power provided by the specified port at the time the data was gathered.
Voltage Voltage on the specified port at the time the data was gathered.
Sample Output
Release Information Command introduced in Junos OS Release 10.4. The inline-jflow and fpc-slot options are
added in Junos OS Release 12.1X45-D10.
• fpc-slot slot number— Display Flexible PIC Concentrator (FPC) slot for inline flow
monitoring.
• fpc-slot slot number— Display Flexible PIC Concentrator (FPC) slot for inline flow
monitoring.
• fpc-slot slot number— Display Flexible PIC Concentrator (FPC) slot for inline flow
monitoring.
List of Sample Output show services accounting status inline-jflow on page 813
show services accounting errors inline-jflow on page 813
show service accounting flow inline-jflow on page 813
Output Fields Lists the output fields for the show services accounting command.
Sample Output
IPv4 Errors:
IPv4 Flow Creation Failures: 0
IPv4 Route Record Lookup Failures: 0
IPv4 AS Lookup Failures: 0
IPv4 Export Packet Failures: 0
IPv6 Errors:
IPv6 Flow Creation Failures: 0
IPv6 Route Record Lookup Failures: 0
IPv6 AS Lookup Failures: 0
IPv6 Export Packet Failures: 0
IPv4 Flows:
IPv4 Flow Packets: 1 IPv4 Flow Bytes: 0
IPv4 Active Flows: 1 IPv4 Total Flows: 1
IPv4 Flows Exported: 0 IPv4 Flow Packets Exported: 132
IPv4 Flows Inactive Timed Out: 0 IPv4 Flows Active Timed Out: 1
IPv6 Flows:
IPv6 Flow Packets: 1 IPv6 Flow Bytes: 0
IPv6 Active Flows: 0 IPv6 Total Flows: 1
IPv6 Flows Exported: 0 IPv6 Flow Packets Exported: 99
IPv6 Flows Inactive Timed Out: 1 IPv6 Flows Active Timed Out: 1