F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

14
370BShutting down an Ethernet interface or subinterface
CAUTION:
Use this command with caution. After you manually shut down an Ethernet interface, the Ethernet interface
cannot forward packets even if it is physically connected.
You might need to shut down and then bring up an Ethernet interface or subinterface to activate some
configuration changes, for example, the speed or duplex mode changes.
To shut down an Ethernet interface or subinterface:
Ste
p
Command
Remarks
14. Enter system view.
system-view N/A
15. Enter Ethernet interface
or subinterface view.
Enter Ethernet interface view:
interface interface-type
interface-number
Enter Ethernet subinterface view:
interface interface-type
interface-number.subnumber
Use one of the commands.
16. Shut down the Ethernet
interface or subinterface.
shutdown
By default, Ethernet interfaces and
subinterfaces are up.
371BConfiguring flow control on an Ethernet interface
To avoid packet drops on a link, you can enable flow control at both ends of the link. When traffic
congestion occurs at the receiving end, the receiving end sends a flow control (Pause) frame to ask the
sending end to suspend sending packets
To enable flow control on an Ethernet interface:
Ste
p
Command
Remarks
17. Enter system view.
system-view N/A
18. Enter Ethernet interface
view.
interface interface-type
interface-number
N/A
19. Enable flow control.
flow-control
By default, flow control is disabled on
an Ethernet interface.
372BConfiguring loopback testing on an Ethernet interface
If an Ethernet interface does not work normally, you can enable loopback testing on it to identify the
problem. An Ethernet interface in a loopback test does not forward data traffic.
Loopback testing has the following types:
Internal loopback testing—Tests all on-chip functions related to Ethernet interfaces.
External loopback testing—Tests hardware of Ethernet interfaces. To perform external loopback
testing on an Ethernet interface, connect a loopback plug to the Ethernet interface. The device sends
test packets out of the interface, which are expected to loop over the plug and back to the interface.
If the interface fails to receive any test packets, the hardware of the interface is faulty.