system-pcap-devices
Retrieves the list of PCAP network interfaces available in Logpresso.
Command properties
| Property | Description |
|---|---|
| Command type | Driver query |
| Required permission | Cluster administrator |
| License usage | Not counted |
| Parallel execution | Not supported |
| Distributed execution | Not supported |
Syntax
system-pcap-devices
Output fields
| Field | Type | Description |
|---|---|---|
| name | string | Network interface name |
| description | string | Network interface description |
| ip | ipaddr | IPv4 address assigned to the network interface |
| mac | string | MAC address of the network interface |
| subnet | ipaddr | Network address of the network the interface is connected to |
| netmask | ipaddr | Netmask of the network the interface is connected to |
Error codes
Parsing errors
| Error code | Message | Description |
|---|---|---|
| 95020 | no-read-permission | The user does not have cluster administrator permission |
Runtime errors
N/A
Description
The system-pcap-devices command retrieves the list of PCAP network interfaces available on the Logpresso server. The name, description, IP address, MAC address, subnet, and netmask of each interface are assigned to output fields.
Cluster administrator permission is required to run this command.
Examples
-
Retrieve the list of PCAP network interfaces
system-pcap-devicesRetrieves information about all PCAP network interfaces available on the Logpresso server.