8. Patch management
# showrev –p
To know NIC speed
# dladm show-dev
Or
#ndd –get /dev/e1000g0 link-speed
#ndd –get /dev/e1000g0 link-status
#ndd –get /dev/e1000g0 \? //to see all options \?
Assigning the IP:
To findout the nic information
# cat /etc/path_to_inst | grep –i net
Or
# dladm show-dev
Assigning the IP & plumb:
# ifconfig e1000g0 plumb
#ifconfig –a
# ifconfig e1000g0 192.168.1.10
# ifconfig e1000g0 192.168.1.10 up
Unplumbed IP
# ifconfig –a
# ifconfig e1000g0 192.168.1.10 down
# ifconfig e1000g0 unplumb
To permanent the IP address
We need to edit 4 files
- #cat /etc/hosts
- # cat /etc/inet/ipnodes
- # cat /etc/nodename
- # cat /etc/hostname.nicname
# cat /etc/hostname.e1000g0
To see all ports:
# netstat -a
No comments:
Post a Comment