CCNA实验三(EIGRP)

该博客主要围绕EIGRP协议展开实验,目的是使用EIGRP协议让设备互相建立邻居并发送路由,同时给出了R1、R2、R3的命令行内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

实验目的 :

在这里插入图片描述

使用EIGRP协议互相建立邻居发送路由

命令行:

R1命令行如下:

Router>en
Router#conf
Router#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface loopback 0
*Jul 11 03:40:33.922: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 1.1.1.1 255.255.255.0
Router(config-if)#exit
Router(config)#int e 0/0
Router(config-if)#ip add
Router(config-if)#ip address 12.1.1.1 255.255.255.0
Router(config-if)#no shu
Router(config-if)#exit
Router(config)#
*Jul 11 03:41:20.496: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Jul 11 03:41:21.497: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
Router(config)#int e 0/1
Router(config-if)#ip address 13.1.1.1 255.255.255.0
Router(config-if)#no shu
*Jul 11 03:41:37.691: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
*Jul 11 03:41:38.692: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up
Router(config-if)#exit
Router(config)#router eigrp 90
Router(config-router)#net
Router(config-router)#network 1.1.1.1 0.0.0.0
Router(config-router)#network 12.1.1.1 0.0.0.0
Router(config-router)#network 13.1.1.1 0.0.0.0
Router(config-router)#no auto-summary 
*Jul 11 03:44:46.847: %DUAL-5-NBRCHANGE: EIGRP-IPv4 90: Neighbor 12.1.1.2 (Ethernet0/0) is up: new adjacency
Router(config-router)#
*Jul 11 03:45:25.028: %DUAL-5-NBRCHANGE: EIGRP-IPv4 90: Neighbor 13.1.1.3 (Ethernet0/1) is up: new adjacency
Router(config-router)#end
Router#   
*Jul 11 03:45:38.616: %SYS-5-CONFIG_I: Configured from console by console
Router#show ip pro
Router#show ip protocols 
*** IP Routing is NSF aware ***

Routing Protocol is "application"
  Sending updates every 0 seconds
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Maximum path: 32
  Routing for Networks:
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: (default is 4)

Routing Protocol is "eigrp 90"
  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-IPv4 Protocol for AS(90)
    Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
    NSF-aware route hold timer is 240
    Router-ID: 1.1.1.1
    Topology : 0 (base) 
      Active Timer: 3 min
      Distance: internal 90 external 170
      Maximum path: 4
      Maximum hopcount 100
      Maximum metric variance 1
          
  Automatic Summarization: disabled
  Maximum path: 4
  Routing for Networks:
    1.1.1.1/32
    12.1.1.1/32
    13.1.1.1/32
  Routing Information Sources:
    Gateway         Distance      Last Update
    13.1.1.3              90      00:00:14
    12.1.1.2              90      00:00:13
  Distance: internal 90 external 170
          
Router#
Router#
Router#
Router#ping
Protocol [ip]: 
Target IP address: 3.3.3.3
Repeat count [5]: 
Datagram size [100]: 
Timeout in seconds [2]: 
Extended commands [n]: y
Source address or interface: 1.1.1.1
Type of service [0]: 
Set DF bit in IP header? [no]: 
Validate reply data? [no]: 
Data pattern [0xABCD]: 
Loose, Strict, Record, Timestamp, Verbose[none]: 
Sweep range of sizes [n]: 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/6 ms
Router#

R2命令行如下:

Router#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface loopback 0
Router(config-if)#
*Jul 11 03:41:57.017: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 2.2.2.2 255.255.255.0
Router(config-if)#exit
Router(config)#int e 0/0
Router(config-if)#ip add
Router(config-if)#ip address 12.1.1.2 255.255.255.0
Router(config-if)#no shu
Router(config-if)#exit
*Jul 11 03:42:33.496: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Jul 11 03:42:34.501: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
Router(config)#router eigrp 90
Router(config-router)#no auto-summary 
Router(config-router)#network 12.1.1.2 0.0.0.0
*Jul 11 03:44:46.852: %DUAL-5-NBRCHANGE: EIGRP-IPv4 90: Neighbor 12.1.1.1 (Ethernet0/0) is up: new adjacency
Router(config-router)#network 2.2.2.2 0.0.0.0

R3命令行如下:

Router>en
Router#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface loopback 0 
*Jul 11 03:42:52.895: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 3.3.3.3 255.255.255.0
Router(config-if)#exit
Router(config)#int e 0/0
Router(config-if)#ip address 13.1.1.3 255.255.255.0
Router(config-if)#no shu
Router(config-if)#exit
Router(config)#
*Jul 11 03:43:29.459: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Jul 11 03:43:30.465: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
Router(config)#router eigrp 90
Router(config-router)#no auto-summary 
Router(config-router)#network 13.1.1.3 0.0.0.0
*Jul 11 03:45:25.038: %DUAL-5-NBRCHANGE: EIGRP-IPv4 90: Neighbor 13.1.1.1 (Ethernet0/0) is up: new adjacency
Router(config-router)#network 3.3.3.3 0.0.0.0
Router(config-router)#end
Router#ping 
*Jul 11 03:49:49.889: %SYS-5-CONFIG_I: Configured from console by console
Router#ping 
Protocol [ip]: 
Target IP address: 2.2.2.2
Repeat count [5]: 
Datagram size [100]: 
Timeout in seconds [2]: 
Extended commands [n]: y
Source address or interface: 3.3.3.3
Type of service [0]: 
Set DF bit in IP header? [no]: 
Validate reply data? [no]: 
Data pattern [0xABCD]: 
Loose, Strict, Record, Timestamp, Verbose[none]: 
Sweep range of sizes [n]: 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
Packet sent with a source address of 3.3.3.3 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Router#
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值