Configuring the link mode of an ethernet interface – H3C Technologies H3C SR8800 User Manual
Page 14
7
NOTE: 
• 
The router does not support the loopback external command.
•
As for internal loopback testing and external loopback testing, if an interface is down, only the former
is available on it; if the interface is shut down, both are unavailable. 
•
The speed, duplex, mdi, combo enable, and shutdown commands are not applicable during 
loopback test. 
•
With loopback test enabled, the Ethernet interface operates in full duplex mode. With loopback test 
disabled, the original configurations will be restored. 
•
After configuring the loopback internal command and then the undo loopback command on an 
Ethernet interface, you should re-enable the interface with the shutdown command and then the undo
shutdown command to trigger an auto-negotiation on the interface. 
Setting the interval for collecting Ethernet interface statistics
To configure the interval for collecting interface statistics:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the interval for 
collecting interface statistics. 
flow-interval interval
Optional 
The default setting is 300 seconds. 
Configuring the link mode of an Ethernet interface
Depending on the layer (data link layer or network layer) at which the device processes the packets
received on an interface, an interface can be as a Layer 2 Ethernet interface (in bridge mode) or as a
Layer 3 Ethernet interface (in route mode). You can configure an Ethernet interface as a Layer 2 Ethernet 
interface or Layer 3 Ethernet interface by setting the link mode 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. 
•
(Approach I) In system view: 
port link-mode { bridge | 
route } interface-list
•
(Approach II) In Ethernet 
interface view: 
a.
interface interface-type 
interface-number 
b.
port link-mode { bridge |
route }
Use either approach. 
By default, Ethernet interfaces work 
in route mode.