Creating a BGP peer group
You can create a BGP peer group on an individual CPE device or on all devices that use the CPE template. If you plan to use route filtering, before creating a BGP peer group, you must do the following:
To create a BGP peer group, use the following instructions:
- Creating a BGP peer group on an individual CPE device.
To create a BGP peer group 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 → Peer groups tab.
A table of BGP peer groups is displayed.
- 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.
- Click + Peer group.
- This opens a window; in that window, in the Name field, enter the name of the BGP peer group. Maximum length: 50 characters.
- If you do not want to establish a TCP session with the BGP peer group after it is created, select the Disable BGP peer group check box. This check box is cleared by default.
- In the BGP range field, enter the IP address range of the BGP peer group. The range is specified using a prefix.
- In the Remote AS field, enter the autonomous system number of the BGP peer group. Range of values: 1 to 4 294 967 295.
- If necessary, enter a brief description of the BGP peer group in the Description field.
- In the Password field, enter the password for establishing a TCP session with the BGP peer group. To see the entered password, you can click the show button . For a TCP session to be successfully established between two BGP peers, they must use the same password.
- In the Loopback interface field, enter the IP address of the loopback interface that the CPE device must send to the BGP peer group when establishing a TCP session.
- In the eBGP hops field, enter the number of hops between the CPE device and the BGP peer group if the TCP session is not established directly. Range of values: 1 to 255.
- If necessary, configure BGP timers:
- Select the Custom 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 the BGP peer group. 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 the BGP peer group. 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.
- To use the BFD protocol to detect loss of connectivity, select the BFD check box. This check box is cleared by default.
- Select the Advanced settings to specify advanced BGP peer group settings.
- If necessary, select the following check boxes:
- Select the Soft-reconfiguration inbound check box to store routes advertised by the BGP peer group locally on the CPE device.
Using this feature reduces the amount of memory available on the device.
- Select the Attribute unchanged AS path check box to prevent modifying the 'AS path' attribute of routes that the CPE device advertises to the BGP peer group.
- Select the Allow AS in check box to allow the CPE device to receive from a BGP peer group routes with the 'AS path' attribute, the value of which is the autonomous system number of this device.
- Select the Attribute unchanged next-hop check box to prevent modifying the 'next hop' attribute of routes that the CPE device advertises to the BGP peer group.
- Select the Next-hop self check box to use the IP address of the CPE device as the 'next-hop' attribute when advertising routes to the BGP peer group.
- Select the Attribute unchanged MED check box to prevent modifying the 'MED' attribute of routes that the CPE device advertises to the BGP peer group.
- Select the Route reflector client check box to assign the Route Reflector role to the CPE device and the Route Reflector Client role to the BGP peer group. You can only select this check box when configuring a BGP peer group that is in the same autonomous system as the CPE device.
By default, all check boxes are cleared.
- Select the Soft-reconfiguration inbound check box to store routes advertised by the BGP peer group locally on the CPE device.
- In the Local AS field, enter the number of the local autonomous system that the CPE device must send to the BGP peer group. Range of values: 1 to 4 294 967 295.
- In the Weight field, enter the weight of the routes advertised by the BGP peer group. The greater the weight of a route, the higher its priority. Range of values: 0 to 65,535.
- In the Maximum prefix field, enter the maximum number of prefixes that the BGP peer group can advertise to a CPE device. Range of values: 1 to 4,294,967,295.
- If you want a CPE device to advertise routes with the 'community' attribute to the BGP peer group, select the Send community check box and select the type of attribute to be sent in the drop-down list:
- All to send all available types of the 'community' attribute to the BGP peer.
- Standard and extended community to send 'standard community' and 'extended community' attributes to the BGP peer.
- Extended community to send the 'extended community' attribute to the BGP peer.
- Large community to send the 'large community' attribute to the BGP peer.
- Standard community to send the 'standard community' attribute to the BGP peer.
This check box is cleared by default.
- Select the Default originate check box if you want the CPE device to forward the default route (0.0.0.0) to the BGP peer group. This check box is cleared by default. You can also select the Set route map check box and select a previously created route map for the default route from the drop-down list that is displayed.
- Select the Filtering tab to configure route filtering for the BGP peer group.
- Under Route map, select previously created route maps for route filtering:
- In the Inbound drop-down list, select the route map that the BGP peer group must use when advertising routes to the CPE device.
- In the Outbound drop-down list, select the route map that the CPE must use when advertising routes to the BGP peer group.
- Under Prefix list, select previously created prefix lists for route filtering:
- In the Inbound drop-down list, select the prefix list that the BGP peer group must use when advertising routes to the CPE device.
- In the Outbound drop-down list, select the prefix list that the CPE must use when advertising routes to the BGP peer group.
- Under Access control list, select previously created access control lists for route filtering:
- In the Inbound drop-down list, select the access control list that the BGP peer group must use when advertising routes to the CPE device.
- In the Outbound drop-down list, select the access control list that the CPE must use when advertising routes to the BGP peer group.
- Click Create.
The BGP peer group is created and displayed in the table.
- 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.
- Creating a BGP peer group on all devices that use the CPE template.
To create a BGP peer group on all devices that use the 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 → Peer groups tab.
A table of BGP peer groups is displayed.
- Click + Peer group.
- This opens a window; in that window, in the Name field, enter the name of the BGP peer group. Maximum length: 50 characters.
- If you do not want to establish a TCP session with the BGP peer group after it is created, select the Disable BGP peer group check box. This check box is cleared by default.
- In the BGP range field, enter the IP address range of the BGP peer group. The range is specified using a prefix.
- In the Remote AS field, enter the autonomous system number of the BGP peer group. Range of values: 1 to 4 294 967 295.
- If necessary, enter a brief description of the BGP peer group in the Description field.
- In the Password field, enter the password for establishing a TCP session with the BGP peer group. To see the entered password, you can click the show button . For a TCP session to be successfully established between two BGP peers, they must use the same password.
- In the Loopback interface field, enter the IP address of the loopback interface that the CPE device must send to the BGP peer group when establishing a TCP session.
- In the eBGP hops field, enter the number of hops between the CPE device and the BGP peer group if the TCP session is not established directly. Range of values: 1 to 255.
- If necessary, configure BGP timers:
- Select the Custom 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 the BGP peer group. 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 the BGP peer group. 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.
- To use the BFD protocol to detect loss of connectivity, select the BFD check box. This check box is cleared by default.
- Select the Advanced settings to specify advanced BGP peer group settings.
- If necessary, select the following check boxes:
- Select the Soft-reconfiguration inbound check box to store routes advertised by the BGP peer group locally on the CPE device.
Using this feature reduces the amount of memory available on the device.
- Select the Attribute unchanged AS path check box to prevent modifying the 'AS path' attribute of routes that the CPE device advertises to the BGP peer group.
- Select the Allow AS in check box to allow the CPE device to receive from a BGP peer group routes with the 'AS path' attribute, the value of which is the autonomous system number of this device.
- Select the Attribute unchanged next-hop check box to prevent modifying the 'next hop' attribute of routes that the CPE device advertises to the BGP peer group.
- Select the Next-hop self check box to use the IP address of the CPE device as the 'next-hop' attribute when advertising routes to the BGP peer group.
- Select the Attribute unchanged MED check box to prevent modifying the 'MED' attribute of routes that the CPE device advertises to the BGP peer group.
- Select the Route reflector client check box to assign the Route Reflector role to the CPE device and the Route Reflector Client role to the BGP peer group. You can only select this check box when configuring a BGP peer group that is in the same autonomous system as the CPE device.
By default, all check boxes are cleared.
- Select the Soft-reconfiguration inbound check box to store routes advertised by the BGP peer group locally on the CPE device.
- In the Local AS field, enter the number of the local autonomous system that the CPE device must send to the BGP peer group. Range of values: 1 to 4 294 967 295.
- In the Weight field, enter the weight of the routes advertised by the BGP peer group. The greater the weight of a route, the higher its priority. Range of values: 0 to 65,535.
- In the Maximum prefix field, enter the maximum number of prefixes that the BGP peer group can advertise to a CPE device. Range of values: 1 to 4,294,967,295.
- If you want a CPE device to advertise routes with the 'community' attribute to the BGP peer group, select the Send community check box and select the type of attribute to be sent in the drop-down list:
- All to send all available types of the 'community' attribute to the BGP peer.
- Standard and extended community to send 'standard community' and 'extended community' attributes to the BGP peer.
- Extended community to send the 'extended community' attribute to the BGP peer.
- Large community to send the 'large community' attribute to the BGP peer.
- Standard community to send the 'standard community' attribute to the BGP peer.
This check box is cleared by default.
- Select the Default originate check box if you want the CPE device to forward the default route (0.0.0.0) to the BGP peer group. This check box is cleared by default. You can also select the Set route map check box and select a previously created route map for the default route from the drop-down list that is displayed.
- Select the Filtering tab to configure route filtering for the BGP peer group.
- Under Route map, select previously created route maps for route filtering:
- In the Inbound drop-down list, select the route map that the BGP peer group must use when advertising routes to the CPE device.
- In the Outbound drop-down list, select the route map that the CPE must use when advertising routes to the BGP peer group.
- Under Prefix list, select previously created prefix lists for route filtering:
- In the Inbound drop-down list, select the prefix list that the BGP peer group must use when advertising routes to the CPE device.
- In the Outbound drop-down list, select the prefix list that the CPE must use when advertising routes to the BGP peer group.
- Under Access control list, select previously created access control lists for route filtering:
- In the Inbound drop-down list, select the access control list that the BGP peer group must use when advertising routes to the CPE device.
- In the Outbound drop-down list, select the access control list that the CPE must use when advertising routes to the BGP peer group.
- Click Create.
The BGP peer group is created and displayed in the table.
- 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.