Command Line Interface - griffinsnest/tech-Jorunal-1 GitHub Wiki

How to use CLI to change RIP to Version 2


Using the command-line interface you can update or change the current RIP version to version 2, which this lab requires or the PDUs between the networks will always fail. To do this firstly, you must be sure the router is enabled by doing the enable command. Next use the command "conf t" to enable configuration mode for the router. Thirdly, use the command router rip in the newly enabled configuration mode to go further into the router's rip configuration menu. This allows you to simply input the command version 2 to make the router use RIP version 2.

How to change Router Hostname


To change or add a hostname to a router is very simple. First, you must be sure the router is enabled by doing the enable command. Next use the command "conf t" to enable configuration mode for the router. From here simply use the command hostname followed by whatever name you want.

How to save Router changes


To save these changes, make sure the router is NOT in configuration mode or enabled as being in these states makes the commands not work when trying to save the current router's data. Once in the default setting, first, run the command copy running-config startup-config, this will prompt the command line to ask a destination to save the changes to. Simply hit enter and it will save to the default location. This saves the current running configuration to be the initial start up configuration. Another Way of doing this is the command copy run start which does the exact same as the longer command.