clear port oam

Use this command to clear OAM counters or reset OAM configuration to default values for the specified port(s).

Syntax

clear port oam port-string {all | status | mode | loopback-rx | remote-loopback | notify-retry}

Parameters

port-string Specifies the port(s) to reset the OAM configuration to default values for. For a detailed description of possible port-string values, refer to Port String Syntax Used in the CLI in the S-, K-, and 7100 Series Configuration Guide.
all Resets all OAM configuration to the default values for the specified port(s).
status Resets OAM status for the specified port(s) to the default value of disabled.
mode Resets the operating mode for the OAM client to the default value of active for the specified port(s).
loopback-rx Resets the OAM loopback mode to the default value of ignore for the specified port(s) (S-, K-Series).
remote-loopback Resets the OAM remote loopback to the default value of disable for the specified port(s) (S-, K-Series).
notify-retry Resets the number of OAM notify retries to send for the specified port(s) to the default value of 0.

Defaults

None.

Mode

All command modes.

Usage

The loopback-rx and remote-loopback options are supported on the S- and K-Series platforms.

Example

This example shows how to reset the OAM operating mode for the OAM client to the default value of active for port ge.1.3:

System(rw)->clear port oam ge.1.3 mode
System(rw)->