modull10-Basic Router Configuration
8 Questions
0 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 command should be issued to secure privileged EXEC mode on a router?

  • Router(config)# enable password
  • Router(config)# enable secret (correct)
  • Router(config)# privileged mode enable
  • Router(config)# secure enable
  • Which command is necessary to enable an interface on a router?

  • Router(config-if)# interface on
  • Router(config-if)# enable
  • Router(config-if)# activate
  • Router(config-if)# no shutdown (correct)
  • What is the purpose of the 'banner motd' command in router configuration?

  • To display a legal notification to users (correct)
  • To encrypt plaintext passwords
  • To configure interface descriptions
  • To set the device hostname
  • Which command would you use to confirm the summary status of IPv4 interfaces on a router?

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

    In order to manage a Layer 2 switch remotely, what must be configured?

    <p>An IP address and default gateway</p> Signup and view all the answers

    What is the primary purpose of the 'service password-encryption' command?

    <p>To encrypt all plaintext passwords</p> Signup and view all the answers

    When configuring a router interface, which command is optional but recommended for labeling?

    <p>Router(config-if)# description</p> Signup and view all the answers

    How can a Layer 2 switch learn its default gateway in IPv6?

    <p>Through Router Advertisement (RA)</p> Signup and view all the answers

    Study Notes

    Basic Router Configuration

    • Device Naming: Assign a hostname to the router using Router(config)# hostname R1.
    • Privileged EXEC Mode Security: Secure privileged EXEC mode with Router(config)# enable secret.
    • User EXEC Mode Security (Console): Secure user EXEC mode (console) with Router(config)# line console 0, setting a password with Router(config-line)# password, and requiring login with Router(config-line)# login.
    • Remote Access Security (Telnet/SSH - vty lines): Secure remote Telnet/SSH access via vty lines (Router(config)# line vty 0 4) with password and login settings (Router(config-line)# password, Router(config-line)# login). Encrypt all plaintext passwords with Router(config)# service password-encryption. Enable SSH and telnet transport with Router(config-line)# transport input ssh telnet.
    • Legal Notice (Message of the Day): Provide a legal notification (banner motd) using Router(config)# banner motd # Unauthorized access is prohibited! #.
    • Configuration Saving: Save the running configuration to the startup configuration with Router# copy running-config startup-config.

    Router Interface Configuration

    • Common Interfaces: Modern routers often feature GigabitEthernet ports like GigabitEthernet 0/0/0 and GigabitEthernet 0/0/1.
    • Interface Configuration Commands:
      • Enter interface configuration mode with Router(config)# interface gigabitEthernet 0/0/0.
      • Add a description (optional but recommended) with Router(config-if)# description.
      • Assign an IPv4 address with Router(config-if)# ip address.
      • Assign an IPv6 address with Router(config-if)# ipv6 address.
      • Enable the interface with Router(config-if)# no shutdown.

    Verification Commands

    • IPv4 Interface Summary: Use show ip interface brief to see IPv4 interface status and addresses.
    • IPv6 Interface Summary: Use show ipv6 interface brief for IPv6 interface summaries.
    • Routing Table: View routing table entries with show ip route (IPv4) and show ipv6 route (IPv6).
    • Interface Details: Get detailed information on interfaces (configuration, status, bandwidth, etc.) with show interfaces, show ip interface, or show ipv6 interface.

    Default Gateway Configuration

    • Host Default Gateway: Establish a path to remote networks by configuring a default gateway, which is the router's local interface.
    • Switch Default Gateway (Layer 2):
      • Configure a VLAN interface (usually VLAN 1 - SVI) with an IP address and default gateway:
        • Switch(config)# interface vlan 1
        • Switch(config-if)# ip address
        • Switch(config-if)# no shutdown
        • Switch(config)# ip default-gateway
      • IPv6: Learns from the router's Router Advertisement (RA) or manually configured.

    Study Tip

    • Maintain a specific order for router setup: hostname, secure modes, interface configuration, and correct default gateways on hosts/switches.
    • Thoroughly verify configuration using the provided verification commands before saving the configuration.
    • Consult the Cisco Networking Academy for additional details.

    Studying That Suits You

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

    Quiz Team

    Description

    This quiz covers essential commands for basic router configuration, including device naming, securing privileged EXEC mode, and managing remote access security. Test your knowledge on how to effectively set up and secure your router with various configurations such as passwords and legal notices.

    More Like This

    Modules 8-10 Partie 2
    33 questions
    Access Control Lists (ACLs)
    5 questions
    Changing Wi-Fi Network Settings
    10 questions
    Use Quizgecko on...
    Browser
    Browser