当前位置:文档之家› Eigrp基本配置

Eigrp基本配置

Eigrp基本配置
Eigrp基本配置

Eigrp基本配置

由于属于基本协议,使用思科的Cisco Packet Tracer Instructor软件进行模拟。

1.首先设置几台终端的和路由器的IP地址。

(1)PC0 Ip address: 192.168.1.2 gateway:192.168.1.1(网关)

PC1 ip address:192.168.1.3 gateway:192.168.1.1

PC2 ip address:192.168.4.2 gateway:192.168.4.1

PC3 ip address:192.168.4.3 gateway:192.168.4.1

(2)设置几台路由器的端口IP地址

R0设置

f0/0:192.168.1.1

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface f0/0

Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdown

Router(config-if)#exit

f0/1:192.168.2.1

Router(config)#interface f0/1

Router(config-if)#ip address 192.168.2.1 255.255.255.0 Router(config-if)#no shutdown

以下几个路由器以此分别设置为

R1 f0/0:192.168.2. 2 f0/1:192.168.3.1

R2 f0/0:192.168.3.2 f0/1:192.168.4.1

2.给路由器配置EIGRP协议

在特权模式下输入

R0:

Router(config)#router eigrp 10

Router(config-router)#network 192.168.1.0 0.0.0.255

Router(config-router)#network 192.168.2.0 0.0.0.255

其中192.168.1.0和192.168.2.0是与路由器R0相连的网段,0.0.0.255是这两个网段地址子网掩码的反码(反码等于255.255.255.255减去其子网掩码)

在指令router eigrp 10中,10表示自治域号autonomous-system,autonomous-system可以随意建立,并非实际意义上的autonomous-system,但运行EIGRP的路由器要想交换路由更新信息其autonomous-system需相同。

同样的在R1上

Router(config)#router eigrp 10

Router(config-router)#network 192.168.2.0 0.0.0.255

Router(config-router)#network 192.168.3.0 0.0.0.255

R2上

Router(config)#router eigrp 10

Router(config-router)#network 192.168.3.0 0.0.0.255

Router(config-router)#network 192.168.4.0 0.0.0.255

这样就为三台路由器配置成功了EIGRP协议。

现在查看三个路由器上的路由信息。

R0

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

C 192.168.1.0/24 is directly connected, FastEthernet0/0

C 192.168.2.0/24 is directly connected, FastEthernet0/1

D 192.168.3.0/24 [90/30720] via 192.168.2.2, 00:06:54, FastEthernet0/1

D 192.168.4.0/24 [90/33280] via 192.168.2.2, 00:04:03, FastEthernet0/1

其中D表示路由器上EIGRP协议已经运行,C表示与路由器直连的网段。

R1

Router#show ip route

D 192.168.1.0/24 [90/30720] via 192.168.2.1, 00:08:21, FastEthernet0/0

C 192.168.2.0/24 is directly connected, FastEthernet0/0

C 192.168.3.0/24 is directly connected, FastEthernet0/1

D 192.168.4.0/24 [90/30720] via 192.168.3.2, 00:05:15, FastEthernet0/1

R2

D 192.168.1.0/24 [90/33280] via 192.168.3.1, 00:06:21, FastEthernet0/0

D 192.168.2.0/24 [90/30720] via 192.168.3.1, 00:06:21, FastEthernet0/0

C 192.168.3.0/24 is directly connected, FastEthernet0/0

C 192.168.4.0/24 is directly connected, FastEthernet0/1

现在可以测试几台终端能否PING通

显示几台设备之间可以互通,这样就完成了几台设备之间最基本的EIGRP配置。本人初学者,水平有限,如有错误,望请指出。

EIGRP和RIP单播实验

