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 5: Extended Match Conditions <strong>Configuration</strong><br />

four octets whereas the extended communities attribute is eight octets, providing a larger<br />

range for grouping or categorizing communities. You can use community and extended<br />

communities attributes to trigger routing decisions, such as acceptance, rejection,<br />

preference, or redistribution.<br />

The BGP community attribute format is as-number:community-value. The BGP extended<br />

communities attribute format instead has three fields: type:administrator:assigned-number.<br />

When specifying community IDs for the standard community attribute, you can use<br />

UNIX-style regular expressions. Regular expressions are not supported for the extended<br />

communities attribute.<br />

NOTE: You can assign community tags to non-BGP routes through<br />

configuration (for static, aggregate, or generated routes) or an import routing<br />

policy. These tags can then be matched when BGP exports the routes.<br />

To use a BGP community or extended community as a routing policy match condition,<br />

you define the community and its members and then include the community in a match<br />

condition.<br />

The Junos OS supports the following standard:<br />

• RFC 1997, BGP Communities Attribute<br />

For configuration instructions, see the following topics:<br />

• Defining BGP Communities and Extended Communities for Use in Routing <strong>Policy</strong> Match<br />

Conditions on page 104<br />

• Including BGP Communities and Extended Communities in Routing <strong>Policy</strong> Match<br />

Conditions on page 110<br />

• How BGP Communities and Extended Communities Are Evaluated in Routing <strong>Policy</strong><br />

Match Conditions on page 110<br />

• Using Routing Policies to Prevent Advertisement of BGP Communities to Neighbors<br />

on page 111<br />

• Examples: Configuring BGP Communities as Routing <strong>Policy</strong> Match Conditions on<br />

page 111<br />

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

103

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

Saved successfully!

Ooh no, something went wrong!