Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

System Tools

These tools report what the System component of flockd holds: the router itself, its VRFs and its interfaces.

sys_overview

One router's overview: hostname, flockd version, uptime, the protocols it runs, its count of software errors and whether it is in maintenance mode. The same as flockc sys overview.

Argument
daemonThe router

sys_vrfs

The VRFs a router has, each with its id. The same as flockc sys list-vrfs, or flockc sys vrf <name> for one.

Argument
daemonThe router
vrfOne VRF to report on, by name. Leave out to list every VRF
{
    "vrfs": [
        {
            "vrf_id": 254,
            "vrf_name": "default",
            "underlay_vrf_name": null,
            "kernel_intf_name": null,
            "vrf_opaque_data": null
        }
    ]
}

sys_interfaces

A router's interfaces as flockd sees them: name, type, MTU, MAC address, state, VRF and IP prefixes. The same as flockc sys list-interfaces, or flockc sys interface <name> --vrf <vrf> for one.

Argument
daemonThe router
interfaceOne interface to report on, by name. Leave out to list interfaces
vrfThe VRF the interface is in, or the VRF to list the interfaces of. Leave out for an interface in the main VRF, or to list those of every VRF
{
    "intf_name": "eth1",
    "intf_id": 3,
    "intf_kernel": { "intf_id": 3, "intf_name": "eth1" },
    "intf_type": "broadcast",
    "intf_mtu": 1500,
    "intf_mac": "2e:2b:ed:3d:41:ae",
    "intf_state": "up",
    "vrf": { "vrf_id": 254, "vrf_name": "default" },
    "ip_prefixes": [
        "10.0.12.1/30",
        "fe80::2c2b:edff:fe3d:41ae/64"
    ],
    "esi": null,
    "held": false
}

An interface on the router's intf_denylist is not reported, as flockd does not use it.