Chapter 10: Basic Router Configuration
Which statement regarding service password-encryption command is true? As soon as the service password-encryption command is entered, all currently set passwords formerly displayed in plain text are encrypted To see the passwords encrypted by the service password-encryption command in plain text, issue the not service password-encryption command in plain text, issue the no service password-encryption command It encrypts only line mode passwords It is configured in privileged EXEC mode
As soon as the service password-encryption command is entered, all currently set passwords formerly displayed in plain text are encrypted
What is the purpose of the banner motd command? It configures a messaged that will identify printed documents to LAN users. it is a way that routers communicate the status of their links with one another It provides a way to make announcements to those who log into a router. It provides an easy way of communicating with any user attached to a router's LANs
It provides a way to make announcements to those who log into a router.
An administrator is configuring a new router to permit out-of-band management access. Which set of commands will allow the required login using a password of cisco? Router(config)#line console 0 Router(config-line)#password cisco Router(config-line)#login Router(config)#line vty 0 4 Router(config-line)#password cisco Router(config-line)#login Router(config)#line vty 0 4 Router(config-line)#password manage Router(config-line)#exit Router(config)#enable password cisco Router(config)#line console 0 Router(config-line)#password cisco Router(config-line)#exit Router(config)#service password-encryption
Router(config)#line console 0 Router(config-line)#password cisco Router(config-line)#login
Which command is used to encrypt all passwords in a router configuration file? Router_A(config)#encrypt password Router_A(config)#service password-encryption Router_A(config)#enable password <password> Router_A(config)#enabler secret <password>
Router_A(config)#service password-encryption
A router boots and enters setup mode. What is the reason? The IOS image is corrupt The configuration file is missing from NVRAM Cisco IOS is missing from flash memory The POST process has detected hardware failure
The configuration file is missing from NVRAM
What is saved in Flash memory?
The devices Cisco IOS is saved in flash memory.
Which characteristic describes the default gateway of a host computer? The logical address of the router interface on the same network as the host computer the physical address of the router interface on the same network as the host computer the physical address of the switch interface connected to the host computer the logical address assigned to the switch interface connected to the router
The logical address of the router interface on the same network as the host computer
Why would you save the startup-config to flash memory?
This command is used for backup purposes. This is because NRAM can be damaged or corrupted.
A technician is configuring a router to allow for all forms of management access. As part of each different type of access, the technician is trying to type the command login. Which configuration mode should be entered to do this task? user executive mode any line configuration mode global configuration mode privileged Exec mode
any line configuration mode
What two commands will save the running config to startup config?
copy running-config startup-config write memory
What command is used to save the startu- config to flash memory?
copy startup-config flash
What command is used to add a description to an interface?
description description-text
How do your secure privileged EXEC mode on a router?
enable secret argument
Company policy requires using the most secure method to safeguard access to the privileged exec and configuration mode on the routers. The privileged exec password is trustknow1. Which of the following router commands achieves the goal of providing the highest level of security? enable secret trusknow1 secret password trusknow1 enable password trusknow1 service-password encryption
enable secret trusknow1
How do you configure device name on a router?
hostname HOSTNAME
How do you configure a vlan interface on a switch?
interface vlan1 ip address ip address subnetmask no shutdown
What command is used to add an IPv4 address and subnet mask to a router interface?
ip address ipv4 address subnet mask
What command is used to set a default gateway on a switch?
ip default-gateway ip address of the default gateway
What command is used to add an IPv6 address and subnet mask to a router interface?
ipv6 address ipv6-address/prefix-length
How do you secure User EXEC mode on a router?
line console 0 password argument login
How do you secure remote Telnet/SSH access?
line vty 0 4 password argument login transport input {ssh | telnet}
What command is used to activate an interface on a router?
no shutdown
What will be the response from the router after the command, "router(config)#hostname portsmouth" is entered? portsmouth# hostname=portsmouth portsmouth# router(config-host)# invalid input detected ? command not recognized router(config)# portsmouth(config)#
portsmouth(config)#
Which CLI mode allows users to access all device commands, such as those used for configuration, management, and troubleshooting? privileged Exec mode interface configuration mode user Exec mode global configuration mode
privileged Exec mode
How do you secure all passwords in the config file?
service password-encryption
What command is used to view the contents of Flash memory?
show flash
Displays statistics for all interfaces on the device. However, this command will only display the IPV4 addressing information.
show interfaces
What command is used to see layer 3-1 information?
show interfaces
What command is used to give a summary of all interfaces?
show interfaces or show ip interfaces
What command is used to see only layer 3 and 4 information about a specific interface?
show ip interface
What command is used to show the statistics of a specific ipv4 interface?
show ip interface and the keyword
Which command can be used on a Cisco router to display all interfaces, the IPv4 address assigned, and current status? ping show ip route show ip interface brief show interface fa0/1
show ip interface brief
The output displays all interfaces, their IP address, and their current status. The configured and connected interfaces should display a Status of up and Protocol of up. Anything else would indicates problem with either configuration or the cabling.
show ip interface brief show ipv6 interface brief
What commands are used to show if an interface is up or down?
show ip interface brief show interfaces
There are several commands that can be used to verify interface configuration. The most useful of these is what two commands?
show ip interface brief and show ipv6 interface brief
Displays the IPv4 statistics for all interfaces on a router
show ip interfaces
Displays the contents of the IP routing table stored in RAM
show ip route show ipv6 route
What command is used to show the statistics of a specific ipv6 interface?
show ipv6 interface keyword
Displays the IPv6 statistics for all interfaces on a router
show ipv6 interfaces
How do you provide legal notification on login of a router?
banner motd delimiter message delimiter
How do you save the configuration on a router?
copy running-config startup-config
What command is used to enter a router interface?
interface type-and-number
What is stored in the NVRAM of Cisco router? the startup configuration the Cisco IOS the running configuration the bootup instructions
the startup configuration
What is the purpose of the startup configuration file on a Cisco router? to provide a limited backup version of the IOS, in case the router cannot load the full featured IOS to facilitate the basic operation of the hardware components of a device to contain the commands that are used to initially configure a router on startup to contain the configuration commands that the router IOS is currently using
to contain the commands that are used to initially configure a router on startup