05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

450 Chapter 9 � Managing Traffic with Access Lists<br />

lt Match only packets with a lower port number<br />

neq Match only packets not on a given port number<br />

range Match only packets in the range of port numbers<br />

In the example below, any source IP address that has a destination IP<br />

address of 172.16.30.2 has been denied.<br />

RouterA(config)#access-list 110 deny tcp any host<br />

172.16.30.2 ?<br />

eq Match only packets on a given port number<br />

established Match established connections<br />

fragments Check fragments<br />

gt Match only packets with a greater port<br />

number<br />

log Log matches against this entry<br />

log-input Log matches against this entry,including<br />

inputinterface<br />

lt Match only packets with a lower port number<br />

neq Match only packets not on a given port<br />

number<br />

precedence Match packets with given precedence value<br />

range Match only packets in the range of port<br />

numbers<br />

tos Match packets with given TOS value<br />

<br />

Now, you can press Enter here and leave the access list as is. However,<br />

you can be even more specific: once you have the host addresses in place, you<br />

can specify the type of service you are denying. The following help screen<br />

gives you the options. You can choose a port number or use the application<br />

or even the program name.<br />

RouterA(config)#access-list 110 deny tcp any host<br />

172.16.30.2 eq ?<br />

Port number<br />

bgp Border Gateway Protocol (179)<br />

chargen Character generator (19)<br />

cmd Remote commands (rcmd, 514)<br />

daytime Daytime (13)

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

Saved successfully!

Ooh no, something went wrong!