EIGRP配置

简介:

R3 :
Press RETURN to get started!


*Mar  1 00:00:03.579: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:00:03.639: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
*Mar  1 00:00:03.679: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up
*Mar  1 00:00:03.719: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up
*Mar  1 00:00:03.759: %LINK-3-UPDOWN: Interface Serial1/3, changed state to up
*Mar  1 00:00:04.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar  1 00:00:04.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
*Mar  1 00:00:04.679: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
*Mar  1 00:00:04.719: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up
*Mar  1 00:00:04.759: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to up
*Mar  1 00:00:32.659: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
*Mar  1 00:00:32.695: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to down
*Mar  1 00:00:32.735: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to down
*Mar  1 00:18:00.227: %SYS-5-RESTART: System restarted --
Cisco IOS Software, 3600 Software (C3640-TELCO-M), Version 12.3(11)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Sat 18-Sep-04 14:32 by eaarmas
*Mar  1 00:18:00.243: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*Mar  1 00:18:01.843: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar  1 00:18:01.843: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down
*Mar  1 00:18:01.859: %LINK-5-CHANGED: Interface Serial1/1, changed state to administratively down
*Mar  1 00:18:01.871: %LINK-5-CHANGED: Interface Serial1/2, changed state to administratively down
*Mar  1 00:18:01.887: %LINK-5-CHANGED: Interface Serial1/3, changed state to administratively down
*Mar  1 00:18:02.843: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
*Mar  1 00:18:02.843: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
Router>

Router>en 
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ho r4
r4(config)#no ip domain-loo
r4(config)#lin con 0
r4(config-line)#logg syn 
r4(config-line)#no exec-t 
r4(config-line)#exit
r4(config)#ho r3
r3(config)#int f0/0
r3(config-if)#ip add 172.16.1.1 255.255.255.0
r3(config-if)#no sh 
r3(config-if)#ex
r3(config)#
*Mar  1 00:26:15.047: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:26:16.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
r3(config)#int s1/0
r3(config-if)#ip add 192.169.1.1 255.255.255.0
r3(config-if)#no ip add            
r3(config-if)#do sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            172.16.1.1      YES manual up                    up      
Serial1/0                  unassigned      YES manual administratively down down    
Serial1/1                  unassigned      YES unset  administratively down down    
Serial1/2                  unassigned      YES unset  administratively down down    
Serial1/3                  unassigned      YES unset  administratively down down    
r3(config-if)#do sh contr s1/0
M4T: show controller:
PAS unit 0, subunit 0, f/w version 1-45, rev ID 0x2800001, version 1
idb = 0x625CEA24, ds = 0x625D024C, ssb=0x625D058C
Clock mux=0x0, ucmd_ctrl=0x0, port_status=0x7B
Serial config=0x8, line config=0x200
maxdgram=1608, bufpool=78Kb, 120 particles
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up
line state: down
cable type : V.11 (X.21) DCE cable, received clockrate 2015232

base0 registers=0x3C800000, base1 registers=0x3C802000
mxt_ds=0x6234A28C, rx ring entries=78, tx ring entries=128
rxring=0x7B672A0, rxr shadow=0x625D6B78, rx_head=29
txring=0x7B67540, txr shadow=0x625D6F4C, tx_head=107, tx_tail=107, tx_count=0
throttled=0, enabled=0
halted=0, last halt reason=0
Microcode fatal errors=0
rx_no_eop_err=0, rx_no_stp_err=0, rx_no_eop_stp_err=0
rx_no_buf=0, rx_soft_overrun_err=0, dump_err= 0, bogus=0, mxt_flags=0x0
tx_underrun_err=0, tx_soft_underrun_err=0, tx_limited=1(2)
tx_fullring=0, tx_started=107, mxt_flush_count=1
rx_int_count=107, tx_int_count=109

r3(config-if)#
r3(config-if)#clo r 64000
r3(config-if)#ip add 192.168.1.1 255.255.255.0
r3(config-if)#no sh 
r3(config-if)#do ping
*Mar  1 00:30:53.199: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
r3(config-if)#do ping 
*Mar  1 00:30:54.203: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
r3(config-if)#do ping 172.16.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/24/52 ms
r3(config-if)#
r3(config-if)#
r3(config-if)#
r3(config-if)#do sh cdp n
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
r2               Fas 0/0            161        R S I      3640      Fas 0/0

