C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
345
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
I
NTERFACE
T
ESTING
C
OMMANDS
TEST
INTERFACE
test interface
Overview
This command starts a test on a port or all ports or a selected range or list of ports.
Use the
no
variant of this command to disable this function. The test duration can
be configured by specifying the time in minutes after specifying a port or ports to
test.
For an example of all the commands required to test switch ports, see the
Examples section in this command. To test the Eth port, set its speed to 100 by
using the command
speed 100.
NOTE
:
Do not run test interface on live networks because this will degrade network
performance.
Syntax
test interface {<
port-list
>|all} [time{<
1-60
>|cont}]
no test interface {<
port-list
>|all}
Mode
Privileged Exec
Example
To test the switch ports in VLAN 1, install loopbacks in the ports, and enter the
following commands:
awplus(config)#
service test
awplus(config)#
no spanning-tree rstp enable bridge-forward
awplus(config)#
interface vlan1
awplus(config-if)#
shutdown
awplus(config-if)#
end
awplus#
test interface all
Parameter
Description
<
port-list
>
The ports to test. A port-list can be:
•
a switch port (e.g.
port1.0.6
)
•
a continuous range of ports separated by a hyphen, e.g.
port1.0.1-port1.0.6
•
a comma-separated list of the above, e.g.
port1.0.1,port1.0.5-1.0.6
The specified ports must exist.
all
All ports
time
Keyword entered prior to the value for the time duration of the
interface test.
<
1-60
>
Specifies duration of time to test the interface or interfaces in
minutes (from a minimum of 1 minute to a maximum of 60 minutes).
The default is 4 minutes.
cont
Specifies continuous interface testing until canceled with command
negation.