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.

Resequencing is available <strong>for</strong> IPv4 and IPv6 ACLs and prefix lists and MAC ACLs. To resequence an<br />

ACL or prefix list use <strong>the</strong> appropriate command in Table 36. You must specify <strong>the</strong> list name, starting<br />

number, and increment when using <strong>the</strong>se commands.<br />

Table 36 Resequencing ACLs and Prefix Lists<br />

List Command Command Mode<br />

IPv4, IPv6, or MAC ACL resequence access-list {ipv4 | ipv6 | mac} {access-list-name<br />

StartingSeqNum Step-to-Increment}<br />

IPv4 or IPv6 prefix-list resequence prefix-list {ipv4 | ipv6} {prefix-list-name<br />

StartingSeqNum Step-to-Increment}<br />

Figure 242 shows <strong>the</strong> resequencing of an IPv4 access-list beginning with <strong>the</strong> number 2 and incrementing<br />

by 2.<br />

Figure 242 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 <strong>the</strong> same sequence number have <strong>the</strong> same sequence number after<br />

<strong>the</strong> 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 <strong>the</strong>ir original position in <strong>the</strong> list.<br />

356 IP Access Control Lists, Prefix Lists, and Route-maps<br />

Exec<br />

Exec

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

Saved successfully!

Ooh no, something went wrong!