Sunday

OSPF Point-to-Multipoint



What we have here is an OSPF network on non broadcast, by default when you configure the frame relay interfaces, all of them will be in network type NON BROADCAST. We also left the OSPF priority on the interfaces to default.  As you see the router with highest Ip wins to be a DR.

In the second scenario we only going to use the OSPF Point to Multipoint command on R2 and see what is the behavior of the network. All frame relay interfaces are in default priority and watch the adjacency

In the third scenario we only going to use the ospf point to multipoint command on all the 3 interfaces and see what the behavior of the network is this time and watch the adjacency. All frame relay interfaces are in default priority

Saturday

OSPF config On None Broadcast Mode over Frame-Relay



All 3 routers are using the default none broadcast mode on their frame-relay interfaces, so neighboring routers must be manually configured on DR, in this case is R1. We manually changed the OSPF priority on the interface level with the command ip ospf priority 0 on R2 and R3 so router 1 can become a DR

As you see here all 3 routers formed adjacency and R1 was chosen as DR


OSPF config On Broadcast Mode over Frame-Relay

All 3 routers are using a broadcast statement on the interface level  by typing a command Ip ospf network broadcast this way the ospf adjacency will form on their frame-relay interfaces, We manually changed the OSPF priority on the interface level with the command ip ospf priority 0 on R2 and R3 and that resulted of R1 to become a DR


Wednesday

OSPF basic topology and config

Our topology here is point to point with OSPF AS 24 and all the router belongs to Area 0 with class C IP.
 
On Point – Point connection topology the OSPF adjacency state is Full, There is no DR or BDR.
sho ip ospf nei will show routers that form adjacency

 
Here on show ip ospf database command as you see the sequence number is the same , this sequence number  is a 32 bit that start from 0x8000001 to 0x7FFFFFF , The larger the number  the recent the LSA  is. To ensure an accurate database, OSPF floods each LSA every 30 min and it called LSRefresh   with the max of 60 min (it shows in sec in the router).



frame relay topology and config






Tuesday

Configuring and Troubleshooting Cisco WAN Lines



Ciscosteps#card type T1 0 0
Ciscosteps#config t

Ciscosteps(config)#Interface serial 0/0
Ciscosteps(config-if)#service-module t1 clock source internal
Ciscosteps(config-if)#service-module t1 timeslots 1-24 speed 64                
Ciscosteps(config-if)#service-module t1 framing esf
Ciscosteps(config-if)#service-module t1 linecode b8zs
Ciscosteps(config-if)#ip address x.x.x.x 255.x.x.x

Ciscosteps(config-if)#encapsulation ????
Ciscosteps(config-if)#fair-que
Ciscosteps(config)#no shut
Troubleshooting Cisco WAN Lines

Common WAN Issues fall into these categories:
·         Circuit is down
·         Circuit is in loop
·         Circuit is taking errors
WAN interface problems can be identified by the status line of the show interfaces serial display.  See table below.

Serial Lines: show interfaces serial Status Line Conditions
Status Line Condition
Possible Problem
Solution
Serial x is up, line protocol is up
None
This is the proper status line condition. No action is required
Serial x is up, line protocol is up (looped)

A loop exists in the circuit. The sequence
number in the keepalive packet changes to a random number when a loop is initially detected. If the same random number is returned over the link, a loop exists.
Reset the CSU/DSU, and inspect the
line status. If the line protocol comes up,
no other action is needed.  If not, contact
the leased-line or other carrier service for line troubleshooting assistance.
Serial x is up, line protocol is down
A high error rate has occurred due to a
telephone company service problem.

A CSU/DSU or Router (interface) hardware problem has occurred
Loop CSU/DSU (DTE loop). If the
problem continues, it is likely that there is
a hardware problem.  Swap out bad hardware; (CSU/DSU, cabling, router port)
If the problem does not continue, it is likely that there is a telephone company problem.
Serial x is down, line protocol is down
The router is not sensing a carrier signal
(that is, the CD is not active).  A telephone company problem has occurred—line is
down or is not connected to CSU/DSU.
Cabling is faulty or incorrect. Hardware failure has occurred (CSU/DSU).
Check the LEDs on the CSU/DSU to see
whether the CD is active.
Verify that you are using the proper cable
and interface. 
Contact your leased-line or other carrier
service to see whether there is a problem.
Swap faulty parts.
If you suspect faulty router hardware,
change the serial line to another port. If
the connection comes up, the previously
connected interface has a problem.
CSU and DSU Loopback Tests
If the output of the show interfaces serial exec command indicates that the serial line is up but the line protocol is down, use the CSU/DSU loopback tests to determine the source of the problem. Perform the local loop test first, and then perform the remote test
The use of extended ping tests can be a great method to generate traffic & verify condition of the circuit.


