TRACK Configuration
此内容尚不支持你的语言。
TRACK Configuration
Section titled “TRACK Configuration”show track brief
Section titled “show track brief”[Command]
show track brief
[Purpose]
View track routing monitoring group information
[View]
System view
[Usage Scenario]
Execute this command to view the monitoring results of the routing monitoring group and the SLA information bound to the routing monitoring group.
[Use Cases]
sonic# show track brief Track_id bind_sla_id state---------- ------------- ------- 1 2 successtrack id
Section titled “track id”[Command]
track id
[Purpose]
Create a track routing monitoring instance
[Parameter]
| Parameter | Description |
|---|---|
| id | Instance ID, value range: 1-65535 |
[View]
System Configuration View
[Usage Scenario]
Create a track monitoring instance, bind static routes with SLA instances. When the destination IP address detected by SLA is unreachable, static route deletion is notified through track to ensure that the message is no longer forwarded through that route. When the SLA detection results are restored, the static route will be automatically restored.
[Use Cases]
sonic(config)# track 1sonic(config-track-1)#route A.B.C.D/M A.B.C.D [vrf vrf-name] [nexthop-vrf nextvrf-name] [dev interface_name]
Section titled “route A.B.C.D/M A.B.C.D [vrf vrf-name] [nexthop-vrf nextvrf-name] [dev interface_name]”[Command]
route A.B.C.D/M A.B.C.D [vrf vrf-name] [nexthop-vrf nextvrf-name] [dev interface_name]
route6 X:X::X:X/M X:X::X:X [vrf vrf-name] [nexthop-vrf nextvrf-name] [dev interface_name]
[Purpose]
Create a track routing monitoring instance
[Parameter]
| Parameter | Description |
|---|---|
| A.B.C.D/M | Specify the destination address of the route |
| A.B.C.D | Specify the next hop for the specified route |
| vrf-name | Specify the VRF to which the route belongs |
| nextvrf-name | Specify the VRF to be retrieved for the next hop of the specified route |
| interface_name | Specify the next hop of the route as a fixed interface type |
[View]
Track View
[Use Cases]
sonic(config)# track 1sonic(config-track-1)# route 1.1.1.1/24 2.1.1.1sla id
Section titled “sla id”[Command]
sla id
no sla id
[Purpose]
Bind SLA instance
[Parameter]
| Parameter | Description |
|---|---|
| id | SLA instance ID |
[View]
Track View
[Notes]
When SLA detection times out, the routes in the routing monitoring group will be deleted, and the routes will be automatically restored after SLA detection is restored.
[Use Cases]
sonic(config)# track 1sonic(config-track-1)# sla 1