This section describes commands that control the interfaces for a component.
Disable a terminal interface on a component.
interface disable name
Name of interface. name should be of the form application name:component name.interface name
Disable interface 'http' of component 'main.config' of application 'lamp'
Enable a terminal interface on a component.
interface enable name
Name of interface. name should be of the form application name:component name.interface name
Enable interface 'http' of component 'main.config' of application 'lamp'
Retrieve information for a terminal interface
interface info name [ --batch ][ --verbose ]
Name of interface. name should be of the form application name:component name.interface name
Display output in UDL format
Display additional information
Display information for interface 'cifs' of component 'main.config' of application 'lamp'
This topic contains command output specification.
The output of this command is the following:
Name : <val> Type : <val> State : <val> IP : <val> MAC : <val> VLAN ID : <val> (only if --verbose) Metered RX Packets: val (only if --verbose and maintainer) Metered TX Packets: val (only if --verbose and maintainer) Metered RX Bytes : val (only if --verbose and maintainer) Metered TX Bytes : val (only if --verbose and maintainer) Connections : (only if --verbose) Local IP Remote IP Type Local Addr Remote Addr <val> <val> <val> <val> <val>
interface <name>
{
type = <val>
state = <val>
ip = <val>
mac = <val>
device = <val>
vlan_id = <val> (only if --verbose)
metered_rx_pkts = <val> (only if --verbose and maintainer)
metered_tx_pkts = <val> (only if --verbose and maintainer)
metered_rx_bytes = <val> (only if --verbose and maintainer)
metered_tx_bytes = <val> (only if --verbose and maintainer)
connections (only if --verbose)
[
loc_ip = <val>, rem_ip = <val>, type = <val>, loc_addr = <val>, rem_addr = <val>
]
}
List terminal interfaces for a component.
interface list name [ --batch ][ --verbose ]
Name of component. name should be of the form application name:component name
Display output in UDL format
Display additional information
List interfaces for component 'main.config' in application 'lamp'
Note: A specification of the output of this command can be found here.
Table with the following headings:
Name
Type
State
VLAN ID (only if --verbose is specified)
MAC (only if --verbose is specified)
IP (only if --verbose is specified)
component <name>
{
interface <name> : type = <val>, state = <val>, vlan_id=<val>, mac=val, ip=val
…
}
Note: Mac and ip only display if --verbose is also specified.
Reset a terminal interface on a component.
interface reset name
Name of interface. name should be of the form application name:component name.interface name
Reset interface 'http' of component 'main.config' of application 'lamp'
|
Copyright © 2012 CA.
All rights reserved.
|
|