170CHAPTER 8: GENERAL ETHERNET INTERFACE CONFIGURATION COMMANDS

Parameter external: Enables external loopback testing on an Ethernet interface. The support for this keyword varies with device models.

Description

n

internal: Enables internal loopback testing on an Ethernet interface. The support for this keyword varies with device models.

Use the loopback command to enable Ethernet interface loopback testing.

Use the undo loopback command to disable Ethernet interface loopback testing.

By default, Ethernet interface loopback testing is disabled.

The support for these two commands varies with device models.

Ethernet interface loopback testing should be enabled while testing certain functionalities, such as during the initial identification of any network failure.

While enabled, Ethernet interface loopback testing will work in a full-duplex mode. The interface will return to its original state upon completion of the loopback testing.

Example # Configure to enable loopback testing on Ethernet 1/0.

<Sysname> system-view

[Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] loopback internal

port link-mode

Syntax

port link-mode { bridge route }

 

undo port link-mode

View

Ethernet interface view

Parameter

bridge: Works in bridge mode.

 

route: Works in route mode.

Description

Use the port link-modecommand to change the working mode of the Ethernet

 

interface.

 

Use the undo port link-modecommand to restore the original working mode.

 

According to the layer at which the device processes received data packets,

 

Ethernet interfaces can work in bridge or route mode. For a device, some

 

interfaces can work only in bridge mode, some can work only in route mode, and

 

others can work in bridge mode or route mode. This command is only applicable

 

to Ethernet interfaces whose working mode can be changed.

c CAUTION:

Page 170
Image 170
3Com MSR 30 Support for these two commands varies with device models, Port link-mode bridge route, Undo port link-mode