![]() The login command tells the router to check for this password. ![]() Let’s configure a password: R1(config-line)# password my_password The router will now accept telnet connections but without authentication, it’s not going to work. It is possible to support multiple protocols but let’s configure the router so that it will only support telnet: R1(config-line)# transport input telnet Above you can see that telnet and SSH are two supported protocols. Let’s configure only the first five VTY lines: R1(config)# line vty 0 4 Some smaller boxes will typically have 4 or 16 VTY lines. This router supports more than 900 VTY lines which is a lot. Let’s take a look: R1(config)# line vty 0 ? ![]() These are virtual terminal lines that define how many concurrent connections it supports. Your router or switch will have a certain amount of VTY lines.
0 Comments
Leave a Reply. |