Leaflet

4-18
思科 ASA 系列命令参考,A H 命令
4 backup browse-networks 命令
bgp asnotation dot
配置 bgp asnotation dot 命令后,4 字节自主系统路径的正则表达式匹配格式更改为 asdot 表示法
格式。尽管 4 字节自主系统编号可在正则表达式中使用 asplain 格式或 asdot 格式进行配置,但只
有使用当前默认格式配置的 4 字节自主系统编号匹配。在第一个示例中,show bgp regexp 命令
采用 asplain 格式的 4 字节自主系统编号进行配置。匹配失败是因为默认格式当前为 asdot 格式且
没有输出。在使用 asdot 格式的第二个示例中,匹配通过并且关于 4 字节自主系统路径的信息使
asdot 表示法展示。
ciscoasa(config-router)# show bgp regexp ^65536$
ciscoasa(config-router)# show bgp regexp ^1\.0$
BGP table version is 2, local router ID is 172.17.1.99
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ?- incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/24 192.168.1.2 0 0 1.0 i
asdot 表示法使用句点,后者在思科正则表达式中为特殊字符。要消除特殊含义,请在点号之前
使用反斜线。
相关命令
命令 说明
show bgp summary
显示所有边界网关协议 (BGP) 连接的状态。
show bgp regexp
显示匹配自主系统路径正则表达式的路由。