EIGRP和RIP单播实验 试验拓扑图如下: 根据拓扑图,做好相应基本配置并启用EIGRP协议 一 RA(config)#router eigrp 99 RA(config-router)#passive-int s1/0 *Aug 8 03:25:24.827: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 99: Neighbor 12.1.1.2 (Seria l1/0) is down: interface passive RA#show ip eig nei IP-EIGRP neighbors for process 99 将RTA的s1/0接口被动掉并查看邻居表,发现此时邻居表为空,即A丢失与B的邻居关系,为了得到更详细的信息,查看一下Hello包的发送情况RA#debug eigrp packets EIGRP Packets debugging is on (UPDATE, REQUEST, QUERY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUE RY, SIAREPLY) RA# *Aug 8 03:27:51.179: EIGRP: Sending HELLO on Loopback0 *Aug 8 03:27:51.179: AS 99, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 *Aug 8 03:27:51.179: EIGRP: Received HELLO on Loopback0 nbr 1.1.1.1 *Aug 8 03:27:51.179: AS 99, Flags 0x0, Seq 0/0 idbQ 0/0 *Aug 8 03:27:51.179: EIGRP: Packet from ourselves ignored RA# *Aug 8 03:27:55.747: EIGRP: Sending HELLO on Loopback0 *Aug 8 03:27:55.747: AS 99, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 *Aug 8 03:27:55.747: EIGRP: Received HELLO on Loopback0 nbr 1.1.1.1 *Aug 8 03:27:55.747: AS 99, Flags 0x0, Seq 0/0 idbQ 0/0 *Aug 8 03:27:55.747: EIGRP: Packet from ourselves ignored 发现此时RTA在接口s1/0上既不能发送也不能接受Hello包,测试一下RTA到RTB环回接口的连通性 RA#ping 2.2.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: .....

HC交换机基本配置命令

H C交换机基本配置命令 IMB standardization office【IMB 5AB- IMBK 08- IMB 2C】

H3C交换机基本配置核心交换机——作为公司核心网络的主要中枢,合理的配置 1.认证方式为Scheme时的Telnet登录配置 discu查看当前配置 [h3c]telnetserverenable射端口方式 b.出端口方式 1)低端H3C交换机远程端口镜像的配置,如S3100、S5510、S5600: ◆充当源交换机时的配置 remote-probevlanenable//将当前VLAN配置为远程镜像VLAN mirroringstp-collaboration//(可选)开启端口镜像与STP联动功能,开启该功能后,设备将通过监测端口的STP状态来自动控制该端口上的镜像功能是否生效。 mirroring-group group-id remote-source//创建远程源镜像组 mirroring-group group-id mirroring-port mirroring-port-list{both|inbound|outbound}//配置远程端口镜像源端口 mirroring-group group-id reflector-port reflector-port//为远程镜像组配置反射端口mirroring-group group-id remote-probevlan remote-probe-vlan-id //为指定远程源镜像组配置远程镜像VLAN ◆充当中间交换机时的配置 remote-probevlanenable//定义当前VLAN配置为远程镜像VLAN ◆充当目的交换机的配置 remote-probevlanenable//定义当前VLAN配置为远程镜像VLAN

CISCO核心 Vlan 配置实例

