Configure the hostname of network devices.
Set up passwords for different levels of access.
Configure a message banner for security purposes.
Two routers are connected by a serial link.
One PC to simulate an end device.
Step-by-Step Configuration:
Step 1: Create the GNS3 Topology
Drag and drop two Cisco routers (e.g., Cisco 7200 or 2800 series) onto the workspace.
Create a serial connection between the two routers using the "Add a Link" tool. You can use the Serial0/0 interfaces for both routers.
Add a PC to represent an end device and connect it to one of the router's Ethernet interfaces (e.g., FastEthernet 0/0).
Step 2: Basic Router Configuration
Start both routers by right-clicking and selecting "Start."
Access the routers via the console by right-clicking the router and selecting "Console."
Enter Global Configuration mode on both routers.
Set the hostname for both routers.
On Router1:
On Router2:
Configure console password on both routers to secure local access.
On Router1:
On Router2:
Configure enable password (privileged mode) on both routers.
On Router1:
On Router2:
Configure enable secret (for encrypted privileged mode password) on both routers.
On Router1:
On Router2:
Configure vty password (for remote access):
On Router1:
Create a login banner on both routers to display a security warning message.
On Router1:
On Router2:
Verify banner configuration by checking the startup configuration.
Step 6: Save Configuration
Save the configurations to avoid losing them after a reboot.
On Router1:
On Router2:
Step 7: Verify Configuration
Test local console login by exiting to the user mode and then trying to enter privileged mode.
Test the same on Router2.
Test remote login (via VTY) using a terminal program (e.g., PuTTY or Tera Term).
Step 8: Final Verification
Verify password settings:
Hostname Configuration, Router Configuration, Console Password, Enable Password, Enable Secret, VTY Password, Login Banner, Message of the Day (MOTD), Global Configuration Mode, GNS3 Simulation, Cisco Routers, Access Control, Privileged Mode, Security Configuration, Router Authentication, Router Passwords, Line Configuration, Router Setup, Telnet Access, Configuration Save, سیسکو , آموزش سیسکو
Last updated