Tuesday, June 28, 2011

The First Step for Success in CCNA Exam


Education is indeed the cornerstone of success. It has been the stepping stone for all of us to go the distance and go the extra mile in getting the higher dream. That is why most of us are putting prime attention to the attainment of education and further learning.

We all know for a fact that progress in one’s professional career is to keep learning as continuous as possible. Another fact that we also need to consider is the fact that a higher degree in education would not be a ticket that would surely get you at the peak of your profession. Instead, valuable diplomas and certifications are what we get from these.

In the world of networking, if people in this field would want to take another step in the milestone of their career, what they need to get is a certification coming from the CCNA. This sought-after certification is an acknowledged certification in the networking world. This certificate is granted by the giant in the networking field, Cisco. And for one to attain such certification, one needs to pass the CCNA exam.

However, people who are hoping to take the exam are expected to take practice exam first for them to master the exam little by little.

CCNA certification, gained after passing such exam, is very helpful for a person to gain various skills. Among all the skills that one will get from this is the basic knowledge of networking. Not only that, such person will also be well-versed in the knowledge of hubs, ISO-ISO models, and switches. Since we are talking about networking, person will also be able to learn different kinds of networks. Concentration of the different protocols utilized in the field of networking is also offered by this course. In this kind of practice exam too, aspects that are related to networking and routing processes are also thought.

Network-related companies are among the companies in which the CCNA certification has high regards since it covers installation of different devices used for connecting like the switches and hubs and roughly all the vital aspects of networking like protocols. With these scenarios, we can really say that taking such exam is very difficult but with the proper preparation for the exam through the practiced examination, one will have a greater chance of passing the exam. Of course, the preparation would entail acquaintance for the course’s syllabus, the books that offer such content and websites that offer tips to pass the exam.

Further, one is expected to attend as many practice exam for CCNA before plunging in the actual exam for CCNA. This is such because there are many considerations that must be considered first before taking the exam. If you are going to attend mock exams, you are likely to earn ideas on the prospective questions that might be asked in the actual exam. Not only that, you would be able to maintain also you time which is also your main concern in taking such exam.

Integrated Services Digital Network



ISDN is a circuit-switched service provided by telecommunications providers to allow voice, data, and video and audio transmissions over existing digital telephone lines. ISDN is often used as a low cost alternative to Frame Relay or T1 connections while still offering a higher connection speed than an analog modem. ISDN service is offered at two levels: Basic Rate Interface (BRI) and Primary Rate Interface (PRI). BRI is typically used in small offices or for home connections, and PRI is used in larger environments because it provides higher bandwidth. ISDN also supports any of the Network layer protocols supported by the Cisco Internetwork Operating System and encapsulates other WAN services such as Point-to-Point Protocol


Teleco providers offer digital connections via ISDN as channels, BRI connections offer three channels: two at 64Kbps and one at 16Kbps for a maximum throughput of 128Kbps. The 64K channels are known as bearer or B-channels because they carry the data for the connection. ISDN BRI connections use the 16Kbps signaling channel, which is also called the D-channel, to control the communications on the link. PRI connections offer 23 B-channels and one 64Kbps D-channel for a bit rate of up to 1.544Mbps. European ISDN PRI service offers 30 64Kbps B-channels and one 64Kbps D-channel yielding a total interface rate of 2.048Mbps. In both ISDN BRI and PRI, a single D-channel is used for signaling information, and the B-channels are used to carry the data. Because the control communications are conducted on a channel that is separate from the data transfer, ISDN is said to be out of band signaling.
ISDN can be used to:
  • Add bandwidth for telecommuting.
  • Improve Internet response times.
  • Carry multiple Network layer protocols.
  • Encapsulate other WAN services. 
Configuring ISDN on Cisco Routers

Accessing ISDN with a Cisco router means that you will need to purchase either a Cisco router with a built-in NT1 (U reference point) or an ISDN modem (called a TA). If your router has a BRI interface (called a TE1), you only need attach an NT1 device to connect to the services. If your router doesn't have a BRI interface (called a TE2), you need to attach a TA and a NT1 to connect to ISDN services.