CISCO Vlan配置实例 如何配置三层交换机创建VLAN 以下的介绍都是基于Cisco交换机的VLAN。Cisco的VLAN实现通常是以端口为中心的。与节点相连的端口将确定它所驻留的VLAN。将端口分配给VLAN的方式有两种,分别是静态的和动态的。形成静态VLAN的过程是将端口强制性地分配给VLAN的过程。即我们先在VTP (VLAN Trunking Protocol)Server上建立VLAN,然后将每个端口分配给相应的VLAN的过程。这是我们创建VLAN最常用的方法。动态VLAN形成很简单,由端口决定自己属于哪个VLAN。即我们先建立一个VMPS(VLAN Membership Policy Server)VLAN管理策略服务器,里面包含一个文本文件,文件中存有与VLAN映射的MAC地址表。交换机根据这个映射表决定将端口分配给何种VLAN。这种方法有很大的优势,但是创建数据库是一项非常艰苦而且非常繁琐的工作。下面以实例说明如何在一个典型的快速以太局域网中实现VLAN。所谓典型的局域网就是指由一台具备三层交换功能的核心交换机接几台分支交换机(不一定具备三层交换能力)。我们假设核心交换机名称为:COM;分支交换机分别为:PAR1、PAR2、PAR3……,分别通过Port 1的光线模块与核心交换机相连;并且假设VLAN名称分别为COUNTER、MARKET、MANAGING…… 设置VTP DOMAIN VTP DOMAIN 称为管理域。交换VTP更新信息的所有交换机必须配置为相同的管理域。如果所有的交换机都以中继线相连,那么只要在核心交换机上设置一个管理域,网络上所有的交换机都加入该域,这样管理域里所有的交换机就能够了解彼此的VLAN列表。COM#vlan database 进入VLAN配置模式 COM(vlan)#vtp domain COM 设置VTP管理域名称COM COM(vlan)#vtp server 设置交换机为服务器模式 PAR1#vlan database 进入VLAN配置模式 PAR1(vlan)#vtp domain COM 设置VTP管理域名称COM PAR1(vlan)#vtp Client 设置交换机为客户端模式 PAR2#vlan database 进入VLAN配置模式 PAR2(vlan)#vtp domain COM 设置VTP管理域名称COM PAR2(vlan)#vtp Client 设置交换机为客户端模式 PAR3#vlan database 进入VLAN配置模式 PAR3(vlan)#vtp domain COM 设置VTP管理域名称COM PAR3(vlan)#vtp Client 设置交换机为客户端模式 注意:这里设置交换机为Server模式是指允许在本交换机上创建、修改、删除VLAN及其他一些对整个VTP域的配置参数,同步本VTP域中其他交换机传递来的最新的VLAN信息;Client 模式是指本交换机不能创建、删除、修改VLAN配置,也不能在NVRAM中存储VLAN配置,但可以同步由本VTP域中其他交换机传递来的VLAN信息。 配置中继为了保证管理域能够覆盖所有的分支交换机,必须配置中继。Cisco交换机能够支持任何介质作为中继线,为了实现中继可使用其特有的ISL标签。ISL(Inter-Switch Link)是一个在交换机之间、交换机与路由器之间及交换机与服务器之间传递多个VLAN信息及VLAN数据流的协议,通过在交换机直接相连的端口配置ISL封装,即可跨越交换机进行整个网络的VLAN分配和进行配置。 在核心交换机端配置如下: COM(config)#interface gigabitEthernet 2/1 COM(config-if)#switchport

-Eigrp末节路由设置

创建高级交换型互联网实验报告 时间:2011-4-27 实验名称:Eigrp末节路由设置 班级计算机通信2班32号姓名黄跃实验内容 1、拓扑图: 实验步骤: ?1、配置R1、R2、R3的IP地址和名称 ?R0 ?Router>en ?Router#config t ?Router(config)#HO R0 ?R0(config)#in s0/0 ?R0(config-if)#clock rate 64000 ?R0(config-if)#ip add 10.1.1.1 255.255.255.252 ?R0(config-if)#no shu ?R0(config-if)#in lo 1 ?R0(config-if)#ip add 11.11.11.11 255.255.255.255 ?R0(config-if)#in lo 2 ?R0(config-if)#ip add 172.16.9.1 255.255.255.0 ?R0(config-if)#in lo 3 ?R0(config-if)#ip add 172.16.10.1 255.255.255.0 ?R0(config-if)#in lo 4 ?R0(config-if)#ip add 172.16.11.1 255.255.255.0 ?R0(config-if)#in lo 5 ?R0(config-if)#ip add 172.16.12.1 255.255.255.0 ? ?R1 Router>en Router#config t

