Contents
Configuring the BGP protocol
You can specify settings for using the BGP dynamic routing protocol on an individual CPE device or on all devices that use the CPE template. If you plan to use route filtering, you must create route maps before configuring BGP.
Use the following instructions to configure BGP:
- Configuring BGP on an individual CPE device.
To configure BGP on an individual CPE device:
- In the menu, go to the SD-WAN section.
By default, the CPE subsection is displayed with a table of CPE devices.
- Click the CPE device.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- Select the BGP settings tab.
By default, the General settings tab is selected, which displays the BGP settings.
- Select the Override check box to ignore the applied CPE template and make the settings in the selected tab editable. This check box is cleared by default.
- In the BGP drop-down list, select one of the following values:
- Enabled
- Disabled (selected by default)
- In the AS field, enter the number of your autonomous system. Range of values: 1 to 4,294,967,295.
- In the Router ID field, enter the IPv4 address of the CPE device.
- In the Maximum paths field, enter the maximum number of entries in the routing 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 or cleared in the same way on all CPE devices in your autonomous system. Otherwise, exchange of routing information may result in routing loops.
- Select the Graceful restart check box to enable Graceful restarton the CPE device.
This feature allows a CPE device to notify its peers about an imminent restart, for example, when using BGP. This lets the peers immediately remove the relevant CPE device from the routing table, without waiting for the timeout to end.
- Select the Use default IPv4 unicast routes check box to have the CPE device exchange IPv4 routes with BGP peers by default.
By default, all check boxes are cleared.
- 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.
- If necessary, 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 keepalive messages to BGP peers. Range of values: 0 to 65,535.
- In the Holdtime field, enter the time in seconds that the CPE device must wait to receive keepalive messages from BGP peers. If no keepalive messages are received from the BGP peer within the specified time, the device considers the peer unavailable. Range of values: 0 to 65,535.
- If necessary, under Route redistribution, configure the redistribution of routes of other routing protocols in BGP:
- Select the check box next to the route type:
- Kernel to redistribute Kernel routes generated by the operating system of the CPE device.
- Connected to redistribute routes directly connected to CPE device interfaces.
- Static to redistribute static routes.
- OSPF to redistribute OSPF routes.
By default, all check boxes are cleared.
- In the Route map drop-down list, select a route map to pick the routes that you want to redistribute.
- In the Metric field, enter a metric for redistributed routes. Range of values: 0 to 16,777,214.
- Select the check box next to the route type:
- If necessary, specify the network that the CPE device must advertise to its BGP peers:
- Under Networks, click + Network.
- In the Network field, enter the IP address and subnet mask.
- In the Route map drop-down list, select a route map for the advertised routes.
You can specify multiple networks.
- In the upper part of the settings area, click Save to save the configuration of the CPE device.
- In the menu, go to the SD-WAN section.
- Configuring BGP on all devices that use a CPE template.
To configure BGP on all devices that use a CPE template:
- In the menu, go to the SD-WAN → CPE templates subsection.
A table of CPE templates is displayed.
- Click the CPE template.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- Select the BGP settings tab.
By default, the General settings tab is selected, which displays the BGP settings.
- In the BGP drop-down list, select one of the following values:
- Enabled
- Disabled (selected by default)
- In the AS field, enter the number of your autonomous system. Range of values: 1 to 4,294,967,295.
- In the Router ID field, enter the IPv4 address of the CPE device.
- In the Maximum paths field, enter the maximum number of entries in the routing 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 or cleared in the same way on all CPE devices in your autonomous system. Otherwise, exchange of routing information may result in routing loops.
- Select the Graceful restart check box to enable Graceful restart on the CPE device.
- Select the Use default IPv4 unicast routes check box to have the CPE device exchange IPv4 routes with BGP peers by default.
By default, all check boxes are cleared.
- 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.
- If necessary, 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 keepalive messages to BGP peers. Range of values: 0 to 65,535.
- In the Holdtime field, enter the time in seconds that the CPE device must wait to receive keepalive messages from BGP peers. If no keepalive messages are received from the BGP peer within the specified time, the device considers the peer unavailable. Range of values: 0 to 65,535.
- If necessary, under Route redistribution, configure the redistribution of routes of other routing protocols in BGP:
- Select the check box next to the route type:
- Kernel to redistribute Kernel routes generated by the operating system of the CPE device.
- Connected to redistribute routes directly connected to CPE device interfaces.
- Static to redistribute static routes.
- OSPF to redistribute OSPF routes.
By default, all check boxes are cleared.
- In the Route map drop-down list, select a route map to pick the routes that you want to redistribute.
- In the Metric field, enter a metric for redistributed routes. Range of values: 0 to 16,777,214.
- Select the check box next to the route type:
- If necessary, specify the network that the CPE device must advertise to its BGP peers:
- Under Networks, click + Network.
- In the Network field, enter the IP address and subnet mask.
- In the Route map drop-down list, select a route map for the advertised routes.
You can specify multiple networks.
- In the upper part of the settings area, click Save to save the configuration of the CPE template.
- In the menu, go to the SD-WAN → CPE templates subsection.