You can specify basic BGP settings in a CPE template or on a CPE device. BGP settings specified in the CPE template are automatically propagated to all CPE devices that use this CPE template.
To modify the basic BGP settings:
Specify basic BGP settings in one of the following ways:
If you want to edit the basic BGP settings in a CPE template, go to the SD-WAN → CPE templates menu section, click the CPE template, and select the BGP tab.
If you want to edit the basic BGP settings on a CPE device, go to the SD-WAN → CPE menu section, click the CPE device, select the BGP tab, and select the Override check box.
By default, the General settings tab is selected, which displays the basic BGP settings.
In the BGP drop-down list, select Enabled. The default value is Disabled.
In the AS field, enter the autonomous system number of the CPE device. Range of values: 1 to 4,294,967,295.
In the Router ID field, enter the IPv4 address that you want to assign to the router ID of the CPE device. If you want to assign an IPv4 address from a specified range of IP addresses:
Select the Router ID from IP pool check box. This check box is cleared by default.
If necessary, in the Maximum paths field, enter the maximum number of entries in the routing and forwarding table of the CPE device. Range of values: 1 to 8.
If necessary, select the following check boxes:
Select the Always compare MED check box. This check box allows the CPE device to compare the multi-exit discriminator (MED) of routes advertised from different autonomous systems.
You must make sure that this check box is selected on all CPE devices in your autonomous system. Otherwise, exchange of routing information may result in routing loops.
Select the Graceful restart (helper mode) check box to enable Graceful restart on the CPE device.
These check boxes are cleared by default.
If you do not want the CPE device to exchange IPv4 routes with BGP peers by default, clear the Use default IPv4 unicast routes check box. This check box is selected by default.
If you want to configure BGP timers:
Select the BGP timers check box. This check box is cleared by default.
In the Keepalive field, enter the time interval in seconds that the CPE device uses to send control packets to BGP peers. Range of values: 0 to 65,535.
In the Holdtime field, enter the time interval in seconds that the CPE device uses when receiving control packets from BGP peers. If no control packets are received from the BGP peer within the specified time, the CPE device considers the peer unavailable. Range of values: 0 to 65,535.
If you want to configure route redistribution in BGP, under Route redistribution, do the following:
Select the check boxes next to the route types:
Kernel to redistribute Kernel routes generated by the operating system of the CPE device.
Connected to redistribute routes directly connected to network interfaces of CPE device.
In the Route map drop-down list, select a created route map for redistributed routes.
In the Metric field, enter a metric of redistributed routes. Range of values: 0 to 16,777,214.
If you want the CPE device to advertise the specified subnet to BGP peers:
Under Networks, click +Network.
In the Network field, enter the IPv4 prefix of the subnet.
In the Route map drop-down list, select a created route map for the subnet.
The subnet is specified and displayed under Networks. You can specify multiple subnets or delete a subnet. To delete a subnet, click the delete icon next to it.
In the upper part of the settings area, click Save to save the settings of the CPE template or CPE device.