XenServer Administrator's Guide 4.1.0
Networking
44
xe pif-list params=uuid,device,MAC,currently-attached,carrier,management, \
IP-configuration-mode
uuid ( RO) : 1ef8209d-5db5-cf69-3fe6-0e8d24f8f518
device ( RO): eth0
MAC ( RO): 00:19:bb:2d:7e:8a
currently-attached ( RO): true
management ( RO): true
IP-configuration-mode ( RO): DHCP
carrier ( RO): true
uuid ( RO) : 829fd476-2bbb-67bb-139f-d607c09e9110
device ( RO): eth1
MAC ( RO): 00:19:bb:2d:7e:7a
currently-attached ( RO): false
management ( RO): false
IP-configuration-mode ( RO): None
carrier ( RO): true
If the hosts have already been joined in a pool, add the host-uuid parameter to the pif-list command to
scope the results to the PIFs on a given host.
4.3.4.2. Re-ordering NICs
It is not possible to directly rename a PIF, although you can use the pif-forget and pif-introduce commands
to achieve the same effect with the following restrictions:
• The XenServer Host must be standalone and not joined to a resource pool.
• Re-ordering a PIF configured as the host's management interface requires additional steps which are
included in the example below. Because the management interface must first be disabled the commands
must be entered directly on the host console.
For the example configuration shown above use the following steps to change the NIC ordering so that eth0
corresponds to the device with a MAC address of 00:19:bb:2d:7e:7a:
1. Use XenCenter or the vm-shutdown command to shut down all VMs in the pool to force existing VIFs
to be unplugged from their networks.
xe vm-shutdown uuid=<VM UUID>
2. Use the host-management-disable command to disable the management interface:
xe host-management-disable
3. Use the pif-forget command to remove the two incorrect PIF records:










