TRACK
5 min
\<font color="#1d50a2">show track brief\</font> \[command] show track brief \[purpose] view the track routing monitoring group information \[view] system view \[use cases] sonic# show track brief track id bind sla id state \ 1 2 success \<font color="#1d50a2">track\</font> \[command] track id \[purpose] create a track monitoring group \[parameter] parameter description id instance id,the range value 1 65535 \[view] system configuration view \[usage scenario] create a track monitoring instance to establish coordination between static routing and sla when sla detects that the next hop address of a static route is unreachable, it notifies the static route to remove that route through the track feature this ensures that packets are no longer forwarded through that route when sla detects the recovery of the next hop address, the static route is automatically restored \[use cases] sonic(config)# track 1 sonic(config track 1)# \<font color="#1d50a2">route\</font> \[command] route a b c d/m a b c d \[ vrf name ] route6 x\ x x \ x /m x\ x x \ x \[ vrf name ] no route a b c d/m a b c d \[ vrf name ] \[purpose] add a monitoring route to a route monitoring group \[parameter] parameter description a b c d/m specifies the destination address of the route a b c d specifies the nexthop address of the route vrf name specifies the vrf of the route \[view] track view \[use cases] sonic(config)# track 1 sonic(config track 1)# route 1 1 1 1/24 2 1 1 1 \<font color="#1d50a2">sla\</font> \[command] sla id no sla \[purpose] bind an sla route monitoring group \[view] track view \[use cases] sonic(config)# track 1 sonic(config track 1)# sla 1
