5 remote loopback configuration – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 81

Advertising
background image

CanogaOS Configuration Guide

12-4

12.5 Remote Loopback Configuration

We must enable Ethernet OAM remote loopback on an interface for the local OAM client
to initiate OAM remote loopback operations. It is disabled by default.
Bridge1

DUT# configure terminal

Enter the Configure mode.

DUT(config)#interface eth-0-9

Specify the interface (eth-0-9)to be
configured and enter the Interface mode

DUT(config-if)# ethernet oam remote loopback supported

Enable Ethernet remote loopback on
eth-0-9.

DUT(config-if)# ethernet oam remote loopback start

Turn on remote-loopback on eth-0-9

DUT(config-if)# ethernet oam remote loopback stop

Turn off remote-loopback on eth-0-9

DUT(config-if)# end

Exit the Interface mode.


Validation
An OAM entity can put its remote entity into loopback mode using a loopback control
OAMPDU. In loopback mode, every frame received is transmitted back on that same
port except for OAMPDUs. The periodic exchange of OAMPDUs must continue during
loopback state to maintain the OAM session. Once we enable remote loopback in
Bridge1, it sends out a loopback control OAMPDU with Enable remote loopback
command. When Bridge2 receives it, it changes its parser state to Loopback and MUX
state to discard and then sends out information OAMPDU with updated state
information.

Validation Commands
Bridge1
DUT1# show ethernet oam state-machine interface eth-0-9
State Machine Details:
--------------------------------
Local OAM mode: Active
Local OAM enable: Enable
Local link status: OK
Local pdu status: SEND_ANY
Local Satisfied: True
Local Stable: True
Remote Satisfied valid: True
Remote Stable: True
Transmit_state: WAIT_FOR_TX
Local Parser State: Discard
Local Multiplexer State: Forward
Remote Parser State: Loopback
Remote Multiplexer State: Discard

Advertising