<a id="lxc-show-info"></a>

# `lxc` `show` and `info`

For the entities managed by LXD, the `lxc` command provides a `list` sub-command, and might provide `show` and `info` sub-commands.
The purpose of the `info` sub-command is to show current state information, and the purpose of the `show` sub-command is to show configuration information and how the entity is used by other entities.

For example, the `lxc network info` command shows IP address and traffic statistics:

```none
Name: lxdbr0
MAC address: 00:16:3e:d3:ec:41
MTU: 1500
State: up

Ips:
  inet    192.0.2.1
  inet6   2001:db8:f4a1:53d2::1
  inet6   fe80::216:3eff:fed3:ec41

Network usage:
  Bytes received: 127.66kB
  Bytes sent: 15.54kB
  Packets received: 1433
  Packets sent: 175
```

The `lxc network show` command, on the other hand, shows how the network is configured, and which entities are using the network:

```none
config:
  ipv4.address: 192.0.2.1/24
  ipv4.nat: "true"
  ipv6.address: 2001:db8:f4a1:53d2::1/64
  ipv6.nat: "true"
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/instances/ubuntu
- /1.0/profiles/default
managed: true
status: Created
locations:
- none
```

Refer to the manual pages for details of the commands for managing entities:

- Instances: [`lxc list`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/list/index.html.md#lxc-list-md), [`lxc info`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/info/index.html.md#lxc-info-md)
- Images: [`lxc image list`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/image/list/index.html.md#lxc-image-list-md), [`lxc image info`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/image/info/index.html.md#lxc-image-info-md), [`lxc image show`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/image/show/index.html.md#lxc-image-show-md)
- Networks: [`lxc network list`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/network/list/index.html.md#lxc-network-list-md), [`lxc network info`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/network/info/index.html.md#lxc-network-info-md), [`lxc network show`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/network/show/index.html.md#lxc-network-show-md)
- Profiles: [`lxc profile list`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/profile/list/index.html.md#lxc-profile-list-md), [`lxc profile show`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/profile/show/index.html.md#lxc-profile-show-md)
- Projects: [`lxc project list`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/project/list/index.html.md#lxc-project-list-md), [`lxc project info`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/project/info/index.html.md#lxc-project-info-md), [`lxc project show`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/project/show/index.html.md#lxc-project-show-md)
- Storage: [`lxc storage list`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/storage/list/index.html.md#lxc-storage-list-md), [`lxc storage info`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/storage/info/index.html.md#lxc-storage-info-md), [`lxc storage show`](https://canonical.com/lxd/docs/default/reference/manpages/lxc/storage/show/index.html.md#lxc-storage-show-md)
