How to disable BGP using GUI or CLI?

Description

Disabling BGP if you are not using it is a very important step to avoid unnecessary routing traffic. In this scenario, let us see how to Disable BGP in GUI and then on CLI mode.

In normal circumstances, BGP is enabled in GUI and configured over CLI. Now, for disabling we have 2 ways, over GUI and over CLI.

Resolution for SonicOS 7.X

This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.


In Gen7 SonicWall devices, BGP is licensed with no extra cost, however, they are disabled by default. If you have been using BGP for some time and now wish to completely disable it, please follow the steps below after logging in to SonicWall.

Over GUI

  1. Navigate to Network | System | Dynamic Routing | Settings
  2. Click the drop-down next to BGP and select DisabledImage

  3. Click Confirm to accept the change and proceed
    Image
  4. If there are no other Advanced Routing methods (like OSPF, RIP, RIPng) enabled, it is recommended to disable the Advanced Routing Mode as well. Slide/click the bar to disable. This step will also require your confirmation to proceed.
    Image


Over CLI:

  1.  Log in to CLI using SSH Client (Click here for KB) or Console port (click here for the KB)
    Image

  2. Commands are simple

    login as: admin
    admin@192.168.168.168's password:
    admin@C0EAE45----> conf t
    config(C0EAE45----)# routing
    (config-routing)# no bgp
    (config-routing)# commit
    % Applying changes...
    % Status returned processing command:
     commit
    % Changes made.
    (config-routing)# mode simple
    (config-routing)# mode simple
    (config-routing)# commit
    % Applying changes...
    % Status returned processing command:
     commit
    % Changes made.
    (config-routing)# exit
    Image

NOTE: The command 'commit' is very important. This saves the changes made. 





Resolution for SonicOS 6.5

This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.


If you have been using BGP for some time and now wish to completely disable it, please follow the steps below after logging in to SonicWall.

Over GUI

  1. Navigate to Manage| Network | Routing | Settings
  2. Click the drop-down next to BGP and select DisabledImage

  3. Click Confirm to accept the change and proceed
  4. If there are no other Advanced Routing methods (like OSPF, RIP, RIPng) enabled, it is recommended to disable the Advanced Routing Mode as well. Slide/click the bar to disable. This step will also require your confirmation to proceed.
    ImageImage


Over CLI:

  1. Log in to CLI using SSH Client (Click here for KB) or Console port (click here for the KB)
    Image

  2. Commands are simple

    login as: admin
    admin@192.168.168.168's password:
    admin@C0EAE45----> conf t
    config(C0EAE45----)# routing
    (config-routing)# no bgp
    (config-routing)# commit
    % Applying changes...
    % Status returned processing command:
       commit
    % Changes made.
    (config-routing)# mode simple
    (config-routing)# mode simple
    (config-routing)# commit
    % Applying changes...
    % Status returned processing command:
      commit
    % Changes made.
    (config-routing)# exit
    Image

NOTE: The command 'commit' is very important. This saves the changes made.  

Related Articles

  • SonicOS 8.1.0 FAQ
    Read More
  • SonicWall GEN8 TZs and GEN8 NSas Settings Migration
    Read More
  • Getting started with SonicWall firewalls
    Read More
not finding your answers?