oam timer keepalive

Use oam timer keepalive to configure the Ethernet OAM connection timeout timer.

Use undo oam timer keepalive to restore the default.

Syntax

oam timer keepalive interval

undo oam timer keepalive

Default

The port uses the global setting.

Views

Layer 2 Ethernet port view, Layer 3 Ethernet port view

Predefined user roles

network-admin

Parameters

interval: Specifies the Ethernet OAM connection timeout timer, in steps of 100 (in milliseconds). The value range for this argument is 1000 to 25000.

Usage guidelines

After the timeout timer of an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to disconnect. As a best practice to keep the Ethernet OAM connections stable, set the connection timeout timer to be a minimum of five times the handshake packet transmission interval.

The configuration in port view takes effect on the specified port. For a port, the configuration in port view takes precedence.

Examples

# Set the Ethernet OAM connection timeout timer to 6000 milliseconds.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] oam timer keepalive 6000

Related commands