ADTRAN AOS Version R10.1.0 Command Reference Manual page 2985

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
A schedule called DELAY-AFTER-BOOT is created and specified to become active 180 seconds after
the AOS unit has booted up.
A track named DELAY is created.
Track DELAY is associated with the schedule DELAY-AFTER-BOOT via the following command:
(config-track-DELAY)#test if not schedule DELAY-AFTER-BOOT
The inverse logic of this command means that track DELAY will pass only if the schedule
DELAY-AFTER-BOOT is inactive. Therefore, this track will pass only during the first 180 seconds
following bootup of the AOS unit.
A default route to null interface 0 is created and associated with track DELAY. This default route will
only be inserted into the routing table when track DELAY is in the pass state. The administrative
distance for the default route to null interface 0 is 10 and is set to be lower than the administrative
distance for the demand interface default route (200).
Output from the show run command summarizes the CLI configuration:
#show run
(some output omitted)...
.
schedule DELAY-AFTER-BOOT
!! Schedule is Inactive for first 180 seconds, then Active thereafter
relative start-after 180
!
track DELAY
log-changes
test if not schedule DELAY-AFTER-BOOT
no shutdown
!
!!! Below is a default route to null 0 with an admin distance of
!!! 10 that is tracked by DELAY and a default route to demand 1
!!! with admin distance of 200
ip route 0.0.0.0 0.0.0.0 null 0 10 track DELAY
ip route 0.0.0.0 0.0.0.0 demand 1 200
Since track DELAY is in a pass state during the first 180 seconds after the AOS unit has booted up, the
default route to null interface 0 will be in effect and all traffic using the default route in the route table will be
routed to null interface 0. The demand interface will not be activated during the first 180 seconds because
the default route to null interface 0 has a lower administrative distance than the demand interface default
route.
As soon as a default route has been assigned to the primary Ethernet WAN interface, the route will appear
in the routing table with an administrative distance of 1 (which is lower than the administrative distance of
10 for the null interface). Due to the lower administrative distance, all traffic using the default route in the
route table will switch to the default route associated with the primary Ethernet interface.
60000CRG0-35E
Copyright © 2012 ADTRAN, Inc.
Network Monitor Track Command Set
2985

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