Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
14.5.7. Modifying the Link State of a Domain's Virtual Interface
The following command can either configure a specified interface as up or down:
# domif-setlink
[domain][interface-device][state]{--config
}
Using this modifies the status of the specified interface for the specified domain. Note that if you only want the persistent configuration of the domain to be modified, you need to use the
--config
option. It should also be noted that for compatibility reasons, --persistent
is an alias of --config
. The "interface device" can be the interface's target name or the MAC address.
# domif-setlink rhel6 eth0 up