Router(config)#HO R1 R1(config)#in s0/0 R1(config-if)#ip add 10.1.1.2 255.255.255.252 R1(config-if)#no shu R1(config-if)#in fa0/0 R1(config-if)#ip add 10.1.1.9 255.255.255.252 R1(config-if)#no shu R1(config-if)#in lo 1 ?R2(config-if)#ip add 22.22.22.22 255.255.255.255 ? R2 Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#HO R3 R2(config)#in fa0/0 R2(config-if)#ip add 10.1.1.10 255.255.255.252 R2(config-if)#no shu R2(config-if)#in lo 1 R2(config-if)#ip add 33.33.33.33 255.255.255.255 ?2、在R0、R1、R2上启用EIGRP协议 ?R0 ?R0(config-if)#router eigrp 90 ?R0(config-router)#no au ?R0(config-router)#net 10.1.1.0 0.0.0.3 ?R0(config-router)#net 172.16.9.0 0.0.0.255 ?R0(config-router)#net 172.16.10.0 0.0.0.255 ?R0(config-router)#net 172.16.11.0 0.0.0.255 ?R0(config-router)#net 172.16.12.0 0.0.0.255 ?R0(config-router)#net 11.11.11.11 0.0.0.0 ? ?R1 ?R1(config-if)#router eigrp 90 ?R1(config-router)#no au ?R1(config-router)#net 10.1.1.0 0.0.0.3 ?R1(config-router)#net 10.1.1.8 0.0.0.3 ?R1(config-router)#net 22.22.22.22 0.0.0.0 ? ?R2 ?R2(config-if)#router eigrp 90 ?R2(config-router)#no au ?R2(config-router)#net 10.1.1.8 0.0.0.3 ?R2(config-router)#net 33.33.33.33 0.0.0.0 ? ?3、在R0上配置手动汇总(关闭自动汇总) ?R0(config-router)#in s0/0

CCNP级别的EIGRP综合实验2

EIGRP综合实验2 配置要点 ●帧中继交换机以及PVC的配置 ●帧中继多点子接口配置 ●帧中继点对点子接口配置 ●EIGRP基本配置(包括静态邻居的配置) ●NTP配置 ●EIGRP认证配置 实验拓扑 配置概述 ●在FRSW上配置帧中继交换机,PVC的设计如下: ?R41--S1/0--S1/0.12------412------S1/0--FRSW--S1/1------421------S1/0--R42; ?R41--S1/0--S1/0.12------415------S1/0--FRSW--S1/3------451------S1/0--R45; ?R41--S1/0--S1/0.14------414------S1/0--FRSW--S1/2------441------S1/0--R44;

●各站点的IP地址设计如下: ?R41--S1/0--S1/0.12--172.14.12.41/24------172.14.12.42/24--S1/0--R42; ?------172.14.12.45/24--S1/0--R45; ?R41--S1/0--S1/0.14--172.14.14.41/24------172.14.14.44/24--S1/0--R44; ●EIGRP的基本配置,包括静态邻居的配置; ●NTP的配置: ?把R41配置为NTP的服务器; ?把R42、R45和R44配置为NTP的客户端 ●以R41为中心与其他各个站点(R42、R45和R44)配置EIGRP认证。

FRSW3(config-if)#frame intf-type dce FRSW3(config-if)#frame route 441 int s 1/0 414 FRSW3(config-if)#no sh FRSW3(config-if)#^Z FRSW3# 配完之后看看接口 继续点对点子接口的配置 R41(config)#int s 1/0.14 ? multipoint Treat as a multipoint link point-to-point Treat as a point-to-point link

实验三 交换机配置方式及基本命令的熟悉文档

实验三交换机配置方式及基本命令的熟悉 【实验目的】 通过对交换机设备的几种配置手段、配置模式和基本配置命令的认识,获得交换机的基本使用能力。 【实验任务】 1、认识交换机的配置方式。 2、按照给出的参考拓扑图构建逻辑拓扑图。 3、按照给出的配置参数表配置各个设备。 4、练习交换机的一些基本命令。 建议实验学时:2学时。 【实验背景】 在前面的实验中我们已经接触了Cisco的路由器运行的Cisco互联网络操作系统(ISO,Internetwork Operating System),熟悉了Cisco IOS软件内置的命令行界面(CLI,command-line interface)。同样,交换机可以通过一个菜单驱动程序的界面,或者通过命令行界面(CLI),或者在交换机配置了IP地址后通过Telnet远程登录、web登录的方式对交换机来进行配置。 交换机除了可以通过Console端口与计算机直接连接外,还可以通过交换机的普通端口进行连接。如果是堆叠型的,也可以把几台交换机一起进行配置,因为实际上这个时候它们是一个整体,这时通过普通端口对交换机进行管理时,就不再使用超级终端了,而是以Telnet 虚拟终端或Web浏览器的方式实现与被管理交换机的通信。前提是在本地配置方式中已为交换机配置好了IP地址,我们可通过IP地址与交换机进行通信,不过要注意,只有是网管型的交换机才具有这种管理功能。实际上最常用的Catalyst交换机OS被称为Catalyst OS、CatOS,其最大的特点是基于set 命令。但我们常用的是与路由器的IOS相类似的基于IOS 的Catalyst OS。下面简单介绍交换机的各种命令模式以及各种常用的命令。 表4.1交换机的各种命令模式的访问方式、提示符、退出方法及其描述

