BGP configuration steps
BGP configuration steps in Sophos Firewall
To configure BGP, do as follows:
-
Select Option 3 (Route Configuration) > Option 1 (Configure Unicast Routing) > Option 3 (Configure BGP)
You see the following prompt:
bgp>
-
Type
enable
This turns the BGP routing process on and switches to global configuration mode.
-
Specify a list of networks for the BGP routing process.
Option Description bgp#configure terminal
Enables the BGP configuration mode which places you in the Router Configuration mode and allows you to configure from the terminal. bgp(config)#router bgp AS number
Allows you to configure and start the BGP routing process. The Autonomous System (AS) number is the number of the local AS that your Sophos Firewall is a member of. bgp(config-router)#network ip-address
Specify the ip-address with the subnet information of the network to be advertised.
IP Addresses and network masks or prefixes of networks to advertise to BGP peers. Sophos Firewall may have a physical or VLAN interface connected to those networks.
bgp(config-router)#no bgp ebgp-requires-policy
When you configure BGP from the web admin console, the command is applied by default. When you configure BGP on the CLI, you can run this command to get additional information.
When you apply the Global configuration settings on the web admin console, the firewall removes your changes to the default settings.
bgp(config-router)#bgp log-neighbor-changes
When you configure BGP from the web admin console, the command is applied by default. When you configure BGP on the CLI, you can run this command to get additional information.
When you apply the Global configuration settings on the web admin console, the firewall removes your changes to the default settings.
bgp(config-router)#show running-config
Shows the configuration. By default, the router ID is the IP address of the Sophos Firewall. The router ID is used to identify the Sophos Firewall to other BGP routers. The router ID can be an integer or can take a form similar to an IP address A.B.C.D. bgp(config-router)#end
Exits from the router configuration mode and places you into the enable mode. bgp#exit
Exits to the router management menu.
Note
The firewall only shows the maximum-paths ibgp
value in the running configuration if it isn't set to the default value of 16.