Skip to content

BgpGroupProps

Properties for defining a BgpGroup.

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

Initializer

import { BgpGroupProps } from '@alicloud/ros-cdk-vpc'
const bgpGroupProps: BgpGroupProps = { ... }

Properties

Name Type Description
peerAsn number | @alicloud/ros-cdk-core.IResolvable Property peerAsn: The AS number of the BGP peer.
routerId string | @alicloud/ros-cdk-core.IResolvable Property routerId: The ID of the VBR.
authKey string | @alicloud/ros-cdk-core.IResolvable Property authKey: The authentication key of the BGP group.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the BGP group.
ipVersion string | @alicloud/ros-cdk-core.IResolvable Property ipVersion: The IP version.
isFakeAsn boolean | @alicloud/ros-cdk-core.IResolvable Property isFakeAsn: Specifies whether to use a fake ASN.
localAsn number | @alicloud/ros-cdk-core.IResolvable Property localAsn: The custom ASN on the cloud side.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the BGP group.
routeQuota number | @alicloud/ros-cdk-core.IResolvable Property routeQuota: The upper limit of the BGP neighbor's route entries.

peerAsnRequired

public readonly peerAsn: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property peerAsn: The AS number of the BGP peer.


routerIdRequired

public readonly routerId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property routerId: The ID of the VBR.


authKeyOptional

public readonly authKey: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property authKey: The authentication key of the BGP group.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly ipVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly isFakeAsn: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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

public readonly localAsn: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly routeQuota: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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

Unit: entries, default value: 110.