28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

As of this writing, the bogon list contains 95 prefixes, so you use a prefix limit<br />

slightly higher than this.<br />

This is a fairly involved configuration, so it’s worth summarizing it all in one place:<br />

[edit]<br />

aviva@RouterF# show<br />

routing-options {<br />

static {<br />

route 192.0.2.1/32 {<br />

discard;<br />

retain;<br />

no-readvertise;<br />

}<br />

martians {<br />

192.0.2.1/32 exact allow;<br />

}<br />

router-id 192.168.16.1;<br />

autonomous-system 65500;<br />

}<br />

protocols {<br />

bgp {<br />

group cymru-peering {<br />

type external;<br />

description "bogon update peering with team cymru";<br />

multihop {<br />

ttl 255;<br />

}<br />

import cymru-bogon-list;<br />

family inet {<br />

unicast {<br />

prefix-limit {<br />

maximum 100;<br />

teardown 100;<br />

}<br />

}<br />

}<br />

authentication-key "$9$D8imfQFnCp0zFreM87Nmf5T/C"; ## SECRET-DATA<br />

export deny-all;<br />

peer-as 65333;<br />

neighbor 10.0.31.1;<br />

}<br />

}<br />

}<br />

policy-options {<br />

policy-statement cymru-bogon-list {<br />

term 1 {<br />

from {<br />

protocol bgp;<br />

as-path cymru-private-asn;<br />

community cymru-bogon-community;<br />

}<br />

then {<br />

community add dont-announce;<br />

470 | Chapter 13: BGP<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!