Cisco路由器静态路由配置实例

Cisco路由器静态路由配置实例 初学路由器的配置,下面就用Boson NetSim for CCNP 6.1模拟软件进行配置…这篇文章主要是对路由表进行静态路由配置… 拓扑结构图如下: 下面开始: 1.对Router1进行配置,配置命令如下: Router>enable进入特权模式 Router#configure terminal 进入配置模式 Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface ethernet0 进入E0端口模式

Router(config-if)#ip address 192.168.1.1 255.255.255.0 配置IP地址Router(config-if)#no shutdown 激活该端口 %LINK-3-UPDOWN: Interface Ethernet0, changed state to up Router(config-if)#exit 返回上一级 Router(config)#interface serial0 进入S0 端口模式 Router(config-if)#ip address 192.168.2.1 255.255.255.0 Router(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down Router(config-if)#clock rate 6400 注意这里是设置时钟..如有不明白,可以打”?”.但是系统给的参数是 64000 .而我们要配置成 6400 ..可能是模拟软件的一个小BUG 吧!现在是在模拟软件中,如果是真实环境,我们要参照说 明书..按照说明书来配置参数…. Router(config-if)#exit Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2 配置路由表

EIGRP 路由协议的配置

EIGRP 路由协议的配置 一.实验目的 掌握路由器EIGRP 路由协议的配置方法。 二.实验要点 通过对路由器A和路由器B启用EIGRP路由协议,使路由器A可Ping通路由器B所连的各个网络, 反之,亦然。 三.实验设备 路由器Cisco 2621两台,交换机Cisco 2950两台,带有网卡的工作站PC 至少两台。 四.实验环境 S0/0:10.0.0.1/24 S0/0:10.0.0.2/24 F0/0:192.168.0.1/24 F0/0:192.168.1.1/24 Host A Host B IP Address:192.168.0.2/24 IP Address:192.168.1.2/24 Default Gateway:192.168.0.1 Default Gateway:192.168.1.1 图13 EIGRP 路由协议的配置 五.实验步骤 1. 如图对路由器A 及路由器B 的各个接口配置好IP地址 l 在路由器A (假设为DCE 端)上 router>en router#conf t

router(config)#hostname RouterA RouterA(config)#int s0/0 RouterA(config-if)#ip add 10.0.0.1 255.255.255.0 RouterA(config-if)#cl ra 64000 RouterA(config-if)#no sh RouterA(config)#int f0/0 RouterA(config-if)#ip add 192.168.0.1 255.255.255.0 RouterA(config-if)#no sh RouterA(config-if)#exit l 在路由器B (假设为DTE 端)上 router>en router#conf t router(config)#hostname RouterB RouterB(config)#int s0/0 RouterB(config-if)#ip add 10.0.0.2 255.255.255.0 RouterB(config-if)#no sh RouterB(config)#int f0/0 RouterB(config-if)#ip add 192. 168.1.1 255.255.255.0 RouterB(config-if)#no sh RouterB(config-if)#exit 实验结果: a. 在路由器A 上是否能ping 通路由器B 的串口S0/0 (10.0.0.2) b. 在路由器A 上是否能ping 通路由器B 的以太口F0/0 (192.168.1.1) 2. 在路由器A 和路由器B 上分别配置EIGRP 路由协议 在路由器A 上: RouterA (config)#router eigrp 100 RouterA(config-router)# net 10.0.0.0 RouterA(config-router)# net 192.168.0.0 在路由器B 上: RouterB (config)# router eigrp 100 RouterB(config-router)# net 10.0.0.0 RouterB(config-router)# net 192.168.1.0 实验结果: a. 在路由器A 上是否能ping 通路由器B 的串口S0/0 (10.0.0.2) b. 在路由器A 上是否能ping 通路由器B 的以太口F0/0