r3(config-if)#
r3(config-if)#
*Mar  1 00:31:22.619: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
r3(config-if)#
*Mar  1 00:32:22.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
r3(config-if)#do sh ip route 
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, FastEthernet0/0
C    192.168.1.0/24 is directly connected, Serial1/0
r3(config-if)#do sh ip r
% Ambiguous command:  "sh ip r"
r3(config-if)#do sh ip route 
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, FastEthernet0/0
C    192.168.1.0/24 is directly connected, Serial1/0
r3(config-if)#ex
r3(config)#router eigrp 100
r3(config-router)#net 172.16.0.0
r3(config-router)#net 192.168.1.0 0.0.0.255 
r3(config-router)#
*Mar  1 00:38:35.151: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial1/0) is up: new adjacency
r3(config-router)#
*Mar  1 00:38:55.647: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 172.16.1.2 (FastEthernet0/0) is up: new adjacency
r3(config-router)#do ping 129.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 129.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/19/32 ms

R2
onnected to Dynamips VM "R2" (ID 1, type c3600) - Console port

 
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: 
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: 
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: 
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: n


Press RETURN to get started!


*Mar  1 00:00:03.871: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:00:04.871: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar  1 00:17:58.219: %SYS-5-RESTART: System restarted --
Cisco IOS Software, 3600 Software (C3640-TELCO-M), Version 12.3(11)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Sat 18-Sep-04 14:32 by eaarmas
*Mar  1 00:17:58.231: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*Mar  1 00:17:59.891: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar  1 00:18:00.891: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
Router>
Router>
Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ho r3
r3(config)#
r3(config)#
r3(config)#
r3(config)#
r3(config)#
r3(config)#no ip domain-loo
r3(config)#lin con 0
r3(config-line)#logg syn 
r3(config-line)#no exec-t 
r3(config-line)#
r3(config-line)#
r3(config-line)#
r3(config-line)#ex
% Ambiguous command:  "ex"
r3(config-line)#exit
r3(config)#int loo
% Incomplete command.

r3(config)#int loo0
r3(config-if)#ip add 10.1.1.1 255.255.255.0
r3(config-if)#int f0/0
r3(config-if)#ip add 172.16.1.2 255.255.255.0
r3(config-if)#no sh 
r3(config-if)#     
*Mar  1 00:24:50.807: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:24:51.807: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
r3(config-if)#ex
r3(config)#int s1/0
               ^
% Invalid input detected at '^' marker.

r3(config)#ho r2
r2(config)#
r2(config)#
r2(config)#
r2(config)#router eigrp 100
r2(config-router)#net 172.16.0.0
r2(config-router)#net 10
*Mar  1 00:38:56.839: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 172.16.1.1 (FastEthernet0/0) is up: new adjacency
r2(config-router)#net 10.1.1.1 0.0.0.0
r2(config-router)#do ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/25/44 ms

R4
:


Press RETURN to get started!


