Skip to content

BgpPeerProps

Properties for defining a BgpPeer.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.BgpPeerProps {
    BgpGroupId: interface{},
    BfdMultiHop: interface{},
    EnableBfd: interface{},
    IpVersion: interface{},
    PeerIpAddress: interface{},
}

Properties

Name Type Description
BgpGroupId interface{} Property bgpGroupId: The ID of the BGP group.
BfdMultiHop interface{} Property bfdMultiHop: The BFD hop count.
EnableBfd interface{} Property enableBfd: Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
IpVersion interface{} Property ipVersion: The IP version.
PeerIpAddress interface{} Property peerIpAddress: The IP address of the BGP peer.

BgpGroupIdRequired

BgpGroupId interface{}
  • Type: interface{}

Property bgpGroupId: The ID of the BGP group.


BfdMultiHopOptional

BfdMultiHop interface{}
  • Type: interface{}

Property bfdMultiHop: The BFD hop count.

Valid values: 1 to 255. When enabling BFD, this parameter must be configured. It specifies the maximum number of hops that a packet can traverse from source to destination. You can set different hop counts based on actual physical link conditions. When using BFD in a multi-cloud environment or direct fiber connection without intermediate bridging devices, change the default BFD hop count from 255 to 1.


EnableBfdOptional

EnableBfd interface{}
  • Type: interface{}

Property enableBfd: Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.

Valid values: true: enables BFD. false: disables BFD.


IpVersionOptional

IpVersion interface{}
  • Type: interface{}

Property ipVersion: The IP version.

Valid values:

  • IPv4 (default): IPv4 version.
  • IPv6: IPv6 version. IPv6 is supported only when the VBR associated with the BGP group has IPv6 enabled.

PeerIpAddressOptional

PeerIpAddress interface{}
  • Type: interface{}

Property peerIpAddress: The IP address of the BGP peer.