Cisco switch CLI as compared with the Cisco router

Cisco switch CLI as compared with the Cisco router


What are the steps in physically installing a router?

 

·         Step 1. Connect any LAN cables to the LAN ports.
Step 2. If using an external CSU/DSU, connect the router's serial interface to the CSU/DSU and the CSU/DSU to the line from the telco.
Step 3. If using an internal CSU/DSU, connect the router's serial interface to the line from the telco.
Step 4. Connect the router's console port to a PC (using a rollover cable), as needed, to configure the router. Step 5. Connect a power cable from a power outlet to the power port on the router.
Step 6. Power on the router.

 

What are the two most common commands on routers to display interfaces and their statuses?

 

·         Show ip interface brief: Displays a list with one line per interface, wit some basic information, inclidng the interface IP address and interface status.
2) Show ip interfaces: lists interfaces, but with a large amount of information per interface.

 

On a Cisco router's interfaces what is the first and second codes referring to?

 

·         First status refers to the Line status or Layer 1 status - for example, ins the cable installed, its it the right/wrong cable, is the device on the other end powered on?
Second status refers to the protocol status or Layer 2 status -. It is always down if the line status is down. If the line status is up, a protocol status of down is usually caused by a mismatched data link layer configuration.

 

 

On a cisco router what does the following combination of interface status codes mean?
Line Status Protocol Status
1) Administratively down Down
2) Down Down
3) Up Down
4) Up Up

 

·         The interface has a shutdown command configured on it.
2) The interface is not shutdown, but the physical layer has a problem. For example, no cable has been attached to the interface, or with Ethernet, the switch interface on the other end of the cable is shut down or the switch is powered off.
3) Almost always refers to data link layer problems, most often configuration problems. For example, serial links have this combination when one routers was configure to use PPP and the other default to use HDLC.
4) Layer 1 and Layer 2 of this interface are functioning.

 

What commands are used on Cisco routers to configure an interface's IP?

 

·         Use the interface sub command ip address (provide address and mask)

 

 

Show protocols command on Cisco routers

 

·         Displays the state of each interface as well as the IP address and mask configured on those interfaces.

 

Which of the following installation steps are typically required on a Cisco router, but not typically required on a Cisco switch? (Choose two answers.)
a. Connect Ethernet cables
b. Connect serial cables
c. Connect to the console port
d. Connect the power cable
e. Turn the on/off switch to "on"

 

·         B and E. Cisco routers have an on/off switch, but Cisco switches generally do not.

 

Which of the following commands might you see associated with the router CLI, but not with the switch CLI?
a. The clock rate command
b. The ip address address mask command
c. The ip address dhcp command
d. The interface vlan 1 command

 

·         Both switches and routers configure IP addresses, so the ip address address mask and ip address dhcp commands could be used on both routers and switches. The interface vlan 1 command applies only to switches.

 

You just bought two Cisco routers for use in a lab, connecting each router to a different LAN switch with their Fa0/0 interfaces. You also connected the two routers' serial interfaces using a back-to-back cable. Which of the following steps are not required to be able to forward IPv4 packets on both routers' interfaces? (Choose two answers.)
a. Configuring an IP address on each router's Fast Ethernet and serial interfaces
b. Configuring the bandwidth command on one router's serial interface
c. Configuring the clock rate command on one router's serial interface
d. Setting the interface description on both the Fast Ethernet and serial interface of each router

 

 

·         B and D. To route packets, a router interface must have an IP address assigned and be in an "up and up" interface state. For a serial link created in a lab, without using CSU/DSUs, one router must be configured with a clock rate command to the speed of the link. The bandwidth and description commands are not required to make a link operational.

 

The output of the show ip interface brief command on R1 lists interface status codes of "down" and "down" for interface Serial 0/0. Which of the following could be true?
a. The shutdown command is currently configured for that interface.
b. R1's serial interface has been configured to use Frame Relay, but the router on the other end of the serial link has been configured to use PPP.
c. R1's serial interface does not have a serial cable installed.
d. Both routers have been cabled to a working serial link (CSU/DSUs included), but only one router has been configured with an IP address.

 

 

·         C. If the first of the two status codes is "down," it typically means that a Layer 1 problem exists (for example, the physical cable is not connected to the interface).

 

Which of the following commands do not list the IP address and mask of at least one interface? (Choose two answers.)
a. show running-config
b. show protocols type number
c. show ip interface brief
d. show interfaces
e. show version

 

·         C and E. The show ip interface brief command lists all the interface IPv4 addresses but none of the masks. The show version command lists none of the IP addresses and none of the masks. The other three commands list both the address and mask

 

Which of the following is different on the Cisco switch CLI as compared with the Cisco router CLI?
a. The commands used to configure simple password checking for the console
b. The number of IP addresses configured
c. The configuration of the device's host name
d. The configuration of an interface description

 

·         B. A router has one IPv4 address for each interface in use, whereas a LAN switch has a single IPv4 address that is just used for accessing the switch. The rest of the answers list configuration settings that use the same conventions on both routers and switches.

 

 

Answer Detail

Get This Answer

Invite Tutor