Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet

Page of 1214
 
4-57
思科 ASA 系列命令参考,命令
 
 4       show bgp  show cpu 命令
  show bgp neighbors
4 字节的自主系统编号思科 /Cisco 实现使用 asplain - 例如 65538- 默认正则表达式匹配和输出显示
自主系统编号的格式,但您可以配置
 4 字节的自主系统编号 asplain 格式和 asdot 格式,在 RFC 
5396 中所述。要将 4 字节自主系统编号的默认正则表达式匹配和输出显示更改为 asdot 格式,请
使用
 bgp asnotation dot  命令后跟  clear  bgp *  命令执行所有当前 BGP 会话的硬重置。
示例
show bgp neighbors
  命令可用的各种关键字的输出示例是不同的。使用各种关键字的示例显示在
以下部分中:
show bgp neighbors:示例
以下示例展示位于
 10.108.50.2 的 BGP 邻居的输出。此邻居是内部 BGP (iBGP) 对等设备。此邻居
支持路由刷新和平滑重启功能。
ciscoasa# show bgp neighbors 10.108.50.2 
BGP neighbor is 10.108.50.2,  remote AS 1, internal link
  BGP version 4, remote router ID 192.168.252.252 
  BGP state = Established, up for 0:24:25
  Last read 00:00:24, last write 00:00:24, hold time is 180, keepalive interval is 
   60 seconds 
  Neighbor capabilities:
    Route refresh: advertised and received(old & new)
    MPLS Label capability: advertised and received 
    Graceful Restart Capability: advertised 
    Address family IPv4 Unicast: advertised and received
  Message statistics:
    InQ depth is 0
    OutQ depth is 0
                         Sent       Rcvd
    Opens:                  3          3
    Notifications:          0          0
    Updates:                0          0
    Keepalives:           113        112
    Route Refresh:          0          0
    Total:                116        115
  Default minimum time between advertisement runs is 5 seconds
 For address family: IPv4 Unicast
  BGP additional-paths computation is enabled
  BGP advertise-best-external is enabled
  BGP table version 1, neighbor version 1/0
 Output queue size : 0
  Index 1, Offset 0, Mask 0x2
  1 update-group member
                                 Sent       Rcvd
  Prefix activity:               ----       ----
    Prefixes Current:               0          0
    Prefixes Total:                 0          0
    Implicit Withdraw:              0          0
    Explicit Withdraw:              0          0
    Used as bestpath:             n/a          0
    Used as multipath:            n/a          0
                                   Outbound    Inbound
  Local Policy Denied Prefixes:    --------    -------
    Total:                                0          0
  Number of NLRIs in the update sent: max 0, min 0
  Connections established 3; dropped 2
  Last reset 00:24:26, due to Peer closed the session 
External BGP neighbor may be up to 2 hops away.