HP VPN Firewall Appliances Network Management Configuration Guide

15
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.
Configuration restrictions and guidelines
On an interface that is physically down, you can only perform internal loopback testing. On an
interface administratively shut down, you cannot perform internal or external loopback testing.
The speed, duplex, mdi, and shutdown commands are not available during loopback testing.
During loopback testing, the Ethernet interface operates in full duplex mode. When you disable
loopback testing, the port returns to its duplex setting.
When a Layer 3 Ethernet interface operates in bridge mode (as a Layer 2 Ethernet interface) or in
promiscuous mode, the interface does not support loopback testing.
Configuration procedure
To enable loopback testing on an Ethernet interface:
Ste
p
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 }
By default, loopback testing is
disabled.
Configuring the link mode of an Ethernet interface
Depending on the hardware structure of interface cards, for a device, some interfaces can operate only
as Layer 2 Ethernet interfaces (in bridge mode), some can operate only as Layer 3 Ethernet interfaces (in
route mode), but others can operate either as Layer 2 or Layer 3 Ethernet interfaces (you can set the link
mode to bridge or route).
You can configure the link mode in system view or in Ethernet interface view, which produces the same
result. The link mode configuration in system view applies to multiple interfaces, and the link mode
configuration in interface view applies only to the current interface.
Configuration restrictions and guidelines
After you change the link mode of an Ethernet interface, all settings of the Ethernet interface are
restored to their defaults under the new link mode.
The link mode configuration for an Ethernet interface in system view and in interface view
supersedes each other.
Configuration procedure
To change the link mode of the specified Ethernet interfaces in system view:
Ste
p
Command
1. Enter system view.
system-view