XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Controlling access to VTY lines

By applying an access list to an inbound vty, you can control the source IP a router can be accessed from.

Router> enable
Router# config terminal
Router(config)# access-list 1 permit 192.168.200.0 0.0.0.255
Router(config)# line vty 0 15
Router(config-line)# access-class 1 in
Router(config-line)# exit
Router(config-line)# end

By applying an input statement on the inbound vty, you can control the protocols used to access the router.

Router> enable
Router# config terminal
Router(config)# line vty 0 15
Router(config-line)# transput input { telnet | ssh } (you can specify either or both)

Author Info:

 
Scott is the Founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs Xpresslearn.
 

Scott has been working in the networking field for 13 years and has experience in all the areas: Lan, Wan, Security, Optimization, High Availability, Wireless, and others.

When he is not working on further development of Xpresslearn, Scott loves spending time with his family and has such hobbies as Camping, Fishing, Cars, and Woodworking.

Related Posts:


Leave a Reply