如何让EIGRP支持64bit的Metric
2014-11-13 12:34
323 查看
在默认情况下,思科路由器只支持32bit的metric计算方法。如果要让路由器支持64bit的metric计算,那么,就用使用named configuration的配置方法。
AS Number配置方法和Named 配置方法,还是有不少区别的。
EIGRP AS Number Configuration
EIGRP Named Configuration
AS Number配置方法和Named 配置方法,还是有不少区别的。
EIGRP AS Number Configuration
R16#sh run | s eigrp router eigrp 45678 network 123.16.16.16 0.0.0.0 network 123.20.1.2 0.0.0.0 network 123.20.1.17 0.0.0.0 R16#
EIGRP Named Configuration
R16#sh run | s eigrp router eigrp lab ! address-family ipv4 unicast autonomous-system 45678 ! topology base exit-af-topology network 123.16.16.16 0.0.0.0 network 123.20.1.2 0.0.0.0 network 123.20.1.17 0.0.0.0 exit-address-family R16#
R16#
R16#show eigrp protocols
EIGRP-IPv4 Protocol for AS(45678)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
NSF-aware route hold timer is 240
Router-ID: 123.16.16.16
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
R16#sh run | s eigrp router eigrp 45678 network 123.16.16.16 0.0.0.0 network 123.20.1.2 0.0.0.0 network 123.20.1.17 0.0.0.0 R16#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R16(config)#no router eigrp 45678
R16(config)#router eigrp lab
R16(config-router)#add
R16(config-router)#address-family ?
ipv4 Address family IPv4
ipv6 Address family IPv6
R16(config-router)#address-family ipv4 ?
autonomous-system Specify Address-Family Autonomous System Number
multicast Address Family Multicast
unicast Address Family Unicast
vrf Specify a specific virtual routing/forwarding instance
R16(config-router)#address-family ipv4 as
R16(config-router)#address-family ipv4 au
R16(config-router)#address-family ipv4 autonomous-system 45678
R16(config-router-af)#ne
R16(config-router-af)#net
R16(config-router-af)#network 123.16.16.16 0.0.0.0
R16(config-router-af)#network 123.20.1.2 0.0.0.0
R16(config-router-af)#network 123.20.1.2 0.0.0.0
*Nov 13 19:23:06.169: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.3 (Ethernet0/1) is up: new adjacency
*Nov 13 19:23:06.169: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.1 (Ethernet0/1) is up: new adjacency
R16(config-router-af)#network 123.20.1.17 0.0.0.0
R16(config-router-af)#
*Nov 13 19:23:10.993: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.18 (Ethernet0/2) is up: new adjacency
R16(config-router-af)#
R16(config-router-af)#end
R16#
R16#show ipr
*Nov 13 19:23:15.782: %SYS-5-CONFIG_I: Configured from console by console
R16#show ip route eigrp
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
123.0.0.0/8 is variably subnetted, 10 subnets, 2 masks
D 123.15.15.15/32 [90/3584000] via 123.20.1.1, 00:00:09, Ethernet0/1
D 123.17.17.17/32 [90/3584000] via 123.20.1.18, 00:00:09, Ethernet0/2
D 123.20.1.8/29 [90/1536000] via 123.20.1.18, 00:00:09, Ethernet0/2
[90/1536000] via 123.20.1.1, 00:00:09, Ethernet0/1
D 123.55.55.55/32 [90/3584000] via 123.20.1.3, 00:00:09, Ethernet0/1
D 123.66.66.66/32 [90/4096000] via 123.20.1.18, 00:00:09, Ethernet0/2
[90/4096000] via 123.20.1.1, 00:00:09, Ethernet0/1
R16#wr
Building configuration...
[OK]
R16#show eigr
R16#show eigrp pro
R16#show eigrp protocols
EIGRP-IPv4 VR(lab) Address-Family Protocol for AS(45678)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
Metric rib-scale 128
<strong><u> Metric version 64bit</u></strong>
NSF-aware route hold timer is 240
Router-ID: 123.16.16.16
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Total Prefix Count: 8
Total Redist Count: 0
R16#show ip pro
R16#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 45678"
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 VR(lab) Address-Family Protocol for AS(45678)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
Metric rib-scale 128
<strong><u> Metric version 64bit</u></strong>
NSF-aware route hold timer is 240
Router-ID: 123.16.16.16
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Total Prefix Count: 8
Total Redist Count: 0
Automatic Summarization: disabled
Maximum path: 4
Routing for Networks:
123.16.16.16/32
123.20.1.2/32
123.20.1.17/32
Routing Information Sources:
Gateway Distance Last Update
123.20.1.3 90 00:01:22
123.20.1.1 90 00:01:23
123.20.1.18 90 00:01:22
Distance: internal 90 external 170
R16#
R16#
相关文章推荐
- 基础知识-如何分辨自己处于内网还是外网(公网)?是否有网络防火墙?是否支持UPnP?
- 在C#中如何支持Foreach
- 如何使Emacs支持C#
- Visual SourceSafe如何支持并行开发
- 如何让键盘支持自动输入
- 如何让intel fortran支持2G以上大文件
- 如何,实现像3yee.com那样的二级域名的博客系统啊, 现在基本上的博客都支持二级域名?请大家帮忙解决一下,暂放首页一天,谢谢!
- 如何让PowerDesigner支持自动生成含SQL Server 2000的表和列注释的脚本[转]
- 如何使您的WEB服务器支持WAP数据发送?
- 如何让PowerDesigner支持自动生成含SQL Server 2000的表和列注释的角本
- 如何制作Real支持的媒体文件
- 如何让你的VB6 IDE支持鼠标滚轮?
- 如何取得cpu的型号,频率,支持的扩展指令集等信息,cpuid介绍
- 如何增加NAnt 0.84中的zip压缩对中文路径支持
- 《如何开放你的项目,获得更多“援助者”的支持》
- 如何使应用程序具有脚本支持功能
- 如何让JBuilder9支持Struts 1.1
- 如何用SQL数据支持XML
- 如何让Expat支持中文XML
- 【翻译文章】如何升级基于STL的应用来支持Unicode