Friday, June 11, 2010

Solaris 10 new feature on NIC status

dladm is meaning Administer Data Link. This feature is a new faeture that I can see on Solaris 10 compare to other version. Before this, I've to make a script to have the status of NIC in easy way.

This command also can rename the device, associate the device, remove device, connect server to WiFi, configure the aggregration and create the VLan



# dladm show-dev
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 link: down speed: 0 Mbps duplex: half
e1000g2 link: down speed: 0 Mbps duplex: half
e1000g3 link: down 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

No comments: