BridgePortConfig Object


Description:

Protocol configuration object for STP/MSTP.

Parents: EmulatedDevice

Children: MstiConfig, MstpBridgePortConfig, StpBridgePortConfig

Result children (automatically created): BridgePortResults

Relations:

Side name
(Type)
Relative Description
ViewControlPlaneMplsBindingResult
(ControlPlaneBindingResult)

ViewControlPlaneMplsBindingResult

ConvergenceConfig
(PrimaryPathProtocolConfig)

ConvergenceConfig, ConvergenceConfig

ResultChild
(ResultChild)

BridgePortResults

Use this to connect a results object to an object.

TimeComparisonPair
(TimeComparisonPairSrcProtocol)

TsnProtocolsTimeComparisonPair, TsnProtocolsTimeComparisonPair

UsesIf
(UsesIf)

Aal5If, EthIIIf, FcIf, GreIf, GroupIf, HdlcIf, Ipv4If, Ipv6If, Ipv6SrhIf, ItagIf, L2tpv2If, L2tpv3If, LispIf, MacsecIf, MplsIf, PppIf, PppoeIf, TrillIf, VbrasIf, VlanIf, VxlanGpeIf, VxlanIf

Specifies the interfaces used by the configuration object (configuration object examples: BgpRouterConfig, LdpRouterConfig, and so on).

BridgePortConfig Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
BridgeMacAddr

MAC address of the bridge - second component of the bridge ID. The MAC address does not have to be unique if it is configured for shared media (not point-to-point).

Type: mac

Default: 00:00:10:00:10:00

BridgePriority

Priority for the bridge. A low numerical value indicates a high bridge priority. The algorithm uses this value during the root bridge election process. The bridge with the highest bridge priority value is elected as the root bridge on the network.

Type: u16

Default: 32768

Range: 0 - 65535

EventLogLevel

Event log level.

Type: enum

Default: EVENT_LOG_LEVEL_DEBUG

Possible Values:

Value Description
EVENT_LOG_LEVEL_CONVERGENCE_EVENTS

Convergence events.

EVENT_LOG_LEVEL_DEBUG

Debug.

ForwardDelay

Forward delay timer. Specifies the length of time that the bridge remains in the listening and learning states before entering the forwarding state.

Type: u8

Default: 15

Range: 4 - 30

HelloTime

Time interval between the generation of configuration BPDUs by the root bridge.

STP/PVST+ bridge - specifies how often the bridge broadcasts hello messages to other bridges. In 802.1D, hello messages are used as a keep-alive mechanism.

RSTP/RPVST+ bridge - specifies how often the bridge sends a BPDU with current information. In 802.1W, BPDUs are used as a keep-alive mechanism.

Type: u8

Default: 2

Range: 1 - 10

HoldCount

Transmit hold count. The maximum number of BPDUs transmitted per second. Used to limit the transmission rate.

Type: u8

Default: 3

Range: 1 - 30

MaxAgeTime

Timeout value used to discard messages. Specifies the length of time that the protocol information received on a port is stored by the bridge. This timeout value is used by all bridges in the bridged LAN. The max age value is set by the root.

This parameter is conveyed to ensure that each bridge in a bridged LAN has a consistent value against which to test the age of stored configuration information.

Type: u8

Default: 20

Range: 6 - 40

MsgAgeTime

Age of the message in seconds. Used when STP bridge port is custom. Specifies the configuration age, which is the time since the generation of the configuration BPDU by the root bridge.

Type: u8

Default: 1

Range: 1 - 39

PortNum

Port number - second component of the port ID. Indicates the port number on the emulated bridge. This number is included in BPFDUs.

Type: u16

Default: 1

Range: 1 - 255

PortPriority

Priority for the port on the bridge - first component of the port ID. Specifies the priority for the port. A low numerical value indicates a high port priority. The algorithm uses this value to elect the root port. The port with the highest port priority value is elected root port.

Type: u16

Default: 128

Range: 0 - 255

RootBridge

Initial root bridge on the bridge port.

Type: enum

Default: 0

Possible Values:

Value Description
SELF

Current bridge is the root bridge. (Path cost is 0.)

CUSTOM

Identifies a different bridge as the root bridge.

RootMacAddr

MAC address of the root bridge - second component of the root bridge ID. Disabled for all MSTP instances other than 0 (CIST).

Type: mac

Default: 00:00:10:00:10:00

RootPortCost

Cost to reach the root bridge. Disabled for all MSTP instances other than 0 (CIST). This value is used by the DUT to determine which port is the primary path to the root bridge.

Type: u32

Default: 0

Range: 0 - 200000000

RootPriority

Bridge priority for the root bridge - priority component of the root bridge ID. Used to determine which bridge is elected as root. Disabled for all MSTP instances other than 0 (CIST).

Type: u16

Default: 32768

Range: 0 - 65535

UsePartialBlockState

Whether to use partial block state.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Partial block state is used.

FALSE

Partial block state is not used.

BridgePortConfig Read-Only Attributes

Read-Only Attribute Description
ElectedRoot

Elected root bridge.

Type: string

Default: NA