Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet
1-96
思科 ASA 系列命令参考,S 命令
第 1 章 same-security-traffic 至 shape 命令
set metric
set metric
要为路由映射中的
OSPF 及其他动态路由协议设置路由指标值,请在路由映射配置模式下使用 set
metric
命令。要恢复 OSPF 及其他动态路由协议的默认指标值,请使用此命令的 no 形式。
set metric metric-value
| [bandwidth delay reliability loading mtu]
no set metric metric-value
| [bandwidth delay reliability loading mtu]
语法说明
默认值
没有默认行为或值。
命令模式
下表展示可输入此命令的模式:
命令历史
使用指南
no
set metric 命令可用于恢复 OSPF 及其他动态路由协议的默认指标值。在此情景下,
metric-value 参数是
0 到 4294967295 的整数。
示例
以下示例展示如何配置
OSPF 路由的路由映射:
ciscoasa(config)# route-map maptag1 permit 8
ciscoasa(config-route-map)# set metric 5
ciscoasa(config-route-map)# match metric 5
bandwidth
路由的
EIGRP 带宽 (kbps)。有效值范围为 0 到 4294967295。
delay
EIGRP 路由延迟(十微秒)。有效值范围为 0 到 4294967295。
loading
路由的有效
EIGRP 带宽,表示为 0 至 255 的数字。值 255 表示 100% 负载。
metric-value
OSPF 及其他动态路由协议(EIGRP 除外)的路由指标值,表示为数字。有
效值范围为
效值范围为
0 到 4294967295。
mtu
用于
EIGRP 的路由的最小 MTU(字节)。有效值范围为 0 到 4294967295。
reliability
EIGRP 的数据包传输成功的可能性,表示为 0 到 255 的数字。255 表示
100% 可靠; 0 表示不可靠。
100% 可靠; 0 表示不可靠。
命令模式
防火墙模式
安全情景
路由
透明
单个
多个
情景
系统
路由映射配置
•
是
—
•
是
•
是
—
版本
修改
7.0(1)
引入了此命令。
8.2(5)
添加了
bandwidth、delay、reliability、loading 和 mtu 参数,以支持路
由映射中的
EIGRP。
9.0(1)
支持多情景模式。