Step 1: Access the Command Line Interface (CLI)
Connect to the device using a terminal emulation program such as PuTTY or SecureCRT.
// Example for console connection
PuTTY or terminal emulator settings:
- Connection type: Serial
- Serial line: COMx (replace x with the appropriate COM port)
- Speed: 9600
Step 2: Enter Privileged EXEC Mode
Enter privileged exec mode to have access to all commands on the router.
Router> enable
Step 3: Enter Global Configuration Mode
Enter global configuration mode to make global changes to the router.
Router# configure terminal
Step 4: Set the Hostname
Assign a name to the router to identify it easily.
Router(config)# hostname YourRouterName
Step 5: Secure Access with Passwords
Set a password for privileged exec mode and console access.
Router(config)# enable secret YourEnablePassword
Router(config)# line console 0
Router(config-line)# password YourConsolePassword
Router(config-line)# login
Step 6: Configure Interfaces
Define IP addresses for interfaces.
Router(config)# interface FastEthernet0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Step 7: Configure Routing
Set up basic routing. In this example, we'll configure static routing.
Router(config)# ip route 0.0.0.0 0.0.0.0 next-hop-ip-address
Step 8: Configure DNS Resolution
Specify DNS servers for name resolution.
Router(config)# ip domain-lookup
Router(config)# ip name-server 8.8.8.8
Step 9: Save Configuration
Save your configuration to ensure it persists after a reboot.
Router# write memory
Step 10: Exit Configuration Mode and Verify
Exit configuration mode and verify your settings.
Router(config)# exit
Router# show running-config
Router# show ip interface brief
0 Comments