access-list 5 permit 10.0.0.1
access-list 5 permit 10.0.0.2
access-list 5 permit 192.168.3.1
access-list 5 permit 192.168.0.1
access-list 5 deny any
!
line con 0
line vty 0 4
access-class 5 in
login
PC System & Networking blog and website, with information on computer networking systems, CMS, Cisco networking related configuration, freeware, news, resources and opinion.
Friday, November 21, 2008
How to limit access from network host to a Cisco device
Sometime you may like to limit only certain IP address to access your Cisco router / switch by using telnet. You may implement it by configuring the access list and apply it to the line vty 0 4 line.
Labels:
Networking,
Security
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment