beautypg.com

Test interface – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 338

background image

Interface Testing Commands

Software Reference for x310 Series Switches

13.4

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

test interface

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.

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:

Note

Do not run test interface on live networks because this will degrade network
performance.

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.

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