Initially a Cisco device without any configuration can be configured by using the console port and a Cisco console cable. (9600,8,N,1)
A Cisco CLI will be reached in the User Mode. In this mode the device can?t be configured and not all the show commands are available. The prompt looks like this:
Router>
To configure the device and execute all the commands you need to go to the Privileged Mode (Enable Mode).
The command to do this is:
Router> enable
When an enable password is set, you have to enter it.
When the router is enabled the prompt looks like this:
Router#
To configure the device you have to go to the configuration mode:
Router# config t
Router(config)#
You are now in the global configuration mode. You can leave this by pressing CTR + Z or the command exit (one configuration layer back).
The Cisco CLI contains a help function. By pressing ? after a command or prompt the commands which can be used are shown.
Use the following command to see the current configuration:
Router# show running-config
The actual configuration is shown by this command. When a Cisco is booted the configuration in NVRAM (startup-config) is copied to RAM.
So you have to store the configuration in NVRAM after every configuration change. This can be done by the following command:
Router# copy run start (or wr)
|