XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 2.00 out of 5)
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's profession is a Senior Network Engineer at a Healthcare related company in Nashville, TN. When he is not trying to secure a network or come up with a design for a new project, he enjoys spending time with his family. You can find out more at: http://www.scottp.net

Similar Posts:

 

Leave a Reply