Cisco Routers Line Commands

When using Cisco Line commands To configure you cisco router, you can make global changes to the router. 

To configure user mode passwords, use the line command. The prompt

then becomes Router (config-line)#.
Router#config t

Router says : Enter configuration commands, one per line. End with
Router(config)#line ? <0-70> First Line number
aux Auxiliary line
console Primary terminal line
tty Terminal controller
vty Virtual terminal
Router(config)#line console 0
Router(config-line)# password if you want.
Router(config)#line VTY 0 4
Router(config)#line password

The line console 0 command is known as a major, or global, command, and any command typed from the (config-line) prompt is known as a subcommand.

you can save this configuration to NVRAM, which is known as startup-config. This file would then be loaded every time the router is rebooted.

I chose “0” to go to the IOS and not save the file we created. This will take us to the CLI

Leave a Reply

Your email address will not be published. Required fields are marked *