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.

Step Command Syntax Command Mode Purpose<br />

2<br />

seq sequence-number {deny |<br />

permit} ip-prefix [ge<br />

min-prefix-length] [le<br />

max-prefix-length]<br />

If you want to <strong>for</strong>ward all routes that do not match <strong>the</strong> prefix list criteria, you must configure a prefix list<br />

filter to permit all routes (permit 0.0.0.0/0 le 32). The “permit all” filter should be <strong>the</strong> last filter in your<br />

prefix list. To permit <strong>the</strong> default route only, enter permit 0.0.0.0/0.<br />

Figure 236 illustrates how <strong>the</strong> seq command orders <strong>the</strong> filters according to <strong>the</strong> sequence number assigned.<br />

In <strong>the</strong> example, filter 20 was configured be<strong>for</strong>e filter 15 and 12, but <strong>the</strong> show config command displays<br />

<strong>the</strong> filters in <strong>the</strong> correct order.<br />

Figure 236 Command Example: seq<br />

<strong>Force10</strong>(conf-nprefixl)#seq 20 permit 0.0.0.0/0 le 32<br />

<strong>Force10</strong>(conf-nprefixl)#seq 12 deny 134.23.0.0 /16<br />

<strong>Force10</strong>(conf-nprefixl)#seq 15 deny 120.23.14.0 /8 le 16<br />

<strong>Force10</strong>(conf-nprefixl)#show config<br />

!<br />

ip prefix-list juba<br />

seq 12 deny 134.23.0.0/16<br />

seq 15 deny 120.0.0.0/8 le 16<br />

seq 20 permit 0.0.0.0/0 le 32<br />

<strong>Force10</strong>(conf-nprefixl)#<br />

CONFIG-NPREFIXL Create a prefix list with a sequence<br />

number and a deny or permit action. The<br />

optional parameters are:<br />

• ge min-prefix-length: is <strong>the</strong> minimum<br />

prefix length to be matched (0 to 32).<br />

• le max-prefix-length: is <strong>the</strong> maximum<br />

prefix length to be matched (0 to 32).<br />

Note <strong>the</strong> last line in <strong>the</strong> prefix list Juba contains a “permit all” statement. By including this line in a prefix<br />

list, you specify that all routes not matching any criteria in <strong>the</strong> prefix list are <strong>for</strong>warded.<br />

To delete a filter, use <strong>the</strong> no seq sequence-number command in <strong>the</strong> PREFIX LIST mode.<br />

If you are creating a standard prefix list with only one or two filters, you can let <strong>FTOS</strong> assign a sequence<br />

number based on <strong>the</strong> order in which <strong>the</strong> filters are configured. The <strong>FTOS</strong> assigns filters in multiples of<br />

five.<br />

To configure a filter without a specified sequence number, use <strong>the</strong>se commands in <strong>the</strong> following sequence<br />

starting in <strong>the</strong> CONFIGURATION mode:<br />

Step Command Syntax Command Mode Purpose<br />

1 ip prefix-list prefix-name CONFIGURATION Create a prefix list and assign it a unique<br />

name.<br />

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

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

Saved successfully!

Ooh no, something went wrong!