Professional Documents
Culture Documents
Basic Router Config
Basic Router Config
This module provides basic configuration procedures for the Cisco 800M Series ISR and contains the
following sections.
• Configuring Global Parameters, page 5
• Configuring Gigabit Ethernet WAN Interfaces, page 6
• Configuring a Loopback Interface, page 7
• Configuring Command-Line Access, page 9
• Configuring Gigabit Ethernet LAN Interfaces, page 10
• Configuring Static Routes, page 11
• Configuring Dynamic Routes, page 13
• Configuring Image and Configuration Recovery Using the Push Button, page 16
• Configuring 800M Series ISR using Zero Touch Deployment, page 17
SUMMARY STEPS
1. configure terminal
2. hostname name
3. enable secret password
4. no ip domain-lookup
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode, when using the
console port.
Example:
Router> enable
Router# configure terminal
Step 2 hostname name Specifies the name for the router.
Example:
Router(config)# hostname Router
Step 3 enable secret password Specifies an encrypted password to prevent
unauthorized access to the router.
Example:
Router(config)# enable secret cr1ny5ho
SUMMARY STEPS
1. configure terminal
2. interface gigabitethernet slot/port
3. ip address ip-address mask
4. no shutdown
5. exit
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Example:
Router# configure terminal
Step 2 interface gigabitethernet slot/port Enters the configuration mode for a Gigabit
Ethernet interface on the router.
Example: Note GigabitEthernet WAN Interfaces are
Router(config)# interface gigabitethernet 0/8 0/8 and 0/9 for Cisco C841M-8X ISR
and 0/4 to 0/5 for Cisco C841M-4X
Step 3 ip address ip-address mask Sets the IP address and subnet mask for the
specified GE interface.
Example:
Router(config-if)# ip address 192.168.12.2
255.255.255.0
SUMMARY STEPS
1. configure terminal
2. interface type number
3. ip address ip-address mask
4. exit
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Example:
Router# configure terminal
Step 2 interface type number Enters configuration mode for the loopback
interface.
Example:
Router(config)# interface Loopback 0
Step 3 ip address ip-address mask Sets the IP address and subnet mask for the
loopback interface.
Example:
Router(config-if)# ip address 10.108.1.1
255.255.255.0
You can lso verify the loopback interface by using the ping command as shown in the following example.
Router# ping 200.200.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
SUMMARY STEPS
1. configure terminal
2. line [aux | console | tty | vty] line-number
3. password password
4. login
5. exec-timeout minutes [seconds]
6. line [aux | console | tty | vty] line-number
7. password password
8. login
9. end
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Example:
Router# configure terminal
Step 2 line [aux | console | tty | vty] line-number Enters line configuration mode, and specifies the
type of line.
Example:
Router(config)# line console 0
Command Purpose
Step 3 password password Specifies a unique password for the console
terminal line.
Example:
Router(config)# password 5dr4Hepw3
Step 4 login Enables password verification at the terminal
login session.
Example:
Router(config-line)# login
Step 5 exec-timeout minutes [seconds] Sets the interval that the EXEC command
interpreter waits until user input is detected. The
Example: default is 10 minutes. You can also optionally add
Router(config-line)# exec-timeout 5 30 seconds to the interval value.
Step 6 line [aux | console | tty | vty] line-number Specifies a virtual terminal for remote console
access.
Example:
Router(config-line)# line vty 0 4
Step 7 password password Specifies a unique password for the virtual
terminal line.
Example:
Router(config-line)# password aldf2ad1
Step 8 login Enables password verifiation at the virtual
terminal login session.
Example:
Router(config-line)# login
Step 9 end Exits line configuration mode, and returns to
privileged EXEC mode.
Example:
Router(config-line)# endRouter#
SUMMARY STEPS
1. configure terminal
2. interface gigabitethernet slot/port
3. ip address ip-address mask
4. no shutdown
5. exit
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Example:
Router# configure terminal
Step 2 interface gigabitethernet slot/port Enters the configuration mode for a Gigabit
Ethernet interface on the router.
Example: Note GigabitEthernet LAN Interfaces are
Router(config)# interface gigabitethernet 0/1 0/0 to 0/7 for Cisco C841M-8X ISR
and 0/0 to 0/3 for Cisco C841M-4X
ISR.
Step 3 ip address ip-address mask Sets the IP address and subnet mask for the
specified GE interface.
Example:
Router(config-if)# ip address 192.168.12.2
255.255.255.0
SUMMARY STEPS
1. configure terminal
2. ip route prefix mask {ip-address | interface-type interface-number [ip-address]}
3. end
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Example:
Router# configure terminal
Step 2 ip route prefix mask {ip-address | interface-type Specifies the static route for the IP packets.
interface-number [ip-address]}
Example:
Router(config)# ip route 192.168.1.0
255.255.0.0 10.10.10.2
Verifying Configuration
To verify that you have properly configured static routing, enter the show ip route command and look
for static routes signified by the “S.”
You should see verification output similar to the following:
Router# show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
SUMMARY STEPS
1. configure terminal
2. router rip
3. version {1 | 2}
4. network ip-address
5. no auto-summary
6. end
DETAILED STEPS
Command Task
Step 1 configure terminal Enters global configuration mode.
Example:
Router> configure terminal
Step 2 router rip Enters router configuration mode, and enables RIP
on the router.
Example:
Router(config)# router rip
Step 3 version {1 | 2} Specifies use of RIP version 1 or 2.
Example:
Router(config-router)# version 2
SUMMARY STEPS
1. configure terminal
2. router eigrp as-number
3. network ip-address
4. end
DETAILED STEPS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Example:
Router> configure terminal
Step 2 router eigrp as-number Enters router configuration mode, and enables
EIGRP on the router. The autonomous-system
Example: number identifies the route to other EIGRP routers
Router(config)# router eigrp 109 and is used to tag the EIGRP information.
Step 3 network ip-address Specifies a list of networks on which EIGRP is to
be applied, using the IP address of the network of
Example: directly connected networks.
Router(config)# network 192.145.1.0
Command Purpose
Step 4 end Exits router configuration mode, and enters
privileged EXEC mode.
Example:
Router(config-router)# end
Router#
• A valid configuration file in ASCII text with the filename extension .cfg
If the USB flash drive has multiple .cfg files, the router chooses the one with the highest index number
in the USB Flash drive. To avoid loading an incorrect .cfg file, ensure that there is only one .cfg file in
the USB flash drive.
The Cisco 800M Series ISR uses second core and it is actively used in detecting USB flash drive if 3G
Wireless WAN module is present on the router. If 3G Wireless WAN module is not present, USB flash
drive is detected by the IOS. When 3G Wireless WAN module is present, USB detection is a bit delayed
for the Cisco 800M series ISR due to the delay in second core initialization. While system startup is in
progress and push button is pressed, a timer is started to check the completion of second core
initialization. For some reason if second core takes more time, system reports an error message and
continues the normal start up. After second core initialization router waits up to 10 seconds for USB
detection and then complete the configuration. In case the USB flash drive does not contain a
deployment configuration, router enters the configuration mode.