3.2.19. tracker

Note

requires a Product License.

Track IP addresses.

vsr running config# tracker

bfd

Configure a BFD tracker session.

vsr running config# tracker bfd <bfd>

<bfd>

An tracker name.

type

Session type.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># type TYPE

TYPE values

Description

single-hop

Single-hop session.

multi-hop

Multi-hop session.

Default value
single-hop

source

Local IP address.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># source SOURCE

SOURCE

An IPv4 or IPv6 address.

address (mandatory)

IP address of the peer.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># address ADDRESS

ADDRESS

An IPv4 or IPv6 address.

interface

Interface to use to contact peer.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># interface INTERFACE

INTERFACE

An interface name.

vrf (mandatory)

VRF name.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># vrf VRF

VRF

The vrf name.

echo-mode

Use echo packets to detect failures.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># echo-mode true|false

detection-multiplier

Local session detection multiplier.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># detection-multiplier <uint8>
Default value
3

desired-transmission-interval

Minimum desired control packet transmission interval.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># desired-transmission-interval <uint32>
Default value
300000

required-receive-interval

Minimum required control packet receive interval (use disable to not receive any control packet).

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># required-receive-interval REQUIRED-RECEIVE-INTERVAL

REQUIRED-RECEIVE-INTERVAL values

Description

<uint32>

No description.

disable

Ths system will not receive any periodic BFD control packets.

Default value
300000

desired-echo-transmission-interval

Minimum desired control packet transmission interval.

vsr running config# tracker bfd <bfd>
vsr running bfd <bfd># desired-echo-transmission-interval <uint32>

discriminator (state only)

Local session identifier.

vsr> show state tracker bfd <bfd> discriminator

state (state only)

Local session state.

vsr> show state tracker bfd <bfd> state

diagnostic (state only)

Local session diagnostic.

vsr> show state tracker bfd <bfd> diagnostic

last-down-time (state only)

Time and date of the last time session was down (in seconds).

vsr> show state tracker bfd <bfd> last-down-time

last-up-time (state only)

Time and date of the last time session was up (in seconds).

vsr> show state tracker bfd <bfd> last-up-time

session-down-count (state only)

Amount of time the session went down.

vsr> show state tracker bfd <bfd> session-down-count

session-up-count (state only)

Amount of time the session went up.

vsr> show state tracker bfd <bfd> session-up-count

control-packet-input-count (state only)

Amount of control packets received.

vsr> show state tracker bfd <bfd> control-packet-input-count

control-packet-output-count (state only)

Amount of control packets sent.

vsr> show state tracker bfd <bfd> control-packet-output-count

echo-packet-input-count (state only)

Amount of echo packets received.

vsr> show state tracker bfd <bfd> echo-packet-input-count

echo-packet-output-count (state only)

Amount of echo packets sent.

vsr> show state tracker bfd <bfd> echo-packet-output-count

zebra-notification-count (state only)

Amount of zebra notifications.

vsr> show state tracker bfd <bfd> zebra-notification-count

remote (state only)

BFD remote operational state data.

discriminator (state only)

Remote session identifier.

vsr> show state tracker bfd <bfd> remote discriminator

diagnostic (state only)

Local session diagnostic.

vsr> show state tracker bfd <bfd> remote diagnostic

multiplier (state only)

Remote session detection multiplier.

vsr> show state tracker bfd <bfd> remote multiplier

negociated (state only)

BFD negociated operational state data.

transmission-interval (state only)

Negotiated transmit interval.

vsr> show state tracker bfd <bfd> negociated transmission-interval

receive-interval (state only)

Negotiated receive interval.

vsr> show state tracker bfd <bfd> negociated receive-interval

echo-transmission-interval (state only)

Negotiated echo transmit interval.

vsr> show state tracker bfd <bfd> negociated echo-transmission-interval

icmp

Note

requires a Product License.

List of tracked addresses using ICMP echo requests.

vsr running config# tracker
vsr running tracker# icmp <icmp> address ADDRESS vrf VRF source SOURCE interface INTERFACE \
... dhcp-interface DHCP-INTERFACE gateway GATEWAY period <uint16> threshold <uint8> \
... total <uint8> packet-size <uint16> packet-tos <uint8> timeout <uint16>

<icmp>

An tracker name.

address

The host to track.

address ADDRESS

ADDRESS

The host type represents either an unzoned IP address or a DNS domain name.

vrf (mandatory)

The vrf in which the ping must be sent. Default is the current netns.

vrf VRF

VRF

The vrf name.

source

Source address in the ping packet.

source SOURCE

SOURCE

An IPv4 or IPv6 address.

interface

The interface to bind the tracker to.

interface INTERFACE

INTERFACE

An interface name.

dhcp-interface

The address, gateway and source will be taken from DHCP on this interface unless explicitly specified in the tracker.

dhcp-interface DHCP-INTERFACE

DHCP-INTERFACE

An interface name.

gateway

The gateway to use to send the packet.

gateway GATEWAY

GATEWAY

The host type represents either an unzoned IP address or a DNS domain name.

period

Time between each ping.

period <uint16>
Default value
500

threshold

Number of successful pings among <total> to consider peer as reachable.

threshold <uint8>
Default value
1

total

Check the threshold among this number of last pings to consider peer as reachable.

total <uint8>
Default value
1

packet-size

Packet size.

packet-size <uint16>
Default value
100

packet-tos

ToS to apply to the packet.

packet-tos <uint8>
Default value
192

timeout

Time during which a ping reply is considered as valid. If unset, it timeouts after a ping period.

timeout <uint16>

state (state only)

Status of the last ping.

vsr> show state tracker icmp <icmp> state

diagnostic (state only)

Local session diagnostic.

vsr> show state tracker icmp <icmp> diagnostic