L2tpv2BlockConfig Object


Description:

L2TPv2 block configuration settings (a group of L2TP nodes).

Parents: EmulatedDevice

Automatically-created children: Ipv4NetworkBlock, Ipv6NetworkBlock, L2tpv2BlockResults

Result children (automatically created): L2tpBlockResults, L2tpv2BlockResults, L2tpv2NodeResults, L2tpv2SessionResults, L2tpv2TunnelResults, L2tpv3BlockResults

Relations:

Side name
(Type)
Relative Description
ViewControlPlaneMplsBindingResult
(ControlPlaneBindingResult)

ViewControlPlaneMplsBindingResult

Relates the MPLS control plane binding result to L2tpv2BlockConfig object.

ConvergenceConfig
(PrimaryPathProtocolConfig)

ConvergenceConfig, ConvergenceConfig

Primary convergence config.

ResultChild
(ResultChild)

L2tpBlockResults, L2tpv2BlockResults, L2tpv2BlockResults, L2tpv3BlockResults

Use this to connect a results object to an object.

TimeComparisonPair
(TimeComparisonPairSrcProtocol)

TsnProtocolsTimeComparisonPair, TsnProtocolsTimeComparisonPair

UdpSrcCustomL2tpv2If
(UdpSrcCustomIf)

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

Config to Udp source custom interface.

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).

L2tpv2BlockConfig Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AutoRetryCount

Maximum number of times to retry failed tunnels.

Type: u8

Default: 1

Range: 1 - 255

BearerCapabilities

Specifies to the peer the bearer device types supported by the hardware interfaces of the sender for outgoing calls.

Type: enum

Default: ANALOG

Possible Values:

Value Description
ANALOG

Sender supports analog.

DIGITAL

Sender supports digital.

BOTH

Sender supports both.

BearerType

Specifies the bearer capability of the call (ICRQ) or required for the call (OCRQ).

Type: enum

Default: ANALOG

Possible Values:

Value Description
ANALOG

Bearer type is analog.

DIGITAL

Bearer type is digital.

CallingNumber

Specifies calling number carried in ICRQ sent to peer (LNS).

Type: string

Default: spirent

Range: 0 - 64 characters

CsurqInterval

Connect-Speed-Update-Request packets sending interval.

Type: u16

Default: 10

Range: 1 - 1024

CsurqMode

Connect-Speed-Update-Request packet sending mode.

Type: enum

Default: SINGLE

Possible Values:

Value Description
SINGLE

One Connect Speed Update AVP per CSURQ packet.

MULTIPLE

Multiple Connect Speed Update AVPs per CSURQ packet.

EnableAutoRetry

Enable auto retry of failed tunnels.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable auto retry.

FALSE

Disable auto retry.

EnableCallingNumber

Enable calling number carried in ICRQ sent to peer (LNS).

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable calling number carried in ICRQ sent to peer (LNS).

FALSE

Disable calling number carried in ICRQ sent to peer (LNS).

EnableConnectSpeedAutoUpdate

Enable auto-sending of Connect-Speed-Update-Request packets from LNS.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable auto-sending of Connect-Speed-Update-Request packets from LNS.

FALSE

Disable auto-sending of Connect-Speed-Update-Request packets from LNS.

EnableConnectSpeedUpdate

Enable sending of ICRQ with Connect Speed Update Enable AVP.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable sending of ICRQ with Connect Speed Update Enable AVP.

FALSE

Disable sending of ICRQ with Connect Speed Update Enable AVP.

EnableDutAuthentication

Enable DUT authentication of the tunnels.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enable DUT authentication of the tunnels.

FALSE

Disable DUT authentication of the tunnels.

EnableHello

Enable transmit of Hello messages.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable transmission of Hello messages.

FALSE

Disable transmission of Hello messages.

EnableLengthField

Enable length field in L2TPv2 data message, e.g. PPP LCP, PPP NCP or Authentication. length field was diabled in L2TPv2 data message as default.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable length field in L2TPv2 data message.

FALSE

Default option. Disable length field in L2TPv2 data message.

ForceLcpRenegotiation

Force LCP Renegotiation from the LNS/PPP Server even if the LAC has already negotiated LCP.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable Force LCP Renegotiation.

FALSE

Disable Force LCP Renegotiation.

