How to disable BGP using GUI or CLI?
04/18/2022
14 People found this article helpful
359,977 Views
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.
Resolution
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
- Navigate to Network | System | Dynamic Routing | Settings
- Click the drop-down next to BGP and select Disabled
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418287588.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
- Click Confirm to accept the change and proceed
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418101578.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
- 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](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418399018.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
Over CLI:
- Log in to CLI using SSH Client (Click here for KB) or Console port (click here for the KB)
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418970240.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
- 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](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418652187.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
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
- Navigate to Manage| Network | Routing | Settings
- Click the drop-down next to BGP and select Disabled
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418251446.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
- Click Confirm to accept the change and proceed
- 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](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418521566.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418428133.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
Over CLI:
- Log in to CLI using SSH Client (Click here for KB) or Console port (click here for the KB)
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418949498.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
- 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](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090220418525902.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk4NDIsImlhdCI6MTcyNTA3Mzg0Mn0.wYw3GRim8FzUNN0Fe04rfmuwU-mQFH8mRUsknE53RoE)
NOTE: The command 'commit' is very important. This saves the changes made.
Related Articles
Categories
Was This Article Helpful?
YES
NO