JUNOS 6.4 Routing Protocols Configuration Guide

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
Routing Protocols Concepts
Routing Databases
Routing Protocol Databases
JUNOS Routing Tables
Forwarding Tables
How the Routing and Forwarding Tables Are Synchronized
Configure Interfaces
Route Preferences
Alternate and Tiebreaker Preferences
How the Active Route Is Determined
Multiple Active Routes
Default Route Preference Values
Equal-Cost Paths and Load Sharing
IPv6
IPv6 Standards
IPv6 Packet Headers
Header Structure
Extension Headers
IPv6 Addressing
Address Representation
Address Types
Address Scope
Address Structure
Complete Routing and Routing Protocol Configuration Statements
[edit logical-routers] Hierarchy Level
[edit protocols] Hierarchy Level
[edit routing-instances] Hierarchy Level
[edit routing-options] Hierarchy Level
Protocol-Independent Routing Properties Overview
Protocol-Independent Routing Properties Configuration Statements
Minimum Protocol-Independent Routing Properties Configuration
Configure Routing Tables and Routes
Create Routing Tables
Example: Create Routing Tables
Configure Static Routes
Specify the Destination of the Static Route
Specify the Next Hop of the Static Route
Specify an Independent Preference for a Static Route
Example: Configure Independent Preferences for an IPv4 Static Route
Example: Configure Independent Preferences for an IPv6 Static Route
Specify an LSP as the Next Hop for a Static Route
Install a Static Route into More than One Routing Table
Examples: Install a Static Route into More than One Routing Table
Specify Static Route Options
Specify the Route Metric
Specify the Route Preference
Specify Community Information
Specify the AS Path
Specify the OSPF Tag
Specify Whether a Route Is Installed in the Forwarding Table
Specify Whether the Route Is Permanently Installed in the Forwarding Table
Specify Whether Inactive Routes Are Removed from the Routing or Forwarding Table
Specify When the Route Can Be Readvertised
Specify When the Route Can Be Resolved to a Prefix That Is Not Directly Connected
Configure a Default Route
Propagate Static Routes into Routing Protocols
Examples: Configure Static Routes
Configure Aggregate Routes
Specify the Destination of the Aggregate Route
Specify Aggregate Route Options
Specify the Route Metric
Specify the Route Preference
Specify a Next Hop for a Route
Specify Community Information
Specify the AS Path
Specify Which AS Numbers to Include in the Aggregate Route
Specify the OSPF Tag
Specify Whether Inactive Routes Are Removed from the Routing or Forwarding Table
Specify Policy with Aggregate Routes
Advertise Aggregate Routes
Configure Generated Routes
Specify the Destination of a Generated Route
Specify Generated Route Options
Specify the Route Metric
Specify the Route Preference
Specify a Next Hop for a Route
Specify Community Information
Specify the AS Path
Specify the OSPF Tag
Specify Which AS Numbers to Include in the Generated Route
Specify Whether Inactive Routes Are Removed from the Routing or Forwarding Table
Specify Policy with Generated Routes
Configure Martian Addresses
Add Martian Addresses
Remove Martian Addresses
Apply a Filter to a Forwarding Table
Configure Other Protocol-Independent Routing Properties
Configure the AS Number
Configure the Router Identifier
Configure AS Confederation Members
Configure Route Recording for Flow Aggregation
Create Routing Table Groups
Examples: Create Routing Table Groups
Configure How Interface Routes Are Imported into Routing Tables
Configure Multicast Scoping
Example: Configure Multicast Scoping
Configure Additional Source-Specific Multicast Groups
Configure Per-Packet Load Balancing
Examples: Configure Per-Packet Load Balancing
Enable Unicast Reverse-Path Forwarding Check
Configure Graceful Restart
Configure Route Distinguisher
Configure Logging for the Routing Protocol Process
Examples: Configure Logging for the Routing Protocol Process
Trace Global Routing Protocol Operations
Examples: Trace Global Routing Protocol Operations
Logical Router Overview
Overview
Logical Routers and Virtual Router
Logical Router Configuration Statements
Minimum Logical Router Configuration
Logical Router Configuration Guidelines
Configure a Logical Router
Logical Router Configuration Statement
logical-routers
Summary of Protocol-Independent Routing Properties Configuration Statements
active
aggregate
as-path
auto-export
autonomous-system
brief
color
community
confederation
discard
export
export-rib
fate-sharing
filter
forwarding-table
full
generate
graceful-restart
import-policy
import-rib
independent-domain
input
install
instance-export
instance-import
interface
interface-routes
lsp-next-hop
martians
maximum-routes
metric
metric (Aggregate, Generated, or Static Route)
metric (Qualified Next Hop on Static Route)
multicast
no-install
no-readvertise
no-retain
options
passive
policy
preference
prefix
qualified-next-hop
readvertise
resolve
retain
rib
rib-group
rib-groups
route-distinguisher-id
route-record
router-id
routing-options
scope
ssm-groups
static
tag
traceoptions
unicast-reverse-path
Routing Instances Overview
Routing Instances Configuration Guidelines
Routing Instances Minimum Configuration
BGP
IS-IS
Layer 2 VPN
LDP
OSPF
OSPFv3
PIM
RIP
VPLS
Configure Multiple Instances of BGP
Example: Configure Multiple Instances of BGP
Configure Multiple Instances of IS-IS
Example: Configure Multiple Routing Instances of IS-IS
Configure Multiple Instances of LDP
Configure Multiple Instances of OSPF
Example: Configure Multiple Routing Instances of OSPF
Configure Multiple Instances of PIM
Configure Multiple Instances of RIP
Configure an Instance
Configure VPNs
Configure an Instance Type
Configure a VRF Routing Instance
Configure a Non-VPN VRF Routing Instance
Configure a VPLS Routing Instance
Configure a Route Distinguisher
Configure Filter-Based Forwarding
Configure Class-of-Service-Based Forwarding
Configure Secondary VRF Import and Export Policy
Configure Policy-Based Export for Routing Instances
Example: Configure Policy-Based Export for an Overlapping VPN
Example: Configure Policy-Based Export for a Nonforwarding Instance
Configure a VRF Table Label
Configure a VRF Target
Configure an OSPF Domain ID
Examples: Configure an OSPF Domain ID
Configure a Route Limit for Routing Tables
Configure an Independent Domain
Summary of Routing Instances Configuration Statements
description
forwarding-options
instance-type
interface
no-vrf-advertise
protocols
route-distinguisher
routing-instances
routing-options
vrf-export
vrf-import
vrf-table-label
vrf-target
IS-IS Overview
IS-IS Standards
IS-IS Terminology
ISO Network Addresses
IS-IS Packets
IS-IS Extensions to Support Traffic Engineering
Configure IS-IS IGP Shortcuts
IS-IS Extensions to Support Route Tagging
IS-IS Configuration Guidelines
Minimum IS-IS Configuration
Configure IS-IS Authentication
Configure Interface-Specific Properties
Enable Checksum
Configure the CSNP Interval
Configure Mesh Groups
Modify the Interface Metric
Enable Wide Metrics for Traffic Engineering
Configure Route Preferences
Configure a Prefix Export Limit
Configure IS-IS Levels on an Interface
Disable IS-IS on a Level
Example: Disable IS-IS on a Level
Advertise Interface Addresses without Running IS-IS
Configure Authentication for Hello Packets
Modify the Hello Interval
Modify the Hold-Time Value
Modify the IS-IS Metric
Modify the Traffic Engineering Metric
Configure the Priority for Becoming the Designated Router
Configure the Router to Advertise without Running IS-IS
Modify the LSP Interval
Modify the LSP Lifetime
Advertise Label-Switched Paths into IS-IS
Configure the Router to Appear Overloaded
Configure the SPF Delay
Configure Graceful Restart
IS-IS and Multipoint Configurations
Configure Point-to-Point Interfaces
Configure IS-IS Traffic Engineering Attributes
Configure IS-IS to Use IGP Shortcuts
Disable IS-IS Support for Traffic Engineering
Configure the BFD Protocol
Disable IS-IS
Disable IPv4 Routing
Disable IPv6 Routing
Configure IS-IS Routing Policy
Examples: Configure IS-IS Routing Policy
Configure IS-IS Multicast Topologies
Example: Configure IS-IS Multicast Topologies
Configure IS-IS IPv6 Unicast Topologies
Install Default Route to Nearest Level 1/Level 2 Router
Trace IS-IS Protocol Traffic
Examples: Trace IS-IS Protocol Traffic
Summary of IS-IS Configuration Statements
authentication-key
authentication-type
bfd-liveness-detection
checksum
csnp-interval
disable
export
external-preference
graceful-restart
hello-authentication-key
hello-authentication-type
hello-interval
hold-time
ignore-attached-bit
interface
ipv4-multicast
ipv4-multicast-metric
ipv6-unicast
ipv6-unicast-metric
isis
label-switched-path
level
level (Global IS-IS)
level (IS-IS interfaces)
lsp-interval
lsp-lifetime
mesh-group
metric
no-authentication-check
no-csnp-authentication
no-hello-authentication
no-ipv4-multicast
no-ipv4-routing
no-ipv6-routing
no-ipv6-unicast
no-psnp-authentication
overload
passive
point-to-point
preference
prefix-export-limit
priority
reference-bandwidth
rib-group
shortcuts
spf-delay
te-metric
topologies
traceoptions
traffic-engineering
wide-metrics-only
OSPF Overview
OSPF Protocol Overview
OSPF Version 3
OSPF Standards
OSPF Area Terminology
Areas
Area Border Routers
Backbone Areas
AS Boundary Routers
Stub Areas
Not-So-Stubby Areas
Transit Areas
OSPF Routing Algorithm
OSPF Packets
OSPF Packet Header
Hello Packets
Database Description Packets
Link-State Request Packets
Link-State Update Packets
Link-State Acknowledgment Packets
Link-State Advertisement Packet Types
External Metrics
Designated Router
OSPF Extensions to Support Traffic Engineering
Configure OSPF IGP Shortcuts
OSPF Configuration Guidelines
Minimum OSPF Configuration
Configure the Backbone Area and Other Areas
Configure the Backbone Area
Configure a Nonbackbone Area
Configure a Stub Area
Configure a Not-So-Stubby Area
Configure an RSVP LSP
Example: Configure an RSVP LSP
Configure OSPF on Router Interfaces
Configure an Interface on a Broadcast or Point-to-Point Network
Configure an Interface on a Point-to-Multipoint Network
Configure an Interface on a Nonbroadcast, Multiaccess Network
Configure Authentication
Configure a Prefix Export Limit
Configure the Priority for Becoming the Designated Router
Configure Route Summarization
Modify the Interface Metric
Configure Route Preferences
Configure OSPF Timers
Modify the Hello Interval
Control the LSA Retransmission Interval
Modify the Router Dead Interval
Specify the Transit Delay
Configure the BFD Protocol
Configure Graceful Restart
Configure the SPF Delay
Advertise Interface Addresses without Running OSPF
Advertise Label-Switched Paths into OSPF
Configure the Router to Appear Overloaded
Enable OSPF Traffic Engineering Support
Example: Enable OSPF Traffic Engineering Support
Modify the Traffic Engineering Metric
Configure OSPF Routing Policy
Configure OSPF Routing Table Groups
Configure a Sham Link
Configure a Peer Interface
Trace OSPF Protocol Traffic
Examples: Trace OSPF Protocol Traffic
Summary of OSPF Configuration Statements
area
area-range
authentication
authentication-type
bfd-liveness-detection
dead-interval
default-lsa
default-metric
disable
domain-id
domain-vpn-tag
export
external-preference
graceful-restart
hello-interval
interface
interface-type
label-switched-path
lsp-metric-into-summary
md5
metric
metric-type
neighbor
no-summaries
nssa
ospf
ospf3
overload
passive
peer-interface
poll-interval
preference
prefix-export-limit
priority
reference-bandwidth
retransmit-interval
rib-group
route-type-community
sham-link
shortcuts
simple-password
spf-delay
stub
summaries
te-metric
traceoptions
traffic-engineering
transit-delay
transmit-interval
type-7
virtual-link
RIP Overview
RIP Protocol Overview
RIP Standards
RIP Packets
RIP Configuration Guidelines
Minimum RIP Configuration
Define RIP Global Properties
Define RIP Neighbor Properties
Configure Authentication
Modify the Incoming Metric
Configure the Hold-Down Timer
Configure the Number of Route Entries in an Update Message
Accept Packets Whose Reserved Fields Are Nonzero
Configure Update Messages
Configure Routing Table Groups
Apply Import Policy
Configure Group-Specific Properties
Apply Export Policy
Control Route Preference
Modify the Outgoing Metric
Configure Graceful Restart
Trace RIP Protocol Traffic
Example: Trace RIP Protocol Traffic
Example: Configure RIP
Summary of RIP Configuration Statements
authentication-key
authentication-type
check-zero
export
graceful-restart
group
holddown
import
message-size
metric-in
metric-out
neighbor
no-check-zero
preference
receive
rib-group
rip
send
traceoptions
RIPng Overview
RIPng Protocol Overview
RIPng Standards
RIPng Packets
RIPng Configuration Guidelines
Minimum RIPng Configuration
Define RIPng Global Properties
Define RIPng Neighbor Properties
Modify the Incoming Metric
Configure the Hold-Down Timer
Configure Update Messages
Apply Import Policy
Configure Group-Specific Properties
Apply Export Policy
Control Route Preference
Modify the Outgoing Metric
Configure Graceful Restart
Trace RIPng Protocol Traffic
Example: Configure RIPng
Summary of RIPng Configuration Statements
export
graceful-restart
group
holddown
import
metric-in
metric-out
neighbor
preference
receive
ripng
send
traceoptions
ICMP Router Discovery Overview
ICMP Router Discovery Standards
Operation of a Router Discovery Server
Router Advertisement Messages
ICMP Router Discovery Configuration Guidelines
Minimum Router Discovery Server Configuration
Configure the Addresses to Include in Router Advertisements
Configure the Frequency of Router Advertisements
Modify the Router Advertisement Lifetime
Trace ICMP Protocol Traffic
Example: Trace ICMP Protocol Traffic
Summary of ICMP Router Discovery Configuration Statements
address
advertise
broadcast
disable
ignore
ineligible
interface
lifetime
max-advertisement-interval
min-advertisement-interval
multicast
priority
router-discovery
traceoptions
Neighbor Discovery Overview
Neighbor Discovery Standards
Router Discovery
Address Resolution
Redirect
Neighbor Discovery Configuration Guidelines
Minimum Neighbor Discovery Configuration
Configure Router Advertisement on an Interface
Configure the Hop Limit
Modify the Default Router Lifetime
Enable Stateful Autoconfiguration
Configure the Frequency of Router Advertisements
Modify the Reachable Time Limit
Modify the Frequency of Neighbor Solicitation Messages
Configure Prefix Information
Set the Prefix for Onlink Determination
Set the Prefix for Stateless Address Autoconfiguration
Configure the Preferred Lifetime
Configure the Valid Lifetime
Trace Router Advertisement Traffic
Summary of Neighbor Discovery Router Advertisement Configuration  Statements
autonomous
current-hop-limit
default-lifetime
interface
managed-configuration
max-advertisement-interval
min-advertisement-interval
no-autonomous
no-managed-configuration
no-on-link
no-other-stateful-configuration
on-link
other-stateful-configuration
preferred-lifetime
prefix
reachable-time
retransmit-timer
router-advertisement
traceoptions
valid-lifetime
BGP Overview
BGP Standards
Autonomous Systems
AS Paths and Attributes
External and Internal BGP
BGP Routes
BGP Messages
Open Messages
Update Messages
Keepalive Messages
Notification Messages
BGP Configuration Guidelines
Minimum BGP Configuration
Enable BGP
Specify the Local Router's AS Number
Define an AS Confederation and Its Members
Assign a BGP Identifier
Define BGP Global Properties
Define BGP Groups and Peers
Define a Group with Static Peers
Define a Group with Dynamic Peers
Define the Group Type
Specify the Peer's AS Number
Define Group Properties
Define Peer Properties
Examples: Enable BGP
Modify the Hold-Time Value
Configure Graceful Restart
Advertise an Explicit Null Label
Configure Authentication
Apply IPSec Security Association
Open a Peer Connection Passively
Configure the Local IP Address
Configure the Multiple Exit Discriminator Metric
Define a MED Metric Directly
Use Routing Policy to Define a MED Metric
Examples: Configure the MED Metric
Control the Aggregator Path Attribute
Choose the Protocol Used to Determine the Next Hop
Configure an EBGP Multihop Session
Configure the BGP Local Preference
Control Route Preference
Examples: Control Route Preference
Configure Routing Table Path Selection
Example: Always Compare MEDs
Configure BGP to Select Multiple BGP Paths
Configure a Local AS
Examples: Configure a Local AS
Remove Private AS Numbers from AS Paths
Configure Route Reflection
Examples: Configure Route Reflection
Enable Route Flap Damping
Enable Multiprotocol BGP
Limit the Number of Prefixes on a BGP Peering
Configure BGP Routing Table Groups
Resolve Routes to PE Routers Located in Other ASs
Allow Labeled and Unlabeled Routes
Enable Route Target Filtering
Configure BGP Routing Policy
Apply Routing Policy
Apply Policies to Routes Being Imported into the Routing Table from BGP
Apply Policies to Routes Being Exported from the Routing Table into BGP
Have BGP Advertise Inactive Routes
Configure How Often BGP Exchanges Routes with the Routing Table
Configure EBGP Peering Using IPv6 Link-local Address
Configure IPv6 BGP Routes over IPv4 Transport
Example: Configure IPv6 BGP Routes over IPv4 Transport
Configure BGP to Log System Log Messages
Describe BGP Router Configuration
Block Non-Peer TCP Connection Attempts
Apply BGP Export Policy to VRF Routes
Enable Next-Hop Reachability Information
Trace BGP Protocol Traffic
Examples: Trace BGP Protocol Traffic
Summary of BGP Configuration Statements
advertise-inactive
allow
as-override
authentication-key
bgp
cluster
damping
description
disable
explicit-null
export
family
graceful-restart
group
hold-time
import
include-mp-next-hop
ipsec-sa
keep
labeled-unicast
local-address
local-as
local-interface
local-preference
log-updown
metric-out
multihop
multipath
neighbor
no-aggregator-id
no-client-reflect
out-delay
passive
path-selection
peer-as
preference
prefix-limit
protocol
remove-private
resolve-vpn
rib
rib-group
route-target
traceoptions
type
vpn-apply-export
Index
Index of Statements and Commands