Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet

Page of 1214
 
1-79
思科 ASA 系列命令参考,命令
 
 1       same-security-traffic  shape 命令
  set as-path
示例
以下示例将重分布路由的标记转换为自主系统路径:
ciscoasa(config)# route-map set-as-path-from-tag
ciscoasa(config-route-map)# set as-path tag
ciscoasa(config-route-map)# router bgp 100
ciscoasa(config-router)# address-family ipv4
ciscoasa(config-router-af)# redistribute ospf 109 route-map set-as-path-from-tag
以下示例将
 100 100 100 预置到向 10.108.1.1 通告的所有路由前面:
ciscoasa(config)# route-map set-as-path
ciscoasa(config-route-map)# match as-path 1
ciscoasa(config-route-map)# set as-path prepend 100 100 100
ciscoasa(config-route-map)# router bgp 100
ciscoasa(config-router)# address-family ipv4
ciscoasa(config-router-af)# neighbor 10.108.1.1 route-map set-as-path out
相关命令
命令
说明
clear bgp
使用硬重新配置或软重新配置重置
 BGP 连接。
bgp asnotation dot
将边界网关协议
 (BGP) 4 字节自主系统编号的默认显示和正则表达式
匹配格式从
 asplain 格式(十进制值)更改为点记法。