【AIX|IBM小型机AIX下修改网卡的速率

AIX下修改网卡的速率:
-----------------------------------------------------
方案一:通过命令行模式修改
(1)AIX系统版本:通过#oslevel
5.3.0.0
(2)具体操作过程和解释
a、查看网卡速率

#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: 06 collisions: 011 collisions: 0 2 collisions: 07 collisions: 012 collisions: 0 3 collisions: 08 collisions: 013 collisions: 0 4 collisions: 09 collisions: 014 collisions: 0 5 collisions: 010 collisions: 015 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
-----------------------------------------------------------------------------
方案二:通过smitty交换方式
(1)通过smitty删除网卡
a.# 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 b.选择Remove a Network Interface Move cursor to desired item and press Enter. en011-08Standard Ethernet NetworkInterface en140-58Standard Ethernet NetworkInterface et011-08IEEE 802.3 Ethernet NetworkInterface et140-58IEEE 802.3 Ethernet NetworkInterface

c. 要删除的网卡
d.#cfgmgr
(2)通过smitty添加网卡
a. #smitty ethernet
Move cursor to desired item and press Enter.
Adapter
Services
User Applications
b.选择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
c.选择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)
d.选择要修改的网卡
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 Adapterent0 DescriptionIBM 10/100 Mbps Ethernet PCI Adapter (23100020) StatusAvailable Location11-08 TRANSMIT queue size[8192] HARDWARE RECEIVE queue size[256] RECEIVE buffer pool size[384] Media Speed10_Full_Duplex#<-----选中 Media Speed10_Full_Duplex进行修改 Inter-Packet Gap[96] Enable ALTERNATE ETHERNET addressno ALTERNATE ETHERNET address[0x000000000000] Enable Link Pollingno Time interval for Link Polling[500] Apply change to DATABASE onlyno


【【AIX|IBM小型机AIX下修改网卡的速率】

    推荐阅读