安装
[root@ur-scm-master01 ~]# curl -O -L https://github.com/projectcalico/calicoctl/releases/download/v3.11.1/calicoctl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 615 100 615 0 0 901 0 --:--:-- --:--:-- --:--:-- 901
100 35.9M 100 35.9M 0 0 80102 0 0:07:49 0:07:49 --:--:-- 1000k
[root@ur-scm-master01 ~]# chmod +x calicoctl
[root@ur-scm-master01 ~]# mv calicoctl /usr/local/bin/
[root@ur-scm-master01 ~]# calicoctl node status
Calico process is running.
IPv4 BGP status
+----------------+-------------------+-------+------------+-------------+
| PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO |
+----------------+-------------------+-------+------------+-------------+
| 192.168.13.178 | node-to-node mesh | up | 2021-09-01 | Established |
| 192.168.13.179 | node-to-node mesh | up | 2021-09-01 | Established |
| 192.168.13.181 | node-to-node mesh | up | 2021-09-01 | Established |
| 192.168.13.182 | node-to-node mesh | up | 2021-09-01 | Established |
| 192.168.13.183 | node-to-node mesh | up | 2021-10-08 | Established |
+----------------+-------------------+-------+------------+-------------+
IPv6 BGP status
No IPv6 peers found.
[root@ur-scm-master01 ~]#