资源描述:
《1-3-配置及查看eigrp》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、配置EIGRP配置及查看EIGRProutereigrpautonomous-system-number配置EIGRP作为IP路由协议网络中所有需要交换EIGRP路由信息的路由器必须配置相同的AS号。配置EIGRPnetworknetwork-number[wildcard-mask]标识参与EIGRP的网络。其中wildcard-mask为反掩码(通配符)。通配符中0表示“必须匹配”,1表示“不关心”(即1对应的bit可匹配,也可不匹配)。Router(config)#Router(config-router)#bandwidthkilobit
2、s设置接口的带宽值(该参数不会影响接口的实际物理带宽,但是会影响EIGRP度量值的计算,即影响IP路由的选路)配置EIGRP(续)Router(config-if)#在路由器A上无需配置网络192.168.1.0,因为该网段并非路由器A的直连网段。配置EIGRP在EIGRP中使用通配符(Wildcard)在EIGRP中使用并配置ipdefault-network命令示例:EIGRP配置实例:R2的EIGRP配置interfaceFastEthernet0/0ipaddress172.17.2.2255.255.255
3、.0interfaceSerial0/0/1bandwidth64ipaddress192.168.1.102255.255.255.224routereigrp100network172.17.2.00.0.0.255network192.168.1.0查看EIGRP:showipeigrpneighborsR1#showipeigrpneighborsIP-EIGRPneighborsforprocess100HAddressInterfaceHoldUptimeSRTTRTOQSe
4、q(sec)(ms)CntNum0192.168.1.102Se0/0/11000:07:2210228005R1#查看EIGRP:showiprouteeigrpR1#showiprouteeigrpD172.17.0.0/16[90/40514560]via192.168.1.102,00:07:01,Serial0/0/1172.16.0.0/16isvariablysubnetted,2subnets,2masksD172.16.0.0/16isasummary,00:05:13,Null0192.168.1.0/24isvariably
5、subnetted,2subnets,2masksD192.168.1.0/24isasummary,00:05:13,Null0R1#showiprouteGatewayoflastresortisnotsetD172.17.0.0/16[90/40514560]via192.168.1.102,00:06:55,Serial0/0/1172.16.0.0/16isvariablysubnetted,2subnets,2masksD172.16.0.0/16isasummary,00:05:07,Null0C172
6、.16.1.0/24isdirectlyconnected,FastEthernet0/0192.168.1.0/24isvariablysubnetted,2subnets,2masksC192.168.1.96/27isdirectlyconnected,Serial0/0/1D192.168.1.0/24isasummary,00:05:07,Null0查看EIGRP:showipprotocolsR1#showipprotocolsRoutingProtocolis"eigrp100"Outgoingupdatefilterlistfor
7、allinterfacesisnotsetIncomingupdatefilterlistforallinterfacesisnotsetDefaultnetworksflaggedinoutgoingupdatesDefaultnetworksacceptedfromincomingupdatesEIGRPmetricweightK1=1,K2=0,K3=1,K4=0,K5=0EIGRPmaximumhopcount100EIGRPmaximummetricvariance1Redistributing:eigrp100EIGRPNSF-awa
8、rerouteholdtimeris240sMaximumpath:4RoutingforNetworks