OcNOS-RON : System Management Guide : System Management Command Reference : Interface Commands : loopback
loopback
Use this command to set the ethernet loopback mode on the interface.
Use the no form of this command to remove loopback on the interface.
Note: Remote PHY loopback supported only on a single serdes lane of serdes-quad at a time. So below cases are not supported:
1. 100G and 40G interface mode.
2. 2x50G port breakout mode.
3. In 4x10 or 4x25G breakout mode, at a time only one interface is supported.
4. If interface is part of port-group, at a time only one interface is supported.
Command Syntax
loopback ((tx (mac|phy))|(rx phy))
Parameter
The parameters for Tx are MAC or PHY and for Rx is PHY.
Default
No default value is specified.
Command Mode
Interface mode
Applicability
This command is introduced before OcNOS-DC version 5.0.
Example
#configure terminal
(config)#interface xe0
(config-if)#loopback tx mac
(config-if)#exit
 
(config)#interface xe0
(config-if)#loopback tx phy
(config-if)#exit
 
(config)#interface xe0
(config-if)#loopback rx phy
(config-if)#exit
 
Last modified date: 08/28/2023