Which command gives you this information?

You are about to configure an AI server and you need to determine if NWAM is configured, if the
system has a manually configured IP interface. Which command gives you this information?

You are about to configure an AI server and you need to determine if NWAM is configured, if the
system has a manually configured IP interface. Which command gives you this information?

A.
nscfg list

B.
netadm list

C.
netcfg list

D.
svcs network/physical

Explanation:
* There are two default location profiles defined by NWAM:
/ NoNet location
activated when no interfaces are assigned an IP address
no name services are defined
firewall enabled to block everything except loopback
/Automatic location
activated when any interface is assigned an IP address
name services configured to allow DNS
firewall disabled

* Example:
Here is the configuration for the Automatic and NoNet locations:
# netcfg list loc NoNet
loc:NoNet
activation-mode system
enabled false
nameservices files
nameservices-config-file “/etc/nsswitch.files”
dns-nameservice-configsrc dhcp
ipfilter-config-file “/etc/nwam/loc/NoNet/ipf.conf”
ipfilter-v6-config-file “/etc/nwam/loc/NoNet/ipf6.conf”
# netcfg list loc Automatic
loc:Automatic
activation-mode system
enabled true
nameservices dns
nameservices-config-file “/etc/nsswitch.dns”
dns-nameservice-configsrc dhcp
* Solaris 11 completely changes how network interfaces are configured and managed. The
Network Auto-Magic Daemon (NWAM) is now responsible for automatically configuring the
network (all interfaces, wired and/or wifi) based on the combination of a specified network
configuration profile and a location profile. These profiles can range from very complex to very
simple.
Note:
* netcfg
– create and modify network configuration profiles
netcfg list [ -a ] [ object-type [ class ] object-name ]
List all profiles, property-value pairs and resources that exist at the current or specified scope.
When listing properties of an object, the default behavior is to only list properties that apply to the
specified configuration. That is, if listing an IP NCU for which ipv4-addrsrc is dhcp, the ipv4-addr
property will not be listed. Including the -a option will result in all properties being listed, whether or
not they apply to the current settings.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


b

b

root@solaris:~# netadm list
TYPE PROFILE STATE
ncp Automatic disabled
ncp DefaultFixed online
loc Automatic offline
loc NoNet offline
loc DefaultFixed online

Prossy

Prossy

B is correct