02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 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.

Local Preference<br />

Local Preference (LOCAL_PREF) represents <strong>the</strong> degree of preference within <strong>the</strong> entire AS. The higher <strong>the</strong><br />

number, <strong>the</strong> greater <strong>the</strong> preference <strong>for</strong> <strong>the</strong> route.<br />

The Local Preference (LOCAL_PREF) is one of <strong>the</strong> criteria used to determine <strong>the</strong> best path, so keep in<br />

mind that o<strong>the</strong>r criteria may impact selection, as shown in Figure 338. For this example, assume that<br />

LOCAL_PREF is <strong>the</strong> only attribute applied. In Figure 339, AS100 has two possible paths to AS 200.<br />

Although <strong>the</strong> path through <strong>the</strong> Router A is shorter (one hop instead of two) <strong>the</strong> LOCAL_PREF settings<br />

have <strong>the</strong> preferred path go through Router B and AS300. This is advertised to all routers within AS100<br />

causing all BGP speakers to prefer <strong>the</strong> path through Router B.<br />

Figure 339 LOCAL_PREF Example<br />

AS 100<br />

Set Local Preference to 200<br />

AS 300<br />

Router E<br />

Router B<br />

Router F<br />

Router A<br />

OC3 Link<br />

T1 Link<br />

Multi-Exit Discriminators (MEDs)<br />

Set Local Preference to 100<br />

Router D<br />

Router C<br />

AS 200<br />

Router E<br />

If two Autonomous Systems (AS) connect in more than one place, a Multi-Exit Discriminator (MED) can<br />

be used to assign a preference to a preferred path. The MED is one of <strong>the</strong> criteria used to determine <strong>the</strong> best<br />

path, so keep in mind that o<strong>the</strong>r criteria may impact selection, as shown in Figure 338.<br />

One AS assigns <strong>the</strong> MED a value and <strong>the</strong> o<strong>the</strong>r AS uses that value to decide <strong>the</strong> preferred path. For this<br />

example, assume <strong>the</strong> MED is <strong>the</strong> only attribute applied. In Figure 340, AS100 and AS200 connect in two<br />

places. Each connection is a BGP session. AS200 sets <strong>the</strong> MED <strong>for</strong> its T1 exit point to 100 and <strong>the</strong> MED<br />

<strong>for</strong> its OC3 exit point to 50. This sets up a path preference through <strong>the</strong> OC3 link. The MEDs are advertised<br />

to AS100 routers so <strong>the</strong>y know which is <strong>the</strong> preferred path.<br />

468 Border Gateway Protocol (BGP)

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

Saved successfully!

Ooh no, something went wrong!