HP-UX
[HP-UX] lanadmin을 이용한 NIC speed & negotiation 설정변경
by 레이루이
2008. 4. 30.
lanadmin -X 100fd 3; lanadmin -X auto_on 3
우선 NIC 목록보기
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00108396916A 0 UP lan0 snap0 1 ETHER Yes 119
1/2/0/0 0x00306E06938A 1 UP lan1 snap1 2 ETHER Yes 119
1/8/0/0 0x00306E4A05B1 3 UP lan3 snap3 3 ETHER Yes 119
0/10/0/0 0x00306E39732B 2 UP lan2 snap2 4 ETHER Yes 119lan3번 Speed 및 Autonegotiation 설정확인
# lanadmin -x 3
Speed = 1000 Full-Duplex.
Autonegotiation = On.lan3번 Autonegotiation off 시키기
# lanadmin -X auto_off 3기타 다른 옵션들
auto_on Set the card in autonegotiation mode
auto_off Turn off Auto-Negotiation mode for a 1000Base-SX card
fctrl on Turn on receive flow control
fctrl off Turn off receive flow control
10hd Set the speed of a 1000Base-T card to 10 Mbps half-duplex
10fd Set the speed of a 1000Base-T card to 10 Mbps full-duplex
100hd Set the speed of a 1000Base-T card to 100 Mbps half-duplex
100fd Set the speed of a 1000Base-T card to 100 Mbps full-duplex
send_max_bufs Set send buffer coalescing threshold [1 - 128] default 10
recv_max_bufs Set receive buffer coalescing threshold [1 - 256] default 1
send_coal_ticks Set send interrupt coalescing ticks [0 - 10000000] default 150
recv_coal_ticks Set receive interrupt coalescing ticks [0 - 10000000] default 0
stats clear Clear all driver and adapter statistics