h3c系统基本配置命令

第1章系统基本配置命令 1、1 系统基本配置命令 1、1、1 clock datetime 【命令】 clock datetime time date 【视图】 用户视图 【参数】 time:当前时间,格式为HH:MM:SS(小时:分钟:秒),HH取值范围为0~23,MM与SS取值范围为0~59。 date:为当前日期,格式为MM/DD/YYYY(月/日/年)或者YYYY/MM/DD(年/月/日),MM得取值范围为1~12,DD得取值范围与月份有关,YYYY得取值范围为2000~2035。 【描述】 clock datetime命令用来设置系统时间与日期。 在需要严格获取绝对时间得应用环境中,必须设定设备当前日期与时钟。在输入时间参数时,可以不输入秒。 设置完成后,可以使用display clock命令进行查瞧。 【举例】 # 设置设备当前日期为2005年8月1日14时10分20秒。 clock datetime 14:10:20 08/01/2005 1、1、2 clock summer-time 【命令】 clock summer-time zone-name one-off start-time start-date end-time end-date offset-time clock summer-time zone-name repeating { start-time start-date end-time end-date | start-time start-year start-month start-week start-day end-time end-year end-month end-week end-day } offset-time undo clock summer-time 【视图】 用户视图 【参数】 zone-name:夏令时名称,为1~32个字符得字符串,区分大小写。one-off:表示仅对某一年得夏令时时间进行设置。

EIGRP协议word版本

E I G R P协议

EIGRP EIGRP简单实例 EIGRP:Enhanced Interior Gateway Routing Protocol 即增强网关内部路由线路协议。也翻译为加强型内部网关路由协议。 EIGRP是Cisco公司的私有 协议。Cisco公司是该协议的发明者和唯一具备该协议解释和修改权的厂商。EIGRP结合了链路状态和距离矢量型路由选择协议的Cisco专用协议,采用弥 散修正算法(DUAL)来实现快速收敛,可以不发送定期的路由更新信息以减少带宽的占用,支持Appletalk、IP、Novell和NetWare等多种网络层协议。EIGRP路由协议简介 是Cisco的私有路由协议,它综合了距离矢量和链路状态2者的优点,它的特点包括: 1.快速收敛 链路状态包(Link-State Packet,LSP)的转发是不依靠路由计算的,所以大型网络可以较为快速的进行收敛.它只宣告链路和链路状态,而不宣告路由,所以即使链路发生了变化,不会引起该链路的路由被宣告.但是链路状态路由协议使用的是Dijkstra算法,该算法比较复杂,并且较占CPU和内存资源和 其他路由协议单独计算路由相比,链路状态路由协议采用种扩散计算(diffusingcomputations ),通过多个路由器并行的记性路由计算,这样就可以在无环路产生的情况下快速的收敛.

2.减少带宽占用 EIGRP不作周期性的更新,它只在路由的路径和度发生变化以后做部分更新.当路径信息改变以后,DUAL只发送那条路由信息改变了的更新,而不是发 送整个路由表.和更新传输到一个区域内的所有路由器上的链路状态路由协 议相比,DUAL只发送更新给需要该更新信息的路由器。在WAN低速链路 上,EIGRP可能会占用大量带宽,默认只占用链路带宽50%,之后发布的IOS允许使用命令ip bandwidth-percent eigrp来修改这一默认值 . 3.支持多种网络层协议 EIGRP通过使用“协议相关模块”(即protocol- dependentmodule),可以支持IPX,ApplleTalk,IP,IPv6和NovellNetware等协议. 4.无缝连接数据链路层协议和拓扑结构 EIGRP不要求对OSI参考模型的层2协议做特别的配置.不像OSPF,OSPF 对不同的层2协议要做不同配置,比如以太网和帧中继,EIGRP能够有效的工作在LAN和WAN中,而且EIGRP保证网络不会产生环路(loop-free);而且配置起来很简单;支持VLSM;它使用多播和单播,不使用广播,这样做节约了带宽;它使用和IGRP一样的度的算法,但是是32位长的;它可以做非等价的路径的负载平衡. 编辑本段EIGRP的四个组件

RIP与EIGRP的简单配置(缺少说明)