FrameCapabilities

Specifies to the peer the types of framing that will be accepted or requested by the sender.

Type: enum

Default: SYNC

Possible Values:

Value Description
ASYNC

Asynchronous framing is supported.

SYNC

Synchronous framing is supported.

BOTH

Both synchronous and asynchronous framing types are supported.

FrameType

Specifies the frame type of the sessions.

Type: enum

Default: SYNC

Possible Values:

Value Description
ASYNC

Frame type is asynchronous.

SYNC

Frame type is synchronous.

HelloRetry

Times which sent Hello to retry

Type: u8

Default: 1

Range: 1 - 16

HelloTimeout

Hello message timeout (seconds).

Type: u16

Default: 60

Range: 1 - 1024

HiddenAvps

A list AVPs that should be hidden.

Type: u8

Default: 0

HostName

Host name.

Type: string

Default: server.spirent.com

Range: 0 - 255 characters

IpEncap

IP version of devices.

Type: enum

Default: IPV4

Possible Values:

Value Description
IPV4

IPv4 mode.

IPV6

IPv6 mode.

Ipv4Tos

IPv4 TOS value of devices.

Type: u8

Default: 192

Ipv4TosForTraffic

IPv4 TOS value for data plane.

Type: u8

Default: 192

Ipv6TrafficClass

IPv6 traffic class value.

Type: u8

Default: 0

Ipv6TrafficClassForTraffic

IPv6 traffic class for data plane.

Type: u8

Default: 0

LcpProxyMode

Specifies if the LAC will do LCP negotiation and PPP Authentication.

Type: enum

Default: NONE

Possible Values:

Value Description
NONE

The LAC will not do LCP negotiation or PPP Authentication. The results of LCP and authentication are forwarded to the LNS in the appropriate AVPs.

LCPONLY

The LAC will do LCP negotiation only.

AUTHENTICATION

The LAC will do LCP negotiation and PPP Authentication.

RetryTimeout

Amount of time to wait for the retry (seconds).

Type: u8

Default: 1

Range: 1 - 255

RxTunnelPassword

Receive (inbound) tunnel password.

Type: string

Default: spirent

Range: 1 - 64 characters

RxWindowSize

Rx window size (number of outstanding control plane packets).

Type: u16

Default: 4

Range: 1 - 65535

SessionsPerTunnelCount

Number of sessions per tunnel.

Type: u32

Default: 1

Range: 1 - 4294967295

SessionStartingId

Session starting ID.

Type: u32

Default: 1

Range: 1 - 4294967295

TunnelCount

Number of tunnels per L2TP node.

Type: u16

Default: 1

Range: 1 - 65535

TunnelStartingId

Tunnel starting ID.

Type: u32

Default: 1

Range: 1 - 4294967295

TxConnectRate

Transmit connect speed in bits per second (AVP 24).

Type: u64

Default: 56000

Range: 1 - 65535

TxTunnelPassword

Transmit (outbound) tunnel password.

Type: string

Default: spirent

Range: 1 - 64 characters

UdpSrcPort

UDP source port number.

Type: u16

Default: 1701

Range: 0 - 65535

UseGatewayAsRemoteIpv4Addr

Use the Gateway IP address as the Remote IP address. Only applies to the LAC.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Use the Gateway IP address as the Remote IP. Anything specified for the Remote IP will be ignored.

FALSE

Don't use the Gateway IP address as the Remote IP.

UseGatewayAsRemoteIpv6Addr

Use gateway address as remote IPv6 address or not.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Use gateway address as remote IPv6 address.

FALSE

Don't use gateway address as remote IPv6 address.

UsePartialBlockState

Use partial block state.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable use of partial block state.

FALSE

Disable use of partial block state.

L2tpv2BlockConfig Read-Only Attributes

Read-Only Attribute Description
BlockState

State of the tunnels on the L2TP nodes on this L2TP block.

Type: enum

Default: IDLE

Possible Values:

Value Description
NONE

Emulation is not currently running on this block.

IDLE

Tunnels on this block are not connecting or disconnecting.

CONNECTING

Tunnels on this block are connecting.

CONNECTED

At least one tunnel on this block is in the established state.

DISCONNECTING

Tunnels on this block are disconnecting.

TERMINATING

All tunnels on this block are being terminated/aborted.