Table of Contents

About This Guide
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
Services Interfaces Overview
Service PIC Types
Services Interfaces Configuration Statements
[edit applications] Hierarchy Level
[edit forwarding-options] Hierarchy Level
[edit interfaces] Hierarchy Level
[edit logical-routers] Hierarchy Level
[edit services] Hierarchy Level
Adaptive Services Overview
Services Configuration Flow
Stateful Firewall Overview
Firewall Application Protocols Support
Stateful Firewall Anomaly Checking
Network Address Translation Overview
IPSec Overview
IPSec
Security Associations
IKE
Comparison of IPSec Services and ES Interface Configuration
Layer 2 Tunneling Protocol Overview
Voice Services Overview
Examples: Services Interfaces Configuration
Configure Applications
Configure Application Protocol Properties
Configure an Application Protocol
Configure the Network Protocol
Configure the ICMP Code and Type
Configure Source and Destination Ports
Configure the Inactivity Timeout Period
Configure an SNMP Command
Configure an RPC Program Number
Configure the TTL Threshold
Configure a Universal Unique Identifier
Configure Application Sets
JUNOS Default Groups
Example: Reference the Preset Statement from the JUNOS Default Group
Examples: Configure Applications
Summary of Applications Configuration Statements
application
application-protocol
application-set
applications
destination-port
icmp-code
icmp-type
inactivity-timeout
protocol
rpc-program-number
snmp-command
source-port
ttl-threshold
uuid
Configure Stateful Firewall Services
Configure Stateful Firewall Properties
Configure the Stateful Firewall Rule Set
Configure Stateful Firewall Rule Content
Configure Stateful Firewall Match Conditions
Configure Stateful Firewall Actions
Configure IP Option Handling
Examples: Configure Stateful Firewall Properties
Summary of Stateful Firewall Configuration Statements
allow-ip-option
application-sets
applications
destination-address
from
match-direction
rule
rule-set
services
source-address
syslog
term
then
Configure Network Address Translation Services
Configure Network Address Translation Properties
Configure Address and Port Information
Configure the NAT Rule Set
Configure NAT Rule Content
Configure NAT Match Conditions
Configure NAT Actions
Examples: Configure Network Address Translation Properties
Summary of Network Address Translation Configuration Statements
address
application-sets
applications
destination-address
destination-pool
from
match-direction
pool
port
rule
rule-set
services
source-address
source-pool
syslog
term
then
translated
translation-type
Configure Intrusion Detection Services
Configure Intrusion Detection Properties
Configure the IDS Rule Set
Configure IDS Rule Content
Configure IDS Match Conditions
Configure IDS Actions
Examples: Configure Intrusion Detection Properties
Summary of Intrusion Detection Services Configuration Statements
aggregation
application-sets
applications
destination-address
destination-prefix
force-entry
from
ignore-entry
logging
match-direction
mss
rule
rule-set
services
source-address
source-prefix
syn-cookie
syslog
term
then
threshold
Configure IPSec Services
Minimum Security Association Configurations
Manual SA Configuration
Dynamic SA Configuration
Configure Security Associations
Configure Manual Security Associations
Configure Direction
Configure the Protocol
Configure the Security Parameter Index (SPI)
Configure the Auxiliary Security Parameter Index
Configure Authentication
Configure Encryption
Configure Dynamic Security Associations
Configure an IKE Proposal
Configure an IKE Authentication Algorithm
Configure an IKE Authentication Method
Configure an IKE Diffie-Hellman Group
Configure an IKE Encryption Algorithm
Configure an IKE Lifetime
Example: Configure an IKE Proposal
Configure an IKE Policy for Preshared Keys
Configure IKE Policy Mode
Configure IKE Policy Proposals
Configure IKE Policy Preshared Key
Configure IKE Policy Description
Configure Local and Remote IDs
Example: Configure an IKE Policy
Configure an IPSec Proposal
Configure an Authentication Algorithm
Configure an IPSec Proposal Description
Configure an Encryption Algorithm
Configure the IPSec Lifetime
Configure the Protocol for the Dynamic SA
Configure an IPSec Policy
Configure an IPSec Policy Description
Configure Perfect Forward Secrecy
Configure IPSec Policy Proposals
Example: IPSec Policy Configuration
Configure IPSec Service Rules
Configure the IPSec Rule Set
Configure IPSec Rule Content
Configure IPSec Match Conditions
Configure IPSec Actions
Example: Configure IPSec Services
Summary of IPSec Services Configuration Statements
authentication
authentication-algorithm
authentication-algorithm (IKE)
authentication-algorithm (IPSec)
authentication-method
auxiliary-spi
backup-remote-gateway
clear-dont-fragment-bit
description
destination-address
dh-group
direction
dynamic
encryption
encryption-algorithm
from
ike
ipsec
lifetime-seconds
local-id
manual
match-direction
mode
no-anti-replay
perfect-forward-secrecy
policy
policy (IKE)
policy (IPSec)
pre-shared-key
proposal
proposal (IKE)
proposal (IPSec)
proposals
protocol
remote-gateway
remote-id
rule
rule-set
services
source-address
spi
syslog
term
then
Configure Layer 2 Tunneling Protocol Services
L2TP Services Components
L2TP Minimum Configuration
Configure L2TP Group Properties
Configure a Tunnel Group
Configure Access Profiles
Configure Addressing
Configure Window Size
Configure Timers
Hide Attribute-Value Pairs
Configure System Log Properties
Configure the Logical Interface Identifier
Trace Layer 2 Tunneling Protocol Operations
Example: Configure L2TP Services
Summary of Layer 2 Tunneling Protocol Configuration Statements
dial-options
facility-override
hello-interval
hide-avps
host
l2tp-access-profile
local-gateway address
log-prefix
maximum-send-window
ppp-access-profile
receive-window
retransmit-interval
service-interface
services
services (hierarchy)
services (syslog)
syslog
traceoptions
tunnel-group
tunnel-timeout
Configure Voice Services
Configure Voice Services Properties
Configure Logical Interface Encapsulation
Configure the Interface Address
Configure Compression
Configure the Bundle Interface
Example: Configure Voice Services
Summary of Voice Services Configuration Statements
address
bundle
compression
encapsulation
f-max-period
family
interfaces
port
queues
rtp
unit
Configure Service Sets
Configure Service Set Properties
Configure Service Interfaces
Configure Service Rules
Configure System Log Properties
Apply a Service Set to an Interface
Trace Adaptive Services PIC Operations
Example: Configure Service Sets
Summary of Service Set Configuration Statements
adaptive-services-pics
facility-override
host
ids-rules
interface-service
ipsec-vpn-options
ipsec-vpn-rules
local-gateway
log-prefix
nat-rules
next-hop-service
service-interface
service-set
services
services (hierarchy)
services (syslog)
stateful-firewall-rules
syslog
traceoptions
Configure Interfaces
Services Interface Naming
Configure Interface Properties
Configure the Interface Address and Domain
Configure Default Timeout Settings
Configure Default System Log Properties
Enable Fragmentation on GRE Tunnels
Apply Filters and Services to an Interface
Configure Service Filters
Example: Configure a Services Interface
Summary of Interface Configuration Statements
address
clear-dont-fragment-bit
facility-override
family
host
inactivity-timeout
input
interfaces
log-prefix
open-timeout
output
post-service-filter
service
service-domain
service-filter
service-set
services
services-options
syslog
unit
Configure Encryption Interfaces
Configure an Encryption Interface
Specify the Security Association Name
Configure MTU for an Encryption Interface
Example: Configure an Encryption Interface
Configure Traffic
Traffic Overview
Configure the Security Association
Configure an Outbound Traffic Filter
Example: Configure an Outbound Traffic Filter
Apply the Outbound Traffic Filter
Example: Apply the Outbound Traffic Filter
Configure an Inbound Traffic Filter
Example: Configure an Inbound Traffic Filter
Apply the Inbound Traffic Filter to the Encryption Interface
Example: Apply the Inbound Traffic Filter to the Encryption Interface
Configure an ES Tunnel Interface for a Layer 3 VPN
Configure ES PIC Redundancy
Example: Configure ES PIC Redundancy
Configure IPSec Tunnel Redundancy
Summary of Encryption Configuration Statements
address
backup-destination
backup-interface
destination
es-options
family
filter
interfaces
ipsec-sa
tunnel
unit
Flow Monitoring and Discard Accounting Overview
Passive Flow Monitoring
Active Flow Monitoring
Complete Monitoring Services Interface Configuration Hierarchy
Configure Flow Monitoring and Discard Accounting
Minimum Traffic Sampling or Forwarding Configuration
Configure Traffic Sampling
Configure Traffic Sampling Properties
Disable Traffic Sampling
Configure Traffic Sampling Output
Traffic Sampling Output Files
Trace Traffic Sampling Operations
Examples: Configure Traffic Sampling
Sample a Single SONET Interface
Sample All Traffic from a Single IP Address
Sample All FTP Traffic
Configure Flow Monitoring
Configure the Flow Monitoring Interface
Configure Flow Monitoring Properties
Example: Configure Flow Monitoring
Configure cflowd
Debug cflowd Flow Aggregation
Configure Port Mirroring
Examples: Configure Port Mirroring
Load Balancing among Multiple Monitoring Interfaces
Configure Discard Accounting
Enable Passive Flow Monitoring
Passive Flow Monitoring for MPLS Encapsulated Packets
Remove MPLS Labels from Incoming Packets
Summary of Flow Monitoring Configuration Statements
accounting
address
aggregate-export-interval
aggregation
autonomous-system-type
boot-command
cflowd
cflowd (Discard Accounting and Sampling)
cflowd (Flow Monitoring)
core-dump
destination
disable
engine-id
engine-type
export-format
family
family (Interfaces)
family (Monitoring)
family (Port Mirroring)
family (Sampling)
file
file (Sampling)
file (Trace Options)
filename
files
filter
flow-active-timeout
flow-export-destination
flow-inactive-timeout
forwarding-options
input
input (Port Mirroring)
input (Sampling)
input-interface-index
interface
interface (Accounting or Sampling)
interface (Monitoring)
interface (Port Mirroring)
interfaces
local-dump
max-packets-per-second
monitoring
multiservice-options
next-hop
next-hop-group
no-core-dump
no-filter-check
no-local-dump
no-stamp
no-syslog
no-world-readable
output
output (Accounting)
output (Monitoring)
output (Port Mirroring)
output (Sampling)
output-interface-index
passive-monitor-mode
pop-all-labels
port
port-mirroring
rate
receive-options-packets
receive-ttl-exceeded
required-depth
run-length
sampling
sampling (Forwarding Options)
sampling (Interfaces)
size
source-address
stamp
syslog
traceoptions
unit
version
world-readable
Configure Flow Collection
Configure Flow Collection Properties
Configure Flow Collector Destinations
Configure a Packet Analyzer
Configure File Formats
Configure Interface Mappings
Configure Transfer Logs
Configure Retry Attempts
Send cflowd Records to the Flow Collector Interface
Enable Flow Collection Mode and Interface
Example: Flow Collector Interface Configuration
Summary of Flow Collection Configuration Statements
analyzer-address
analyzer-id
collector
data-format
destinations
destinations (Server Address)
destinations (Transfer Log)
filename
file-specification
file-specification (File Format)
file-specification (Interface Mapping)
flow-collector
ftp
ftp (Flow Collector Files)
ftp (Transfer Log Files)
interface-map
interval
maximum-size
name-format
password
password (Flow Collector File Servers)
password (Transfer Log File Servers)
retry
retry-delay
transfer
transfer-log
username
variant
Configure Link and Multilink 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 Drop Timeout Period
Configure Logical Interface Encapsulation
Configure a Fragmentation Threshold
Configure Link Services Delay-Sensitive Packet Interleaving
Configure Minimum Links
Configure MRRU
Configure 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 and Link Services PIC Capacities
Link Services PIC Capabilities
Configure Bundles
Configure Link Services CoS Components
Example: Configure Link Services CoS Components
Examples: Configure Multilink Interfaces
Examples: Configure Link Services Interfaces
Summary of Link Services Configuration Statements
acknowledge-retries
acknowledge-timer
action-red-differential-delay
address
bundle
destination
dlci
drop-timeout
encapsulation
encapsulation (Logical Interface)
encapsulation (Physical Interface)
family
fragment-threshold
hello-timer
interfaces
interleave-fragments
lmi-type
mlfr-uni-nni-bundle-options
minimum-links
mrru
multicast-dlci
n391
n392
n393
red-differential-delay
short-sequence
t391
t392
unit
yellow-differential-delay
Configure Tunnel Interfaces
Configure a Unicast Tunnel
Configure a Multicast Tunnel
Configure a Logical Tunnel
Configure a Tunnel Interface for Routing Table Lookup
Configure a Tunnel Interface for VRF Table Lookup
Configure PIM Tunnels
Configure an IPv6-over-IPv4 Tunnel
Example: Configure Unicast Tunnels
Example: Configure a Virtual Loopback Tunnel Interface for VRF Table Lookup
Example: Configure an IPv6-over-IPv4 Tunnel
Example: Configure a Logical Tunnel
Summary of Tunnel Services Configuration Statements
destination
destination (Address)
destination (Routing Instance)
interfaces
multicasts-only
peer-unit
routing-instance
source
ttl
tunnel
unit
Index
Index of Statements and Commands