JUNOS Internet Software Configuration Guide: Interfaces and Class of Service

About This Manual
Objectives
Audience
Document Organization
Part Organization
Using the Indexes
Documentation Conventions
General Conventions
Conventions for Software Commands and Statements
List of Technical Publications
Documentation Feedback
How to Request Support
Interfaces and Class of Service Overview
Interfaces and Class of Service Configuration Statements
[edit class-of-service] Hierarchy Level
[edit interfaces] Hierarchy Level
[edit protocols connections] Hierarchy Level
[edit protocols vrrp] Hierarchy Level
Interfaces Overview
Types of Interfaces
Permanent Interfaces
Transient Interfaces
Supported Interface Types
Interface Descriptors
Interface Naming
Physical Part of an Interface Name
Logical Part of an Interface Name
Separators in an Interface Name
Channel Part of an Interface Name
Examples: Interface Names
How Interface Configurations Are Displayed
Interface and Router Clock Sources
Interfaces Configuration Statements
Complete Interfaces Configuration Statements
Minimum Interface Configuration
Configure Physical Interface Properties
Configure Aggregated Interfaces
Add an Interface Description to the Configuration
Example: Add an Interface Description to the Configuration
Configure the Link Characteristics
Configure the Media MTU
Configure Interface Encapsulation
Configure the Encapsulation on a Physical Interface
Example: Configure the Encapsulation on a Physical Interface
Configure PPP Challenge Handshake Authentication Protocol
Assign an Access Profile to an Interface
Configure the Local Name
Configure Passive Mode
Example: Configure CHAP
Configure the Interface Speed
Configure Keepalives
Configure the Clock Source
Configure the Router as a DCE
Configure Receive and Transmit Leaky Bucket Properties
Configure Accounting
Configure Physical Interface Profiles
Configure BERT Properties
Trace Operations of an Individual Router Interface
Damp Interface Transitions
Configure Multiservice Physical Interface Properties
Enable or Disable SNMP Notifications on Physical Interfaces
Disable a Physical Interface
Example: Disable a Physical Interface
Configure Logical Interface Properties
Specify the Logical Interface Number
Add a Logical Unit Description to the Configuration
Configure a Point-to-Point Connection
Configure a Multipoint Connection
Configure Accounting
Configure Logical Interface Profiles
Configure the Interface Bandwidth
Enable or Disable SNMP Notifications on Logical Interfaces
Configure Interface Encapsulation
Configure the Encapsulation on a Logical Interface
Disable a Logical Interface
Configure Protocol Family and Address Interface Properties
Configure the Protocol Family
IPv6 Introduction
IPv4-to-IPv6 Transition
Configure the Interface Address
Configure the IPv6 Address on an Interface
Configure an Unnumbered Interface
Set the Protocol MTU
Disable the Sending of Redirect Messages on an Interface
Configure Default, Primary, and Preferred Addresses and Interfaces
Configure the Primary Interface for the Router
Configure the Primary Address for an Interface
Configure the Preferred Address for an Interface
Apply Policers
Apply Firewall Filters
Define Interface Groups in Firewall Filters
Configure Unicast RPF
Configure Unicast RPF Strict Mode
Unicast RPF Loose Mode
Unicast RPF and Default Routes
Unicast RPF Behavior with a Default Route
Unicast RPF Behavior without a Default Route
Unicast RPF with Routing Asymmetry
Example: Configure Unicast RPF to Accept DHCP and BOOTP Packets
Enable Source Class and Destination Class Usage
Example 1: Enable Source Class Usage and Destination Class Usage
Example 2: Enable Packet Counting for Layer 3 VPNs
Configure Circuit and Translational Cross-Connects
Configure Layer 2 Switching Cross-Connects
Define the Encapsulation for Layer 2 Switching Cross-Connects
Define the Connection for Layer 2 Switching Cross-Connects
Configure MPLS
Example 1: Configure Layer 2 Switching Circuit Cross-Connects
Example 2: Configure Layer 2.5 Switching Translational Cross-Connects
Trace Interface Operations
Trace Operations of an Individual Router Interface
Trace Operations of the Interface Process
Configure ATM 1 and ATM 2 Interfaces
ATM 1 Physical and Logical Interface Properties
ATM 2 Physical and Logical Interface Properties
Configure ATM 1 and ATM 2 Physical Interface Properties
Configure Communication with Directly Attached ATM 1 and ATM 2 Switches
Configure the ATM 1 and ATM 2 PIC Type
Configure ATM 1 and ATM 2 Cell-Relay Promiscuous Mode
Configure the Maximum Number of ATM 1 VCs on a VP
Configure the ATM 2 OAM F4 Cell Flows
Define Virtual Path Tunnels on ATM 2 Interfaces
Configure ATM 1 and ATM 2 Logical Interface Properties
Configure a Point-to-Point ATM 1 or ATM 2 Connection
Configure a Point-to-Multipoint ATM 1 or ATM 2 Connection
Configure a Multicast-Capable ATM 1 or ATM 2 Connection
Configure Inverse ATM 1 or ATM 2 ARP
Define the ATM 1 and ATM 2 Traffic-Shaping Profile
Configure ATM 1 and ATM 2 CBR
Configure ATM 2 Real-Time VBR
Configure ATM 1 and ATM 2 VBR
Specify ATM 1 Shaping Values
Specify ATM 2 Shaping Values
Configure the ATM 1 Queue Length
Configure the ATM 2 EPD Threshold
Configure the ATM 2 Transmission Weight
Define the ATM 1 and ATM 2 OAM F5 Loopback Cell Period
Configure the ATM 1 and ATM 2 OAM F5 Loopback Cell Threshold
Configure ATM 1 and ATM 2 Interface Encapsulation
Configure E3 and T3 Parameters on ATM 1 Interfaces
Configure SONET/SDH Parameters on ATM 1 and ATM 2 Interfaces
Configure ATM 2 VC Tunnel CoS Components
Example: Configure ATM 2 VC CoS
Example 1: Configure ATM 1 Interfaces
Example 2: Configure ATM 2 Interfaces
Channelized Interfaces Overview
Channelized Interface Capabilities
Data Link Connection Identifiers on Channelized Interfaces
Clock Sources on Channelized Interfaces
Channelized QPP Interface Properties
Structure of Channelized PICs with QPP
Configure Channelized E1 Interfaces
Configure Channelized E1 QPP Interfaces
Configure E1 QPP Interfaces
Configure DS-0 Timeslots on E1 QPP Interfaces
Configure NxDS-0 QPP Channels on a Channelized E1 PIC with QPP
Configure Channelized E1 QPP Interface Properties
Specify Options at the Channelized E1 QPP Interface Level
Specify Options at the E1 QPP Interface Level
Specify Options at the NxDS-0 QPP Interface Level
Configure Original Channelized E1 Interfaces
Example: Configure Channelized E1 Interfaces
Example 2: Configure Channelized E1 QPP Interfaces
Configure Channelized OC-12 Interfaces
Configure Channelized OC-12 QPP Interfaces
Configure an OC-12 QPP Interface
Configure T3 QPP Interfaces
Configure OC-3 QPP Interfaces
Example: Configure T1 QPP Channels on a Channelized OC-12 QPP Interface
VT-Mapped Configuration
M13 or C-bit Parity-Mapped Configuration
Configure DS-0 Time Slots on T1 QPP Interfaces
Example: Configure NxDS-0 QPP Channels on a Channelized OC-12 QPP Interface
VT-Mapped Configuration
M13 or C-bit Parity-Mapped Configuration
Configure Channelized OC-12 QPP Interface Properties
Specify Options at the Channelized OC-12 QPP Level
Specify Options at the Channelized OC-1 QPP Level
Specify Options at the Channelized T3 QPP Level
Specify Options at the Channelized T1 QPP Level
Specify Options at the T3 QPP Interface Level
Specify Options at the T1 QPP Interface Level
Specify Options at the NxDS-0 QPP Interface Level
Configure Original Channelized OC-12 Interfaces
Example: Configure Channelized OC-12 QPP Interfaces
Example: Configure Channelized OC-12 Interfaces
Configure Channelized STM-1 Interfaces
Configure Channelized STM-1 Interface Properties
Virtual Tributary Mapping of Channelized STM-1 Interface
Example: Configure Channelized STM-1 Interfaces
Configure Channelized T3 Interfaces
Configure Channelized T3 QPP Interfaces
Configure T3 QPP Interfaces
Configure T1 QPP Interfaces
Configure DS-0 Time Slots on Channelized T1 QPP Interfaces
Example: Configure NxDS-0 QPP Channels on a Channelized T3 QPP Interface
Configure Channelized T3 QPP Interface Properties
Specify Options at the Channelized T3 QPP Level
Specify Options at the Channelized T1 QPP Level
Specify Options at the T3 QPP Interface Level
Specify Options at the T1 QPP Interface Level
Specify Options at the NxDS-0 QPP Interface Level
Configure Original Channelized DS-3 to DS-0 Interfaces
Configure Original Channelized DS-3 to DS-1 Interfaces
Example: Configure Channelized T3 QPP Interfaces
Examples: Configure Channelized DS-3 to DS-0 Interfaces
Examples: Configure Channelized DS-3 to DS-1 Interfaces
Configure Discard Interfaces
Configure E1 Interfaces
Configure E1 BERT Properties
Configure the E1 Frame Checksum
Configure E1 Framing
Configure the E1 Idle Cycle Flag
Configure E1 Data Inversion
Configure E1 Loopback Capability
Configure E1 Start End Flags
Configure Fractional E1 Time Slots
Configure E3 Interfaces
Configure E3 BERT Properties
Configure the E3 CSU Compatibility Mode
Configure the E3 Frame Checksum
Configure the E3 Idle Cycle Flag
Configure E3 Loopback Capability
Configure E3 HDLC Payload Scrambling
Configure the E3 Start End Flags
Configure EIA-530 Interfaces
Configure the EIA-530 Clocking Mode
Invert the EIA-530 Interface Transmit Clock
Configure the DTE Clock Rate
Configure the EIA-530 Signal Handling
Configure the EIA-530 DTR Circuit
Configure EIA-530 Signal Polarities
Configure EIA-530 Loopback Capability
Configure EIA-530 Line Encoding
Configure Encryption Interfaces
Configure the Encryption Interface Tunnel Address
Specify the Security Association Name
Configure Traffic
Configure MTU for Encryption Interfaces
Example: Configure Encryption Interfaces
Configure Ethernet Interfaces
Configure Ethernet Physical Interface Properties
Configure Ethernet Link Aggregation
Configure Aggregated Ethernet Link Speed
Configure Aggregated Ethernet Minimum Links
Configure MAC Address Filtering
Configure Loopback Mode
Configure Flow Control
Configure the Link Characteristics
Configure the Interface Speed
Configure the Ingress Rate Limit
Configure 802.1Q VLANs
Enable VLAN Tagging
Configure VLAN CCC Encapsulation
Example 1: Configure a VLAN CCC
Configure Extended VLAN CCC Encapsulation
Example 2: Configure an Extended VLAN CCC
Configure TCC and Layer 2.5 Switching
Configure Extended TCC Encapsulation
Configure an Ethernet TCC or Extended VLAN TCC
Example 1: Configure an Ethernet TCC
Example 2: Configure an Extended VLAN TCC
Configure Static ARP Table Entries
Example: Configure Static ARP Table Entries
Configure VRRP
Configure Basic VRRP Support
Configure VRRP Authentication
Configure the Advertisement Interval for the VRRP Master Router
Configure a Backup Router to Preempt the Master Router
Accept Packets Destined for the Virtual IP Address
Configure a Logical Interface to Be Tracked
Trace VRRP Operations
Example: Configure VRRP
Configure the Management Ethernet Interface
Configure the MAC Address on the Management Ethernet Interface
Configure the Internal Ethernet Interface
Configure Aggregated Ethernet Interfaces
Example: Configure Fast Ethernet Interfaces
Example: Configure Gigabit Ethernet Interfaces
Example: Configure Aggregated Ethernet Interfaces
Configure Frame Relay
Configure Interface Encapsulation
Configure the Encapsulation on a Physical Interface
Example: Configure the Encapsulation on a Physical Interface
Configure the Encapsulation on a Logical Interface
Configure the Media MTU
Set the Protocol MTU
Configure Frame Relay Keepalives
Configure Tunable Keepalives for Frame Relay LMI
Configure Inverse Frame Relay ARP
Configure the Router as a DCE
Configure Frame Relay DLCIs
Configure a Point-to-Point Frame Relay Connection
Configure a Point-to-Multipoint Frame Relay Connection
Configure a Multicast-Capable Frame Relay Connection
Configure the Loopback Interface
Configure Multilink and Link Services Interfaces
Configure Multilink and Link Services Logical Interface Properties
Default Settings for Multilink and Link Services Logical Interfaces
Configure a Link Services Point-to-Point DLCI
Configure a Link Services Multicast-Capable DLCI
Configure a Multilink and Link Services Drop Timeout Period
Configure Multilink and Link Services Logical Interface Encapsulation
Configure a Multilink and Link Services Fragmentation Threshold
Configure Link Services Delay-Sensitive Packet Interleaving
Configure Multilink and Link Services Minimum Links
Configure Multilink and Link Services MRRU
Configure Multilink and Link Services Sequence Format
Configure Link Services Physical Interface Properties
Default Settings for Link Services Interfaces
Configure Link Services Physical Interface Encapsulation
Configure Link Services Acknowledgment Timers
Configure Link Services Differential Delay
Configure Link Services Keepalive Settings on Frame Relay LMI
Multilink and Link Services Interface Structure
Multilink Services PIC Capacities
Link Services PIC Capabilities
Configure Multilink and Link Services Bundles
Configure Link Services CoS Components
Example: Configure Link Services CoS Components
Examples: Configure Multilink Interfaces
Examples: Configure Link Services Interfaces
Configure SONET/SDH Interfaces
Configure SONET/SDH Physical Interface Properties
Configure SONET Header Byte Values
Configure SONET z0-increment Option
Configure the SONET Frame Checksum
Configure SONET Loopback Capability
Configure the SONET Path Trace Identifier
Configure SONET HDLC Payload Scrambling
Configure SONET RFC 2615 Support
Configure APS
Configure Basic APS Support
Configure Switching between the Working and Protect Circuits
Configure Revertive Mode
Configure APS Timers
Configure APS Load Sharing between Circuit Pairs
Example: Configure APS Load Sharing between Circuit Pairs
Configure the Media MTU
Enable Passive Monitoring
Configure the Clock Source
Configure Receive and Transmit Leaky Bucket Properties
Damp Interface Transitions
Configure Interface Encapsulation
Configure the Encapsulation on a Physical Interface
Example: Configure the Encapsulation on a Physical Interface
Configure the Encapsulation on a Logical Interface
Example: Configure SONET Interfaces
Configure Aggregated SONET/SDH Interfaces
Configure SONET Link Aggregation
Configure Aggregated SONET Link Speed
Configure Aggregated SONET Minimum Links
Configure Filters or Sampling on Aggregated SONET Links
Example: Configure Aggregated SONET/SDH Interfaces
Configure T1 Interfaces
Configure T1 BERT Properties
Configure T1 Buildout
Configure T1 Byte Encoding
Configure T1 Data Inversion
Configure T1 Frame Checksum
Configure T1 Remote Loopback Response
Configure T1 Framing
Configure T1 Line Encoding
Configure T1 Loopback Capability
Configure the T1 Idle Cycle Flag
Configure T1 Start End Flags
Configure Fractional T1 Time Slots
Configure T3 Interfaces
Configure T3 BERT Properties
Disable T3 C-Bit Parity Mode
Configure the T3 CSU Compatibility Mode
Configure the T3 Frame Checksum
Configure the T3 FEAC Response
Configure the T3 Idle Cycle Flag
Configure the T3 Line Buildout
Configure the Channelized T3 Loop Timing
Configure T3 Loopback Capability
Configure T3 HDLC Payload Scrambling
Configure the T3 Start End Flags
Examples: Configure T3 Interfaces
Configure Tunnel Interfaces
Configure a Unicast Tunnel
Configure a Multicast Tunnel
Configure a VT Interface for Route Table Lookup
Configure a VT Interface for VRF Table Lookup
Configure PIM Tunnels
Configure an IPv6 over IPv4 Tunnel
Example 1: Configure Unicast Tunnels
Example 2: Configure a VT Interface for VRF Table Lookup
Example 3: Configure an IPv6 over IPv4 Tunnel
Summary of Interface Configuration Statements
802.3ad
accept-data
access-profile
accounting
accounting-profile
acknowledge-retries
acknowledge-timer
action-red-differential-delay
address
advertise-interval
advertise-interval (APS)
advertise-interval (VRRP)
aggregate
aggregated-ether-options
aggregated-sonet-options
allow-any-vci
aps
arp
atm-encapsulation
atm-options
atm-scheduler-map
authentication-key
authentication-key (APS)
authentication-key (VRRP)
authentication-type
auto-synchronize
bandwidth
bert-algorithm
bert-error-rate
bert-period
boot-command
broadcast
buildout
buildout (T1 interfaces)
buildout (E3 or T3 over ATM interfaces)
bundle
byte-encoding
bytes
cbit-parity
cbr
chap
clock-rate
clocking
clocking-mode
compatibility-mode
connections
control-leads
core-dump
cts
cts-polarity
dcd
dcd-polarity
dce
description
destination
destination (address)
destination (routing instance)
destination-class-usage
disable
dlci
drop-timeout
ds0-options
dsr
dsr-polarity
dtr
dtr-circuit
dtr-polarity
e1-options
e3-options
encapsulation
encapsulation (logical interface)
encapsulation (physical interface)
encoding
epd-threshold
epd-threshold (forwarding class)
epd-threshold (unit)
eui-64
family
fastether-options
fcs
feac-loop-respond
filter
flow-control
force
forwarding-class
fragment-threshold
framing
gigether-options
hello-timer
high-plp-threshold
hold-time
hold-time (physical interface)
hold-time (APS)
idle-cycle-flag
ignore-all
ilmi
ingress-rate-limit
interface-type
interfaces
interface-switch
interleave-fragments
inverse-arp
invert-data
ipsec-sa
keepalives
line-encoding
linear-red-profile
linear-red-profiles
link-mode
link-speed
lmi
lmi-type
local-name
lockout
long-buildout
loop-timing
loopback
loopback (Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet)
loopback (E1/E3, SONET, and T1/T3)
loopback (EIA-530)
low-plp-threshold
mac
maximum-vcs
mlfr-uni-nni-bundle-options
minimum-links
mode
mrru
mtu
multicast-dlci
multicast-vci
multicasts-only
multipoint
multipoint-destination
multiservice-options
n391
n392
n393
neighbor
no-accept-data
no-cbit-parity
no-core-dump
no-feac-loop-respond
no-flow-control
no-keepalives
no-loopback
no-long-buildout
no-payload-scrambler
no-partition
no-partition (Channelized E1, T3, and OC-12 QPP interfaces)
no-partition (Channelized OC-1 QPP interfaces)
no-preempt
no-redirects
no-source-filtering
no-syslog
no-z0-increment
oam-liveness
oam-period
oc-slice
paired-group
partition
passive
passive-monitor-mode
path-trace
payload-scrambler
pic-type
point-to-point
policer
ppp-options
preempt
preferred
primary
priority
priority (schedulers)
priority (vrrp)
promiscuous-mode
protect-circuit
proxy
queue-depth
queue-length
receive-bucket
red-differential-delay
remote
remote-loopback-respond
request
revert-time
rfc-2615
routing-instance
rpf-check
rts
rts-polarity
rtvbr
scheduler-maps
serial-options
shaping
short-sequence
sonet-options
source
source-address-filter
source-class-usage
source-filtering
speed
start-end-flag
syslog
t1-options
t3-options
t391
t392
timeslots
tm
tm-polarity
traceoptions
traceoptions (individual interfaces)
traceoptions (interface process)
traceoptions (VRRP)
track
transmit-bucket
transmit-clock
transmit-weight
transmit-weight (ATM 2 Virtual Circuit)
transmit-weight (ATM 2 CoS Forwarding Class)
traps
ttl
tunnel
unit
vbr
vc-cos-mode
vci
virtual-address
vlan-id
vlan-tagging
vpi
vrrp-group
working-circuit
yellow-differential-delay
z0-increment
CoS Overview
CoS Applications
JUNOS CoS Components
Traffic Classifiers
Default Classifier
Behavior Aggregate Classifier
Multifield Classifier
Forwarding Classes
Transmission Scheduling and Rate Control
Scheduling Priority
Fabric Priority Queuing
Transmission Rate Control
Allocation of Leftover Bandwidth
Default Congestion and Transmission Control
RED Congestion Control
Rewrite Markers
Hardware Capabilities and Limitations
CoS Configuration Guidelines
Hardware Capabilities and Limitations
Define Code-Point Aliases
Configure Forwarding Classes
Override Fabric Priority Queuing
Classify Packets by Behavior Aggregate
Configure Scheduling Policy Maps
Associate a Scheduler with a Fabric Priority
Configure RED Drop Profiles
Packet Loss Priority
Rewrite Packet Header Information
Rewrite EXP Bits
Rewrite MPLS and IPv4 Packet Headers
Configure CoS-Based Forwarding
Configure CoS-Based Forwarding for IPv6
Override the Input Classification
Example: Configure Class of Service
Summary of CoS Configuration Statements
buffer-size
class
class-of-service
classification-override
classifiers
classifiers (define)
classifiers (apply)
code-point
code-point-aliases
code-points
drop-probability
drop-probability (percentage)
drop-probability (interpolated value)
drop-profile
drop-profile-map
drop-profiles
fabric
fill-level
fill-level (percentage)
fill-level (interpolated value)
forwarding-class
forwarding-class (classifiers)
forwarding-class (forwarding policy)
forwarding-classes
forwarding-policy
import
import classifiers
import rewrite-rules
interfaces
interpolate
loss-priority
lsp-next-hop
next-hop
next-hop-map
priority
priority (fabric queues)
priority (forwarding classes)
priority (schedulers)
protocol
protocol (interfaces rewrite rules)
protocol (schedulers)
queue
rewrite-rules
rewrite-rules (interfaces)
scheduler
scheduler (scheduler map)
scheduler (fabric queues)
scheduler-map
scheduler-map (fabric queues)
scheduler-map (interfaces)
scheduler-maps
schedulers
transmit-rate
unit
Glossary
Index
Index of Statements and Commands