Skip to content

BgpGroupProps

Properties for defining a BgpGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-bgpgroup

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.BgpGroupProps {
    PeerAsn: interface{},
    RouterId: interface{},
    AuthKey: interface{},
    Description: interface{},
    IpVersion: interface{},
    IsFakeAsn: interface{},
    LocalAsn: interface{},
    Name: interface{},
    RouteQuota: interface{},
}

Properties

Name Type Description
PeerAsn interface{} Property peerAsn: The AS number of the BGP peer.
RouterId interface{} Property routerId: The ID of the VBR.
AuthKey interface{} Property authKey: The authentication key of the BGP group.
Description interface{} Property description: The description of the BGP group.
IpVersion interface{} Property ipVersion: The IP version.
IsFakeAsn interface{} Property isFakeAsn: Specifies whether to use a fake ASN.
LocalAsn interface{} Property localAsn: The custom ASN on the cloud side.
Name interface{} Property name: The name of the BGP group.
RouteQuota interface{} Property routeQuota: The upper limit of the BGP neighbor's route entries.

PeerAsnRequired

PeerAsn interface{}
  • Type: interface{}

Property peerAsn: The AS number of the BGP peer.


RouterIdRequired

RouterId interface{}
  • Type: interface{}

Property routerId: The ID of the VBR.


AuthKeyOptional

AuthKey interface{}
  • Type: interface{}

Property authKey: The authentication key of the BGP group.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the BGP group.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


IpVersionOptional

IpVersion interface{}
  • Type: interface{}

Property ipVersion: The IP version.

Valid values:

  • IPv4: This is the default value.
  • IPv6: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.

IsFakeAsnOptional

IsFakeAsn interface{}
  • Type: interface{}

Property isFakeAsn: Specifies whether to use a fake ASN.

Valid values:

  • false (default)
  • true

A router that runs BGP typically belongs to only one AS. If you need to replace an existing AS with a new AS and you cannot immediately modify BGP configurations, you can use fake ASNs to ensure service continuity.


LocalAsnOptional

LocalAsn interface{}
  • Type: interface{}

Property localAsn: The custom ASN on the cloud side.

Valid values:

  • 45104
  • 64512~65534
  • 4200000000~4294967294

65025 is reserved by the cloud platform. By default, the system uses 45104 as LocalAsn. If you use custom LocalAsn in multi-line access scenarios, loops in BGP may occur.


NameOptional

Name interface{}
  • Type: interface{}

Property name: The name of the BGP group.

The name must be 2 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.


RouteQuotaOptional

RouteQuota interface{}
  • Type: interface{}

Property routeQuota: The upper limit of the BGP neighbor's route entries.

Unit: entries, default value: 110.