cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
444
Views
0
Helpful
1
Replies

Access list option

omyma1234
Level 1
Level 1

hi ,

we have bought a new router 2800 series and i tried to apply access-list command

(config)# access-list 110 deny ip host X.x.x.x host y.y.y.y eq telnet

i have received an error message as the command is unrecognized , when i used help option i found that (eq -gt -...) not found and they replaced by:

dscp - fragments -log - log-input

precedence - time-range - tos

could you please tell me ,how to use the command to prevent specific port?

yours omy

1 Reply 1

vladrac-ccna
Level 5
Level 5

Hello friend

just change "IP" to TCP and you are good to go

(config)# access-list 110 deny tcp host X.x.x.x host y.y.y.y eq telnet

check a better way to configure ACL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiap_c/ch05/hipaclis.htm

Vlad