# dladm show-dev
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 link: unknown speed: 0 Mbps duplex: half
e1000g2 link: unknown speed: 0 Mbps duplex: half
e1000g3 link: unknown speed: 0 Mbps duplex: half
# dladm show-link
e1000g0 type: non-vlan mtu: 1500 device: e1000g0
e1000g1 type: non-vlan mtu: 1500 device: e1000g1
e1000g2 type: non-vlan mtu: 1500 device: e1000g2
e1000g3 type: non-vlan mtu: 1500 device: e1000g3
# kstat -p e1000g:0::link*
e1000g:0:mac:link_asmpause 1
e1000g:0:mac:link_autoneg 1
e1000g:0:mac:link_duplex 2
e1000g:0:mac:link_pause 1
e1000g:0:mac:link_state 1
e1000g:0:mac:link_up 1
e1000g:0:statistics:link_speed 1000
# ndd /dev/e1000g0 link_speed
1000
# ndd /dev/e1000g0 link_duplex
2
0=noduplex 1=halfduplex 2=fullduplex
No comments:
Post a Comment