HP NAS 8000 Non-Clustered Solution Uživatelská příručka Strana 8

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 88
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 87 88

Komentáře k této Příručce

Žádné komentáře