Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

R1>

R1>en
R1#
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface Serial2/0
R1(config-if)#ip address 10.0.2.1 255.0.0.0
R1(config-if)#ip address 10.0.2.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#
R1(config-if)#exit
R1(config)#interface Serial3/0
R1(config-if)#ip address 10.0.1.1 255.255.255.0
R1(config-if)#ip address 10.0.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#ex
R1(config)#

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface Serial2/0
Router(config-if)#clock rate 64000
Router(config-if)#ip address 10.0.2.2 255.0.0.0
Router(config-if)#ip address 10.0.2.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial6/0
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
clock rate 64000
Router(config-if)#ip address 10.0.3.2 255.255.255.0
Router(config-if)#ip address 10.0.3.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial6/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial6/0, changed state to up

Router(config-if)#end
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#
%SYS-5-CONFIG_I: Configured from console by console
conf ospf

R1#configure t
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#rou
R1(config)#router O
R1(config)#router o
R1(config)#router ospf 1
R1(config-router)#net
R1(config-router)#network 10.0.2.0 0.0.0.255
% Incomplete command.
R1(config-router)#network 10.0.2.0 0.0.0.255 area 0
R1(config-router)#network 10.0.1.0 0.0.0.255 area 0
R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
R1(config-router)#network 192.168.2.0 0.0.0.255 area 0
R1(config-router)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#

R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#rou ospf 1
R2(config-router)#net 10.0.2.0 0.0.0.255 0.0.0.255
^
% Invalid input detected at '^' marker.

R2(config-router)#net 10.0.2.0 0.0.0.255 area 0


R2(config-router)#net 10.0.2.0 0.0.0.255 area 0
01:42:25: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.2.1 on Serial2/0 from L
R2(config-router)#net 10.0.3.0 0.0.0.255 area 0
R2(config-router)#

R2#sh ip rou
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

10.0.0.0/24 is subnetted, 3 subnets


O 10.0.1.0 [110/128] via 10.0.2.1, 00:00:39, Serial2/0
C 10.0.2.0 is directly connected, Serial2/0
C 10.0.3.0 is directly connected, Serial6/0
O 192.168.1.0/24 [110/65] via 10.0.2.1, 00:00:39, Serial2/0
O 192.168.2.0/24 [110/65] via 10.0.2.1, 00:00:39, Serial2/0
troncal

R3>
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#rou
R3(config)#router os
R3(config)#router ospf 1
R3(config-router)#net 10.0.3.0 0.0.0.255
% Incomplete command.
R3(config-router)#net 10.0.3.0 0.0.0.255 area 0
R3(config-router)#net 10.0.3.0 0.0.0.255 area 0
01:44:25: %OSPF-5-ADJCHG: Process 1, Nbr 10.0.3.2 on Serial6/0 from L
R3(config-router)#net 10.0.1.0 0.0.0.255 area 0
R3(config-router)#ex
R3(config)#
01:44:40: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.2.1 on Serial3/0 from LOADING to
FULL, Loading Done

R3(config)#
R3(config)#rou
R3(config)#router bgp 3
R3(config-router)#net 10.0.4.0 mask 255.255.255.0
R3(config-router)#nei
R3(config-router)#neighbor 10.0.4.4 re
R3(config-router)#neighbor 10.0.4.4 remote-as 4
R3(config-router)#net 10.0.6.0 mask 255.255.255.0
R3(config-router)#neighbor 10.0.6.5 remote-as 5
R3(config-router)#ex}
^
% Invalid input detected at '^' marker.

R3(config-router)#ex
R3(config)#

