ZCSE-204-C1路由策略和策略路由(9)
时间:2026-01-16
时间:2026-01-16
ZCSE-204-C1路由策略和策略路由
命令 用途
match ip address <access-list-number>|prefix-list< 用于匹配ip address prefix-list name>
match metric <metric-value>
match tag <tag-value>
match as-path <path-list-number> 用于匹配metric 用于匹配路由标志值 用于匹配BGP协议的AS
路径字段
match community-list <community-list-number> 用于匹配BGP协议的团
体字段
match route-type {<route-type> | external 用于匹配路由类型
[<external-type>]}
Route-map常用的set语句如下:
命令
set as-path prepend <as-path-number> 用途 修改BGP路由自治系统
路径
set community
{ no-advertise|no-export|no-export-subconfed} 设置BGP COMMUNITY属性
set dampening 设置BGP路由阻尼参数 <max-suppress-time>
set local-preference <value> 为自治系统路径指定优先
权值
set metric [+|-]<metric-value> 设置路由选择协议的尺度
值
set metric-type { internal | external | type-1 | type-2 }
设置路由选择协议的尺度-7
-
上一篇:初中学生学业和品德的分化及其成因
下一篇:团队管理的核心是忠诚力