IGRP协议.docx

上传人:b****6 文档编号:7199729 上传时间:2023-01-21 格式:DOCX 页数:13 大小:76.94KB
下载 相关 举报
IGRP协议.docx_第1页
第1页 / 共13页
IGRP协议.docx_第2页
第2页 / 共13页
IGRP协议.docx_第3页
第3页 / 共13页
IGRP协议.docx_第4页
第4页 / 共13页
IGRP协议.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

IGRP协议.docx

《IGRP协议.docx》由会员分享,可在线阅读,更多相关《IGRP协议.docx(13页珍藏版)》请在冰豆网上搜索。

IGRP协议.docx

IGRP协议

IGRP协议

 IGRP(InteriorGatewayRoutingProtocol)是一种动态距离向量路由协议,它由Cisco公司八十年代中期设计。

使用组合用户配置尺度,包括延迟、带宽、可靠性和负载。

缺省情况下,IGRP每90秒发送一次路由更新广播,在3个更新周期内(即270秒),没有从路由中的第一个路由器接收到更新,则宣布路由不可访问。

在7个更新周期即630秒后,CiscoIOS软件从路由表中清除路由。

1.有关命令

任务

命令

指定使用RIP协议

routerigrpautonomous-system1

指定与该路由器相连的网络

networknetwork

指定与该路由器相邻的节点地址

neighborip-address

注:

1、autonomous-system可以随意建立,并非实际意义上的autonomous-system,但运行IGRP的路由器要想交换路由更新信息其autonomous-system需相同。

2.举例

Router1:

routerigrp200

network192.200.10.0

network192.20.10.0

·

!

1.启动IGRP路由协议,在全局设置模式下;

routerigrp自治域号

同一自治域内的路由器才能交换路由信息。

2.本路由器参加动态路由的子网;

network子网号

IGRP只是将由network指定的子网在各端口中进行传送以交换路由信息,如果不指定子网,则路由器不会将该子网广播给其它路由器。

3.指定某路由器所知的IGRP路由信息广播给那些与其相邻接的路由器;

neighbor邻接路由器的相邻端口IP地址。

IGRP是一个广播型协议,为了使IGRP路由信息能在非广播型网络中传输,必须使用该设置,以允许路由器间在非广播型网络中交换路由信息,广播型网络如以太网无须设置此项。

以上为IGRP的基本设置,通过该设置,路由器已能完全通过IGRP进行路由信息交换其他设置。

4.不允许某个端口发送IGRP路由信息

passive-interface端口号

一般地,在以太网上只有一台路由器时,IGRP广播没有任何意义,且浪费带宽,完全可以将其过滤掉。

5.负载平衡设置

IGRP可以在两个进行IP通信的设备间同时启用四条线路,且任何一条路径断掉都不会影响其它路径的传输。

当两条路径或多条路径的metric相同或在一定的范围内,就可以启动平衡功能。

1.设置是否使用负载平衡功能。

traffic-sharebalanced或min

balanced表示启用负载平衡min表示不启用负载平衡,只走最优路径。

2.设置路径间的metric相差多大时,可以在路径间启用负载平衡。

variancemetric差值

缺省值为1,表示只有两条路径metric相同时才能在两条路径上启用负载平衡。

实例:

2511-1的设置

Currentconfiguration:

version11.3

noservicepassword-encryption

!

hostname2511-1

!

enablepasswordcisco

!

!

interfaceEthernet0

ipaddress192.4.1.1255.255.255.0

!

interfaceSerial0

ipaddress192.3.1.1255.255.255.0

encapsulationframe-relayIETF

noipmroute-cache

bandwidth2000

frame-relaymapip192.3.1.2100broadcast

frame-relaylmi-typecisco

!

interfaceSerial1

ipaddress192.1.1.1255.255.255.0

encapsulationppp

bandwidth64

!

routerigrp10

passive-interfaceEthernet0

network192.1.1.0255.255.255.0

network192.3.1.0255.255.255.0

network192.4.1.0255.255.255.0

neighbor192.1.1.2

neighbor192.3.1.2

!

ipclassless

!

linecon0

line18

lineaux0

linevty04

!

end

2505的设置

Currentconfiguration:

!

version11.2

noserviceudp-small-servers

noservicetcp-small-servers

!

hostname2505

!

enablesecret5$1$GbYT$OR05giiLZxl4hEAO0F8kV1

!

!

hubether01

link-test

auto-polarity

!

hubether02

link-test

auto-polarity

