Basic Router Configuration Quiz
29 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the IP address assigned to interface G0/0/0 on R1?

  • 192.168.10.1 (correct)
  • 209.165.200.225
  • 2001:db8:acad:10::1
  • 255.255.255.0

What command is used to bring the interface G0/0/1 up after configuration?

  • enable
  • activate
  • no shutdown (correct)
  • start interface

What is the subnet mask used for the IP address on interface G0/0/1?

  • 255.255.255.252 (correct)
  • 255.255.255.0
  • 255.255.255.255
  • 255.255.0.0

Which command would you use to verify both IPv4 and IPv6 interface configurations?

<p>show ip interface brief (C)</p> Signup and view all the answers

What does the message '%LINEPROTO-5-UPDOWN' indicate about interface G0/0/0 on R1?

<p>The line protocol has changed to up. (A)</p> Signup and view all the answers

What command is used to set the device name on a router?

<p>Router(config)# hostname hostname (A)</p> Signup and view all the answers

Which command secures user EXEC mode?

<p>Router(config-line)# password password (C)</p> Signup and view all the answers

What command encrypts all plaintext passwords on a router?

<p>Router(config)# service password encryption (C)</p> Signup and view all the answers

Which command is used to remotely access a router via SSH or Telnet?

<p>Router(config-line)# transport input {ssh | telnet} (B)</p> Signup and view all the answers

What is the purpose of the command 'Router(config)# banner motd # message #'?

<p>To provide legal notification (A)</p> Signup and view all the answers

Which step helps to save the router configuration to NVRAM?

<p>Router# copy running-config startup-config (B)</p> Signup and view all the answers

What is the function of the command 'Router(config)# line vty 0 4'?

<p>To enable Telnet or SSH access (A)</p> Signup and view all the answers

Which command should be executed to secure privileged EXEC mode?

<p>Router(config)# enable secret password (D)</p> Signup and view all the answers

What is the status of the GigabitEthernet0/0/0 interface?

<p>up (C)</p> Signup and view all the answers

Which command would you use to display the IPv4 addresses and their status for all interfaces?

<p>show ip interface brief (B)</p> Signup and view all the answers

What would be the likely default gateway address for PC1 to reach PC3 based on the provided configuration?

<p>192.168.10.1 (B)</p> Signup and view all the answers

Which of the following interfaces is located in a down status according to the configuration?

<p>Vlan1 (B)</p> Signup and view all the answers

What type of addressing does the 'show ipv6 interface brief' command display?

<p>IPv6 addresses (B)</p> Signup and view all the answers

Which command will provide you with IPv4 statistics for all interfaces on a router?

<p>show ip interfaces (A)</p> Signup and view all the answers

If a host sends a packet to a different network, which address is typically used?

<p>The address of its default gateway (A)</p> Signup and view all the answers

What is the purpose of the default gateway in a network?

<p>To enable communication with devices on other networks (B)</p> Signup and view all the answers

What command is used to activate a router interface?

<p>no shutdown (A)</p> Signup and view all the answers

Which command is used to set a password for virtual terminal lines?

<p>password (D)</p> Signup and view all the answers

Why is it advisable to use the description command on a router interface?

<p>To provide information about the network (A)</p> Signup and view all the answers

What type of encryption is enabled by the command 'service password encryption'?

<p>Service password encryption (D)</p> Signup and view all the answers

What command should be used to ensure that SSH and Telnet are allowed on virtual terminal lines?

<p>transport input ssh telnet (C)</p> Signup and view all the answers

What is the correct format for assigning an IPv4 address to a router interface?

<p>Router(config-if)# ip address ipv4-address subnet-mask (D)</p> Signup and view all the answers

What does the command 'copy running-config startup-config' do?

<p>Saves the current configuration to NVRAM (C)</p> Signup and view all the answers

In a router configuration, what does the '#' symbol in 'banner motd #' signify?

<p>Delimits the text message (A)</p> Signup and view all the answers

Flashcards

Configure Router Hostname

Assigns a unique name to the router, making it easier to identify and manage.

Secure Privileged EXEC Mode

Enables secure privileged EXEC mode, granting access to advanced configuration commands.

Secure Console Port

Protects the console port by setting a password for access, enhancing security.

Secure User EXEC Mode

Sets a password for user EXEC mode, which provides basic configuration access.

Signup and view all the flashcards

Encrypt Passwords

Protects sensitive passwords by encrypting them, safeguarding the router's configuration.

Signup and view all the flashcards

Configure Banner

Defines a message displayed on the router's console or when connecting remotely, providing information or legal notices.

Signup and view all the flashcards

Save Configuration

Saves the current running configuration to the router's non-volatile RAM (NVRAM), ensuring it persists after a reboot.

Signup and view all the flashcards

Enable Secure Remote Access

Establishes a secure connection between the router and remote users, ensuring confidentiality and integrity of data.

Signup and view all the flashcards

Interface Description

Assigns a unique description to an interface to help identify its purpose. Example: "Link to LAN" for interface connected to a local area network.

Signup and view all the flashcards

IP Address Configuration

Specifies the IP address and subnet mask used by the interface for communication on an IP network.

Signup and view all the flashcards

IPv6 Address Configuration

Configures the IPv6 address and subnet mask for the interface, enabling communication over an IPv6 network.