《作业:配置RIPv2与EIGRP》 一、实验拓扑 二、实验要求 1、按照实验拓扑配置IP地址。 2、配置RIPv2,实现总部与分部内网之间能够相互通信。 3、配置EIGRP,实现总部与分部内网之间能够相互通信。 三、实验步骤 配置各路由器所需IP: R1的配置: R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no shu R1(config-if)#int f0/0 R1(config-if)#ip add 10.2.2.1 255.255.255.0 R1(config-if)#no shu R1(config)#int f0/1 R1(config-if)#ip add 10.3.3.1 255.255.255.252 R1(config-if)#no shu R1#show pint brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.2.2.1 YES manual up up FastEthernet0/1 10.3.3.1 YES manual up up Loopback0 192.168.1.1 YES manual up up R2的配置: R2(config)#int lo 1 R2(config-if)#ip add 192.168.2.1 255.255.255.0 R2(config-if)#no shu R2(config-if)#int f0/0 R2(config-if)#ip add 10.2.2.2 255.255.255.252 R2(config-if)#no shu R2#show pint brief Interface IP-Address OK? Method Status Protocol

EIGRP综合实验

基础知识点: EIGRP的metric计算 有K1(带宽)、K2(负载)、K3(延迟)、K4(可靠性)、K5(MTU)五个参数,默认情况下k值如下:K1=K3=1;K2=K4=K5=0 metric=256*(10000000/K1*bandwidth(kbit/s)+ total delay/10) BW和DLY值都可以在接口模式下手工指定,使用delay值时是tens of microseconds,在show interface 时实际值要乘以10. 使用metric weights 可以修改k值;但同一自制系统内的所有K值必须一致。 BW和DLY值可以使用show interface命令查看如 Ethernet0/1 is up, line protocol is up Hardware is AmdP2, address is cc00.0ffc.0001 (bia cc00.0ffc.0001) Internet address is 192.168.4.1/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:01, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 816 packets input, 75702 bytes, 0 no buffer Received 808 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 1172 packets output, 97655 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out total delay可以通过show ip route x.x.x.x 查看到:如 RC#show ip route 192.168.3.0 Routing entry for 192.168.3.0/24 Known via "eigrp 100", distance 90, metric 307200, type internal Redistributing via eigrp 100 Last update from 192.168.4.2 on Ethernet0/1, 00:36:32 ago

RIPv2配置实例

RIPv2配置实例 1.用户需求: 某企业总部计划和它的2个分公司联网。计划采用2条数字链路连接总部和分公司,并要求总部和分公司的IP网络段不能相同,并且划分广播域隔离广播;不采用三层交换设备;两个分公司联网后能够互相访问;总部和分公司联网后路由器能够自动学习。 2.方案分析与解决: 不采用三层交换技术,但要求采用数字链路,可以考虑用路由器。 3.网络拓扑: 4.规划网络地址: PC1:192.168.3.2 255.255.255.0 192.168.3.1 PC2:192.168.3.3 255.255.255.0 192.168.3.1 PC3:192.168.4.2 255.255.255.0 192.168.4.1 PC4:192.168.5.2 255.255.255.0 192.168.5.1 总部路由器A:F0/0:192.168.3.1 255.255.255.0 S1/0:192.168.1.1 255.255.255.0 S1/1:192.168.2.1 255.255.255.0 分公司路由器B:F0/0:192.168.4.1 255.255.255.0 S1/0:192.168.1.2 255.255.255.0 分公司路由器C:F0/0:192.168.5.1 255.255.255.0 S1/1:192.168.2.2 255.255.255.0 5.路由器配置: 总部A: Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname routerA

思科设备eigrp协议配置

本次讲解路由器eigrp协议的配置: [1]EIGRP与IGRP在network命令的区别在于多了wildcard-mask参数,这是通配符掩码。如果网络定义使用的是默认掩码,则wildcard-mask参数可以省略:如果网络定义使用的不是默认掩码,则wildcard-mask参数必须标明。 [2]EIGRP在处理有类别(A、B、C类)网络地址时,会自动地汇总路由。这意味着即使规定RTC 连接的是10.0.3.0/24这个网络,但EIGRP仍然会发布其连接整个A类网络10.0.0.0。在EIGRP中,路由自动汇总功能默认是有效的。存在不连续子网的网络中,通常需要用no auto-summary命令来关闭该功能。 本例配置模型图 命令行: RA配置命令: Router> Router>enable Router#conf t