!

hubether03

link-test

auto-polarity

!

hubether04

link-test

auto-polarity

!

hubether05

link-test

auto-polarity

!

hubether06

link-test

auto-polarity

!

hubether07

link-test

auto-polarity

!

hubether08

link-test

auto-polarity

!

interfaceEthernet0

ipaddress192.1.4.1255.255.255.0

!

interfaceSerial0

ipaddress192.1.2.1255.255.255.0

bandwidth2000

clockrate2000000

!

interfaceSerial1

ipaddress192.1.1.2255.255.255.0

enpsurationppp

bandwidth64

clockrate64000

!

routerigrp10

passive-interfaceEthernet0

network192.1.1.0255.255.255.0

network192.1.2.0255.255.255.0

network192.1.4.0255.255.255.0

neighbor192.1.1.1

neighbor192.1.2.2

!

noipclassless

!

linecon0

lineaux0

linevty04

login

!

end

internal-2的设置

Currentconfiguration:

!

!

version11.2

noserviceudp-small-servers

noservicetcp-small-servers

!

hostnameinternal-2

!

enablesecret5$1$KX00$rTI/2TvDokWxT4xC6wvmi/

!

!

interfaceEthernet0

noipaddress

shutdown

!

interfaceSerial0

ipaddress192.1.2.2255.255.255.0

!

interfaceSerial1

noipaddress

shutdown

!

routerigrp10

network192.1.2.0255.255.255.0

neighbor192.1.2.1

!

noipclassless

!

linecon0

line116

lineaux0

linevty04

login

!

end

2514的设置

Currentconfiguration:

!

!

version11.2

noserviceudp-small-servers

noservicetcp-small-servers

!

hostname2514

!

enablesecret5$1$uoHU$Vks/lYCRi33z4TXs4qekI0

!

frame-relayswitching

!

interfaceEthernet0

ipaddress192.5.1.1255.255.255.0

!

interfaceEthernet1

noipaddress

shutdown

!

interfaceSerial0

ipaddress192.3.1.2255.255.255.0

encapsulationframe-relayIETF

bandwidth2000

clockrate2000000

frame-relaymapip192.3.1.1100broadcast

frame-relayintf-typedce

!

interfaceSerial1

ipaddress192.2.1.1255.255.255.0

noipmroute-cache

encapsulationX25dce

bandwidth64

x25address1234

x25htc16

x25nvc4

x25mapip192.2.1.25678broadcast

clockrate64000

!

routerigrp10

passive-interfceEthernet0

network192.3.1.0255.255.255.0

network192.2.1.0255.255.255.0

network192.5.1.0255.255.255.0

neighbor192.2.1.2

neighbor192.3.1.1

!

noipclassless

!

linecon0

lineaux0

linevty04

login

!

end

2511-2的设置

Buildingconfiguration…

Currentconfiguration:

version11.3

noservicepassword-encryption

!

hostname2511-2

!

enablesecret5$1$7o5F$MSyFWzVf6JBgnjLJghHSB.

!

interfaceEthernet0

ipaddress192.2.4.1255.255.255.0

!

interfaceSerial0

ipaddress192.2.1.2255.255.255.0

encapsulationx25

noipmroute-cache

x25address5678

x25htc16

x25nvc4

x25mapip192.2.1.11234broadcast

!

interfaceSerial1

ipaddress192.2.2.1255.255.255.0

noipmroute-cache

bandwidth2000

clockrate2000000

!

routerigrp10

network192.2.2.0255.255.255.0

network192.2.4.0255.255.255.0

network192.2.1.0255.255.255.0

neighbor192.2.1.1

neighbor192.2.2.2

!

ipclassless

!

linecon0

line18

lineaux0

linevty04

login

!

end

internal-1的设置

Buildingconfiguration…

Currentconfiguration:

version11.2

noserviceudp-small-servers

noservicetcp-small-servers

!

hostnameinternal-1

!

enablesecret5$1$cF2M$z2T8Ohij5q/yn2RsiVaGE/

!

!

interfaceEthernet0

noipaddress

shutdown

!

interfaceSerial0

ipaddress192.2.2.2255.255.255.0

!

interfaceSerial1

noipaddress

shutdown

!

routerigrp10

network192.2.2.0255.255.255.0

neighbor192.2.2.1

!

noipclassless

!

linecon0

line116

lineaux0

linevty04

login

!

end

本篇文章来源于中国协议分析网|原文链接:

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 表格模板 > 合同协议

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1