C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Object Tracking Commands in Cisco IOS XR Software
type list boolean
SMR-485
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
type list boolean
To configure a tracked list of objects based on a Boolean calculation, use the
type list boolean
command
in track configuration mode. To remove an object tracking list based on a Boolean calculation, use the
no
form of the command.
type list boolean
{
and
|
or
}
no
type list boolean
{
and
|
or
}
Syntax Description
Defaults
No default behavior or values
Command Modes
Track configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
The
type list boolean
command enters the list tracking configuration mode, and can be used in
conjunction with the
delay
command to configure the delay, in seconds, before the track or interface
state should be polled for a change in its status.
To remove a track based on whether an interface object is
not
up or down, use the
not
keyword together
with the
object
command as shown in the example that follows.
Task ID
Examples
The following example shows how to use the
type list boolean
command in creating a list of objects to
be tracked:
RP/0/RP0/CPU0:router#
configure
RP/0/RP0/CPU0:router(config)#
track
LIST2
RP/0/RP0/CPU0:router(config-track)#
type list boolean and
and
Specifies that the list is up if all objects are up, or down if one or more
objects are down. For example, when tracking two interfaces, up means that
both interfaces are up, and down means that either interface is down.
or
Specifies that the list is up if at least one object is up. For example, when
tracking two interfaces, up means that either interface is up, and down
means that both interfaces are down.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
sysmgr
read, write