查看网卡MAC地址

1、查看网卡绑定后原网卡MAC地址:

dmesg |grep "eth"|grep "PCI"|awk '{print $5"====> "$NF}'

2、AIX查看光纤卡是否使用

fcstat fcs2|grep -i "fabric" && lscfg -vl fcs2|grep -i network
fcstat fcs1|grep -i "fabric" && lscfg -vl fcs1|grep -i network
fcstat fcs3|grep -i "fabric" && lscfg -vl fcs3|grep -i network

3、LINUX查看光纤卡

cat /sys/class/fc_host/host{17,15}/port_state
cat /sys/class/fc_host/host{17,15}/port_name

4、aix查看MAC

netstat -ni cat /proc/net/bonding/bond{0,1} |grep HW

posted @ 2022-09-23 08:52  要让熊猫飞上天  阅读(436)  评论(0编辑  收藏  举报