Close Menu
DPC Virtual Tips
    Read More

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Tuesday, August 25
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About the Author
    • About Us
    • Contact
    DPC Virtual Tips
    Home » How to Administratively Disable a BGP Peer on NSX
    Virtualization

    How to Administratively Disable a BGP Peer on NSX

    DaniloBy DaniloJune 14, 2024Updated:July 31, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    disable BGP peer on NSX
    Share
    Facebook Twitter LinkedIn Pinterest Email

    This article explains how to disable a BGP peer administratively on VMware NSX. Disabling a BGP peer can be useful during troubleshooting activities, maintenance windows, or when you need to temporarily stop the BGP relationship between the Tier-0 gateway and an upstream neighbor.

    Before making any changes, it is important to validate the current BGP connectivity status. The BGP neighbor state allows us to confirm whether the communication between the NSX Edge Node and the remote BGP peer is established and exchanging routing information correctly.

    Disabling a BGP peer to stop the neighborhood between them can be helpful or necessary in some situations. For instance, the Tier-0 gateway has two BGP neighbors in the following topology. We will show how to disable one using the NSX UI:

    Checking the BGP Peers’ Status Through the NSX UI

    To check the BGP peer status, we must go to the Tier-0 gateway’s view.
    Access the NSX UI –> Networking –> Connectivity –> Tier 0 Gateways and expand the Tier-0 you want to check these details.
    In our example, the Tier-0 gateway name is “VCF-T0”. Its status is “Success,” the BGP is enabled, and it has two configured BGP neighbors:

    Clicking on the number under “BGP Neighbors” shows details about the BGP neighbors, such as the neighborhood’s status. Our lab has two BGP neighbors (IPs 10.0.22.1 and 10.20.23).1) and their status is “Success,” as we can see in the following picture:

    Expanding the first one and clicking on “BGP CONNECTIVITY STATUS,” we can see the connection status with this BGP peer:

    Our Tier-0 gateway has two NSX Edge Nodes, each with its BGP peer.
    The first NSX Edge is “edge-01,” and its connection status is “Established.” It means in the BGP world that they have a connection established, and they have been changing routing information usually:

    The same status for our “edge-02”:

    Checking the BGP Peers’ Status Through the NSX CLI

    To check the BGP peer status from the command line, we need to access the NSX Edge Node by SSH and identify the VRF logical router instance number on which our Tier-0 gateway is running:

    get logical-router

    The previous command shows all logical routers present in the NSX Edge Node. In our example, the VRF 3 is used for our Tier-0 gateway (in our scenario, this number can be different).

    The next step is to access the VRF 3 and check the BGP peers’ status:

    vrf 3
    get bgp neighbor summary

    The column “State” shows the BGP peer status. “Estab” means “Established”.
    We can do the same steps on the second NSX Edge Node “edge-02”.

    Each NSX Edge Node has two BGP Peers!

    Disable a BGP Peer Administratively

    First, we need to enable the “Toggle Visibility” to allow the admin user to switch between the two UI modes available on the NSX UI: Policy Mode and Manage Mode. Change this option as we can see in the following picture (after changing it, do a logoff and login into the NSX UI to apply this new configuration):

    After that, go to the Networking menu and change to the Manager mode by clicking on the “MANAGER” button:

    Click on the Tier-0 gateway and do to the BGP section under the Routing option:

    Select the BGP peer and click on Edit.
    Note that the Admin status is enabled for both BGP Peers:

    Under Admin status, toggle the button to disabled:

    And now, here we go 🙂

    Our BGP peer has been disabled administratively 🙂

    The BGP peer connection status will be “Idle”, as we can see in the following picture:

    If you need to enable it again, edit the BGP peer and toggle the button to enable it!

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleCreating an NFS Share in the vSAN File Services
    Next Article What is VMware Cloud Foundation (VCF)?
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    VM Replication with vSphere Replication and Site Recovery Manager

    June 16, 2025

    Changing DNS Settings on ESXi Hosts

    May 20, 2025

    Comments are closed.

    Search
    Categories
    • HPC (12)
    • Operating Systems (85)
    • PowerFlex (22)
    • Virtualization (130)
    Read More
    Virtualization

    How to Troubleshoot Packet Drops on an ESXi Host

    By DaniloAugust 16, 20260
    HPC

    SlurmDBD Is Down: What Continues Working and What Does Not

    By DaniloAugust 15, 20260
    HPC

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    By DaniloAugust 14, 20260
    Operating Systems

    Linux Server Has Free Memory but Is Swapping: Why?

    By DaniloAugust 13, 20260
    Operating Systems

    How to Determine Whether Packet Loss Is Local or Network Related on Linux

    By DaniloAugust 12, 20260
    Latest Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy