09-11-2016 06:14 AM - edited 03-08-2019 07:22 AM
Hey guys,
I am taking my first class in programming Cisco switches. I am also new to the community so Hi! to everyone.
Here is what I see on my router and the commands I entering. I want to understand what each code means, because I am unsure of some of the technical terms I see in the resources I have available currently.
line console 0 from global configuration mode
line vty 0 15 from global configuration mode
line vlan 1 from global configuration mode
I think the line console 0 is how you enter basic setup and secure the line to the console interface. e.g.
Server(config)#line console 0
Server(config-line)#password cisco
Server(config-line)#login
Server(config-line)#exit
Server(config)#
After I reload the terminal I should be prompted with a password if I want to make any changes to the console port. Am I understanding this fully and correctly?
I think the line vty 0 15 has something to do with telnet and securing a line to the virtual ports 0-15. e.g.
Server(config)#line vty 0 15
Server(config-line)#password class
Server(config-line)#login
Server(config-line)#exit
Server(config)#
After I reload the terminal and connect via Telnet or SSH then I should be prompted to enter a password class if I want to make any changes to the interface 0-15 on the vty line. Am I understanding this fully and correctly?
I think the line vlan 1 is similar and is for a virtual port if I were to have a virtual machine connect to the switch. e.g
Server(config)#line vlan 1
Server(config-line)#password virtualmachine
Server(config-line)#login
Server(config-line)#exit
Server(config)#
After I reload the terminal i should be prompted with a password If I was to connect a virtual machine to this interface. Am I understanding this fully and correctly?
I have only had a few lessons but this is confusing me more than anything I have learned thus far. I want to understand this in depth and need some help. Thank you in advance for your input.
Bdoug
Solved! Go to Solution.
09-11-2016 08:21 AM
09-11-2016 08:21 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide