1. login to console with priviledged account
2. run command ifconfig -a to view nic card
ifconfig -a
bash-3.00# ifconfig -a
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843
inet 166.71.209.235 netmask ffffff00 broadcast 166.71.209.255
ether 0:14:4f:64:79:9e
bash-3.00#
3. set the instance
ndd-set /dev/bge instance 0
4. Check the current nic speed, duplex setting & auto-negotiate status:
ndd -get /dev/bge adv_100fdx_cap
ndd -get /dev/bge adv_1000fdx_cap
ndd -get /dev/bge adv_autoneg_cap
note: if you get "0" then it is not set but if you get "1" means it is set.
5. To set nic speed to 1000gb, full duplex, auto-negotiate on:
ndd -set /dev/bge adv_1000fdx_cap=0
ndd –set /dev/bge adv_100fdx_cap=0
ndd –set /dev/bge adv_autoneg_cap=1
** repeat step# 4 to verify **
6. To set permanent settings if next time server gets rebooted.
cp -p /platform/sun4u/kernel/drv/bge.conf platform/sun4u/kernel/drv/bge.conf.CL703172
cd /platform/sun4u/kernel/drv/
vi bge.conf
change the following line:
adv_autoneg_cap=0 adv_1000fdx_cap=0 adv_1000hdx_cap=0 adv_100fdx_cap=1 adv_100hdx_cap=0 adv_10fdx_cap=0 adv_10hdx_cap=0;
to
adv_autoneg_cap=1 adv_1000fdx_cap=0 adv_1000hdx_cap=0 adv_100fdx_cap=0 adv_100hdx_cap=0 adv_10fdx_cap=0 adv_10hdx_cap=0;
** change adv_1000fdx_cap=0 to adv_1000fdx_cap=1 & adv_autoneg_cap=0 to adv_autoneg_cap=1
** to make it 1000mbits FDX autonegotiate
7. verify the settings has been set to 1000gb full duplex.
bash-3.00# kstat -p | grep bge:0 | grep mac | grep adv
bge:0:mac:adv_cap_1000fdx 1
bge:0:mac:adv_cap_1000hdx 0
bge:0:mac:adv_cap_100fdx 0
bge:0:mac:adv_cap_100hdx 0
bge:0:mac:adv_cap_10fdx 0
bge:0:mac:adv_cap_10hdx 0
bge:0:mac:adv_cap_asmpause 1
bge:0:mac:adv_cap_autoneg 1
bge:0:mac:adv_cap_pause 1
0 comments:
Post a Comment