XenServer 设置网卡双工模式以及速率
本帖最后由 suiyongjie 于 2016-2-3 16:27 编辑To modify network speed and duplexing, complete the following procedure:
[*]Run the following command to find the physical interface where you need to apply the settings:
# xe pif-list host-uuid=<host_uuid>
Note: xe pif-list command lists all the physical interfaces from all hosts in the pool. It is required to filter the interfaces by“host-uuid” if you need to find the right interface.
[*]Review current physical interface settings:
# xe pif-list uuid=<UUID of physical interface> params=all
[*]Run the following command to set speed,duplex, and auto-negotiation:
# xe pif-param-set uuid=<UUID of physical interface> other-config:ethtool-autoneg=off other-config:ethtool-speed=1000 other-config:ethtool-duplex=full
Note: Turn off auto-negotiation before setting the speed manually.
[*]Apply the setting on the interface.
[*]Unplug and plug the physical interface:
Note: You do not need to unplug and plug the interface as follows. If you are unable to unplug the interface and skip the following step, then the settings will be applied after the next reboot.
# xe pif-unplug uuid=<UUID of physical interface>
# xe pif-plug uuid=<UUID of physical interface>
Or Restart the host:# xe host-reboot host=<hostname>
谢谢分享。。 不错的,支持一下。
页:
[1]