Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

ip as-path access-list

使用正则表达式为 BGP 路由创建 AS 路径 ACL 筛选器。

语法
ip as-path access-list name {deny | permit} regexp-string
参数
  • name — 输入访问列表名称。
  • deny | permit — 拒绝或接受匹配的路由。
  • regexp-string — 输入正则表达式字符串以匹配 AS 路径路由属性。
默认
未配置
命令模式
CONFIGURATION
使用情况信息

您可以在入站和出站 BGP 路由上指定访问列表筛选器。ACL 筛选器由正则表达式组成。如果正则表达式与 BGP 路由中的 AS 路径属性匹配,则该路由将被拒绝或接受。AS 路径不包含本地 AS 编号。如果指定 denyregexp,此命令的 no 版本将移除单个访问列表条目。否则,将移除整个访问列表。

正则表达式中不支持 question mark (?) 字符。所有其他特殊字符均受支持。当在正则表达式中使用 backslash(\) double quotes (”) 时,请在这些字符前面加上 backslash(\)。例如,输入 \\\”

示例
OS10(config)# ip as-path access-list abc deny 123
支持的版本
10.3.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\