ISDN supports virtually every upper layer protocol (IP, IPX, AppleTalk), and you can choose PPP, HDLC, or X.25 as the encapsulation protocol.

ISDN Switch Types

To configure a router for the variety of switches it's going to connect to, use the command:

Router(config)#isdn switch-type [identifier]

Supported Switch Types
Identifier
Description
basic-nil
AT&T basic rate switches
basic-5ess
AT&T 5ESS basic rate switches
basic-dms100
Nortel DMS-100 basic rate switches
basic-4ess
AT&T 4ESS primary rate switches
primary-5ess
AT&T 5ESS primary rate switches
primary-dms100
Nortel DMS-100 primary rate switches
vn2
French VN2 ISDN switches
vn3
French VN3 ISDN switches
ntt
Japanese NTT ISDN switches
basic-1tr6
German 1TR6 ISDN switches


Service Profile Identifiers (SPIDs)

A service profile identifier (SPID) is a number provided by the ISDN carrier to identify the line configuration of the BRI service. SPIDs allow multiple ISDN devices, such as voice and data, to share the local loop. Each SPID points to line setup and configuration information. SPIDs are frequently referred to as ISDN phone numbers because their functions are the same. An ISDN device can access each ISDN channel via its SPID number. You can configure the router to utilize a single or multiple SPIDs when making a connection to the ISDN provider.

When a device attempts to connect to the ISDN network, it performs a D channel Layer 2 initialization process that causes a TEI to be assigned to the device. The device then attempts D channel Layer 3 initialization. If SPIDs are necessary but not configured or configured incorrectly on the device, the Layer 3 initialization fails, and the ISDN services cannot be used.

The ISDN provider must assign the SPID numbers for each channel, which is usually an 8 to 14 digit number. There is no standard format for SPID numbers. As a result, SPID numbers vary depending on the switch vendor and the carrier. You can then use those numbers to configure your ISDN dialer connections. You must also identify the type of switch that is used at the CO to which you are connecting. The following commands show an ISDN BRI connection (two SPIDS for 2 B-channels):

   Router3(config)#isdn switch-type dms-100
   Router3(config)#interface bri 0
   Router3(config-if)#isdn spid1 52069145231010
   Router3(config-if)#isdn spid2 52069145241010

If you want your Cisco router to answer incoming calls over your ISDN line, you can configure an ISDN subaddress by specifying the local directory number (LDN), which is the seven-digit number assigned by the service provider and used for call routing. The LDN is not necessary for establishing ISDN-based connections, but it must be specified if you want to receive incoming calls on B channel 2. The LDN is required only when two SPIDs are configured (for example, when connecting to a DMS or NI1 switch). Each SPID is associated with an LDN. Configuring the LDN causes incoming calls to B channel 2 to be answered properly. If the LDN is not configured, incoming calls to B channel 2 may fail. The following commands configure LDNs for an ISDN BRI link:

   Router3(config)#interface bri0
   Router3(config-if)#isdn spid1 0835866201 8358662
   Router3(config-if)#isdn spid2 0835866401 8358664

Configure Called Party Number Verification

When multiple devices are attached to an ISDN BRI, you can ensure that only a single device answers an incoming call by verifying the number or subaddress in the incoming call against the device's configured number or subaddress or both. You can specify that the router verify a called-party number or subaddress number in the incoming setup message for ISDN BRI calls, if the number is delivered by the switch. You can do so by configuring the number that is allowed. To configure verification, use the following command in interface configuration mode:

   isdn answer1 [called-party-number][:subaddress]

Verifying the called-party number ensures that only the desired router responds to an incoming call. If you want to allow an additional number for the router, you can configure it, too. To configure a second number to be allowed, use the following command in interface configuration mode:

   isdn answer2 [called-party-number][:subaddress]

Dial on Demand Routing (DDR)

