NSX CLI Guide

Associated Commands:

CLI Description Command

Reset specific BGP neighbor session


Reset specific BGP neighbor session.
clear bgp <ip46-address>

Reset all BGP neighbor sessions


Reset all BGP neighbor sessions.
clear bgp neighbors

Display all IPv4 & IPv6 BGP routes


Display all IPv4 & IPv6 BGP routes.
get bgp

Display detailed information about BGP IPv4 route


Display detailed information about BGP IPv4 route.
get bgp <network-address>

Display detailed information about BGP IPv6 route


Display detailed information about BGP IPv6 route.
get bgp <network6-address>

Display all BGP NLRI matching the community.


Display all BGP NLRI matching the community.
get bgp community { NO_EXPORT | NO_ADVERTISE | NO_EXPORT_SUBCONFED | AA:NN }

Display BGP EVPN routes


Display BGP EVPN routes.
get bgp evpn

Display BGP EVPN Ethernet Segment information


Display BGP EVPN Ethernet Segment information.
get bgp evpn es

Display BGP EVPN Ethernet Segment(ES) per EVPN instance(EVI) information


Display BGP EVPN Ethernet Segment(ES) per EVPN instance(EVI) information.
get bgp evpn es-evi

Display BGP EVPN overlay information for all RDs


Display BGP EVPN overlay information for all RDs.
get bgp evpn overlay

Display BGP EVPN VNI information


Display BGP EVPN VNI information.
get bgp evpn vni

Display all IPv4 BGP routes


Display all IPv4 BGP routes.
get bgp ipv4

Display all IPv6 BGP routes


Display all IPv6 BGP routes.
get bgp ipv6

Display all BGP NLRI matching the large-community.


Display all BGP NLRI matching the large-community.
get bgp large-community <bgp-large-community-arg>

Display all BGP neighbor information


Display all BGP neighbor information.
get bgp neighbor

Display information about a specific BGP neighbor


Display information about a specifie BGP neighbor.
get bgp neighbor <ip-address>

Display routes advertised to a BGP neighbor in internal debug context


Display routes advertised to a BGP neighbor in internal debug context
get bgp neighbor <ip-address> advertised-routes

Display routes advertised to a BGP neighbor


Display routes advertised to a BGP neighbor.
get bgp neighbor <ip-address> advertised-routes

Display routes learnt from a BGP neighbor


Display routes learnt from a BGP neighbor.
get bgp neighbor <ip-address> routes

Display routes learnt from a BGP neighbor in internal debug context


Display routes learnt from a BGP neighbor in internal debug context
get bgp neighbor <ip-address> routes

Display a specific BGP neighbor diagnostic information


Display a specific BGP neighbor diagnostic information.
get bgp neighbor <ip46-address> session-diagnostics

Display BGP neighbor diagnostic information


Display BGP neighbor diagnostic information.
get bgp neighbor session-diagnostics

Display summarized inter-sr neighbors information from the default VRF in internal debug context


Display summarized inter-sr neighbors information from the default VRF in internal debug context.
get bgp neighbor summary

Display summarized BGP neighbor information


Display summarized BGP neighbor information.
get bgp neighbor summary

Display summarized BGP neighbor information for a given address-family


Display summarized BGP neighbor information for a given address-family.
get bgp neighbor summary <address-family>

Display all IPv4 & IPv6 BGP routes of shadow VRF


Display all IPv4 & IPv6 BGP routes of shadow VRF.
get bgp vrfid <vrf-id>

Generate BGP/BFD diagnostic report


Generate BGP/BFD diagnostic report.
get bgp-bfd diagnostics report

Display all IPv4 & IPv6 BGP routes


Display all IPv4 & IPv6 BGP routes.
get logical-router <dpd-uuid-lrouter-arg> bgp

Display all BGP NLRI matching the community.


Display all BGP NLRI matching the community.
get logical-router <dpd-uuid-lrouter-arg> bgp community <bgp-community-arg>

Display BGP EVPN Ethernet Segment information


Display BGP EVPN Ethernet Segment information.
get logical-router <dpd-uuid-lrouter-arg> bgp evpn es

Display BGP EVPN Ethernet Segment(ES) per EVPN instance(EVI) information


Display BGP EVPN Ethernet Segment(ES) per EVPN instance(EVI) information.
get logical-router <dpd-uuid-lrouter-arg> bgp evpn es-evi

Display all BGP NLRI matching the large-community.


Display all BGP NLRI matching the large-community.
get logical-router <dpd-uuid-lrouter-arg> bgp large-community <bgp-large-community-arg>

Display all BGP neighbor information


Display all BGP neighbor information.
get logical-router <dpd-uuid-lrouter-arg> bgp neighbor

Display BGP EVPN routes


Display BGP EVPN routes.
get logical-router <uuid> bgp evpn

Display BGP EVPN overlay information for all RDs


Display BGP EVPN overlay information for all RDs.
get logical-router <uuid> bgp evpn overlay

Display BGP EVPN VNI information


Display BGP EVPN VNI information.
get logical-router <uuid> bgp evpn vni

Display information about a specific BGP neighbor


Display information about a specific BGP neighbor.
get logical-router <uuid> bgp neighbor <ip-address>

Display routes advertised to a BGP neighbor


Display routes advertised to a BGP neighbor.
get logical-router <uuid> bgp neighbor <ip-address> advertised-routes

Display routes learnt from a BGP neighbor


Display routes learnt from a BGP neighbor.
get logical-router <uuid> bgp neighbor <ip-address> routes

Display a specific BGP neighbor diagnostic information


Display a specific BGP neighbor diagnostic information.
get logical-router <uuid> bgp neighbor <ip-address> session-diagnostics

Display BGP neighbor diagnostic information


Display BGP neighbor diagnostic information.
get logical-router <uuid> bgp neighbor session-diagnostics

Display summarized BGP neighbor information


Display summarized BGP neighbor information.
get logical-router <uuid> bgp neighbor summary

Display summarized BGP neighbor information for a given address-family


Display summarized BGP neighbor information for a given address-family.
get logical-router <uuid> bgp neighbor summary <address-family>

Generate BGP/BFD diagnostic report


Generate BGP/BFD diagnostic report.
get logical-router <uuid> bgp-bfd diagnostics report

Total commands: 44