Interface Router.BgpOrBuilder (0.3.0)

public static interface Router.BgpOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAsn()

public abstract int getAsn()

Locally assigned BGP ASN.

uint32 asn = 1;

Returns
TypeDescription
int

The asn.

getKeepaliveIntervalInSeconds()

public abstract int getKeepaliveIntervalInSeconds()

The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.

uint32 keepalive_interval_in_seconds = 2;

Returns
TypeDescription
int

The keepaliveIntervalInSeconds.