6
•
During loopback testing, the Ethernet interface operates in full duplex mode. When you disable
loopback testing, the port returns to its duplex setting.
•
Loopback testing is a one-time operation, and is not recorded in the configuration file.
Configuration procedure
To enable loopback testing on an Ethernet interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view.
interface
interface-type
interface-number
N/A
3.
Enable loopback testing.
loopback
{
external
|
internal
}
Optional.
Disabled by default.
Configuring the link mode of an Ethernet interface
CAUTION:
After you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are
restored to their defaults under the new link mode.
An Ethernet interface operates either in Layer 2 (bridge) or Layer 3 (route) mode. To meet networking
requirements, you can use a command to set the link mode of an Ethernet interface to bridge or route.
To change the link mode of an Ethernet interface:
Step Command
Remarks
1.
Enter system
view.
system-view
N/A
2.
Change the link
mode of
Ethernet
interfaces.
•
In system view:
port link-mode
{
bridge
|
route
}
interface-list
•
In Ethernet interface view:
a.
interface
interface-type interface-number
b.
port
link-mode
{
bridge
|
route
}
Use either approach.
The link mode
configuration for an
Ethernet interface in
system view and in
interface view
supersedes each other.
Configuring jumbo frame support
An Ethernet interface might receive some frames larger than the standard Ethernet frame size (called
"jumbo frames") during high-throughput data exchanges such as file transfers. Usually, an Ethernet
interface discards jumbo frames. With jumbo frame support enabled, the interface can process frames
larger than the standard Ethernet frame size yet within the specified range.
In interface configuration mode (Ethernet interface view or port group view), you can set the length of
jumbo frames that are allowed to pass through the Ethernet interface.
•
If you execute the command in Ethernet interface view, the configuration takes effect only on the
interface.