查看bgp发布路由的情况 |
查看bgp接收路由的情况 |
查看vpnv4 bgp发布路由的情况 |
查看vpnv4 bgp接收路由的情况 |
(0)
最佳答案
在完成上述配置后,在任意视图下执行display命令可以显示配置后BGP的运行情况,通过查看显示信息验证配置的效果。
表1-159 BGP配置显示(IPv4单播)
操作 | 命令 |
显示BGP NSR的运行状态 | display bgp [ instance instance-name ] non-stop-routing status |
显示BGP IPv4单播对等体组的信息 | display bgp [ instance instance-name ] group ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ group-name group-name ] |
显示BGP IPv4单播对等体或对等体组的状态和统计信息 | display bgp [ instance instance-name ] peer ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address mask-length | { ipv4-address | group-name group-name } log-info | [ ipv4-address ] verbose ] display bgp [ instance instance-name ] peer ipv4 [ unicast ] vpn-instance-all [ verbose ] |
显示BGP IPv4单播路由信息 | display bgp [ instance instance-name ] routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address [ { mask-length | mask } [ longest-match ] ] | ipv4-address [ mask-length | mask ] advertise-info | as-path-acl as-path-acl-number | community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } | peer ipv4-address { advertised-routes | received-routes } [ ipv4-address [ mask-length | mask ] | statistics ] | statistics ] |
显示衰减的BGP IPv4单播路由信息 | display bgp [ instance instance-name ] routing-table dampened ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] |
显示BGP IPv4单播路由的路由衰减参数 | display bgp [ instance instance-name ] dampening parameter ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] |
显示BGP IPv4单播路由的震荡统计信息 | display bgp [ instance instance-name ] routing-table flap-info ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address [ { mask-length | mask } [ longest-match ] ] | as-path-acl as-path-acl-number ] |
显示通过network命令发布的路由信息和通过network short-cut命令配置的Short-cut路由信息 | display bgp [ instance instance-name ] network ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] |
显示BGP的路由属性信息 | display bgp [ instance instance-name ] paths [ as-regular-expression ] |
显示BGP IPv4单播地址族下打包组的相关信息 | display bgp [ instance instance-name ] update-group ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address ] |
显示所有BGP实例的信息 | display bgp instance-info |
显示BGP监控服务器的信息 | display bgp [ instance instance-name ] bmp server server-number |
显示邻居收到的ORF消息中的前缀信息 | display bgp [ instance instance-name ] peer ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] ipv4-address received prefix-list |
display bgp [ instance instance-name ] rpki server [ [ vpn-instance vpn-instance-name ] ipv4-address ] | |
显示从RPKI服务器获得的ROA信息 | display bgp [ instance instance-name ] rpki table ipv4 [ ipv4-address min min-length max max-length ] |
表1-163 BGP配置显示(LS地址族)
操作 | 命令 |
显示BGP LS对等体组的信息 | display bgp [ instance instance-name ] group link-state [ group-name group-name ] |
显示BGP LS地址族信息 | display bgp [ instance instance-name ] link-state [ ls-prefix | peer { ipv4-address | ipv6-address } { advertised | received } [ statistics ] | statistics ] |
显示BGP LS对等体或对等体组的信息 | display bgp [ instance instance-name ] peer link-state [ ipv4-address mask-length | ipv6-address prefix-length | { ipv4-address | ipv6-address | group-name group-name } log-info | [ ipv4-address | ipv6-address ] verbose ] |
显示BGP LS地址族的打包组信息 | display bgp [ instance instance-name ] update-group link-state [ ipv4-address | ipv6-address ] |
表1-164 BGP配置显示(IPv4 RT-Filter地址族)
操作 | 命令 |
显示BGP IPv4 RT-Filter路由信息 | display bgp [ instance instance-name ] routing-table ipv4 rtfilter [ default-rt [ advertise-info ] | [ origin-as as-number ] [ route-target [ advertise-info ] ] | peer ipv4-address { advertised-routes | received-routes } [ default-rt | [ origin-as as-number ] [ route-target ] | statistics ] | statistics ] |
希望以上命令可以帮到你。
(0)
您好,请知:
以下是常用的BGP命令的清单及命令大全,请参考:
http://www.h3c.com/cn/d_201906/1206124_30005_0.htm
在完成上述配置后,在任意视图下执行display命令可以显示配置后BGP的运行情况,通过查看显示信息验证配置的效果。
表1-159 BGP配置显示(IPv4单播)
操作 | 命令 |
显示BGP NSR的运行状态 | display bgp [ instance instance-name ] non-stop-routing status |
显示BGP IPv4单播对等体组的信息 | display bgp [ instance instance-name ] group ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ group-name group-name ] |
显示BGP IPv4单播对等体或对等体组的状态和统计信息 | display bgp [ instance instance-name ] peer ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address mask-length | { ipv4-address | group-name group-name } log-info | [ ipv4-address ] verbose ] display bgp [ instance instance-name ] peer ipv4 [ unicast ] vpn-instance-all [ verbose ] |
显示BGP IPv4单播路由信息 | display bgp [ instance instance-name ] routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address [ { mask-length | mask } [ longest-match ] ] | ipv4-address [ mask-length | mask ] advertise-info | as-path-acl as-path-acl-number | community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } | peer ipv4-address { advertised-routes | received-routes } [ ipv4-address [ mask-length | mask ] | statistics ] | statistics ] |
显示衰减的BGP IPv4单播路由信息 | display bgp [ instance instance-name ] routing-table dampened ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] |
显示BGP IPv4单播路由的路由衰减参数 | display bgp [ instance instance-name ] dampening parameter ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] |
显示BGP IPv4单播路由的震荡统计信息 | display bgp [ instance instance-name ] routing-table flap-info ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address [ { mask-length | mask } [ longest-match ] ] | as-path-acl as-path-acl-number ] |
显示通过network命令发布的路由信息和通过network short-cut命令配置的Short-cut路由信息 | display bgp [ instance instance-name ] network ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] |
显示BGP的路由属性信息 | display bgp [ instance instance-name ] paths [ as-regular-expression ] |
显示BGP IPv4单播地址族下打包组的相关信息 | display bgp [ instance instance-name ] update-group ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ ipv4-address ] |
显示所有BGP实例的信息 | display bgp instance-info |
显示BGP监控服务器的信息 | display bgp [ instance instance-name ] bmp server server-number |
显示邻居收到的ORF消息中的前缀信息 | display bgp [ instance instance-name ] peer ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] ipv4-address received prefix-list |
display bgp [ instance instance-name ] rpki server [ [ vpn-instance vpn-instance-name ] ipv4-address ] | |
显示从RPKI服务器获得的ROA信息 | display bgp [ instance instance-name ] rpki table ipv4 [ ipv4-address min min-length max max-length ] |
表1-163 BGP配置显示(LS地址族)
操作 | 命令 |
显示BGP LS对等体组的信息 | display bgp [ instance instance-name ] group link-state [ group-name group-name ] |
显示BGP LS地址族信息 | display bgp [ instance instance-name ] link-state [ ls-prefix | peer { ipv4-address | ipv6-address } { advertised | received } [ statistics ] | statistics ] |
显示BGP LS对等体或对等体组的信息 | display bgp [ instance instance-name ] peer link-state [ ipv4-address mask-length | ipv6-address prefix-length | { ipv4-address | ipv6-address | group-name group-name } log-info | [ ipv4-address | ipv6-address ] verbose ] |
显示BGP LS地址族的打包组信息 | display bgp [ instance instance-name ] update-group link-state [ ipv4-address | ipv6-address ] |
表1-164 BGP配置显示(IPv4 RT-Filter地址族)
操作 | 命令 |
显示BGP IPv4 RT-Filter路由信息 | display bgp [ instance instance-name ] routing-table ipv4 rtfilter [ default-rt [ advertise-info ] | [ origin-as as-number ] [ route-target [ advertise-info ] ] | peer ipv4-address { advertised-routes | received-routes } [ default-rt | [ origin-as as-number ] [ route-target ] | statistics ] | statistics ] |
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论