Signup and view all the flashcards

Interface Activation (no shutdown)

Enables the interface for communication by bringing it up. This allows the interface to receive and send traffic.

Signup and view all the flashcards

Verify Interface Configuration (show ip interface brief, show ipv6 interface brief)

Verifies the IP and IPv6 configuration of interfaces, providing information like the IP address, status, and connectivity.

Signup and view all the flashcards

Enable SSH and Telnet Access

Enables SSH and Telnet connections to the router, providing remote access for configuration and management.

Signup and view all the flashcards

Interface IP Configuration

Configures an IP address and subnet mask for a router interface, enabling it to communicate on a network.

Signup and view all the flashcards

Interface IPv6 Configuration

Configures an IPv6 address and prefix length for a router interface, enabling it to communicate on an IPv6 network.

Signup and view all the flashcards

Activate Interface

Activates a router interface, allowing it to participate in network traffic.

Signup and view all the flashcards

Encrypt Router Passwords

Protects passwords used for accessing the router, enhancing security by making them harder to decipher.

Signup and view all the flashcards

Save Running Configuration

Saves the current configuration of the router to the startup configuration, ensuring the settings persist after a reboot.

Signup and view all the flashcards

What does 'show ip interface brief' do?

Displays the current status and IP addresses of all interfaces on a device.

Signup and view all the flashcards

What does 'show interfaces' do?

Displays statistics and information about all interfaces on the device, but exclusively for IPv4 addresses.

Signup and view all the flashcards

What does 'show ipv6 interfaces' do?

Displays statistics and information about all interfaces on the device, but exclusively for IPv6 addresses.

Signup and view all the flashcards

What does 'show ip route' do?

Displays the contents of the IPv4 routing tables stored in RAM.

Signup and view all the flashcards

What does 'show ipv6 route' do?

Displays the contents of the IPv6 routing tables stored in RAM.

Signup and view all the flashcards

What is the default gateway?

The address of the router interface connected to the local network of the host.

Signup and view all the flashcards

Network Requirement for Host-Router Communication

The IP address of the host and the router interface must be within the same network.

Signup and view all the flashcards

How is the default gateway used?

The default gateway address is typically used when a host tries to reach devices on a different network.

Signup and view all the flashcards

Study Notes

Basic Router Configuration

  • Initial router settings involve configuring the device name, securing privileged EXEC mode, and securing user EXEC mode
  • Secure remote access through Telnet or SSH
  • Encrypt all plaintext passwords for security
  • Provide legal notifications and save configuration

Router Configuration Example

  • Router(config)# hostname hostname : Sets the router's name
  • Router(config)# line console 0 : Configures the console line
  • Router(config-line)# password password : Sets a password for the console
  • Router(config-line)# login : Enables login access to the console
  • Router(config-line)# transport input {ssh | telnet} : Sets transport input for SSH or Telnet
  • Router(config)# service password encryption: Secure passwords
  • Router(config)# banner motd # message #: Sets a banner message
  • Saving configurations: Router# copy running-config startup-config

Configure Interfaces

  • Interface configuration includes commands like interface, description, ip address, ipv4 address, ipv6 address
  • Adding descriptions to interfaces improves network documentation
  • no shutdown command activates an interface

Configure Router Interfaces Example

  • Example commands to configure interface G0/0/0 on router R1 to connect to a LAN
  • Example command to configure interface G0/0/1 on router R1 to connect to router R2
  • Verifying interface configuration involves using commands like show ip interface brief, show ipv6 interface brief, helping determine interface status and IP/IPv6 addresses

Verify Interface Configuration

  • show ip interface brief displays interface status, IP addresses and method.
  • show ipv6 interface brief displays interface status, IPv6 addresses and method.
  • show ip route, show ipv6 route display routing tables.
  • show interfaces shows statistics of all interfaces
  • show ip interfaces, show ipv6 interfaces display IPv4/IPv6 statistics per interface

Configure the Default Gateway

  • Default gateway is used when a host sends packets to another network
  • The default gateway's address is typically the router interface on the host's local network.
  • Setting a default gateway is essential for PCs to communicate through a router
  • A switch needs a default gateway for remote administration. Ip default-gateway ip-address.

Assessment Questions

  • What tasks should be completed when initially configuring a router? Initial tasks include configuring the device name, securing EXEC modes, setting passwords, configuring interfaces, and saving the configuration.
  • What is the purpose of configuring a banner message on a router? Banner messages are used for security and notification (e.g., warning of unauthorized access)
  • What is the benefit of configuring a description on a router interface? Adds clear labeling of the network connected to the interface, facilitating documentation and maintenance.
  • What are some popular show commands used to verify router interface configuration? show ip interface brief, show ipv6 interface brief, show ip route, show ipv6 route, show interfaces, show ip interfaces, and show ipv6 interfaces are commonly used.
  • What information does an end device need to have to communicate with remote networks? End devices need the IP address of the destination and a default gateway IP to forward packets
  • Why would a switch need to be configured with a default gateway? So that the switch can communicate with other devices on a network via a router.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

Test your knowledge on initial router settings, including device naming, securing access modes, and configuring remote access. This quiz covers essential commands used for configuring routers and securing network communications. Are you ready to ensure your network is properly configured?

More Like This

Use Quizgecko on...
Browser
Browser