Dial-on-demand routing (DDR), is used to allow two or more Cisco routers to dial an ISDN dial-up connection on an as-needed basis. DDR is only used for low-volume, periodic network connections using either a PSTN or ISDN. This was designed to reduce WAN cost if you have to pay on a per-minute or per-packet basis. DDR configuration commands define host and ISDN connection information. An access list and DDR dialer group define what kind of traffic should initiate an ISDN call. You can configure multiple access lists to look for different types of interesting traffic. Interesting traffic is traffic that (when it arrives at the router) triggers the router to initiate the ISDN connection.

When a router notices interesting traffic, it refers to its ISDN information and initiates setup of the ISDN call through its BRI or PRI and NT1 devices. When a connection is established, normal routing occurs between the two end devices. After interesting traffic stops being transmitted over the ISDN connection, the connection idle timer begins. When the idle timer expires, the connection is terminated.

Steps of how DDR works
  1. Route to the destination network is determined.
  2. Interesting packet dictates a DDR call.
  3. Dialer information is looked up and connection is made.
  4. Traffic is transmitted.
  5. Call is terminated when no more traffic is being transmitted over a link and the idle-timeout period ends.
Configuring a DDR connection

   Router3(config-if)#dial wait-for-carrier time 15
   Router3(config-if)#dialer idle-timeout 300
   Router3(config-if)#dialer load-threshold 50 either
   Router3(config-if)#dialer map ip 192.168.52.1 name CORP speed 56 5205551212

The first command tells the dialer to wait no longer that 15 seconds for the ISDN provider to answer during a DDR connection attempt. The second command tells the dialer to hang-up the connection if the connection does not pass any interesting information for 300 seconds (default is 120 seconds). The third command tells the dialer to only dial additional lines (assuming you have configured multiple ISDN channels for the connection) when any channel is transferring at 50% of the available bandwidth, either inbound or outbound. The fourth command maps the dialer to a specific hostname (CORP), IP address (192.168.52.1), speed (56Kbps, default is 64Kbps if not specified), and phone number (5205551212).

Dialer Map Entries

Dialer map statements relate upper layer addresses to their associated phone numbers.

Specifying Interesting Traffic

In order to define what type of traffic is considered interesting and will in turn bring up the ISDN line, you must use dialer group commands. The following commands show how to use a dialer group and access lists to permit IP traffic on your link, but deny IGRP traffic. The dialer list global configuration command defines the interesting packets, and the dialer group command sets the access list on the BRI interface.

   Router3(config)#dialer-list 1 protocol ip list 110
   Router3(config)#access-list 110 deny igrp any any
   Router3(config)#access-list 110 permit ip any any
   Router3(config)#int bri0
   Router3(config-if)#dialer-group 1  

Access lists are used in ISDN connections to prevent specified traffic from initiating a connection. To control connections, traffic that is desired on the ISDN connection is allowed while everything else is denied.

Encapsulation Methods

When a clear Data Link is established between two DDR peers, internetworking datagrams must be encapsulated and framed for transport across the Dialer media. The encapsulation methods available depend on the physical interface being used. Cisco supports the following encapsulations for DDR:
  • PPP -- is the recommended encapsulation method because it supports multiple protocols and is used for synchronous, asynchronous, or ISDN connections. In addition, PPP performs address negotiation and authentication and is supported by multiple vendors.
  • HDLC -- is supported on synchronous serial lines and ISDN connections only. HDLC supports multiple protocols, but it doesn't provide authentication.
  • SLIP -- works on asynchronous interfaces only, and is supported by IP only. Addresses must be configured manually, it doesn't provide authentication, and is interoperable only with other vendors that use SLIP.
  • X.25 -- is supported on synchronous serial lines and a single ISDN B channel.
PPP Authentication
  • Password Authentication Protocol (PAP)
    PAP provides a simple method for a remote node to establish its identity using a two-way handshake. This is done only upon initial link establishment. After the PPP link establishment phase is complete, a username/password pair is repeatedly sent by the remote node until authentication is acknowledged, or the connection is terminated.
