3.12.1 Link OAM Port Configuration

Use this command to configure Link OAM on the interface.

Command Syntax:

link-oam 
link-oam mode { active | passive }
link-oam remote-loopback supported 
link-oam link-monitor supported 
link-oam mib-retrieval supported 
link-oam remote-loopback { start | stop } interface <port_type> [ <v_port_type_list> ]
Table 3-66. Command Description

Argument

Description

Parameter

<port_type>

Port type in GigabitEthernet

<v_port_type_list>

List of Port ID, for example, 1/1,3-4

Default

N/A

Mode

Port List Interface mode and User EXEC mode

Usage

Enable/disable and configures the OAM mode on the interface.

Example

Example 1:

Enable active OAM mode on port 2 with loopback support.

# configure terminal
(config)# interface GigabitEthernet 1/2
(config-if)# link-oam
(config-if)# link-oam mode active
(config-if)# link-oam remote-loopback supported