Originally posted by: wloszczowa
lshwres command documentation says:
Valid filters with -r virtualio --rsubtype eth --level lpar: lpar_ids | lpar_names, slots, vlans, vswitches
why the first filter (multiple values) doesn't work and the last two, with the single filter values works? I also tried with double quotes and the same error occurs.
hscroot@hmc7:~> lshwres -r virtualio --rsubtype eth --level lpar -m vios4-8203-E4A-SN06C54BB -F --header --filter
"lpar_ids=8,9" The command entered has a malformed filter. The --filter parameter has the form
"<filter name 1>=<value>,<filter name 2>=<value>,..." or
""<filter name 1>=<value 1>,<value 2>,...
",..." . Please correct the filter and retry the command. Note that depending on the shell being used, any nested
double quote characters may need to be preceded by an escape character, which is usually a
'\' character.
hscroot@hmc7:~> lshwres -r virtualio --rsubtype eth --level lpar -m vios4-8203-E4A-SN06C54BB -F --header --filter
"lpar_ids=8" lpar_name,lpar_id,slot_num,state,is_required,is_trunk,trunk_priority,ieee_virtual_eth,port_vlan_id,vswitch,addl_vlan_ids,mac_addr,connect_status,drc_name,shared_adapter,backing_device,device_name lpar20,8,3,1,1,0,unavailable,0,1,ETHERNET0,,D200E3C2DA03,active,U8203.E4A.06C54BB-V8-C3-T1,,,ent0
hscroot@hmc7:~> lshwres -r virtualio --rsubtype eth --level lpar -m vios4-8203-E4A-SN06C54BB -F --header --filter
"lpar_ids=9" lpar_name,lpar_id,slot_num,state,is_required,is_trunk,trunk_priority,ieee_virtual_eth,port_vlan_id,vswitch,addl_vlan_ids,mac_addr,connect_status,drc_name,shared_adapter,backing_device,device_name lpar21,9,3,1,1,0,unavailable,0,1,ETHERNET0,,D200EE22AE03,active,U8203.E4A.06C54BB-V9-C3-T1,,,ent0
#AIX-Forum