HMC

 View Only

 HMC Cli SRIOV Port and Slot Capacity

Jump to  Best Answer
Falko Huetter's profile image
Falko Huetter IBM Champion posted Mon July 21, 2025 11:21 AM

Hello everyone,
Before creating a new vNIC for a client LPAR, I would like to use the CLI to check whether I still have enough slots and capacity available on the physical adapters. What HMC commands (non-GUI) could I use to do this?

Thanks

Falko

Raghavendra Malapati's profile image
Raghavendra Malapati  Best Answer

Hi ,

Please use below comamnd

 lshwres -r sriov --rsubtype physport -m <system> --level roce -F capacity_sum,adapter_id,phys_port_id,curr_eth_logical_ports,max_eth_logical_ports

If you want more info on attributes availability , please use below commands and parse it accordingly.

lshwres -r sriov --rsubtype physport -m <system> --level roce -F --header

Thanks,

Raghu