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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Routing <strong>Policy</strong> <strong>Configuration</strong><br />

}<br />

lo0 {<br />

unit 0 {<br />

family inet {<br />

address 192.168.16.1/32;<br />

}<br />

}<br />

}<br />

}<br />

routing-options {<br />

static {<br />

route 192.168.16.0/27 reject;<br />

route 192.168.16.32/27 reject;<br />

route 192.168.16.64/27 reject;<br />

route 192.168.16.96/27 reject;<br />

route 192.168.16.128/27 reject;<br />

route 192.168.16.160/27 reject;<br />

route 192.168.16.192/27 reject;<br />

}<br />

autonomous-system 1234;<br />

}<br />

protocols {<br />

bgp {<br />

group AS1000-Peers {<br />

type external;<br />

export send-statics;<br />

peer-as 1000;<br />

neighbor 10.222.70.2;<br />

}<br />

}<br />

}<br />

policy-options {<br />

policy-statement send-statics {<br />

term static-routes {<br />

from protocol static;<br />

then accept;<br />

}<br />

}<br />

}<br />

Requesting Specific Routes on the Customer 2 Router<br />

Customer 2 has a link to the ISP, as well as a link to AS 8000. This customer has requested<br />

specific customer routes from the ISP, as well as from AS 8000.<br />

Customer 2 wants to use the ISP for transit service to the Internet, and has requested a<br />

default route from the ISP.<br />

[edit]<br />

interfaces {<br />

so-0/0/1 {<br />

description "Connection to ISP Router 3";<br />

unit 0 {<br />

family inet {<br />

address 10.222.61.2/30;<br />

}<br />

}<br />

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

85

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

Saved successfully!

Ooh no, something went wrong!