This document applies to the HEAD of the calico-containers source tree.
View the calico-containers documentation for the latest release here.
This sections describes the calicoctl status
commands.
Read the calicoctl command line interface user reference for a full list of calicoctl commands.
Run calicoctl status --help
to display the following help menu for the
calicoctl status commands.
Usage:
calicoctl status
Description:
Print current status information regarding calico-node container
and the BIRD routing daemon.
This command allows you to view state information about the calico/node
and
the BGP peers of the Calico node.
This command shows:
- State and uptime of
calico/node
container - BGP State for IPv4 and IPv6 peers
- Peer address: Host address used as BGP peer IP to route to Calico workloads
- Peer type: How the two BGP peers are connected, such as through a
node-to-node mesh
, a direct peer between two nodes asnode-specific
, or as aglobal
BGP peer (See thecalicoctl bgp
reference for more info) - State: Peer instance state,
up
ordown
- Since: How long the peer has been up
- Info: BGP connection state, such as Established
Command syntax:
calicoctl status
Examples:
$ calicoctl status
calico-node container is running. Status: Up 5 seconds
IPv4 BGP status
IP: 172.17.8.100 AS Number: 64511 (inherited)
+--------------+-------------------+-------+----------+-------------+
| Peer address | Peer type | State | Since | Info |
+--------------+-------------------+-------+----------+-------------+
| 172.17.8.101 | node-to-node mesh | up | 17:54:00 | Established |
+--------------+-------------------+-------+----------+-------------+
IPv6 BGP status
No IPv6 address configured.