set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10hdx_cap=0 set hme:hme_adv_10fdx_cap=0
可以用如下命令获取当前设置 # ndd -get /dev/hme link_mode 0 半双工 1 全双工 # ndd -get /dev/hme link_status 0 Link Down 1 Link up # ndd -get /dev/hme link_speed 0 10Mbps 1 100Mbps
附: /etc/system文件的写法 set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100T4_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10fdx_cap=0 set hme:hme_adv_10hdx_cap=0 set eri:adv_autoneg_cap=0 set eri:adv_100T4_cap=0 set eri:adv_100fdx_cap=1 set eri:adv_100hdx_cap=0 set eri:adv_10fdx_cap=0 set eri:adv_10hdx_cap=0 set qfe:qfe_adv_autoneg_cap=0 set qfe:qfe_adv_100T4_cap=0 set qfe:qfe_adv_100fdx_cap=1 set qfe:qfe_adv_100hdx_cap=0 set qfe:qfe_adv_10fdx_cap=0 set qfe:qfe_adv_10hdx_cap=0 set ce:adv_autoneg_cap=0 set ce:adv_100T4_cap=0 set ce:adv_100fdx_cap=1 set ce:adv_100hdx_cap=0 set ce:adv_1000fdx_cap=0 set ce:adv_1000hdx_cap=0 set ce:adv_10fdx_cap=0 set ce:adv_10hdx_cap=0