API Guide
示例
OS10# show ip bgp ipv6 unicast summary
BGP router identifier 80.1.1.1 local AS number 102
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
80.1.1.2 800 8 4 00:01:10 5
OS10# show ip bgp ipv6 unicast neighbors interface ethernet 1/1/1 advertised-
routes
BGP local router ID is 40.1.1.2
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric
LocPrf Weight Path
*> 1000::/64 fe80::3617:ebff:fef1:dc5e 0
0 0 10
OS10# show ip bgp ipv6 unicast neighbors interface ethernet 1/1/1 routes
BGP local router ID is 40.1.1.2
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric
LocPrf Weight Path
*> 1000::/64 fe80::3617:ebff:fefd:dc5e 0
100 0 10
OS10# show ip bgp ipv6 unicast neighbors interface ethernet 1/1/1 received-
routes
BGP local router ID is 40.1.1.2
Status codes: D denied
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric
LocPrf Weight Path
*> 1001::/64 fe80::3617:ebff:fef1:dc5e 0
0 0 10
OS10# show ip bgp ipv6 unicast neighbors interface ethernet 1/1/1 denied-
routes
BGP local router ID is 40.1.1.2
Status codes: D denied
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric
LocPrf Weight Path
D 1002::/64 fe80::3617:ebff:fef1:dc5e 0
0 0 10
支持的版本
10.3.0E or later
Identifier GUID-28AD28CD-6EFB-4F75-B62A-F34F10F41ECA
Version 5
Status Translation approved
show ip bgp neighbors
显示 BGP 邻居交换的信息。
语法
show ip bgp [vrf vrf-name] neighbors [ip-address] [advertised-routes |
dampened-routes | flap-statistics | denied-routes | routes]
参数
• vrf vrf-name — 输入 vrf 和 VRF 的名称,以查看与该 VRF 对应的 BGP 邻居之间交换的信息。
• ip-address — 输入特定邻居的 IPv6 地址/ IPv4
• denied-routes — 显示策略拒绝的路由的列表
• advertised-routes — 显示通告给邻居的路由
• dampened-routes — 显示从邻居接收的抑制路由
• flap-statistics — 显示从邻居接收的路由的摆动统计信息
• received-routes — 显示从邻居接收的路由。
592 第 3 层