3com 4500 50-PORT User Manual

Page of 466
Ethernet Port Configuration Commands
51
Description
Use the command 
interface interface_type interface_number
 to enter the 
interface of the specified port.
If you want to configure the parameters of an Ethernet port, you must first use 
this command to enter the Ethernet port view.
Example
To enter the interface for port “Ethernet1/0/1”, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface ethernet1/0/1
[4500-ethernet1/0/1]
loopback
Syntax
loopback { external | internal }
View
Ethernet Port View
Parameter
external:
 External loop test.
internal:
 Internal loop test.
Description
Use the 
loopback
 command to configure the Ethernet port to perform the 
loopback test to check if the Ethernet port works normally. The loop test will finish 
automatically after being performed for a while.
By default, the Ethernet port will not perform the loopback test.
Example
To perform the internal loop test for Ethernet1/0/1, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface ethernet 1/0/1
[4500-Ethernet1/0/1]loopback internal
#Apr  2 02:46:02:29 2000 4500 L2INF/2/PORT LINK STATUS CHANGE:- 1 -
 Trap 1.3.6.1.6.3.1.1.5.4: portIndex is 4227626, ifAdminStatus is 1, 
ifOperStatus is 1
%Apr  2 02:46:02:225 2000 4500 L2INF/5/PORT LINK STATUS CHANGE:- 1 - 
Ethernet1/0/1: is UP
%Apr  2 02:46:02:342 2000 4500 STP/2/SPEED:- 1 -Ethernet1/0/1's 
speed changed
!
#Apr  2 02:46:02:521 2000 4500 L2INF/2/PORT LINK STATUS CHANGE:- 1 
-Trap 1.3.6.1.6.3.1.1.5.3: portIndex is 4227626, ifAdminStatus is 1, 
ifOperStatus is 2