16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 4<br />

Routing <strong>Policy</strong> <strong>Configuration</strong><br />

This chapter describes the following tasks for configuring routing policies and provides<br />

the following examples:<br />

• Defining Routing Policies on page 40<br />

• Configuring Match Conditions in Routing <strong>Policy</strong> Terms on page 41<br />

• Configuring Actions in Routing <strong>Policy</strong> Terms on page 47<br />

• Applying Routing Policies and <strong>Policy</strong> Chains to Routing Protocols on page 57<br />

• Applying <strong>Policy</strong> Expressions to Routes Exported from Routing Tables on page 59<br />

• Applying Routing Policies to the Forwarding Table on page 64<br />

• Configuring Dynamic Routing Policies on page 65<br />

• Forwarding Packets to the Discard Interface on page 70<br />

• Testing Routing Policies on page 71<br />

• Routing <strong>Policy</strong> Examples on page 72<br />

• Example: Defining a Routing <strong>Policy</strong> from BGP to IS-IS on page 73<br />

• Example: Using Routing <strong>Policy</strong> to Set a Preference on page 73<br />

• Example: Importing and Exporting Access and Access-Internal Routes in a Routing<br />

<strong>Policy</strong> on page 74<br />

• Example: Exporting Routes to IS-IS on page 74<br />

• Example: Applying Export and Import Policies to BGP Peer Groups on page 75<br />

• Example: Defining a Routing <strong>Policy</strong> Based on the Number of BGP<br />

Communities on page 75<br />

• Example: Applying a Prefix to Routes Learned from a Peer on page 76<br />

• Example: Redistributing BGP Routes with a Specific Community Tag into<br />

IS-IS on page 76<br />

• Example: Redistributing OSPF Routes into BGP on page 76<br />

• Example: Exporting Direct Routes Into IS-IS on page 77<br />

• Example: Exporting Internal IS-IS Level 1 Routes to Level 2 on page 77<br />

• Example: Exporting IS-IS Level 2 Routes to Level 1 on page 78<br />

• Example: Assigning Different Forwarding Next-Hop LSPs to Different Destination<br />

Prefixes on page 78<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!