query interface
Returns information about an interface label. If an interface label is not specified, returns a list of all interface labels.
Syntax
clvt query interface [interface_label ]
Parameters
Parameter | Description |
---|---|
interface_label | The name of the interface |
Required objects
cluster
Errors
- The cluster is not defined
- The node does not exist.
Output
If no interface label is supplied, displays a list of interface labels. If an interface label is supplied, returns the following information:
- Interface Label Name
- Interface Type
- Network
- Network Type
- Network Attribute (Public or Private)
- Node
- IP Address
- Hardware Address
- Interface Name.
Examples
To list all interfaces:
clvt query interface
maple_base_10
maple_base_20
elm_base_10
elm_base_20
To list the attributes of interface regaa11_base10:
clvt query interface regaa11_base10
INTERFACENAME="en0"
NETTYPE="ether"
TYPE="boot"
ATTR="public"
IPADDR="192.168.210.11"
NODE="regaa11"
GLOBALNAME=""
HADDR=""
NETWORK="net_ether_01"
NAME="regaa11_base10"