当OSPF引入外部路由时,缺省情况下引入的外部路由不继承原有路由的cost值,而是设置缺省cost值为1。 如果不希望引入的外部路由采用缺省的cost值,可以使用命令default { cost { cost | inherit-metric }改变引入的外部路由的cost值。其中 配置参数cost,可以指定引入的外部路由的缺省cost值,取值范围为0~16777214。 配置...
通过 “default { cost { cost | inherit - metric}” 命令,网络管理员可以根据实际情况进行精准调控。如果选择配置参数 “cost”,就能够指定引入的外部路由的缺省 cost 值,其取值范围为 0 到 16777214。 这使得管理员可以根据对外部路由的了解和网络规划,...
default cost inherit-metric 配置IS-IS引入直连路由 进入系统视图。 system-view 进入IS-IS视图。 isis[process-id] 配置IS-IS引入直连路由,并继承其引入前的Cost值。 import-route direct inherit-cost 配置BGP引入直连路由 进入系统视图。 system-view
Default { cost { cost-value | inherit-metric } | limit limit | tag tag | type type } 对于引入时没有指定相关参数的路由,可以手动指定参数 Cost:配置默认开销 0---16777214 Inherit-metric:指定路由开销为路由自带的开销值 Limit:1---2147483647 指定单位时间引入外部路由上限默认值 Tag:0---4294967295 ...
Default { cost { cost-value | inherit-metric } | limit limit | tag tag | type type } 对于引入时没有指定相关参数的路由,可以手动指定参数 Cost:配置默认开销 0---16777214 Inherit-metric:指定路由开销为路由自带的开销值 Limit:1---2147483647 指定单位时间引入外部路由上限默认值 Tag...
若想ISIS 协议引入 OSPF 后能继承 cost,在 OSPF 进程下执行如下命令: ospf 1 default cost inherit-metric 当将R1的Loopback接口的IP地址删除,此时R2访问R1的Loopback接口,R2没 有选择R1作为下一跳,而是错误地将R5作为下一跳,选择从R5-R3-R2前往R1的 Loopback0,导致临时环路。当LSA age为1800s时,关于1.1....
Default { cost { cost-value | inherit-metric } | limit limit | tag tag | type type } 对于引入时没有指定相关参数的路由,可以手动指定参数 Cost:配置默认开销 0---16777214 Inherit-metric:指定路由开销为路由自带的开销值 Limit:1---2147483647 指定单位时间引入外部路由上限默认值 Tag...
OSPF选路时优先比较路由来源(区域内>区域间>第一类外部路由>第二类外部路由),来源相同时再比较cost,cost相同形成等价路由。 2、相关命令 设置进行负载分担的等价路由的最大数量: [Huawei-ospf-1] maximum load-balancing number number:等价路由的最大数量。设备型号不同...
inherit Specify how bandwidth is inherited //接口下修改参考带宽, SW7(config)#int e0/0 SW7(config-if)#bandwidth 10000000 // SW7(config)#router ospf 90 SW7(config-router)#neighbor 37.1.1.3 cost ? <1-65535> metric *Dec 28 03:12:42.334: %OSPF-4-CFG_NBR_INVALID_NET_TYPE: Can not use ...
Confirm the external cost When OSPF imports external routes, the default cost is set to 1. Run thedefault costcostcommand to change the default cost value, the value range is 0-16777214. Run thedefault cost inherit-metriccommand set the cost that the route itself carries to the cost of the...