Confi gure > bgp 4.10 – Westermo MR Series User Manual
Page 49
![background image](https://www.manualsdir.com/files/809534/content/doc049.png)
49
6622-3201
Web Interface and Command Line Reference Guide
www.westermo.com
Confi gure > BGP
4.10
This page contains the parameters to enable BGP, specify the configuration file and define the action
that is taken on errors or when a new configuration file is loaded. The majority of BGP configu-
ration is done from a text file called bgp.conf This text file can be created in a text editor then
uploaded to the router. A basic example bgp.conf is shown below.
Using the Web Page(s)
Enable BGP:
This parameter enables and disables BGP routing. Options are No, Yes.
Configuration file:
A dropdown list of all the files stored on the router, select the BGP configuration file.
Restart BGP when new config file loaded:
If a new configuration file is selected, BGP can automatically restart and load in the new param-
eters. Options are No, Yes.
Restart BGP after fatal error:
In the event of a fatal BGP error that stops the process from running, the BGP process will be
restarted automatically. Options are No, Yes.
Debug level:
Enabling this option will output debug information via a CLI session. Options are OFF, LOW,
MEDIUM, HIGH.
Using Text Commands
To configure BGP parameters via the command line use the bgp command.
To display current settings for BGP 0 enter the command:
bgp
where
To change the value of a parameter use the command in the format:
bgp
The parameters and values are:
Parameter
Values
Equipment Web Parameter
conffile
filename
Configuration file
debug
0,1,2,3
Debug level 0=Off 1=LOW
2=MEDIUM 3=HIGH
enable
OFF,ON
Enable BGP
fatal_rest
OFF,ON
Restart after fatal error
new_cfg_rest
OFF,ON
Restart BGP when new config file
loaded
Use of the BGP.conf fi le.
The bgp.conf config file is divided into four main sections.
Macros
User-defined variables may be defined and used later, simplifying the configuration file.