EIGRP 基本试验  张超


 


R1


R1(config)#line con 0
R1(config-line)#logg s
R1(config-line)#no ip domain-lo


R1(config)#line con 0
R1(config-line)#no exec-t

R1(config-line)#inter s2/1
R1(config-if)#ip add 12.0.0.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#inter lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#inter fa0/0
R1(config-if)#ip add 13.0.0.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#router eigrp 100
R1(config-router)#net 1.1.1.1
R1(config-router)#net 12.0.0.1
R1(config-router)#net 13.0.0.1

 

R1#show ip protocols
Routing Protocol is "eigrp 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 100
  Automatic network summarization is in effect
  Automatic address summarization:
    13.0.0.0/8 for Loopback0, Serial2/1
      Summarizing with metric 28160
    12.0.0.0/8 for Loopback0, FastEthernet0/0
      Summarizing with metric 2169856
    1.0.0.0/8 for Serial2/1, FastEthernet0/0
      Summarizing with metric 128256
  Maximum path: 4
  Routing for Networks:
    1.0.0.0
    12.0.0.0
    13.0.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    (this router)         90      00:04:03
    13.0.0.3              90      00:03:33
    12.0.0.2              90      00:03:34
  Distance: internal 90 external 170

R1#show 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

     1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       1.0.0.0/8 is a summary, 00:34:17, Null0
C       1.1.1.0/24 is directly connected, Loopback0
D    2.0.0.0/8 [90/2297856] via 12.0.0.2, 00:33:56, Serial2/1
D    3.0.0.0/8 [90/156160] via 13.0.0.3, 00:33:49, FastEthernet0/0
D    23.0.0.0/8 [90/2681856] via 12.0.0.2, 00:33:56, Serial2/1
     12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       12.0.0.0/8 is a summary, 00:34:17, Null0
C       12.0.0.0/24 is directly connected, Serial2/1
     13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       13.0.0.0/8 is a summary, 00:34:17, Null0
C       13.0.0.0/24 is directly connected, FastEthernet0/0

R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
1   13.0.0.3                Fa0/0             14 00:34:00  188  1128  0  2
0   12.0.0.2                Se2/1             14 00:34:07  419  2514  0  3
R1#show ip eigrp traffic
IP-EIGRP Traffic Statistics for process 100
  Hellos sent/received: 1354/1386
  Updates sent/received: 8/5
  Queries sent/received: 0/0
  Replies sent/received: 0/0
  Acks sent/received: 3/4
  Input queue high water mark 2, 0 drops
  SIA-Queries sent/received: 0/0
  SIA-Replies sent/received: 0/0

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(1.1.1.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 1.0.0.0/8, 1 successors, FD is 128256
         via Summary (128256/0), Null0
P 1.1.1.0/24, 1 successors, FD is 128256
         via Connected, Loopback0
P 2.0.0.0/8, 1 successors, FD is 2297856
         via 12.0.0.2 (2297856/128256), Serial2/1
P 3.0.0.0/8, 1 successors, FD is 156160
         via 13.0.0.3 (156160/128256), FastEthernet0/0
P 12.0.0.0/8, 1 successors, FD is 2169856
         via Summary (2169856/0), Null0
P 12.0.0.0/24, 1 successors, FD is 2169856
         via Connected, Serial2/1
P 13.0.0.0/8, 1 successors, FD is 28160
         via Summary (28160/0), Null0
P 13.0.0.0/24, 1 successors, FD is 28160
         via Connected, FastEthernet0/0
P 23.0.0.0/8, 1 successors, FD is 2681856
         via 12.0.0.2 (2681856/2169856), Serial2/1
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router eigrp 100
R1(config-router)#no auto  //关闭自动汇总

R1#show 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

     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0 [90/2297856] via 12.0.0.2, 00:00:43, Serial2/1
02:07:15: %SYS-5-CONFIG_I: Configured from console by console
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/156160] via 13.0.0.3, 00:01:01, FastEthernet0/0
     23.0.0.0/24 is subnetted, 1 subnets
D       23.0.0.0 [90/2681856] via 12.0.0.2, 00:00:43, Serial2/1
     12.0.0.0/24 is subnetted, 1 subnets
C       12.0.0.0 is directly connected, Serial2/1
     13.0.0.0/24 is subnetted, 1 subnets
C       13.0.0.0 is directly connected, FastEthernet0/0

 

 

 

 


R2

 

 

R2>
R2>en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#line con 0
R2(config-line)#no exec-t

R2(config-line)#inter s2/1
R2(config-if)#ip add 12.0.0.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#inter s2/2
R2(config-if)#ip add 23.0.0.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#inter lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#router eigrp 100
R2(config-router)#net 2.2.2.0
R2(config-router)#net 12.0.0.0
R2(config-router)#net 23.0.0.0

01:39:32: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
01:39:33: %LINK-3-UPDOWN: Interface Serial2/2, changed state to up
R2(config-router)#
01:39:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
01:39:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up
R2(config-router)#no auto  //关闭自动汇总

 

 

 

R3


R3>
R3>
R3>
R3>en
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#line con 0

R3(config-line)#no exec-t

R3(config-line)#inter s2/1
R3(config-if)#ip add 23.0.0.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#inter lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#inter fa0/0
R3(config-if)#ip add 13.0.0.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#router eigrp 100
R3(config-router)#net 3.3.3.3
R3(config-router)#net 13.0.0.3
R3(config-router)#net 23.0.0.3
01:30:16: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
01:30:17: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R3(config-router)#
01:30:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
01:30:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-router)#no auto    //关闭自动汇总

 

beiluo 发表于 2008-7-6 11:24:16 阅读全文 | 回复(0) | 引用通告 | 编辑

 

发表评论:

    昵称:
    密码:
    主页:
    标题:

Powered by Oblog.