Sunday, January 26, 2014

AnnaUniversity EC66 Computer Networks Lab - Implementation of Link State Routing Protocol(LSRP) on Router

with 0 Comment
Link  State Routing  Protocol:

Router 0

ss>en
ss#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ss(config)#hostname ss
ss(config)#nt s2/0
                 ^
% Invalid input detected at '^' marker.
               
ss(config)#int s2/0
ss(config-if)#ip address 192.168.5.1 255.255.255.252
ss(config-if)#clock rate 64000
ss(config-if)#no shutdown
ss(config-if)#exit
ss(config)#int fo/0
                     ^
% Invalid input detected at '^' marker.
               
ss(config)#int f0/0
ss(config-if)#ip address 192.168.5.129 255.255.255.192
ss(config-if)#no shutdown
ss(config-if)#exit
ss(config)#en
% Ambiguous command: "en"
ss(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
ss#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ss(config)#router OSPF 1
ss(config-router)#network 192.168.5.0 0.0.0.3 area 0
ss(config-router)#network 192.168.5.128 0.0.0.63 area0
                                                          ^
% Invalid input detected at '^' marker.
               
ss(config-router)#network 192.168.5.0 0.0.0.3 area 0
ss(config-router)#exit
ss(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
ss#en
ss#copy ru st
Destination filename [startup-config]?
Building configuration...
[OK]
ss#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

     192.168.5.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.5.0/30 is directly connected, Serial2/0
C       192.168.5.128/26 is directly connected, FastEthernet0/0
Router 1
ss1>en
ss1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ss1(config)#hostname ss1
ss1(config)#int s2/0
ss1(config-if)#ip address 192.168.5.1 255.255.255.252
ss1(config-if)#clock rate 64000
ss1(config-if)#no shutdown
ss1(config-if)#exit
ss1(config)#int f0/0
ss1(config-if)#ip address 192.168.5.129 255.255.192
                                             ^
% Invalid input detected at '^' marker.
               
ss1(config-if)#ip address 192.168.5.129 255.255.255.192
ss1(config-if)#no shutdown
ss1(config-if)#exit
ss1(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
ss1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ss1(config)#router OSPF 1
ss1(config-router)#network 192.168.5.0 0.0.0.3 area 0
ss1(config-router)#network 192.168.6.1 0.0.0.255 area 0
ss1(config-router)#exit
ss1(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
ss1#copy ru st
Destination filename [startup-config]?
Building configuration...
[OK]
ss1#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

          192.168.5.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.5.0/30 is directly connected, Serial2/0
C       192.168.5.128/26 is directly connected, FastEthernet0/0

ss1#ss#

0 comments:

Post a Comment

Powered by Blogger.

Blog Archive