Passwords are sent across the link in plain text and there is no protection from playback or trail-and-error attacks. The remote node is in control of the frequency and timing of the login attempts. If the local host rejects the username/password, the connection is terminated.
  • Challenge and Handshake Protocol (CHAP)
    CHAP is used to periodically verify the identity of the remote node using a 3-way handshake. This is done upon initial link establishment and can be repeated any time after the link has been established. After the PPP link establishment phase is complete, the host sends a challenge messages to the remote node. The remote node responds with a value calculated using a one-way hash function (typically MD5). The host checks the response against its own calculation of the expected hash value. If the values match, the authentication is acknowledged. Otherwise, the connection is terminated.
CHAP provides protection against playback attack through the use of a variable challenge value that is unique and unpredictable. The use of repeated challenges is intended to limit the time of exposure to any single attack. The host is in control of the frequency and timing of the challenges.

ISDN Configuration Example

This is an example of a connection between a corporate headquarters and a remote site over a BRI ISDN link.
Remote Network
Router Configuration:
Name:REMOTE
E0 IP address:192.168.24.1
Local Network:192.168.24.0
BRI 0 IP address:192.168.49.2
 REMOTE(config)#hostname corp password 123pass332
 REMOTE(config)#isdn switch-type dms-100
 REMOTE(config)#interface bri 0
 REMOTE(config-if)#encapsulation ppp
 REMOTE(config-if)#ppp authentication chap
 REMOTE(config-if)#spid1 5208881111 5270936
 REMOTE(config-if)#spid2 5208881212 5270956
 REMOTE(config-if)#ip address 192.168.49.2 255.255.255.0
 REMOTE(config-if)#dialer idle-timeout 600
 REMOTE(config-if)#dialer map ip 192.168.49.1 name corp 7045551212
 REMOTE(config-if)#dialer load-threshold 125 either
 REMOTE(config-if)#ppp multilink
 REMOTE(config-if)#dialer-group 1
 REMOTE(config-if)#exit
 REMOTE(config)#dialer-list 1 protocol ip permit
 REMOTE(config)#ip route 0.0.0.0 0.0.0.0 192.168.49.1
 REMOTE(config)#ip route 192.168.49.0 255.255.255.0 192.168.49.1  
Corporate network
Router Configuration:
Name:CORP
BRI 1 IP address:192.168.49.1
 CORP(config)#hostname remote password 123pass332
 CORP(config)#isdn switch-type dms-100
 CORP(config)#interface bri 1
 CORP(config-if)#encapsulation ppp
 CORP(config-if)#ppp authentication chap
 CORP(config-if)#spid1 7047773333 5265933
 CORP(config-if)#spid2 7047774444 5265944
 CORP(config-if)#ip address 192.168.49.1 255.255.255.0
 CORP(config-if)#dialer idle-timeout 600
 CORP(config-if)#dialer map ip 192.168.49.2 name remote 5205551212
 CORP(config-if)#dialer load-threshold 125 either
 CORP(config-if)#ppp multilink
 CORP(config-if)#dialer-group 1
 CORP(config-if)#exit
 CORP(config)#ip route 192.168.24.0 255.255.255.0 192.168.49.2
 CORP(config)#dialer-list 1 protocol ip list 110
 CORP(config)#access-list 110 deny igrp any any
 CORP(config)#access-list 110 permit ip any any

The routers are both using PPP encapsulation and CHAP authentication. The username has been set for the opposite router in each configuration and the password is the same on both. Each router has the ability to dial the other. The CORP router is located at the corporate network, which has other connections and uses IGRP to transfer routing tables on the corporate network. However, IGRP is not desired on the ISDN connection, so the CORP router has an access list specifically denying IGRP on the ISDN link. Both routers permit all IP traffic on the ISDN link and all IP traffic will be considered interesting or worth activating the ISDN link for. Multilink is enabled on both routers, and they will dial their additional lines when there is 50% (load-threshold uses a number between 1 and 255, with 255 being 100%) or more utilization on the first channel. The link will be terminated if there is no interesting traffic for 600 seconds (10 minutes). The IP routes are configured such that all traffic destined from the corporate network to 192.168.24.0 will be sent to the REMOTE router. Since the REMOTE router is a remote branch with no other connections, all traffic that is not specifically destined for 192.168.24.0 will be sent to the CORP router. Note that each router has its dialer mapped to the IP address of the other router.

