Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet

Page of 1214
 
1-101
思科 ASA 系列命令参考,命令
 
 1       same-security-traffic  shape 命令
  set metric-type internal
示例
在以下示例中,所有通告路由到邻居
 172.16.2.3 的 MED 值设置为下一跃点的对应 IGP 指标:
ciscoasa(config)# router bgp 109
ciscoasa(config-router)# address-family ipv4
ciscoasa(config-router-af)# network 172.16.0.0
ciscoasa(config-router-af)# neighbor 172.16.2.3 remote-as 200
ciscoasa(config-router-af)# neighbor 172.16.2.3 route-map setMED out
ciscoasa(config-route-map)# route-map setMED permit 10
ciscoasa(config-route-map)# match as-path as-path-acl
ciscoasa(config-route-map)# set metric-type internal
ciscoasa(config-route-map)# ip as-path access-list as-path-acl permit .*