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.

Hands-on Labs 465<br />

5. Add the source IP address you want to filter on, then add the destination<br />

host IP address. Use the host command instead of wildcard bits.<br />

2501A(config)#access-list 110 deny tcp host<br />

172.16.10.2 host 172.16.20.2 ?<br />

ack Match on the ACK bit<br />

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

number<br />

established Match established connections<br />

fin Match on the FIN bit<br />

fragments Check fragments<br />

gt Match only packets with a greater<br />

port number<br />

log Log matches against this entry<br />

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

including input interface<br />

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

number<br />

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

port number<br />

precedence Match packets with given precedence<br />

value<br />

psh Match on the PSH bit<br />

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

port numbers<br />

rst Match on the RST bit<br />

syn Match on the SYN bit<br />

tos Match packets with given TOS value<br />

urg Match on the URG bit<br />

<br />

6. At this point, you can add the eq telnet command. The log command<br />

can also be used at the end of the command so that whenever the<br />

access-list line is hit, a log will be generated on the console.<br />

2501A(config)#access-list 110 deny tcp host<br />

172.16.10.2 host 172.16.20.2 eq telnet log

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

Saved successfully!

Ooh no, something went wrong!