(四) ip as-path access-list
功能:
根据 BGP 的 AS-PATH 属性过滤 BGP 的分发路由条目。
Case Study: Syntax
ip as-path access-list acl-number permit | deny regexp
no ip as-path access-list acl-number
注:acl-number 有效值为0 ~ 500。
Case Study: Configuration Guide
<1> 过滤所有的私有 AS 的 Routes 更新
ip as-path access-list 1 deny (_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_) ip as-path access-list 1 permit .*