TWAMP commands

twamp

Syntax

twamp

Context

config>test-oam

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

Commands in this context configure TWAMP functionality.

Default

no twamp

server

Syntax

server

Context

config>test-oam>twamp

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

Commands in this context configure the node for TWAMP server functionality.

prefix

Syntax

prefix {ip-prefix | mask} [create]

no prefix

Context

config>test-oam>twamp>server

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures an IP address prefix containing one or more TWAMP clients. In order for a TWAMP client to connect to the TWAMP server (and subsequently conduct tests) it must establish the control connection using an IP address that is part of a configured prefix

Default

no prefix

Parameters

prefix ip-prefix/mask

Specifies the address prefix and subnet mask of the destination node.

ip-prefix

Specifies the IPv4 address in dotted-decimal notation.

Values

a.b.c.d

Default

none

mask

Specifies the prefix length.

Values

0 to 32

Default

none

create

Creates an entry.

description

Syntax

description description-string

no description

Context

config>test-oam>twamp>server>prefix

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command creates a text description for the current configuration context that is stored in the configuration file. The description command associates a text string with a configuration context to help identify the content in the configuration file.

The no form of this command removes the description.

Parameters

description-string

Specifies the description character string. Allowed values are any character strings up to 80 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed in double quotes.

max-conn-prefix

Syntax

max-conn-prefix count

no max-conn-prefix

Context

config>test-oam>twamp>server>prefix

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures the maximum number of TWAMP control connections by clients with an IP address in a specific prefix. A new control connection is rejected if accepting it would cause either the prefix limit defined by this command or the server limit (max-conn-server) to be exceeded.

The no form of this command sets the default value.

Default

no max-conn-prefix

Parameters

count

Specifies the maximum number of control connections.

Values

16 (7210 SAS-Sx/S 1/10GE)

Default

8

Values

32 (7210 SAS-T, 7210 SAS-Sx 10/100GE, 7210 SAS-R6, and 7210 SAS-R12)

Default

16

max-sess-prefix

Syntax

max-sess-prefix count

no max-sess-prefix

Context

config>test-oam>twamp>server>prefix

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures the maximum number of concurrent TWAMP-Test sessions by clients with an IP address in a specific prefix. A new test session (described by a Request-TW-Session message) is rejected if accepting it would cause either the limit defined by this command or the server limit (max-sess-server) to be exceeded.

The no form of this command instructs the system to go with the default value.

Default

no max-sess-prefix

Parameters

count

Specifies the maximum number of concurrent test sessions.

Values

16 (7210 SAS-Sx/S 1/10GE)

Default

8

Values

32 (7210 SAS-T, 7210 SAS-Sx 10/100GE, 7210 SAS-R6, and 7210 SAS-R12)

Default

16

inactivity-timeout

Syntax

inactivity-timeout seconds

no inactivity-timeout

Context

config>test-oam>twamp>server

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures the inactivity timeout for all TWAMP-control connections. If no TWAMP control message is exchanged over the TCP connection for this duration of time the connection is closed and all tests in progress are terminated.

The no form of this command instructs the system to go with the default value.

Default

no inactivity-timeout

Parameters

retry-count

Specifies the duration of the inactivity timeout.

Values

60 to 3600

Default

900

max-conn-server

Syntax

max-conn-server count

no max-conn-server

Context

config>test-oam>twamp>server

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures the maximum number of TWAMP control connections from all TWAMP clients.

A new control connection is rejected if accepting it would cause either this limit or a prefix limit (max-conn-prefix) to be exceeded.

The no form of this command sets the default value.

Default

no max-conn-server

Parameters

count

Specifies the maximum number of control connections.

Values

16 (7210 SAS-Sx/S 1/10GE)

Default

8

Values

32 (7210 SAS-T, 7210 SAS-Sx 10/100GE, 7210 SAS-R6, and 7210 SAS-R12)

Default

16

max-sess-server

Syntax

max-sess-server count

no max-sess-server

Context

config>test-oam>twamp>server

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command configures the maximum number of concurrent TWAMP-Test sessions across all allowed clients.

A new test session (described by a Request-TW-Session message) is rejected if accepting it would cause either the limit defined by this command or a prefix limit (max-sess-prefix) to be exceeded.

The no form of this command instructs the system to go with the default value.

Default

no max-sessions

Parameters

count

Specifies the maximum number of concurrent test sessions.

Values

16 (7210 SAS-Sx/S 1/10GE)

Default

8

Values

32 (7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12)

Default

16

shutdown

Syntax

[no] shutdown

Context

config>test-oam>twamp>server

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command administratively disables the TWAMP server.

The no form of this command administratively enables the TWAMP server.

Default

shutdown