LAB 5: BASIC ROUTER CONFIGURATION AND STATIC ROUTING
PLATFORM: PACKET TRACER
BASIC ROUTER CONFIGURATION
Router user interface modes
Router> User EXEC
Router> enable
Password:
Router# Privileged EXEC
Router# disable
Router> User EXEC
Router Modes
Router> User EXEC mode
Router# Privileged EXEC mode
Router(config)# Global configuration mode
Router(config-...)# Specific configuration mode, for example:
Router(config-if)# Interface configuration mode
Router(config-subif)# Subinterface configuration mode
Router(config-line)# Line configuration mode
Configuring Global Parameters
To configure the global parameters for your router, follow these steps.
|
Command |
Purpose |
Step 1 |
configure terminal Example: Router> enable Router# configure terminal |
Enters global configuration mode, when using the console port. |
Step 2 |
hostname name Example: Router(config)# hostname Router |
Specifies the name for the router. |
Step 3 |
enable secret password Example: Router(config)# enable secret cr1ny5ho
|
Specifies an encrypted password to prevent unauthorized access to the router. |
1. configure terminal
2. interface gigabitethernet slot/port
3. ip address ip-address mask
4. no shutdown
5. exit
|
Command |
Purpose |
Step 1 |
configure terminal Example: Router# configure terminal |
Enters global configuration mode. |
Step 2 |
interface gigabitethernet slot/port Example: Router(config)# interface gigabitethernet 0/8
|
Enters the configuration mode for a Gigabit Ethernet interface on the router.
|
Step 3 |
ip address ip-address mask Example: Router(config-if)# ip address 192.168.12.2 255.255.255.0
|
Sets the IP address and subnet mask for the specified GE interface. |
Step 4 |
no shutdown Example: Router(config-if)# no shutdown
|
Enables the GE interface, changing its state from administratively down to administratively up. |
Step 5 |
exit Example: Router(config-if)# exit
|
Exits configuration mode for the GE interface and returns to global configuration mode. |
ACTIVITIES