BGP configuration steps

BGP configuration steps in Sophos XG Firewall

To configure BGP, do as follows:

  1. Select Option 3 (Route Configuration) > Option 1 (Configure Unicast Routing) > Option 3 (Configure BGP)

    You see the following prompt:

    bgp>
  2. Type enable

    This turns on the BGP routing process and places you in Global Configuration mode.

  3. Specify a list of networks for the BGP routing process.
    OptionDescription
    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 BGP routing process. AS (Autonomous System) number is the number of the local AS that Sophos XG Firewall unit 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 XG Firewall may have a physical or VLAN interface connected to those networks.

    bgp(config - router)#show running - config

    Shows the configuration. By default, the router ID is the IP address of the XG Firewall. The router ID is used to identify the XG 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.