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 <strong>for</strong> UDP packets with a specified sequence number, use <strong>the</strong>se commands in <strong>the</strong> following<br />

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

Step Command Syntax Command Mode Purpose<br />

1 ip trace-list access-list-name CONFIGURATION Create a trace list and assign it a<br />

unique name.<br />

2<br />

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

udp {source mask | any | host<br />

ip-address} [operator port [port]]<br />

{destination mask | any | host<br />

ip-address} [operator port [port]]<br />

[count [byte] | log]<br />

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

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

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

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

Figure 83 Trace list Using seq Command Example<br />

TRACE LIST Configure a trace list filter <strong>for</strong> UDP<br />

packets.<br />

• source: An IP address as <strong>the</strong> source<br />

IP address <strong>for</strong> <strong>the</strong> filter to match.<br />

• mask: a network mask<br />

• any: to match any IP source<br />

address<br />

• host ip-address: to match IP<br />

addresses in a host.<br />

• destination: An IP address as <strong>the</strong><br />

source IP address <strong>for</strong> <strong>the</strong> filter to<br />

match.<br />

• count: count packets processed by<br />

<strong>the</strong> filter.<br />

• byte: count bytes processed by <strong>the</strong><br />

filter.<br />

• log: is supported.<br />

Note: When assigning sequence numbers to filters, keep in mind that you might need to insert a<br />

new filter. To prevent reconfiguring multiple filters, assign sequence numbers in multiples of five or<br />

ano<strong>the</strong>r number.<br />

<strong>Force10</strong>(config-trace-acl)#seq 15 deny ip host 12.45.0.0 any log<br />

<strong>Force10</strong>(config-trace-acl)#seq 5 permit tcp 121.1.3.45 0.0.255.255 any<br />

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

!<br />

ip trace-list dilling<br />

seq 5 permit tcp 121.1.0.0 0.0.255.255 any<br />

seq 15 deny ip host 12.45.0.0 any log<br />

<strong>Force10</strong>(config-trace-acl)#<br />

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

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

170 Security

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

Saved successfully!

Ooh no, something went wrong!