22.10.2013 Views

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

7.8.1.0 - 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.

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 forward all routes that do not match the 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 the last filter in your<br />

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

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

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

the filters in the correct order.<br />

Figure 61 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 the minimum<br />

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

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

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

Note the last line in the 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 the prefix list are forwarded.<br />

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

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

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

five.<br />

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

starting in the 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 />

112 IP Access Control Lists (ACL), Prefix Lists, and Route-maps

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

Saved successfully!

Ooh no, something went wrong!