calicoctl ipam
This section describes the calicoctl ipam show
command.
Read the calicoctl Overview for a full list of calicoctl commands.
Displaying the help text for ‘calicoctl ipam show’ command
Run calicoctl ipam show --help
to display the following help menu for the
command.
Examples
-
Print the information associated with an IP address.
calicoctl ipam show --ip=192.168.1.2
The following results indicate that the IP is not assigned to an endpoint.
-
Print the information associated with a different IP address.
calicoctl ipam show --ip=192.168.1.1
Results show that a basic Docker container has the assigned IP.
Options
General options
See also
- calicoctl configuration for details on configuring
calicoctl
to access the Calico datastore.