ADTRAN AOS Version R10.1.0 Command Reference Manual page 2983

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
test if
Use the test if command to specify a single object (schedule, probe, or interface) to be tested. Use the no
form of this command to remove the track test. Variations of this command include:
test if interface <interface> ip-routing
test if interface <interface> line-protocol
test if probe <name>
test if schedule <name>
test if not interface <interface> ip-routing
test if not interface <interface> line-protocol
test if not probe <name>
test if not schedule <name>
Syntax Description
interface <interface>
ip-routing
line-protocol
not
probe <name>
schedule <name>
Network monitoring probes and their associated names are created using the command
probe on page
schedule <name> on page
command
Default Values
By default, a track is not associated with any probes or interfaces.
Functional Notes
The test if command specifies a conditional test where the track state (pass or fail) is dependent upon the
state of the object (probe, schedule, or interface) being tested. For example, the track will PASS if the
schedule or probe is in an ACTIVE or PASS state. Conversely, the track will FAIL if the schedule or probe
is in an INACTIVE or FAIL state.
60000CRG0-35E
Specifies an interface as the object to be tested. Specify an interface in the
format <interface type [slot/port | slot/port.subinterface id | interface id |
interface id.subinterface id]>. For example, for an Ethernet subinterface,
use eth 0/1.1; for a PPP interface, use ppp 1; for an ATM subinterface, use
atm 1.1; and for a virtual local area network interface, use vlan 1. Type test
if interface ? for a complete list of valid interfaces.
Specifies the interface's ability to perform IP routing will be tested.
Specifies the line-protocol state of an interface will be tested.
Optional. Negates the test results when specifying a single object
(schedule, probe, or interface) to be tested.
Specifies the name of the probe.
Specifies the name of the schedule.
1291. Schedules and their associated names are created using the command
1313. For more information about interfaces, refer to the
interface on page
74.
Copyright © 2012 ADTRAN, Inc.
Network Monitor Track Command Set
2983

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents