===
CLI
===

Routing and VRF information can be inspected on a node using the following
commands:

----

``laywire route vrf list``

Displays a list of VRFs the node is involved in, including:

- VRF ID
- VRF name
- Overlay ID
- Table ID

----

``laywire route prefix list``

Displays a list of route prefixes available to the node, including:

- Prefix (including network address and prefix length)
- VRF ID
- Table ID
- Prefix state
- Any routes for the prefix, including:

    - Type (e.g., static)
    - State
    - Active nexthop for the route

----

``laywire route local``

Displays a list of any local routes available to the node, including:

- IP version
- State
- Bound interface
- VRFs the route is a part of
- Table ID
- Source address

----

``laywire route table list``

Displays a list of routing tables for the node, including:

- Table ID
- Table description (name, etc.)

----

``laywire nexthop list``

Displays a list of nexthops defined on the node, including:

- Nexthop ID
- State
- Local ID
- Type, including information about the related object if applicable (peer,
  interface, gateway, etc.)
