首页 科技问答 BGP有没有排错命令(bgp排错步骤)

BGP有没有排错命令(bgp排错步骤)

科技问答 237
1691939514,

问题描述:

BGP有没有排错命令,类似华为 dis bgo error

组网及组网描述:


6小时前提问

没有

6小时前回答

暂无

您好,参考

1.14  BGP显示和维护

1.14.1  显示BGP

在完成上述配置后,在任意视图下执行display命令可以显示配置后BGP的运行情况,通过查看显示信息验证配置的效果。

表1-56 BGP配置显示

操作

命令

显示对等体组信息

display BGP group [ group-name ] [ begin | exclude include } regular-expression ]

显示BGP发布的路由信息

display bgp network [ begin | exclude include } regular-expression ]

显示BGP NSR的运行状态(不同型号的产品支持情况见下表)

display bgp non-stop-routing begin | exclude include } regular-expression ]

显示AS路径信息

display bgp paths [ as-regular-expression | begin | exclude include } regular-expression ]

显示BGP对等体/对等体组的信息

display bgp peer [ ip-address { log-info | verbose } | group-name log-info verbose ] [ begin | exclude include } regular-expression ]

显示从指定邻居收到的ORF消息中的前缀信息

display bgp peer ip-address received ip-prefix [ begin | exclude include } regular-expression ]

显示BGP路由信息

display bgp routing-table [ ip-address [ { mask | mask-length } [ longer-prefixes ] ] ] [ begin | exclude include } regular-expression ]

显示匹配指定AS路径过滤列表的BGP路由信息

display bgp routing-table as-path-acl as-path-acl-number [ begin | exclude include } regular-expression ]

显示CIDR的BGP路由信息

display bgp routing-table cidr [ begin | exclude include } regular-expression ]

显示匹配指定BGP团体的BGP路由信息

display bgp routing-table community [ aa:nn&<1-13> ] [ no-advertise | no-export | no-export-subconfed ] * [ whole-match ] [ begin | exclude include } regular-expression ]

显示匹配指定BGP团体列表的BGP路由

display bgp routing-table community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } [ begin | exclude include } regular-expression ]

显示BGP衰减的BGP路由信息

display bgp routing-table dampened [ begin | exclude include } regular-expression ]

显示BGP衰减的配置参数

display bgp routing-table dampening parameter [ begin | exclude include } regular-expression ]

显示源AS不一致的路由

display bgp routing-table different-origin-as [ begin | exclude include } regular-expression ]

显示BGP路由震荡统计信息

display bgp routing-table flap-info regular-expression as-regular-expression | [ as-path-acl as-path-acl-number | ip-address [ { mask | mask-length } longer-match ] ] ] [ begin | exclude include } regular-expression ] ]

显示BGP标签路由信息

display bgp routing-table label begin | exclude include } regular-expression ]

显示向指定的BGP对等体发送或者从BGP对等体收到的路由信息

display bgp routing-table peer ip-address { advertised-routes | received-routes } [ network-address [ mask | mask-length ] | statistic ] [ begin | exclude include } regular-expression ]

显示匹配AS正则表达式的路由信息

display bgp routing-table regular-expression as-regular-expression

显示BGP的路由统计信息

display bgp routing-table statistic [ begin | exclude include } regular-expression ]

显示全局路由器ID

display router id | { begin | exclude | include } regular-expression ]

 

SR6600/SR6600-X路由器各款型对于本节所描述的特性支持情况有所不同,详细差异信息如下:

型号

特性

描述

SR6602

显示BGP NSR的运行状态

不支持

SR6602-X

不支持

SR6604/SR6608/SR6616

配置了RPE-X1或RSE-X1主控板支持

配置了MCP主控板不支持

SR6604-X/SR6608-X/SR6616-X

支持

 

1.14.2  复位BGP会话

当BGP路由策略或协议发生变化后,如果需要通过复位BGP会话使新的配置生效,请在用户视图下进行下列配置。

表1-57 复位BGP会话

操作

命令

复位指定的BGP会话

reset bgp { as-number | ip-address | all | external | group group-name | internal }

复位IPv4单播地址族下的所有BGP会话

reset bgp ipv4 all

 

1.14.3  清除BGP信息

在用户视图下,执行reset命令可以清除BGP相关统计信息。

表1-58 清除BGP信息

操作

命令

清除路由的衰减信息并释放被抑制的路由

reset bgp dampening [ ip-address [ mask | mask-length ] ]

清除路由的震荡统计信息

reset bgp flap-info [ ip-address [ mask-length | mask ] | as-path-acl as-path-acl-number | regexp as-path-regular-expression ]

reset bgp peer-ip-address flap-info

6小时前回答

暂无

你正在内容来源:知了社区,BGP有没有排错命令

BGP