Configuring BGPaaS from Contrail Command
To configure BGPaaS within a tenant:
- Select Services > BGPaaS. from the Contrail Command user interface (UI). The BGPaaS page is displayed.
- Click the Create button on the BGPaaS page. The Create BGPaaS page is displayed. See Figure 1.
Figure 1: Create BGPaaS - In the Create BGPaaS page, populate the fields
with the following values to create your BGP object.
Fields
Description
Name
Enter a name for the BGP service. The name can be a unique string of not more than 15 characters that contains alphanumeric characters and hyphen (-).
Virtual Machine Interface
Enter IP address of a virtual machine interface.
Address Family
Choose inet or inet6 from the Address Family list according to your requirement.
Autonomous System
Enter autonomous system (AS) number in the range of 1-65,535.
If you enable 4 Byte ASN in Global Config, you can enter 4-byte AS number in the range of 1-4,294,967,295.
Advanced Options
IP Address
Enter the IPv4 or IPv6 source-address on the BGPaaS VM.
Shared
Select this check box to link all VMIs with the common bgp-router object. If this box is not selected, each VMI individually links to its own bgp-router object.
Route Origin
Choose BGP from the list if the route originated on a BGP router.
Choose EGP from the list if the route originated from an External Gateway Protocols (EGP) session.
Choose Incomplete from the list if the Network Layer Reachability Information (NLRI) is learned through methods such as redistribution of the routes into BGP, and not through BGP.
Route Origin Override
Select this check box to override the origin attribute of the advertised route origin into Incomplete.
Service Health Check
Select any Service Health Check object from the list according to your requirement.
Hold Time
Enter the maximum time a BGP session remains active if no Keepalives are received.
Loop Count
Enter the number of times the same ASN can be seen in a route-update. The route is discarded when the loop count is exceeded.
Local ASN
Enter autonomous system (AS) number in the range of 1-65,535.
If you enable 4 Byte ASN in Global Config, you can enter 4-byte AS number in the range of 1-4,294,967,295.
AS Override
Select this check box to replace the AS number of the control node with the AS number of the tenant VM.
Use IPv4-mapped IPv6 Nexthop
Select this check box to use IPv4-mapped IPv6 format as the next hop instead of the IPv4 subnet's default gateway.
Suppress Route Advertisement
Select this check box to prevent advertisement of routes to tenant VM.
Primary Control Node Zone
You can choose the control-node with which the BGPaaS VM can perform a BGP session.
Secondary Control Node Zone
You can choose the control-node with which the BGPaaS VM can perform a BGP session.
- Click the Create button to create the BGP object.