Leaflet
4-17
思科 ASA 系列命令参考,A 至 H 命令
第 4 章 backup 至 browse-networks 命令
bgp asnotation dot
要以 asdot 格式在 show 命令输出中显示 4 字节自主系统编号和控制正则表达式的匹配,您必须配
置 bgp asnotation dot 命令。启用 bgp asnotation dot 命令后,必须通过输入 clearbgp * 命令对所
有 BGP 会话启动硬重置。
示例 show bgp summary 命令的以下输出展示默认 asplain 格式的 4 字节自主系统编号。注意 asplain
格式的 4 字节自主系统编号,65536 和 65550。
ciscoasa(config-router)# show bgp summary
BGP router identifier 172.17.1.99, local AS number 65538
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down Statd
192.168.1.2 4 65536 7 7 1 0 0 00:03:04 0
192.168.3.2 4 65550 4 4 1 0 0 00:00:15 0
系统执行以下配置以将默认输出格式更改为 asdot 表示法格式:
ciscoasa# configure terminal
ciscoasa(config)# router bgp 65538
ciscoasa(config-router)# bgp asnotation dot
执行配置后,输出将转换为 asdot 表示法格式,如 show bgp summary 命令的以下输出中所示。
注意 asdot 格式的 4 字节自主系统编号 1.0 和 1.14(这些是 65536 和 65550 自主系统编号的 asdot
转换)。
ciscoasa(config-router)# show bgp summary
BGP router identifier 172.17.1.99, local AS number 1.2
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down Statd
192.168.1.2 4 1.0 9 9 1 0 0 00:04:13 0
192.168.3.2 4 1.14 6 6 1 0 0 00:01:24 0
表
4-1
默认
Asplain 4
字节自主系统编号格式
格式 配置格式
Show 命令输出和正则表达式
匹配格式
asplain
2 字节:1 至 6553
4 字节:65536 至 4294967295
2 字节:1 至 6553
4 字节:65536 至 4294967295
asdot
2 字节:1 至 6553
4 字节:1.0 至 65535.65535
2 字节:1 至 6553
4 字节:65536 至 4294967295
表
4-2 Asdot 4
字节自主系统编号格式
格式 配置格式
Show 命令输出和正则表达式
匹配格式
asplain
2 字节:1 至 65535
4 字节:65536 至 4294967295
2 字节:1 至 65535
4 字节:1.0 至 65535.65535
asdot
2 字节:1 至 65535
4 字节:1.0 至 65535.65535
2 字节:1 至 65535
4 字节:1.0 至 65535.65535