BgpDeviceGenProtocolParams Object


Description:

BGP-specific router generator parameters.

Parents: EmulatedDeviceGenParams, HostGenParams, RouterGenParams

Children: DeviceGenLinkedStep

Automatically-created children: BgpAuthenticationParams

BgpDeviceGenProtocolParams Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AsNum

Autonomous system for the emulated BGP router.

Type: u16

Default: 1

Range: 0 - 65535

AsNum4Byte

Enable4ByteAsNum must be set to TRUE. The 4-byte autonomous system number for the emulated BGP router.

Type: string

Default: 1.1

AsNum4ByteStep

Enable4ByteAsNum must be set to TRUE. The gap between 4-byte autonomous system numbers configured for emulated BGP router.

Type: string

Default: 0

AsNumStep

Autonomous system step for the emulated BGP router.

Type: u16

Default: 0

Range: 0 - 65535

BgpMode

BGP mode.

Type: enum

Default: EBGP

Possible Values:

Value Description
EBGP

External BGP.

IBGP

Internal BGP.

DutAs

Autonomous system number of the BGP peer router session on the DUT.

Type: u16

Default: 1001

Range: 0 - 65535

DutAsNum4Byte

Enable4ByteAsNum must be set to TRUE. The gap between 4-byte autonomous system numbers for the generated emulated BGP router.

Type: string

Default: 1.1001

DutAsNum4ByteStep

Enable4ByteDutAsNum must be set to TRUE. The gap between 4-byte autonomous system numbers configured for the DUT.

Type: string

Default: 0

DutAsStep

Autonomous system number step of the BGP peer router session on the DUT.

Type: u16

Default: 0

Range: 0 - 65535

DutIpv4Addr

IPv4 address of the BGP peer for the session.

Type: ip

Default: 192.85.1.1

DutIpv4AddrStep

IPv4 address step of the BGP peer for the session.

Type: ip

Default: 0.0.0.0

DutIpv6Addr

IPv6 address of the BGP peer for the session.

Type: ipv6

Default: ::2

DutIpv6AddrStep

IPv6 address step of the BGP peer for the session.

Type: ipv6

Default: ::0

Enable4ByteAsNum

Whether to enable a 4-byte autonomous system number for the emulated BGP router.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable 4-byte autonomous system number for the emulated router.

FALSE

Disable 4-byte autonomous system number for the emulated router.

Enable4ByteDutAsNum

Whether to enable the ability of the emulated BGP router to handle a DUT with a 4-byte autonomous system number.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable 4-byte autonomous system number for the emulated router.

FALSE

disable 4-byte DUT autonomous system number for the emulated router.

EnableBfd

Enable or disable BFD (Bidirectional Forwarding Detection).

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable BFD.

FALSE

Disable BFD.

GracefulRestart

Enable or disable graceful restart on the emulated BGP router.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable graceful restart on the emulated BGP router.

FALSE

Disable graceful restart on the emulated BGP router.

IpVersion

IP version to be used for the BGP session.

Type: enum

Default: IPV4

Possible Values:

Value Description
IPV4

IP version 4.

IPV6

IP version 6.

UseGatewayAsDutIpAddr

Use gateway address as DUT IP address.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use gateway address as DUT IP address.

FALSE

Not use gateway address as DUT IP address.

BgpDeviceGenProtocolParams Read-Only Attributes

There are no read-only attributes.