发布时间:April 12, 2012 // 分类:虚拟化 // No Comments
1.通过vif列表直接获取
xe vm-vif-list|grep -B 2 "mac"
2.通过vm uuid获取
vmid=`xe vif-list MAC=be:c1:46:fd:4e:b7|grep vm-uuid|awk '{print $4}'`;xe vm-list|grep $vmid -A 1
标签:xenserver, mac