*Mar  1 00:00:03.263: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
*Mar  1 00:00:03.303: %LINK-3-UPDOWN: Interface Serial0/1, changed state to up
*Mar  1 00:00:03.343: %LINK-3-UPDOWN: Interface Serial0/2, changed state to up
*Mar  1 00:00:03.379: %LINK-3-UPDOWN: Interface Serial0/3, changed state to up
*Mar  1 00:00:04.263: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
*Mar  1 00:00:04.303: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
*Mar  1 00:00:04.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2, changed state to up
*Mar  1 00:00:04.379: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3, changed state to up
*Mar  1 00:00:32.275: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to down
*Mar  1 00:00:32.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2, changed state to down
*Mar  1 00:00:32.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3, changed state to down
*Mar  1 00:18:01.903: %SYS-5-RESTART: System restarted --
Cisco IOS Software, 3600 Software (C3640-TELCO-M), Version 12.3(11)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Sat 18-Sep-04 14:32 by eaarmas
*Mar  1 00:18:01.915: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*Mar  1 00:18:03.575: %LINK-5-CHANGED: Interface Serial0/0, changed state to administratively down
*Mar  1 00:18:03.587: %LINK-5-CHANGED: Interface Serial0/1, changed state to administratively down
*Mar  1 00:18:03.603: %LINK-5-CHANGED: Interface Serial0/2, changed state to administratively down
*Mar  1 00:18:03.619: %LINK-5-CHANGED: Interface Serial0/3, changed state to administratively down
*Mar  1 00:18:04.575: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
Router>
Router>
Router>
Router>
Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
Router(config)#
Router(config)#ho r1
r1(config)#ho r2
r2(config)#
r2(config)#
r2(config)#
r2(config)#no ip domain-loo
r2(config)#lin con 0
r2(config-line)#logg syn 
r2(config-line)#no exec-t 
r2(config-line)#ex
% Ambiguous command:  "ex"
r2(config-line)#exit
r2(config)#ho r4
r4(config)#
r4(config)#
r4(config)#
r4(config)#int lo 0
r4(config-if)#ip add 129.1.1.1 255.255.255.0
r4(config-if)#int f0/0
                  ^
% Invalid input detected at '^' marker.

r4(config)#int s0/0
r4(config-if)#ip add 192.168.1.2 255.255.255.0
r4(config-if)#no sh 
r4(config-if)#ex
r4(config)#
*Mar  1 00:32:21.603: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
*Mar  1 00:32:22.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
r4(config)#do ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/36/68 ms
r4(config)#do sh cdp n
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
r3               Ser 0/0            155        R S I      3640      Ser 1/0
r4(config)#
r4(config)#
r4(config)#
r4(config)#router eigrp 100
r4(config-router)#net 192.168.1.0 255.255.255.0
r4(config-router)#
r4(config-router)#
r4(config-router)#
r4(config-router)#net 129.1.1.1 0.0.0.255 
r4(config-router)#
*Mar  1 00:38:31.167: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.1 (Serial0/0) is up: new adjacency
r4(config-router)#do sh ip route 
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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

D    172.16.0.0/16 [90/2172416] via 192.168.1.1, 00:00:42, Serial0/0
     129.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
D       129.1.0.0/16 is a summary, 00:02:14, Null0
C       129.1.1.0/24 is directly connected, Loopback0
D    10.0.0.0/8 [90/2300416] via 192.168.1.1, 00:00:12, Serial0/0
C    192.168.1.0/24 is directly connected, Serial0/0
r4(config-router)#do ping 172.16.1.1 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/36/60 ms
r4(config-router)#do sh ip pro
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
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is in effect
  Automatic address summarization:
    192.168.1.0/24 for Loopback0
    129.1.0.0/16 for Serial0/0
      Summarizing with metric 128256
  Maximum path: 4
  Routing for Networks:
    129.1.1.0/24
    192.168.1.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    (this router)         90      00:03:11
    192.168.1.1           90      00:01:08
 --More-- 

本文转自gauyanm 51CTO博客,原文链接:http://blog.51cto.com/gauyanm/156659,如需转载请自行联系原作者
相关文章
|
7月前
|
网络协议
OSPF,RIP和BGP的路由汇总
OSPF,RIP和BGP的路由汇总
95 0
|
7月前
|
负载均衡 网络协议 算法
IP路由协议(RIP、IGRP、OSPF、IS-IS、BGP)
1、路由分类 路由产生方式: 直接路由:路由器会自动生成本路由器激活端口所在网段的路由条目 静态路由:网络管理员手工配置,静态路由信息在缺省的情况下私有的,不会传递给其他的路由器
|
网络协议
配置OSPF
配置OSPF
113 0
配置OSPF
|
网络协议 网络架构
OSPF路由协议基础(OSPF基本配置)
OSPF路由协议基础(OSPF基本配置)
628 0
OSPF路由协议基础(OSPF基本配置)
|
算法 网络架构 负载均衡
|
算法 网络协议 数据安全/隐私保护
|
网络协议 网络架构 Shell
|
网络协议 数据安全/隐私保护