Enter configuration commands, one per line. End with CNTL/Z. ^ Router(config)#router eigrp 100 //使用eigrp协议。使用系统自制号100 Router(config-router)#network 202.1.1.5 0.0.0.3 //指定与该路由器直接相连的网络Router(config-router)#network 192.1.1.0 0.0.0.255 //指定与该路由器直接相连的网络Router(config-router)#no auto-summary //关闭自动汇总功能 Router(config-router)#exit Router(config)#int s1/0 Router(config-if)#ip address 202.1.1.5 255.255.255.252 //依照图配置IP Router(config-if)#clock rate 64000 //使用时钟频率 Router(config-if)#bandwidth 64 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial1/0, changed state to down Router(config-if)#exit Router(config)#int f0/0 //依照图配置IP Router(config-if)#ip address 192.1.1.1 255.255.255.0 Router(config-if)#no shutdown %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 Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console Router#wr Building configuration... [OK] Router#

EIGRP基本配置实验

EIGRP基本配置实验 一、实验目的 1.掌握EIGRP基本原理 2.掌握EIGRP基本配置 3.掌握EIGRP的验证配置 4.了解EIGRP的简单测试 二、实验拓扑图 三、实验内容 -配置IP地址实现直连互通 -在所有的路由器上配置EIGRP ,AS号位100, -查看R2的路由表和邻居表,并分析路由表中EIGRP路由条目的度量值的计算过程

-R1-R2之间启用EIGRP密文验证,密钥位KEY 12,KEY-STRING-QM_CCNA *若在路由表中出现汇总路由,建议在每一台路由器上配置 R1(config-if)#router eigrp 1 R1(config-router)#no auto-summary 四、实验具体操作截图 1.配置IP地址实现直连互通 (1)为R1配置IP地址 (2)为R2配置IP地址

(3)为R3配置IP地址 (4)验证是否直连互通 结果:可以直连互通 2.在所有的路由器上配置EIGRP ,AS号位100

3.查看R2的路由表和邻居表,并分析路由表中EIGRP路由条目的 度量值的计算过程。 (1)查看R2的路由表和邻居表 (2)分析路由表中路由条目的度量值的计算过程 Metric=[10^7/BW+延时总和/10US]*256 在R2的路由表中,根据度量值计算公式: Metric=[10^7/100+(5000+100)/10US]*256=156160 其中f口的最小带宽是100M,总延时为Loopback口的延时5000加上经过路由器F口的延时100之和。 注:对于计算度量值时,才开始总是算不对,将loopback口的延时当做是100,怎么算都不对,百思不得其解,最后上网查找,得知loopback口环路默认延时是5000,最终计算出的度量值与路由表中的度量值相等。

迈普路由器配置手册 系统基础

InfoExpress IOS InfoExpress l l l l 1.1 l console shell l 56/336modem LINE l Telnet l SNMP console 56/336modem LINE Telnet SNMP 1.2 InfoExpress IOS shell l l l Console Telnet l shell

InfoExpress IOS Shell l user EXEC l privileged EXEC l global configuration l interface configuration l router configuration l file system configuration l access list configuration l voice-port configuration l dial-peer configuration l crypto transform-set configuration l crypto map configuration l IKE isakmp configuration l pubkey-chain configuration l pubkey-key configuration l DHCP dhcp configuration 1-1 1-1 InfoExpress Lo en co in ro um

IP phone E1 filesystem router(config-fs)# exit ip access-list router(config-std-nacl)# cl)# voice-port ro rt) dial-peer router(config-dial-peer )# exit V oIP POTS crypto ipsec transform-set router(cfg-crypto-trans )# exit crypto map router(cfg-crypto-map) # exit IKE crypto isakmp router(config-isakmp)# crypto key pubkey-chain rsa router(config-pubkey-c hain)# exit RSA

相关主题
文本预览
相关文档 最新文档