OcNOS DC : Layer 3 Guide : Fundamental Layer 3 Command Reference : Object Tracking Commands
Object Tracking Commands
This chapter describes the Layer 3 subinterface commands:
track ip sla reachability
Use this command to configure an Object for tracking using IP SLA.
Use the no form of this command to delete to object tracking
Command Syntax
track <1-500> ip sla <1-65535> reachability)
no track <1-500> ip sla <1-65535> reachability
Parameters
object-number (1-500)
Identifier for the tracked object
ip-sla-number (1-65535)
Ientifier for IP SLA association with tracking object
Command Mode
Configuration mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
#configure terminal
OcNOS(config)#track 1 ip sla 1 reachability
OcNOS(config-object-track)#commit
 
OcNOS(config)#no track 1
OcNOS(config)#commit
 
delay up down
Use This command is used to delay the state change notification of Object tracking.
Use the no form of this command to remove delay the state change notification of Object
Command Syntax
delay (up <1-9999>|)(down <1-9999>|)
no delay (|up|down)
Parameters
<1-999>
Delay in Notification in seconds.
Default
NA
Command Mode
Object tracking Mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
OcNOS(config-object-track)#delay up 10 down 20
OcNOS(config-object-track)#no delay
OcNOS(config-object-track)#commit
OcNOS(config-object-track)#
OcNOS(config-object-track)#delay down 10
OcNOS(config-object-track)#commit
OcNOS(config-object-track)#no delay down
OcNOS(config-object-track)#commit
OcNOS(config-object-track)#
OcNOS(config-object-track)#delay up 10
OcNOS(config-object-track)#commit
OcNOS(config-object-track)#no delay up
OcNOS(config-object-track)#commit
OcNOS(config-object-track)#
show track
Use this command to display Sham link information.
Command Syntax
show track
Parameters
None
Default
NA
Command Mode
Exec mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
OcNOS#sh track
TRACK Id: 1
IP SLA 1 reachability
Reachability is DOWN
0 changes, last change : 2021 Dec 11 05:20:23
OcNOS#
show track <1-500>
Use this command to display Sham link information.
Command Syntax
show track <1-500>
Parameters
<1-500>
object identifier
Default
NA
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
OcNOS#sh track 2
TRACK Id: 2
IP SLA 2 reachability
Reachability is DOWN
0 changes, last change : 2021 Dec 11 05:29:49
OcNOS#
show track summary
Use this command to display the summary of all object tracking.
Command Syntax
show track summary
Parameters
NA
Default
NA
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
OcNOS#sh track summary
Object Tracking Summary
ID Type Type-Identifier State
----------------------------------------------------
1 ip-sla 1 DOWN
2 ip-sla 2 DOWN
OcNOS#
show running-config track
Use this command to display object tracking running configuration alone.
Command Syntax
show running-config track
Parameters
NA
Default
NA
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command is introduced in OcNOS version 5.1.
Example
OcNOS#sh running-config track
track 1 ip sla 1 reachability
delay up 20
!
track 2 ip sla 2 reachability
!
OcNOS#