0% found this document useful (0 votes)
27 views

Basic Router CLI Example

The document configures a router by setting the hostname, enabling logging and passwords for console, vty, and aux lines. It sets enable and enable secret passwords, banners, copies the running configuration to startup, and displays the routing table and enables password encryption.

Uploaded by

truc dang
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Basic Router CLI Example

The document configures a router by setting the hostname, enabling logging and passwords for console, vty, and aux lines. It sets enable and enable secret passwords, banners, copies the running configuration to startup, and displays the routing table and enables password encryption.

Uploaded by

truc dang
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Router(config)# hostname

Router(config)# line console 0


Router(config-line)# logging synchronous
Router(config)# no logging console
Router(config)# enable password cisco
Router(config)# enable secret cisco //MD5 encryption.

Router(config)# line console 0


Router(config-line)# password letmein

Router(config)# line vty 0 4


Router(config-line)# password telnet-pass

Router(config)# line aux 0


Router(config-line)# password cisco

Router(config)# banner motd “This is banner motd“


Router(config)# banner login “This is banner login “

Router# copy running-config startup-config


Destination filename [startup-config]?

Router# copy running-config startup-config


Destination filename [startup-config]? ENTER
Router# show history
Router# service password-encryption //encrypt password

Router# netstat –r // Display Routing Table Status

You might also like