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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To create a filter with 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 mac access-list standard<br />

access-list-name<br />

2<br />

seq sequence-number {deny | permit}<br />

{any | source-mac-address} [count [byte]] |<br />

[log]<br />

When you create <strong>the</strong> filters with specific sequence numbers, you can create <strong>the</strong> filters in any order and<br />

<strong>FTOS</strong> orders <strong>the</strong> filters correctly.<br />

Figure 98 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 5 was configured be<strong>for</strong>e filter 2, but <strong>the</strong> show config command displays <strong>the</strong> filters<br />

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

Figure 98 seq Command Example<br />

CONFIGURATION Enter <strong>the</strong> MAC ACCESS LIST<br />

mode by creating a standard MAC<br />

ACL.<br />

MAC ACCESS LIST Configure a MAC ACL filter with a<br />

specific sequence number.<br />

The any keyword filters on any<br />

source MAC address. log is not<br />

supported on C-<strong>Series</strong>.<br />

Note: Keep in mind when assigning sequence numbers to filters that you may need to insert a new filter.<br />

To prevent reconfiguring multiple filters, assign sequence numbers in multiples of five or ano<strong>the</strong>r number.<br />

<strong>Force10</strong>(conf)#mac access-list standard stringbean<br />

<strong>Force10</strong>(config-std-macl)#seq 5 deny 00:00:00:00:11:22<br />

<strong>Force10</strong>(config-std-macl)#seq 2 permit any<br />

<strong>Force10</strong>(config-std-macl)#show config<br />

!<br />

mac access-list standard stringbean<br />

seq 2 permit any<br />

seq 5 deny 00:00:00:00:11:22<br />

<strong>Force10</strong>(config-std-macl)#<br />

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

If you are creating a standard ACL 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. <strong>FTOS</strong> assigns filters in multiples of 5.<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 mac access-list standard<br />

access-list-name<br />

CONFIGURATION Create a standard MAC ACL and<br />

assign it a unique name.<br />

192 Layer 2

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

Saved successfully!

Ooh no, something went wrong!