Cyclades AlterPath BladeManager Manuel d'instructions Page 171

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 170
Chapter 7: Using the cli Utility 157
cli> get network hostname
dingo
set
Set the value(s) of the last parameter. When multiple parameters are specified in one command,
either all are set successfully or none of the values are changed.
The set command is used to set an existing value, in contrast to add command which is used to add
something to the parameter tree. For example, this set command is used to specify the IP address
for an Ethernet interface which already is identified by the eth0 parameter in the parameter tree: set
network interface eth0 <IPaddress>. In contrast, new hosts need to be added with the add command
before their parameters can be specified; add network hosts <IPaddress> makes an entry for a host
with the specified IP address in the hosts list. Parameters for this new host can then be changed
with the set command: set network hosts <IPaddress> name <hostname>.
Synopsis
set parameter(s) value(s)
Examples
cli> set network resolv dns0 10.0.0.1
OK
cli> set network interface eth1 active yes address 10.0.0.3 netmask \
255.255.255.0 broadcast 10.0.0.255
OK
cli> set
network interface eth0 active yes eth1 active yes
ERR sanity check failed
shell
Escape to shell. This command is only available to root.
Synopsis
shell
Examples
cli> shell
[root@MergePoint5224 root]# whoami
root
[root@MergePoint5224 root]# logout
cli>
version
Displays the current cli version.
Vue de la page 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 239 240

Commentaires sur ces manuels

Pas de commentaire