hostinterface¶
XenServer Interface
show hostinterface¶
Use this operation to get interface/channel
Synopsys¶
show hostinterface [id=<string>]
Parameters¶
id
Id is system generated key
set hostinterface¶
Use this operation to modify interface/channel
Synopsys {#synopsys-1 style="margin-left: 20px;"}¶
set hostinterface mapped_port=<string> [mtu=<int>] [port=<string>] [apply_mac_address=(false | true)] [range=<string>] [base_mac_address=<string>] [add_mac_address=(false | true)] [interface_type=<string>] [flow_control_tx=(false | true)] [adv_auto_neg=(false | true)] [speed=<string>] [cpu_socket=<string>] [flow_control_rx=(false | true)] [state=<string>] [flow_control_auto_neg=(false | true)] [act_id=<string>] [device_name=<string>] [port_type=<string>] [duplex=<string>]
Parameters {#parameters-1 style="margin-left: 20px;"}¶
mapped_port
Mapped Port Name Ex: eth0
This is a mandatory parameter.
mtu
MTU value, should be between 1500-9126
port
Port Name Ex: 10/1
apply_mac_address
Apply Mac Address
range
Range for Base Mac Address
base_mac_address
Mac Address
add_mac_address
Add Mac Address
interface_type
Indicates if this is an interface or a channel or a member interface of a channel
flow_control_tx
TX Pause
adv_auto_neg
true if the advertised auto-negotiation for the port is true
speed
Actual speed
cpu_socket
CPU Socket to which this interface belong to
flow_control_rx
RX Pause
state
State of the port.
flow_control_auto_neg
Auto Negotiation For Flow Control
act_id
Activity Id
device_name
Device Name
port_type
Port Type
duplex
Duplex
do hostinterface custom¶
Use this operation to reset interface settings
Synopsys {#synopsys-2 style="margin-left: 20px;"}¶
do hostinterface custom [id=<string>]
Parameters {#parameters-2 style="margin-left: 20px;"}¶
id
Id is system generated key