시스템/IBM-AIX

AIX Adapter 정보 보기

달빛궁전- 2013. 12. 23. 16:49

1. 먼저 adapter정보를 쭉 보고...

[ap:root]/ > lsdev -Cc adapter

ent0    Available 00-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)

ent1    Available 00-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)

ent2    Available 01-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)

ent3    Available 01-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)

ent4    Available       EtherChannel / IEEE 802.3ad Link Aggregation

fcs0    Available 02-00 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)


-> ent0는 이더넷 / fcs0는 HBA카드들


2. lscfg -vl 명령어를 이용해서 관련 MAC Address 정보랑 기타등등 내가 원하는 정보를 본다.

[ap:root]/ > lscfg -vl ent0

  ent0             U5802.001.9K83842-P1-C1-T1  2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)


      2-P NIC-TX PCI-e:

        EC Level....................D77174

        Part Number.................00E0836

        Manufacture ID..............Y050KK

        FRU Number..................00E0836

        Network Address.............40F2E9***084

        ROM Level.(alterable).......EP0170

        Hardware Location Code......U5802.001.9K83842-P1-C1-T1


3. 만약 Etherchannel 이라면, 어떤게 Active고, Backup인지 봐야하기 떄문에 아래의 명령어로 확인한다.
lsattr -El adapter명
(아 물론 둘다 Active, Active로 사용하는 경우도 있겠지만...)

[ap:root]/ > lsattr -El ent4
adapter_names   ent0,ent2      EtherChannel Adapters                           True
alt_addr        0x000000000000 Alternate EtherChannel Address                  True
auto_recovery   yes            Enable automatic recovery after failover        True
backup_adapter  NONE           Adapter used when whole channel fails           True
hash_mode       default        Determines how outgoing adapter is chosen       True
interval        long           Determines interval value for IEEE 802.3ad mode True
mode            standard       EtherChannel mode of operation                  True
netaddr         0              Address to ping                                 True
noloss_failover yes            Enable lossless failover after ping failure     True
num_retries     3              Times to retry ping before failing              True
retry_time      1              Wait time (in seconds) between pings            True
use_alt_addr    no             Enable Alternate EtherChannel Address           True
use_jumbo_frame no             Enable Gigabit Ethernet Jumbo Frames            True