Title: Cisco Router Configuration
1Cisco Router Configuration
- We have seen
- show and
- cdp commands
- show startup-config - display the backup
configuration file - show running-configdisplay active configuration
file.
2Cisco Router Configuration
- erase startup-config - deletes the backup
configuration file in NVRAM. - reload - reloads the router, causing it to run
through the entire configuration process. - Setup - to enter setup mode from the privileged
EXEC prompt.
3Cisco Router Configuration
- configure terminalConfigures manually from the
console terminal. - copy tftp running-configLoads configuration
information from a network TFTP server. - copy running-config startup-config Stores the
current configuration from RAM into NVRAM.
4Cisco Router Configuration
- copy running-config tftp Stores the current
configuration from RAM on a network TFTP server.
5Cisco Router Configuration
- Routergt enable
- password
- Router configure terminal
- Router(config) configure mode command
- e.g. interface, subinterface, controller, line,
router etc.
6Cisco Router Configuration
- Specific configuration modes
- interface mode - for configuring interfaces
- subinterface mode - for configuring multiple
virtual interfaces on a single physical interface - line mode - for configuring the operation of a
terminal line - router mode - for configuring an IP routing
protocol - etc.
7Cisco Router Configuration
- Configuring router identification
- Router config term
- Router(config) hostname LABA
- LABA
- ctrl-z back to privileged exec mode
- exit back out one level
8Cisco Router Configuration
- Message of the day banner
- LABA(config)banner motd message
- Interface description
- LABA(config)interface ethernet 0
- LABA(config-if)description my LAN, BG
-
9Password configuration
- Console password
- Virtual terminal password
- Privileged exec password
10Console password
- LABA(config)line console 0
- LABA(config-line)login
- LABA(config-line)password cisco
11Virtual Terminal password
- LABA(config)line vty 0 4
- LABA(config-line)login
- LABA(config-line)password cisco
- Enable Password
- LABA(config)enable password class
- or prefer
- LABA(config)enable secret class
12Configuring interfaces
- LABA(config)int s 0
- LABA(config-if)clock rate 56000
- clk rate is set for DCEs
- LABA(config-if)bandwidth 56
- no clock rate removes clock rate
- shut down/no shut down
13Configuring routing protocols
- LABA(config)router rip
- LABA(config-router)network 1.0.0.0
- LABA(config-router) network 2.0.0.0
- LABA(config-router)ctrl-z
- LABA(config)ctrl-z
- LABAshow ip protocol
- LABAshow ip route routing table
14Configuring routing protocols
- LABAgtshow ip interfaces
- LABAdebug ip rip
15Exercise - Configuring LABA
- Hostname
- Routergtena
- password
- Routerconfig term
- Router(config)hostname lab-a
16Exercise - Configuring LABA
- Enable secret password - class
- lab-a(config)enable secret class
17Exercise - Configuring LABA
- All appropriate interfaces with IP addresses and
subnet masks - lab-a(config)int s 0
- lab-a(config-if)ip address 201.100.11.1
255.255.255.0 - lab-a(config-if)clockrate 56000
- lab-a(config-if)bandwidth 56
18Exercise - Configuring LABA
- lab-a(config)int e 0
- lab-a(config-if)ip address 192.5.5.1
255.255.255.0 - lab-a(config-if)bandwidth 56
- lab-a(config)int e 1
- lab-a(config-if)ip address 205.7.5.1
255.255.255.0 - lab-a(config-if)bandwidth 56
19Exercise - Configuring LABA
- Configure rip
- lab-a(config)router rip
- lab-a(config)network 205.7.5.0
- lab-a(config) network 192.5.5.0
- lab-a(config) network 201.100.11.0
20Exercise - Configuring LABA
- Console login password - cisco
- lab-a(config)line console 0
- lab-a(config-line)login
- lab-a(config-line)password cisco
21Exercise - Configuring LABA
- Vty login password - cisco
- lab-a(config)line vty 0 4
- lab-a(config-line)login
- lab-a(config-line)password cisco