Monitoring ISDN

All commands are available via privileged EXEC mode prompt (enable mode)
  • clear interface bri [#] --- Resets the counters and terminates the connection.
  • show dialer --- Reports information regarding the DDR connection including the number dialed, the success of the connection, the idle timers, and the number of calls that were rejected due to administrative policy.
  • show ip route --- Show all routes the router knows about.
  • show isdn active --- Displays the status of the ISDN connection while the call is in progress.
  • show isdn status --- Gives status information for ISDN connections.
  • show interface bri 0 --- Shows you the configuration statistics and speed of your ISDN BRI interface.
  • show controllers bri 0 --- Shows detailed information about the B and D channels.
  • debug dialer --- Shows information regarding the cause of a dialing connection and the status of the connection.
  • debug bri --- Provides information about the B channels of the BRI.
  • debug isdn q921 --- Used to see layer-2 information. Shows information regarding the D-channel interface. The D-channel is always connected. Connections over the B-channel can't occur without signaling over the D-channel.
  • debug isdn q931 --- Shows the call setup and teardown. Output can be used to verify acknowledgments and messages. [layer 3 on D-channel]
  • no debug all --- Use to turn off all debugging.


Monday, June 27, 2011

Lab Practices 6 - OSPF

Open Shortest Path First (OSPF) Protocol Configuration

Router(config)# router ospf process_ID
Router(config-router)# network network_id wildcard_mask area area_#
Note:

Process id: A value in the range 1–65,535 identifies the OSPF Process ID. OSPF Process ID is a unique number on this router that groups a series of OSPF configuration commands under a specific running process.

Wildcard Mask: The wildcard mask (wildcard_mask) given above is the inverse mask of the subnet mask. A 0 octet in the wildcard mask indicates that the corresponding octet in the network must match exactly. On the other hand, a 255 indicates that you don’t care what the corresponding octet is in the network number. A network and wildcard mask combination of 192.168.10.0 0.0.0.0 would match 192.168.10.0 only, and nothing else.

Area Number: The area_# given above is the Area Number. Area Number can always be zero (0) for small networks, but for larger networks, the Area Number need to be properly planned as all routing updates must traverse Area 0.

Open Shortest Path First (OSPF) Protocol -Lab Practice

The following diagram shows our lab setup. We have three routers, three switches and three hosts connected as below. The host names, IP addresses and the interfaces of the routers are shown in diagram. The IP addresses of the hosts are also shown in the diagram.



 

Hostname and IP address configuration in Router01


Connect to Router01 console and use the following IOS commands to configure host name as Router01.

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router01
Router01(config)#

Use the following IOS commands to open the fast ethernet interface Fa0/0 configuration mode on Router01 and configure IP address as 172.16.0.1/16.

Router01>enable
Router01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router01(config)#interface fa0/0
Router01(config-if)#ip address 172.16.0.1 255.255.0.0
Router01(config-if)#no shutdown

Use the following IOS commands to open the serial interface S0/0 configuration mode on Router01 and configure IP address as 172.17.0.1/16. You have to set a clock rate also using the "clock rate" command on S0/0 interface, since this is the DCE side.

Router01>enable
Router01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router01(config)#interface s0/0
Router01(config-if)#clock rate 64000
Router01(config-if)#ip address 172.17.0.1 255.255.0.0
Router01(config-if)#no shutdown

Do remember to run the "copy running-config startup-config" command from enable mode, if you want to save the changes you have made in the router.

Hostname and IP address configuration in Router02


Connect to Router02 console and use the following IOS commands to configure host name as Router02.

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router02
Router02(config)#

Use the following IOS commands to open the fast ethernet interface Fa0/0 configuration mode on Router02 and configure IP address as 172.18.0.1/16.

Router02>enable
Router02#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router02(config)#interface fa0/0
Router02(config-if)#ip address 172.18.0.1 255.255.0.0
Router02(config-if)#no shutdown

Use the following IOS commands to open the serial interface S0/0 configuration mode on Router02 and configure IP address as 172.17.0.2/16.

Router02>enable
Router02#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router02(config)#interface s0/0
Router02(config-if)#ip address 172.17.0.2 255.255.0.0
Router02(config-if)#no shutdown

Use the following IOS commands to open the serial interface S0/1 configuration mode on Router02 and configure IP address as 172.19.0.1/16. You have to set a clock rate also using the "clock rate" command on S0/1 interface, since this is the DCE side.

Router02>enable
Router02#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router02(config)#interface s0/1
Router02(config-if)#clock rate 64000
Router02(config-if)#ip address 172.19.0.1 255.255.0.0
Router02(config-if)#no shutdown

Do remember to run the "copy running-config startup-config" command from enable mode, if you want to save the changes you have made in the router.

Hostname and IP address configuration in Router03


Connect to Router03 console and use the following IOS commands to configure host name as Router03.

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router03
Router03(config)#

Use the following IOS commands to open the fast ethernet interface Fa0/0 configuration mode on Router03 and configure IP address as 172.20.0.1/16.

Router03>enable
Router03#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router03(config)#interface fa0/0
Router03(config-if)#ip address 172.20.0.1 255.255.0.0
Router03(config-if)#no shutdown

Use the following IOS commands to open the serial interface S0/1 configuration mode on Router03 and configure IP address as 172.19.0.2/16.

Router03>enable
Router03#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router03(config)#interface s0/1
Router03(config-if)#ip address 172.19.0.2 255.255.0.0
Router03(config-if)#no shutdown

Do remember to run the "copy running-config startup-config" command from enable mode, if you want to save the changes you have made in the router.

Open Shortest Path First (OSPF) Protocol configuration in Router01


Connect to Router01 console and use the following IOS commands to configure Open Shortest Path First (OSPF) Protocol in Router01. Please refer the beginning of this lesson to view the Open Shortest Path First (OSPF) Protocol configuration IOS commands.

Using the IOS "network" command, as shown below, we specify only the directly connected networks of this router.

Router01>enable
Router01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router01(config)#router ospf 1
Router01(config-router)#network 172.16.0.0 0.0.255.255 area 0
Router01(config-router)#network 172.17.0.0 0.0.255.255 area 0
Router01(config-router)#exit
Router01(config)#exit
Router01#

Do remember to run the "copy running-config startup-config" command from enable mode, if you want to save the changes you have made in the router.

Open Shortest Path First (OSPF) Protocol configuration in Router02


Connect to Router02 console and use the following IOS commands to configure Open Shortest Path First (OSPF) Protocol in Router02. Please refer the beginning of this lesson to view the Open Shortest Path First (OSPF) Protocol configuration IOS commands.

Using the IOS "network" command, as shown below, we specify only the directly connected networks of this router.

Router02>
Router02>enable
Router02#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router02(config)#router ospf 1
Router02(config-router)#network 172.17.0.0 0.0.255.255 area 0
Router02(config-router)#network 172.18.0.0 0.0.255.255 area 0
Router02(config-router)#network 172.19.0.0 0.0.255.255 area 0
Router02(config-router)#exit
Router02(config)#exit

Do remember to run the "copy running-config startup-config" command from enable mode, if you want to save the changes you have made in the router.

Open Shortest Path First (OSPF) Protocol configuration in Router03


Connect to Router03 console and use the following IOS commands to configure Open Shortest Path First (OSPF) Protocol in Router03. Please refer the beginning of this lesson to view the Open Shortest Path First (OSPF) Protocol configuration IOS commands.

Using the IOS "network" command, as shown below, we specify only the directly connected networks of this router.

Router03>enable
Router03#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router03(config)#router ospf 1
Router03(config-router)#network 172.19.0.0 0.0.255.255 area 0
Router03(config-router)#network 172.20.0.0 0.0.255.255 area 0
Router03(config-router)#exit
Router03(config)#exit
Router03#

Do remember to run the "copy running-config startup-config" command from enable mode, if you want to save the changes you have made in the router.

How to view the routing table in Router01


After the initial configuration and Open Shortest Path First (OSPF) Protocol configuration in all routers, we can use the "show ip route" to view the routing table in Router01, as shown below.

Router01>enable
Router01#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

Gateway of last resort is not set

C 172.16.0.0/16 is directly connected, FastEthernet0/0
C 172.17.0.0/16 is directly connected, Serial0/0
O 172.18.0.0/16 [110/65] via 172.17.0.2, 00:26:31, Serial0/0
O 172.19.0.0/16 [110/128] via 172.17.0.2, 00:26:21, Serial0/0
O 172.20.0.0/16 [110/129] via 172.17.0.2, 00:24:54, Serial0/0

The "O" character at the beginning of a line in routing table shows that it is a route discovered by Open Shortest Path First (OSPF) Protocol and "C" character shows that it is a directly connected network.

How to view the routing table in Router02


After the initial configuration and Open Shortest Path First (OSPF) Protocol configuration in all routers, we can use the "show ip route" to view the routing table in Router02, as shown below.

Router02>enable
Router02#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

Gateway of last resort is not set

O 172.16.0.0/16 [110/65] via 172.17.0.1, 00:30:20, Serial0/0
C 172.17.0.0/16 is directly connected, Serial0/0
C 172.18.0.0/16 is directly connected, FastEthernet0/0
C 172.19.0.0/16 is directly connected, Serial0/1
O 172.20.0.0/16 [110/65] via 172.19.0.2, 00:28:08, Serial0/1

The "O" character at the beginning of a line in routing table shows that it is a route discovered by Open Shortest Path First (OSPF) Protocol and "C" character shows that it is a directly connected network.

How to view the routing table in Router03


After the initial configuration and Open Shortest Path First (OSPF) Protocol configuration in all routers, we can use the "show ip route" to view the routing table in Router03, as shown below.

Router03>enable
Router03#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

Gateway of last resort is not set

O 172.16.0.0/16 [110/129] via 172.19.0.1, 00:29:43, Serial0/1
O 172.17.0.0/16 [110/128] via 172.19.0.1, 00:29:43, Serial0/1
O 172.18.0.0/16 [110/65] via 172.19.0.1, 00:29:43, Serial0/1
C 172.19.0.0/16 is directly connected, Serial0/1
C 172.20.0.0/16 is directly connected, FastEthernet0/0

The "O" character at the beginning of a line in routing table shows that it is a route discovered by Open Shortest Path First (OSPF) Protocol and "C" character shows that it is a directly connected network.

Verify the connectivity between networks using the ping command


To verify the Open Shortest Path First (OSPF) Protocol routes and the connectivity between networks, run the ping command from Host01 (IP address: 172.16.0.10/16) to Host03 (IP address: 172.20.0.10/16).

C:\>ping 172.20.0.10

Pinging 172.20.0.10 with 32 bytes of data:

Reply from 172.20.0.10: bytes=32 time=172ms TTL=125
Reply from 172.20.0.10: bytes=32 time=188ms TTL=125
Reply from 172.20.0.10: bytes=32 time=157ms TTL=125
Reply from 172.20.0.10: bytes=32 time=188ms TTL=125

Ping statistics for 172.20.0.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 157ms, Maximum = 188ms, Average = 176ms

The ping reply from Host03 (IP address: 172.20.0.10/16) shows that the Open Shortest Path First (OSPF) Protocol is configured well in three routers and there is network connectivity between different networks.




 
Custom Search

Copyright 2011 All Rights Reserved | SISCOMPC Designed by Bloggers Template | CSS done by Link Building