Page 1
Helsinki University of Technology Department of Communications and Networking How to Configure Cisco 2600 Routers Juha Järvinen 10.6.2004 Juha.Jarvinen@netlab.hut.fi Modified by Zhong Yunqiu 7.8.2008...
Chapter 3 is suited very good for example for PC routers running Zebra (nowadays Quagga ) as routing daemon, because it has same commands as Cisco routers use. Mainly this document is collection of Cisco’s manuals ([1] – [2], [6] – [7]), which are modified for our laboratory course’s use. www.cisco.com www.zebra.org...
1 Cisco Inter-network Operating System (IOS) 1.1 Cisco IOS Operation Modes The Cisco Software provides access to four different command modes. There are more commands, but in normal use they are not necessary. Each command mode provides a different group of related commands. For security purposes, the Cisco IOS software provides two levels of access to commands: user and privileged.
Router(config-if)# Figure 1. Four Cisco IOS Operation modes and their accesses and exits as a figure. 1.1.1 User EXEC Mode When you are connected to the router, you are started in user EXEC mode. The user EXEC commands are a subset of the privileged EXEC commands.
routing is enabled by default. To disable IP routing, enter the no ip routing command and enter ip routing to re-enable it. 1.2 Getting Help In any command mode, you can get a list of available commands by entering a question mark (?).
IP addresses, start simple RIP routing. Router#setup In Cisco routers interfaces are named as FastEthernet0/0 and FastEthernet0/1. Some of our lab routers also include serial cable interfaces. Numbering is same like above. 1.5 IP Address and Interface Configuration If you don’t like to put IP address like in 1.4 Configuration System (Setup), you can put...
2 Routing Protocol Configuration 2.1 Routing Information Protocol RIP You can modify RIP routing by giving the next command in global configuration mode: Router(config)#router rip 2.1.1 RIP Commands Then in router configuration mode you can give the Router(config-router)# next listed commands: address-family Enter Address Family command mode auto-summary...
Table 2. RIP version commands in sending. Command Purpose ip rip send version 1 Configure an interface to send only RIP version 1 packets. ip rip send version 2 Configure an interface to send only RIP version 2 packets. ip rip send version 1 2 Configure an interface to send RIP version 1 and 2 packets.
area OSPF area parameters auto-cost Calculate OSPF interface cost according to bandwidth capability Enable specific OSPF feature compatible OSPF compatibility list default Set a command to its defaults default-information Control distribution of default information default-metric Set metric of redistributed routes discard-route Enable or disable discard-route installation distance...
If no OSPF router ID is explicitly configured, OSPF computes the router-ID based on the items 2, 3, and 4 and restarts OSPF (if the process is enabled and router-ID has changed). The ospf router-id command causes the OSPF process to restart using the new router-ID (if the processes are enabled and router-ID has changed).
OSPF’s simple password authentication. 2.2.5 Configure OSPF authentication Cisco router supports message-digest hashing algorithm to guarantee the integrity of OSPF packets and authenticate between the routers. The key is set on interface by the following command...
2.3 RIP and OSPF Redistribution 2.3.1 RIP If you like to redistribute routing information to OSPF, you have to tell RIP running router process-id of OSPF and default-metric value. For example Router(config-router)#redistribute ospf process-id And default-metric value: Router(config-router)#default-metric value Value is a positive integer. 2.3.2 OSPF In OSPF you have to mention any default-metric value, just give the next command, if you like to transform routing information to RIP.
Router (config-if) # ip load-sharing per-packet 3.3 Enable Network Accounting for CEF Hash bucket accounting to collect statistics is better to understand Cisco Express Forwarding patterns in your network. Use the following command to enable it: Router (config) # ip cef accounting load-balance-hash 3.4 Verifying CEF...
[4] University of Pittsburgh, School of Information Science: http://www.tele.pitt.edu/Main/Resources/Labs/lab_manual/Router%20Config%20Tutor ial.pdf [5] Avici systems: OSPF Router-id http://www.avici.com/documentation/HTMLDocs/02223-06_revBA/ospf19.html [6] Cisco: What Are OSPF Areas and Virtual Links? http://www.cisco.com/warp/public/104/8.pdf [7] Cisco: RIP and OSPF Redistribution: http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/cs001.htm [8] Cisco: Configuring Cisco Express Forwarding Load sharing http://www.cisco.com/en/US/tech/tk827/tk831/technologies_tech_note09186a0080094...