Information Technology Reference
In-Depth Information
C 192.168.10.4 is directly connected, Serial0/0/1
O 192.168.10.8 [110/128] via 192.168.10.6, 00:17:06, Serial0/0/1
[110/128] via 192.168.10.2, 00:16:56, Serial0/0/0
Use the show interfaces serial0/0/0 command on the R1 router to view the bandwidth of
the Serial 0/0/0 interface.
Step 2.
R1# show interfaces serial0/0/0
Serial0/0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 192.168.10.1/30
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of “show interface” counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
<output omitted>
On most serial links, the bandwidth metric will default to 1544 Kbits. If this is not the
actual bandwidth of the serial link, the bandwidth will need to be changed so that the
OSPF cost can be calculated correctly.
Use the bandwidth command to change the bandwidth of the serial interfaces of the R1
and R2 routers to the actual bandwidth.
Step 3.
R1(config)# interface serial0/0/0
R1(config-if)# bandwidth 64
R1(config-if)# interface serial0/0/1
R1(config-if)# bandwidth 256
R2(config)# interface serial0/0/0
R2(config-if)# bandwidth 64
R1(config-if)# interface serial0/0/1
R1(config-if)# bandwidth 128
Use the show ip ospf interface command on the R1 router to verify the cost of the serial
links.
Step 4.
The cost of the serial link between R1 and R2 is now 1562, the result of the calculation
108/64,000 bps. Each router will now also have a new cost for its Serial 0/0/1 interface:
R1# show ip ospf interface
<output omitted>
Serial0/0/0 is up, line protocol is up
Internet address is 192.168.10.1/30, Area 0
Process ID 1, Router ID 10.1.1.1, Network Type POINT-TO-POINT, Cost: 1562
Transmit Delay is 1 sec, State POINT-TO-POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:05
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Search WWH ::




Custom Search