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 in internal debug context


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

Display routes learnt from a BGP neighbor


Display routes learnt from a BGP neighbor.
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 BGP neighbor information


Display summarized BGP neighbor information.
get bgp neighbor summary

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 for a given address-family


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

Display all BGP peer-group information.


Display all BGP peer-group information.
get bgp peer-group

Display information about a specific BGP dynamic peer-group.


Display information about a specifie BGP dynamic peer-group.
get bgp peer-group <bgp-peer-group-arg>

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 gateway <dpd-uuid-lrouter-arg> bgp

Display all BGP NLRI matching the community.


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

Display BGP EVPN Ethernet Segment information


Display BGP EVPN Ethernet Segment information.
get gateway <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 gateway <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 gateway <dpd-uuid-lrouter-arg> bgp large-community <bgp-large-community-arg>

Display all BGP neighbor information


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

Display BGP EVPN routes


Display BGP EVPN routes.
get gateway <uuid> bgp evpn

Display BGP EVPN overlay information for all RDs


Display BGP EVPN overlay information for all RDs.
get gateway <uuid> bgp evpn overlay

Display BGP EVPN VNI information


Display BGP EVPN VNI information.
get gateway <uuid> bgp evpn vni

Display information about a specific BGP neighbor


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

Display routes advertised to a BGP neighbor


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

Display routes learnt from a BGP neighbor


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

Display a specific BGP neighbor diagnostic information


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

Display BGP neighbor diagnostic information


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

Display summarized BGP neighbor information


Display summarized BGP neighbor information.
get gateway <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 gateway <uuid> bgp neighbor summary <address-family>

Display all BGP peer-group information.


Display all BGP peer-group information.
get gateway <uuid> bgp peer-group

Display information about a specific BGP dynamic peer-group.


Display information about a specific BGP dynamic peer-group.
get gateway <uuid> bgp peer-group <bgp-peer-group-arg>

Generate BGP/BFD diagnostic report


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

Display all IPv4 & IPv6 BGP routes


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

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> (Deprecated)

Display BGP EVPN Ethernet Segment information


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

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 (Deprecated)

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> (Deprecated)

Display all BGP neighbor information


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

Display BGP EVPN routes


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

Display BGP EVPN overlay information for all RDs


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

Display BGP EVPN VNI information


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

Display information about a specific BGP neighbor


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

Display routes advertised to a BGP neighbor


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

Display routes learnt from a BGP neighbor


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

Display a specific BGP neighbor diagnostic information


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

Display BGP neighbor diagnostic information


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

Display summarized BGP neighbor information


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

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> (Deprecated)

Display all BGP peer-group information.


Display all BGP peer-group information.
get logical-router <uuid> bgp peer-group (Deprecated)

Display information about a specific BGP dynamic peer-group.


Display information about a specific BGP dynamic peer-group.
get logical-router <uuid> bgp peer-group <bgp-peer-group-arg> (Deprecated)

Generate BGP/BFD diagnostic report


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

Total commands: 67