Step 1 Put the CSU/DSU into local loopback mode.
Step 2 Configure the extended ping command to send different data patterns and packet sizes. (all-zeros 1500-byte ping and an all-ones 1500-byte ping) respectively.
Step 3 Examine the show interfaces serial command output and determine whether input errors have increased. If input errors have not increased, the local hardware (DSU, cable, router interface card) is probably in good condition.  Assuming that this test sequence was prompted by the appearance of a large number of CRC and framing errors, a clocking problem is likely.
Step 4 If you determine that the clocking configuration is correct and is operating properly, put the CSU/DSU into remote loopback mode.
Step 5 Repeat the ping test and look for changes in the input error statistics.
Step 6 If input errors increase, there is a problem either in the serial line or on the CSU/DSU. Contact the WAN service provider and troubleshoot as necessary. 

Ciscosteps# ping
Protocol [ip]:
Target IP address: 10.10.10.1
Repeat count [5]: 1000
Datagram size [100]: 1500
Timeout in seconds [2]:
Extended commands [n]: yes
Source address:
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]: 0x0000                         
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:

Data pattern Options:
-       all zero’s:  0x0000
-       all one’s: 0xffff           

Show Interfaces Serial Field Descriptions (continued)



Sunday

EIGRP Metric

Dual selects routes based on 5 composite metrics, but by default it only uses 2 (Bandwidth and Delay).

To choose the desired destination to R 5 dual will choose the path with lowest Metric.

Bandwidth + Delay= lowest Metric

Bandwidth = (10^7/least Bw)*256

Delay= (total delay)*256

 The formula is (10^7/least Bw)*256 + Total Delay*256


R1-->R2 -->R5

Least Bandwidth to R5 = 64 KBPS

Total Delay = 4000*256

Bandwidth = (10^7/least Bw)*256 = (10,000,000/64)*256= 40,000,000

Delay= (2000+2000)*256=1024000

Eigrp Metric calculation =40,000,000 + 1024000= 41024000


R1-->R3-->R4>R5

Least Bandwidth to R5 = 64 KBPS

Total Delay = 6000*256

Bandwidth = (10^7/least Bw)*256 = (10,000,000/64)*256= 40,000,000

Delay= (2000+2000+2000)*256= 1536000

Eigrp Metric calculation = 40,000,000 + 1536000= 41536000

Router R1 therefore choose the lower path with the Metric of 41024000

Monday

Eigrp Ip route




R1#sho run

hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
ip cef
no ip domain lookup
!
interface Serial0/0
 ip address 1.1.1.1 255.0.0.0
 serial restart-delay 0
!
interface Ethernet1/0
 ip address 10.1.1.1 255.0.0.0
 half-duplex
!
router eigrp 100
 network 1.0.0.0
 network 10.0.0.0
 no auto-summary
!
no ip http server
no ip http secure-server
!
control-plane
!

!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
!
end
R2# sho run

hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
ip cef
no ip domain lookup
!
interface Serial0/0
 ip address 2.2.2.1 255.0.0.0
 serial restart-delay 0
!
interface Serial0/1
 ip address 1.1.1.2 255.0.0.0
 serial restart-delay 0
!
interface Ethernet1/0
 ip address 20.1.1.1 255.0.0.0
 half-duplex
!
router eigrp 100
 network 1.0.0.0
 network 2.0.0.0
 network 20.0.0.0
 no auto-summary
!
no ip http server
no ip http secure-server
ip default-network 2.0.0.0
ip route 30.0.0.0 255.0.0.0 2.2.2.2
!
control-plane
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
end
R3#sho run

hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
ip cef
no ip domain lookup
!
interface Serial0/2
 ip address 2.2.2.2 255.0.0.0
 serial restart-delay 0
!
interface Ethernet1/0
 ip address 30.1.1.1 255.0.0.0
 half-duplex
!
router eigrp 100
 network 2.0.0.0
 no auto-summary
!
no ip http server
no ip http secure-server
!
control-plane
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
!
end



R1#   sho ip route


Gateway of last resort is 1.1.1.2 to network 2.0.0.0


C    1.0.0.0/8 is directly connected, Serial0/0
D*   2.0.0.0/8 [90/2681856] via 1.1.1.2, 02:21:05, Serial0/0
D    20.0.0.0/8 [90/2195456] via 1.1.1.2, 03:36:37, Serial0/0
C    10.0.0.0/8 is directly connected, Ethernet1/0


R1#sho ip route eigrp
D*   2.0.0.0/8 [90/2681856] via 1.1.1.2, 02:22:47, Serial0/0
D    20.0.0.0/8 [90/2195456] via 1.1.1.2, 03:38:19, Serial0/0