R3(config)#router ospf 1
R3(config-router)#re
R3(config-router)#redistribute
R3(config-router)#redistribute bgp 3 s
R3(config-router)#redistribute bgp 3 subnets
R3(config-router)#ex
R3(config)#rou
R3(config)#router b
R3(config)#router bgp 3
R3(config-router)#re
R3(config-router)#redistribute os
R3(config-router)#redistribute ospf 1
R3(config-router)#net
R3(config-router)#network 192.168.1.0 mask 255.255.255.0
R3(config-router)#network 192.168.2.0 mask 255.255.255.0
R3(config-router)#network 192.168.5.0 mask 255.255.255.0
R3(config-router)#network 192.168.6.0 mask 255.255.255.0
R3(config-router)#ex
R3(config)#ip rou
R3(config)#ip route 0.0.0.0 0.0.0.0 se6/0
R3(config)#ip route 0.0.0.0 0.0.0.0 se3/0
R3(config)#

bgp rip

R5>
R5>en
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#rou
R5(config)#router bgp 5
R5(config-router)#net 10.0.5.0 mask 255.255.255.0
R5(config-router)#net 10.0.6.0 mask 255.255.255.0
R5(config-router)#nei
R5(config-router)#neighbor 10.0.5.4 re
R5(config-router)#neighbor 10.0.5.4 remote-as 4
R5(config-router)#%BGP-5-ADJCHANGE: neighbor 10.0.5.4 Up
neighbor 10.0.6.3 remote-as 3
R5(config-router)#%BGP-5-ADJCHANGE: neighbor 10.0.6.3 Up
ex
R5(config)#

R5>
R5>en
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#rou
R5(config)#router bgp 5
R5(config-router)#net 10.0.5.0 mask 255.255.255.0
R5(config-router)#net 10.0.6.0 mask 255.255.255.0
R5(config-router)#nei
R5(config-router)#neighbor 10.0.5.4 re
R5(config-router)#neighbor 10.0.5.4 remote-as 4
R5(config-router)#%BGP-5-ADJCHANGE: neighbor 10.0.5.4 Up
neighbor 10.0.6.3 remote-as 3
R5(config-router)#%BGP-5-ADJCHANGE: neighbor 10.0.6.3 Up
ex
R5(config)#
R5(config)#rou
R5(config)#router rip
R5(config-router)#ver
R5(config-router)#version 2
R5(config-router)#net
R5(config-router)#network 10.0.9.0
R5(config-router)#network 10.0.7.0
R5(config-router)#ex
R5(config)#
R5(config)#ro
R5(config)#router rip
R5(config-router)#de
R5(config-router)#default-information
R5(config-router)#default-information originate
R5(config-router)#ex
R5(config)#ro
R5(config)#router b
R5(config)#router bgp 5
R5(config-router)#re
R5(config-router)#redistribute c
R5(config-router)#redistribute connected
R5(config-router)#net
R5(config-router)#network 192.168.3.0 mas
R5(config-router)#network 192.168.3.0 mask 255.255.255.0
R5(config-router)#network 192.168.4.0 mask 255.255.255.0
R5(config-router)#network 192.168.7.0 mask 255.255.255.0
R5(config-router)#network 192.168.8.0 mask 255.255.255.0
R5(config-router)#ex
R5(config)#ip ro
R5(config)#ip route 0.0.0.0 0.0.0.0 se7/0
R5(config)#ip route 0.0.0.0 0.0.0.0 se6/0
R5(config)#

rip

R6>
R6>en
R6#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#rou
R6(config)#router rip
R6(config-router)#net
R6(config-router)#network 10.0.7.0
R6(config-router)#network 10.0.8.0
R6(config-router)#network 192.168.3.0
R6(config-router)#network 192.168.4.0
R6(config-router)#ver
R6(config-router)#version 2
R6(config-router)#ex
R6(config)#

R7>
R7>en
R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#rou
R7(config)#router rip
R7(config-router)#ver
R7(config-router)#version 2
R7(config-router)#net 10.0.9.0
R7(config-router)#net 10.0.8.0
R7(config-router)#net 192.168.7.0
R7(config-router)#net 192.168.8.0
R7(config-router)#ex
R7(config)#

You might also like