Wednesday, December 14, 2011

RIP-R2


 


Router>
Router>en
Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
Router(config)#int f 0/0 ?
  <cr>
Router(config)#int f 0/0
Router(config-if)#
Router(config-if)#ip add 30.0.0.1 255.255.255.0 ?
  <cr>
Router(config-if)#ip add 30.0.0.1 255.255.255.0
Router(config-if)#
Router(config-if)#no shut ?
  <cr>
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

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

Router(config-if)#exit ?
  <cr>
Router(config-if)#exit
Router(config)#
Router(config)#int s 1/0 ?
  multipoint      Treat as a multipoint link
  point-to-point  Treat as a point-to-point link
  <cr>
Router(config)#int s 1/0
Router(config-if)#ip add 20.0.0.2 255.255.255.252 ?
  <cr>
Router(config-if)#ip add 20.0.0.2 255.255.255.252
Router(config-if)#
Router(config-if)#clock rate 64000 ?
  <cr>
Router(config-if)#clock rate 64000
Router(config-if)#no shut ?
  <cr>
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial1/0, changed state to up

Router(config-if)#exit ?
  <cr>
Router(config-if)#exit
Router(config)#
Router(config)#i
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
nt s 1/1
Router(config-if)#
Router(config-if)#int s 1/1 ?
% Unrecognized command
Router(config-if)#int s 1/1
Router(config-if)#
Router(config-if)#exit ?
  <cr>
Router(config-if)#exit
Router(config)#
Router(config)#int s 1/1 ?
  multipoint      Treat as a multipoint link
  point-to-point  Treat as a point-to-point link
  <cr>
Router(config)#int s 1/1
Router(config-if)#
Router(config-if)#ip add 40.0.0.1 255.255.255.252 ?
  <cr>
Router(config-if)#ip add 40.0.0.1 255.255.255.252
Router(config-if)#
Router(config-if)#no shut ?
  <cr>
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial1/1, changed state to down
Router(config-if)#exit ?
  <cr>
Router(config-if)#exit
Router(config)#
Router(config)#router rip ?
  <cr>
Router(config)#router rip
Router(config-router)#network 20.0.0.0
Router(config-router)#network 30.0.0.0 ?
  <cr>
Router(config-router)#network 30.0.0.0
Router(config-router)#
Router(config-router)#network 40.0.0.0 ?
  <cr>
Router(config-router)#network 40.0.0.0
Router(config-router)#
Router(config-router)#exit ?
  <cr>
Router(config-router)#exit
Router(config)#router rip ?
  <cr>
Router(config)#router rip
Router(config-router)#version 2 ?
  <cr>
Router(config-router)#version 2
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

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

R    10.0.0.0/8 [120/1] via 20.0.0.1, 00:00:11, Serial1/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
C       30.0.0.0 is directly connected, FastEthernet0/0
     40.0.0.0/30 is subnetted, 1 subnets
C       40.0.0.0 is directly connected, Serial1/1
R    50.0.0.0/8 [120/1] via 40.0.0.2, 00:00:25, Serial1/1
Router#sh ip protocol ?
  <cr>
Router#sh ip protocol
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 15 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
  Interface             Send  Recv  Triggered RIP  Key-chain
  Serial1/0             2     2    
  FastEthernet0/0       2     2    
  Serial1/1             2     2    
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
            20.0.0.0
            30.0.0.0
            40.0.0.0
Passive Interface(s):
Routing Information Sources:
            Gateway         Distance      Last Update
            20.0.0.1             120      00:00:20
            40.0.0.2             120      00:00:33
Distance: (default is 120)
Router#


No comments:

Post a Comment

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