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

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

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

To configure a set condition, use any or all of <strong>the</strong> following commands in <strong>the</strong> ROUTE-MAP mode:<br />

Command Syntax Command Mode Purpose<br />

set as-path prepend as-number [...<br />

as-number]<br />

Use <strong>the</strong>se commands to create route map instances. There is no limit to <strong>the</strong> number of set and match<br />

commands per route map, but <strong>the</strong> convention is to keep <strong>the</strong> number of match and set filters in a route map<br />

low. Set commands do not require a corresponding match command.<br />

Configure a route map <strong>for</strong> route redistribution<br />

CONFIG-ROUTE-MAP Add an AS-PATH number to <strong>the</strong> beginning<br />

of <strong>the</strong> AS-PATH<br />

set automatic-tag CONFIG-ROUTE-MAP Generate a tag to be added to redistributed<br />

routes.<br />

set level {backbone | level-1 |<br />

level-1-2 | level-2 | stub-area }<br />

CONFIG-ROUTE-MAP Specify an OSPF area or ISIS level <strong>for</strong><br />

redistributed routes.<br />

set local-preference value CONFIG-ROUTE-MAP Specify a value <strong>for</strong> <strong>the</strong> BGP route’s<br />

LOCAL_PREF attribute.<br />

set metric {+ | - | metric-value} CONFIG-ROUTE-MAP Specify a value <strong>for</strong> redistributed routes.<br />

set metric-type {external | internal<br />

| type-1 | type-2}<br />

CONFIG-ROUTE-MAP Specify an OSPF or ISIS type <strong>for</strong><br />

redistributed routes.<br />

set next-hop ip-address CONFIG-ROUTE-MAP Assign an IP address as <strong>the</strong> route’s next<br />

hop.<br />

set ipv6 next-hop ip-address CONFIG-ROUTE-MAP Assign an IPv6 address as <strong>the</strong> route’s next<br />

hop.<br />

set origin {egp | igp | incomplete} CONFIG-ROUTE-MAP Assign an ORIGIN attribute.<br />

set tag tag-value CONFIG-ROUTE-MAP Specify a tag <strong>for</strong> <strong>the</strong> redistributed routes.<br />

set weight value CONFIG-ROUTE-MAP Specify a value as <strong>the</strong> route’s weight.<br />

Route maps on <strong>the</strong>ir own cannot affect traffic and must be included in different commands to affect routing<br />

traffic. To apply a route map to traffic on <strong>the</strong> E-<strong>Series</strong>, you must call or include that route map in a<br />

command such as <strong>the</strong> redistribute or default-in<strong>for</strong>mation originate commands in OSPF, ISIS, and<br />

BGP.<br />

Route redistribution occurs when <strong>FTOS</strong> learns <strong>the</strong> advertising routes from static or directly connected<br />

routes or ano<strong>the</strong>r routing protocol. Different protocols assign different values to redistributed routes to<br />

identify ei<strong>the</strong>r <strong>the</strong> routes and <strong>the</strong>ir origins. The metric value is <strong>the</strong> most common attribute that is changed<br />

to properly redistribute o<strong>the</strong>r routes into a routing protocol. O<strong>the</strong>r attributes that can be changed include<br />

<strong>the</strong> metric type (<strong>for</strong> example, external and internal route types in OSPF) and route tag. Use <strong>the</strong><br />

redistribute command in OSPF, RIP, ISIS, and BGP to set some of <strong>the</strong>se attributes <strong>for</strong> routes that are<br />

redistributed into those protocols.<br />

Route maps add to that redistribution capability by allowing you to match specific routes and set or change<br />

more attributes when redistributing those routes.<br />

<strong>FTOS</strong> <strong>Configuration</strong> <strong>Guide</strong>, version 7.7.1.0 363

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

Saved successfully!

Ooh no, something went wrong!