Basic BGP settings
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 in the sidebar of the displayed window.
- If you want to manage basic BGP settings on a CPE device, go to the SD-WAN → CPE menu section, click the CPE device, and in the sidebar of the displayed window, select the BGP section and select the Override check box, which unlocks the Autonomous System field.
- In the Autonomous System field, enter the autonomous system number (from 1 to 4,294,967,295). The specified autonomous system will be used for all BGP instances created on this device or in this CPE template and will be displayed in theAS field.
After you specify the autonomous system number, the + BGP button becomes available.
- In the Default BGP Instance with VRF list, select the BGP instance that you want to be used by default. If no BGP instance has been created yet, create a BGP instance by following the steps below, then select the created BGP instance.
- Create one or more BGP instances. To do this:
- Click the + BGP button. The workspace for adding a BGP instance is displayed.
- 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 VRF drop-down list, select an existing VRF to which you want to advertise BGP routes. The list only shows those VRFs that are not associated with other BGP instances on the device or in the CPE template.
- 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.
- In the IP address pool drop-down list, select a created range of IP addresses.
- 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.
- Select the Graceful restart (helper mode) check box to enable Graceful restart on the CPE device.
- 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 (sec) 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 (sec) 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.
- Static to redistribute static routes.
- OSPF to redistribute OSPF routes.
These check boxes are cleared by default.
- 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.
- Select the check boxes next to the route types:
- 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 subnets. To delete a subnet, click the delete icon
next to it.
- If necessary, also manage BGP instance settings on the Neighbors, Peer groups, and Route leaking tabs.
- In the lower part of the workspace for adding a BGP instance, click Save to save the BGP instance settings.
The BGP instance is saved and added to the table of BGP instances in the settings area.
- In the lower part of the settings area, click Save to save the settings of the CPE template or CPE device.