19.10.2013 Views

7.6.1.0 - Force10 Networks

7.6.1.0 - Force10 Networks

7.6.1.0 - 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 183 Resequencing ACLs<br />

<strong>Force10</strong>(config-ext-nacl)# show config<br />

!<br />

ip access-list extended test<br />

remark 4 XYZ<br />

remark 5 this remark corresponds to permit any host 1.1.1.1<br />

seq 5 permit ip any host 1.1.1.1<br />

remark 9 ABC<br />

remark 10 this remark corresponds to permit ip any host 1.1.1.2<br />

seq 10 permit ip any host 1.1.1.2<br />

seq 15 permit ip any host 1.1.1.3<br />

seq 20 permit ip any host 1.1.1.4<br />

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

<strong>Force10</strong># resequence access-list ipv4 test 2 2<br />

<strong>Force10</strong># show running-config acl<br />

!<br />

ip access-list extended test<br />

remark 2 XYZ<br />

remark 4 this remark corresponds to permit any host 1.1.1.1<br />

seq 4 permit ip any host 1.1.1.1<br />

remark 6 this remark has no corresponding rule<br />

remark 8 this remark corresponds to permit ip any host 1.1.1.2<br />

seq 8 permit ip any host 1.1.1.2<br />

seq 10 permit ip any host 1.1.1.3<br />

seq 12 permit ip any host 1.1.1.4<br />

Remarks and rules that originally have the same sequence number have the same sequence number after<br />

the resequence command is applied. Remarks that do not have a corresponding rule will be incremented<br />

as as a rule. These two mechanisms allow remarks to retain their original position in the list.<br />

For example, in Figure 184, remark 10 corresponds to rule 10 and as such they have the same number<br />

before and after the command is entered. Remark 4 is incremented as a rule, and all rules have retained<br />

their original positions.<br />

268 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!