Monday, December 19, 2011

OSPF-R1


 
Router>
Router>
Router>en
Router#
Router#
Router#sh ip route ?
  WORD       Network to display information about or hostname
  bgp        Border Gateway Protocol (BGP)
  connected  Connected
  eigrp      Enhanced Interior Routing Protocol (EIGRP)
  ospf       Open Shortest Path First (OSPF)
  rip        Routing Information Protocol (RIP)
  static     Static routes
  <cr>
Router#sh 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
     10.0.0.0/24 is subnetted, 1 subnets
C       10.0.0.0 is directly connected, FastEthernet0/0
     20.0.0.0/30 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
Router#
Router#
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
Router(config)#router ospf ?
  <1-65535>  Process ID
Router(config)#router ospf 1 ?
  <cr>
Router(config)#router ospf 1
Router(config-router)#network 10.0.0.0 ?
  A.B.C.D  OSPF wild card bits
Router(config-router)#network 10.0.0.0 0.0.0.255 area 0 ?
  <cr>
Router(config-router)#network 10.0.0.0 0.0.0.255 area 0
Router(config-router)#network 20.0.0.0 0.0.0.255 area 0
Router(config-router)#exit
Router(config)#
00:07:02: %OSPF-5-ADJCHG: Process 1, Nbr 40.0.0.1 on Serial1/0 from LOADING to FULL, Loading Done
Router(config)#
Router(config)#
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#^Z
Router#
Router#
Router#sh ip route ?
  WORD       Network to display information about or hostname
  bgp        Border Gateway Protocol (BGP)
  connected  Connected
  eigrp      Enhanced Interior Routing Protocol (EIGRP)
  ospf       Open Shortest Path First (OSPF)
  rip        Routing Information Protocol (RIP)
  static     Static routes
  <cr>
Router#sh 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
     10.0.0.0/24 is subnetted, 1 subnets
C       10.0.0.0 is directly connected, FastEthernet0/0
     20.0.0.0/30 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial1/0
     30.0.0.0/24 is subnetted, 1 subnets
O       30.0.0.0 [110/782] via 20.0.0.2, 00:02:41, Serial1/0
     40.0.0.0/30 is subnetted, 1 subnets
O       40.0.0.0 [110/1562] via 20.0.0.2, 00:02:41, Serial1/0
     50.0.0.0/24 is subnetted, 1 subnets
O       50.0.0.0 [110/1563] via 20.0.0.2, 00:01:51, Serial1/0
Router#


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.