Local Loopback Commands - D-Link DGS-3700 Series Reference Manual

Layer 2 managed gigabit ethernet switch
Hide thumbs Also See for DGS-3700 Series:
Table of Contents

Advertisement

DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
L
L
OCAL
OOPBACK
Back to Section Header
The local loop-back commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
C
OMMAND
config local_loopback
show local_loopback
Each command is listed, in detail, in the following sections.
config local_loopback
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To enable internal loop-back in the PHY layer on fiber port 9:
DGS-3700-12:5#config local_loopback ports 9 phy medium_type fiber internal enable
Command: config local_loopback ports 9 phy medium_type fiber internal enable
Success.
DGS-3700-12:5#
show local_loopback
Purpose
C
OMMANDS
P
ARAMETERS
ports [<portlist> | all] [mac | phy {medium_type [copper | fiber]}] [internal |
external] [enable | disable]
ports {<portlist>}
Config local loop-back is used to start or stop the internal loop-back tests on selected
ports. It is also used to set or recover the external loop-back mode.
config local_loopback ports [<portlist> | all] [mac | phy {medium_type [copper |
fiber]}] [internal | external] [enable | disable]
When internal loop-back mode is enabled, the device starts to send test packets to the
port, and keeps monitoring the packets received. When internal loop-back mode is
disabled, the loop-back test is terminated and the result is displayed.
A port can only operate in one loop-back mode at a time. When external an loop-back
mode is enabled, the MAC/PHY is set to external loop-back mode. When external
loop-back mode is disabled, the MAC/PHY reverts to normal operation.
ports [<portlist> | all] – The port(s) to be set.
[mac | phy] – Select the layer on which the loop-back is performed.
medium_type – Specify the medium on which the loop-back test is taken for combo
ports. If it's not specified, by default, the loop-back test will be performed on
copper medium.
[internal | external] – The local loop-back mode.
[enable | disable] – Select enable or disable to:
enable: for internal loop-back, start loop-back test; for external loop-back, set port(s)
to external loop-back mode.
disable: for internal loop-back, stop loop-back test; for external loop-back, recover
port(s) from external loop-back mode.
Only Administrator and Operator-level users can issue this command.
Used to display local loop-back configurations on the Switch.
Page | 21

Advertisement

Table of Contents
loading

Table of Contents