default { cost { cost-value | inherit-metric } | limit limit | tag tag | type type } * undo default { cost | limit | tag | type } * 参数说明 参数参数说明取值 cost cost-value 指定OSPF引入的外部路由的缺省度量值。 整数形式,取值范围是0~16777214。缺省值是1。 inherit-metric 引入路由的...
当OSPF引入外部路由时,缺省情况下引入的外部路由不继承原有路由的cost值,而是设置缺省cost值为1。 如果不希望引入的外部路由采用缺省的cost值,可以使用命令default{cost{cost|inherit-metric}改变引入的外部路由的cost值。其中 配置参数cost,可以指定引入的外部路由的缺省cost值,取值范围为0~16777214。
default-cost这个命令只能用在stub区域,并且只能是stub匹配的ABR上才能启用这条命令。 当我们启动一个stub区域时,会自己发布一条默认的路由,路径开销是去往ABR的累加值。这条命令的作用就是在这个累加值上面再累加这条命令指定的值。 实验: 先看一下没有用default-cost这条命令时的效果: R2 router ospf 100 log...
ospf cost value - 在 OSPF 接口上发送数据包的(链路状态指标)开销,介于 1 到 65535 之间。值 1 表示直接连接到接口的网络。点击变量,并根据您在网络中使用的数字输入表示接口功能的开销。 在确定值时,接口带宽越高,在该接口上发送数据包所需的关联开销就越低。换句话说,较大的开销值表示低带宽接口,...
[Huawei-Ethernet0/0/1]port default vlan 2 划分到vlan 2中 同时对多个接口进行配置 [Huawei]port-group group-member Ethernet 0/0/3 to Ethernet 0/0/4 [Huawei-port-group] 3、trunk干道 不属于任何一个vlan,承载所有vlan流量的转发,可以标记和识别不同vlan的信息;标记标准为802.1Q标准 --- dot1q标...
ciscoasa(config-rtr)# area 1 default-cost nssa 步骤3 仅汇总与边界路由器的地址和掩码匹配的路由: area area-id range ipv6-prefix/ prefix-length [advertise | not advertise] [cost cost] 示例: ciscoasa(config-rtr)# area 1 range FE01:1::1/64 area-id 参数标识要为其...
default-cost - 10 tos - 0 Example SEFOS(config-router)# area 10.0.0.1 default-cost 5 Notes A default cost can be defined only for a valid area. The only supported tos value is 0. In the area 0.0.0.0, the default-cost and the tos must be set at the same time. If se...
OSPF uses the cost as the route metric. Each OSPF-enabled interface has a cost value. The cost of an OSPF interface is calculated as follows: Cost = Reference bandwidth/Interface bandwidth. The default reference bandwidth is 100 Mbit/s. ...
default-route-advertise命令用来将缺省路由引入到OSPFv3路由区域。 undo default-route-advertise命令用来恢复缺省情况。 【命令】 default-route-advertise [ [ always | permit-calculate-other ] | cost cost-value | route-policy route-policy-name | tag tag | type type ] * undo default-route-advertise ...