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.

Figure 247 shows an example of a route map with multiple instances. The show config command<br />

displays only <strong>the</strong> configuration of <strong>the</strong> current route map instance. To view all instances of a specific route<br />

map, use <strong>the</strong> show route-map command.<br />

Figure 247 Command Example: show route-map<br />

<strong>Force10</strong>#show route-map dilling<br />

route-map dilling, permit, sequence 10<br />

Match clauses:<br />

Set clauses:<br />

route-map dilling, permit, sequence 15<br />

Match clauses:<br />

interface Loopback 23<br />

Set clauses:<br />

tag 3444<br />

<strong>Force10</strong>#<br />

To delete a route map, use <strong>the</strong> no route-map map-name command in <strong>the</strong> CONFIGURATION mode.<br />

Configure route map filters<br />

Within <strong>the</strong> ROUTE-MAP mode, <strong>the</strong>re are match and set commands. Basically, match commands search<br />

<strong>for</strong> a certain criterion in <strong>the</strong> routes and <strong>the</strong> set commands change <strong>the</strong> characteristics of those routes, ei<strong>the</strong>r<br />

adding something or specifying a level.<br />

When <strong>the</strong>re are multiple match commands of <strong>the</strong> same parameter under one instance of route-map, <strong>the</strong>n<br />

<strong>FTOS</strong> does a match between ei<strong>the</strong>r of those match commands. If <strong>the</strong>re are multiple match commands of<br />

different parameter, <strong>the</strong>n <strong>FTOS</strong> does a match ONLY if <strong>the</strong>re is a match among ALL match commands.<br />

The following example explains better:<br />

Example 1<br />

<strong>Force10</strong>(conf)#route-map <strong>for</strong>ce permit 10<br />

<strong>Force10</strong>(config-route-map)#match tag 1000<br />

<strong>Force10</strong>(config-route-map)#match tag 2000<br />

<strong>Force10</strong>(config-route-map)#match tag 3000<br />

In <strong>the</strong> above route-map, if a route has any of <strong>the</strong> tag value specified in <strong>the</strong> match commands, <strong>the</strong>n <strong>the</strong>re is a<br />

match.<br />

Example 2<br />

<strong>Force10</strong>(conf)#route-map <strong>for</strong>ce permit 10<br />

<strong>Force10</strong>(config-route-map)#match tag 1000<br />

<strong>Force10</strong>(config-route-map)#match metric 2000<br />

360 IP Access Control Lists, Prefix Lists, and Route-maps

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

Saved successfully!

Ooh no, something went wrong!