Podcast
Questions and Answers
What command should be issued to secure privileged EXEC mode on a router?
What command should be issued to secure privileged EXEC mode on a router?
Which command is necessary to enable an interface on a router?
Which command is necessary to enable an interface on a router?
What is the purpose of the 'banner motd' command in router configuration?
What is the purpose of the 'banner motd' command in router configuration?
Which command would you use to confirm the summary status of IPv4 interfaces on a router?
Which command would you use to confirm the summary status of IPv4 interfaces on a router?
Signup and view all the answers
In order to manage a Layer 2 switch remotely, what must be configured?
In order to manage a Layer 2 switch remotely, what must be configured?
Signup and view all the answers
What is the primary purpose of the 'service password-encryption' command?
What is the primary purpose of the 'service password-encryption' command?
Signup and view all the answers
When configuring a router interface, which command is optional but recommended for labeling?
When configuring a router interface, which command is optional but recommended for labeling?
Signup and view all the answers
How can a Layer 2 switch learn its default gateway in IPv6?
How can a Layer 2 switch learn its default gateway in IPv6?
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 withRouter(config-line)# password
, and requiring login withRouter(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 withRouter(config)# service password-encryption
. Enable SSH and telnet transport withRouter(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
andGigabitEthernet 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
.
- Enter interface configuration mode with
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) andshow ipv6 route
(IPv6). -
Interface Details: Get detailed information on interfaces (configuration, status, bandwidth, etc.) with
show interfaces
,show ip interface
, orshow 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.
- Configure a VLAN interface (usually VLAN 1 - SVI) with an IP address and default gateway:
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.
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.