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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To view all configured IP ACLs, use the show ip accounting access-list command (Figure 229) in the<br />

EXEC privilege mode.<br />

Figure 56 Command Example: show ip accounting access-list<br />

<strong>Force10</strong>#show ip accounting access example interface gig 4/12<br />

Extended IP access list example<br />

seq 10 deny tcp any any eq 111<br />

seq 15 deny udp any any eq 111<br />

seq 20 deny udp any any eq 2049<br />

seq 25 deny udp any any eq 31337<br />

seq 30 deny tcp any any range 12345 12346<br />

seq 35 permit udp host 10.21.126.225 10.4.5.0 /28<br />

seq 40 permit udp host 10.21.126.226 10.4.5.0 /28<br />

seq 45 permit udp 10.8.0.0 /16 10.50.188.118 /31 range 1812 1813<br />

seq 50 permit tcp 10.8.0.0 /16 10.50.188.118 /31 eq 49<br />

seq 55 permit udp 10.15.1.0 /24 10.50.188.118 /31 range 1812 1813<br />

To delete a filter, enter the show config command in the IP ACCESS LIST mode and locate the sequence<br />

number of the filter you want to delete. Then use the no seq sequence-number command in the IP<br />

ACCESS LIST mode.<br />

Configure an extended IP ACL<br />

Extended IP ACLs filter on source and destination IP addresses, IP host addresses, TCP addresses, TCP<br />

host addresses, UDP addresses, and UDP host addresses.<br />

Since traffic passes through the filter in the order of the filter’s sequence, you can configure the extended<br />

IP ACL by first entering the IP ACCESS LIST mode and then assigning a sequence number to the filter.<br />

To create a filter for packets with a specified sequence number, use these commands in the following<br />

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

Step Command Syntax Command Mode Purpose<br />

1 ip access-list extended<br />

access-list-name<br />

2<br />

seq sequence-number {deny |<br />

permit} {ip-protocol-number |<br />

icmp | ip | tcp | udp}<br />

{source mask | any | host<br />

ip-address} {destination mask |<br />

any | host ip-address}<br />

[operator port [port]] [count<br />

[byte] | ] [order]<br />

CONFIGURATION Enter the IP ACCESS LIST mode by<br />

creating an extended IP ACL.<br />

CONFIG-EXT-NACL Configure a drop or forward filter.<br />

•<br />

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