How do you configure a name on a Cisco router?
The hostname name global configuration command is used to configure a name on a Cisco router. For example, the following command changes the router's host name to RouterA:
RouterA(config)#How do you add a message-of-the-day (MOTD) banner on a Cisco router?
To add a message-of-the-day banner to a Cisco router, enter the banner motd # text # global configuration command. The pound signs (#) are delimiting characters. They can be any character of your choice, but they must be the same and cannot be included in your text. They signify the beginning and end of your text. The following example shows the banner motd command:
RouterA(config)#banner motd # Enter TEXT message. End with the character '#'.Warning only authorized users many access this Router. #
Note: The MOTD banner is displayed to anyone connecting to the router via Telnet, console port, or auxiliary port.On a Cisco router, how do you add a password to the console terminal?
To add a password to the console terminal, use the line console 0 global configuration command, followed by the login and password password line subcommands:
RouterA(config)#line console 0
In this example, the login subcommand forces the router to prompt for authentication. Without this command, the router will not authenticate a password. The password CCNA command sets the console password to CCNA. The password you set is case-sensitive.How do you add a password for Telnet access on a Cisco router?
To add a password for Telnet access, enter the line vty 0 4 global configuration command, the login command, and finally the password line subcommand. The password is case-sensitive. In this example, the Telnet password is set to CCNA:
RouterA(config)#line vty 0 4
RouterA(config-line)#password CCNAWhat command do you use to add a password to the auxiliary interface on your Cisco router?
To add a password to the auxiliary interface, use the line aux global configuration command, followed by the login and password subcommands. is the number of the auxiliary port you want to add a password to. The password is case-sensitive. The following example sets the password for the auxiliary port to CCNA:
RouterA(config)#line aux 0
RouterA(config-line)#password CCNAOn a Cisco router, how do you set a password to restrict access to privileged EXEC mode?
You set a password to restrict access to privileged EXEC mode using the enable password global configuration command:
RouterA(config)#enable password CCNA
This example sets the password to enter privileged mode to CCNA.By default, when you view the router's configuration, the enable password is not encrypted. What command can you enter to use an encrypted enable password?
To use an encrypted enable password, use the enable secret password global configuration command, where password is a case-sensitive password you assign:
RouterA(config)#enable secret Cisco
If you have an enable password on your router, the IOS will allow you to use the same password as your enable password for your secret password, but this is not recommended. This is because the enable password is not encrypted and anyone can view it. If you have both an enable and secret password configured on your router, the router will use the secret password and not the enable password.
When you view the configuration on Cisco routers, only the enable secret password is encrypted.How do you encrypt user mode and the enable password?
To encrypt user mode and the enable password, use the service password-encryption global command:
RouterA(config)#service password-encryptionHow do you configure Cisco router interfaces?
To configure an interface on a Cisco router, use the interface interface-type number global command, where interface-type number is the interface type and number you want to configure. For example, if you want to configure the second serial interface on your router, you would enter the following:
RouterA(config)#interface serial 1
Cisco interfaces start with 0 instead of 1. So the first interface would be number 0. The prompt also changes to RouterA(config-if)# to tell you that you are in interface mode. If you have a router with module slot, such as the Cisco 3600, you would enter into interface mode by entering the slot/port number. For example, if you have a Cisco 3600 router with two module serial interfaces and you want to configure the first serial interface on the second module you would enter interface s1/0.How do you administratively disable an interface on a Cisco router?
You administratively disable an interface on a Cisco router by issuing the shutdown interface configuration command. In this example, the serial interface is issued the shutdown command: RouterA(config)#int s0
00:27:14: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down
To administratively enable an interface, use the no shutdown interface command.What are some of the things the show interface interface-type number command displays?
The show interface command displays the following: · Whether the interface is administratively down· Whether the line protocol is up or down· An Internet address (if one is configured)· MTU and bandwidth· Traffic statistics on the interface· Interface encapsulation type
RouterA#show interface s0
Serial0 is down, line protocol is down
Hardware is HD64570 Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/0/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=up DSR=up DTR=down RTS=down CTS=upOn your Cisco router, you enter show interface s0 and notice that the port is administratively down. What does this mean, and how do you fix it?
When an interface is administratively down, it has been shut down manually. To remedy this, enter the interface command no shut.What two commands can you use to show the clock rate on a serial interface?
To view the clock rate on a serial interface, you can use the show running-config enable command and the show controllers enable command.
Assuming that you are using no CSU/DSU and you are using back-to-back DTE/DCE serial cables, what command would you use to set the serial interface on a router to provide clocking to another router at 64 Kbps?
The command to set the serial interface on a router to provide clocking to another router at 64 Kbps is clock rate 64000. Setting the clock rate on an interface makes it a DCE interface.What Cisco IOS router command would you use to find out whether a serial interface is a DCE or DTE interface (providing clocking)?
To see whether a serial interface is providing clocking, use the enable command show controllers serial-interface-type serial-number. The following example shows that serial interface 0 is providing clock rate at 56 Kbps:
RouterA#show controllers s 0
HD unit 0, idb = 0xCCE04, driver structure at 0xD2298buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 56000cpb = 0x81, eda = 0x4940, cda = 0x4800RX ring with 16 entries at 0x814800