HP NAS 8000 Non-Clustered Solution Guide de l'utilisateur Page 8

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 88
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 7
6Overview
Scripting
The HP NAS 8000 text command interface is based on Tcl 8.0
(http://www.scriptics.cXom/software/tcltk/8.0.html), which allows for powerful scripting
commands such as the following example.
Table 2 Example Command Script
% for each i [getNetworkCardList] {
% puts Network Card Info: $i
% puts ip address = [getNetworkCardIpAddress $i]
% puts subnet mask = [getNetworkCardSubnetMask $i]
% }
Network Card Info: bond0
ip address = 0.0.0.0
subnet mask = 0.0.0.0
Network Card Info: bond1
ip address = 0.0.0.0
subnet mask = 0.0.0.0
Network Card Info: eth0
ip address = 10.10.0.1
subnet mask = 255.255.255.0
Vue de la page 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 87 88

Commentaires sur ces manuels

Pas de commentaire