AIX下修改网卡的速率


1、AIX系统版本:
testterm1:/#oslevel
5.3.0.0
2、具体操作过程和解释
a、查看网卡速率
testterm1:/#netstat -v ent0 | grep -p "Specific Statistics"
IBM 10/100 Mbps Ethernet PCI Adapter Specific Statistics:
------------------------------------------------
Chip Version: 25
RJ45 Port Link Status : up
Media Speed Selected: Auto negotiation
Media Speed Running: 100 Mbps Full Duplex           #当前网卡速率
Receive Pool Buffer Size: 384
Free Receive Pool Buffers: 128
No Receive Pool Buffer Errors: 0
Inter Packet Gap: 96
Adapter Restarts due to IOCTL commands: 1
Packets with Transmit collisions:
 1 collisions: 0           6 collisions: 0          11 collisions: 0
 2 collisions: 0           7 collisions: 0          12 collisions: 0
 3 collisions: 0           8 collisions: 0          13 collisions: 0
 4 collisions: 0           9 collisions: 0          14 collisions: 0
 5 collisions: 0          10 collisions: 0          15 collisions: 0
Excessive deferral errors: 0x0


b、更改网卡速率(网卡必须处于down模式)
chdev -l 'ent0' -a media_speed='100M_Full_Duplex'
注:网卡工作方式有以下几种:
10_Half_Duplex
10_Full_Duplex
100_Half_Duplex
100_Full_Duplex
1000_Half_Duplex(千兆网卡才有此选项)
1000_Full_Duplex(千兆网卡才有此选项)
Auto_Negotiation 




或者
1。
smitty inet
      
     Move cursor to desired item and press Enter.
       List All Network Interfaces
       Add a Network Interface
       Change / Show Characteristics of a Network Interface
       Remove a Network Interface
       PVCs for IP over an ATM Network
       Configure Aliases
 2。  选择Remove a Network Interface
    Move cursor to desired item and press Enter.                         
   en0   11-08   Standard Ethernet Network        Interface                en1   40-58   Standard Ethernet Network        Interface                et0   11-08   IEEE 802.3 Ethernet Network      Interface                et1   40-58   IEEE 802.3 Ethernet Network      Interface
 3。要删除的网卡
 4。cfgmgr
 5.smitty ethernet
   
   Move cursor to desired item and press Enter.
   Adapter
   Services
   User Applications
 6.选择Adapter
   
   Move cursor to desired item and press Enter.
   List All Ethernet Adapters
   Change / Show Characteristics of an Ethernet Adapter
   Generate Error Report
   Trace an Ethernet Adapter
 7选择Change / Show Characteristics of an Ethernet Adapter
     Move cursor to desired item and press Enter.                            
ent0 Available 11-08 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)   
 ent1 Available 40-58 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
 8。选择要修改的网卡
   ent0 Available 11-08 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
   
   Type or select values in entry fields.
 Press Enter AFTER making all desired changes.
                                                         [Entry Fields]
   Ethernet Adapter                                    ent0
   Description                                         IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
   Status                                              Available
   Location                                            11-08
   TRANSMIT queue size                                [8192]                                                             +#
   HARDWARE RECEIVE queue size                        [256]                                                              +#
   RECEIVE buffer pool size                           [384]                                                              +#
   Media Speed                                         10_Full_Duplex                                                    +
   Inter-Packet Gap                                   [96]                                                               +#
   Enable ALTERNATE ETHERNET address                   no                                                                +
   ALTERNATE ETHERNET address                         [0x000000000000]                                                   +
   Enable Link Polling                                 no                                                                +
   Time interval for Link Polling                     [500]                                                              +#
   Apply change to DATABASE only                       no
 
9选中 Media Speed                                        10_Full_Duplex  进行修改 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值