找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 7239|回复: 2

XenServer 设置网卡双工模式以及速率

[复制链接]

3

主题

3

帖子

21

积分

发帖子上传附件

积分
21
发表于 2016-2-3 16:24:59 | 显示全部楼层 |阅读模式
本帖最后由 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>


回复

使用道具 举报

0

主题

4

帖子

164

积分

注册会员

Rank: 2

积分
164
发表于 2016-2-3 20:13:10 | 显示全部楼层
谢谢分享。。
回复

使用道具 举报

0

主题

4

帖子

14

积分

新手上路

Rank: 1

积分
14
发表于 2018-2-13 12:59:37 | 显示全部楼层
不错的,支持一下。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表