Enabling or disabling the virtual Ethernet adapter

You can remove the selected partition from the network by disabling the virtual Ethernet adapter (VEA) that is configured on the partition and then connecting it back to network by enabling that virtual Ethernet adapter.

Note: You must check whether enabling, disabling, or querying the VEA is supported.

By default, the virtual Ethernet adapter is enabled.

  1. To check whether enabling, disabling, or querying the VEA is supported, type the following command:
    lssyscfg -r sys -F capabilities

    The system displays the output as follows:

    virtual_eth_disable_capable
    Note: If the output is displayed as virtual_eth_disable_capable, enabling, disabling, or querying the VEA is supported.

  2. To query the VEA, type the following command:
    lshwres -m <server> -r virtualio --rsubtype eth --level lpar -F
  3. To enable or disable the VEA, type the following command:
    chhwres -m <server> -r virtualio --rsubtype eth -o {d | e} {-p <lpar name> 
    --id <lpar ID>} -s <slot number>

    The description of flags are as follows:

    • d - Disables the VEA.
    • e - Enables the VEA
    Note: The VEA can be disabled only when the logical partition capabilities support disabling of VEA. In order to disable VEA, the logical partition can either be in Activated, Open Firmware, or Not Activated state.



Last updated: Thu, October 15, 2020