「tmshコマンド」の編集履歴(バックアップ)一覧に戻る

tmshコマンド - (2013/06/12 (水) 00:37:14) のソース

基本的にbigpipeシェルしかわからないので、例えにbigpipeシェルのコマンドを書きます。
確認したバージョンは10.1.0です。


- show running-config
  コンフィグが一通り表示されます。
  bigpipeシェルだと、b base list allが近いような気がしますが、まったく同じ内容のコマンドは見つかりませんでした。

- show sys ha-status
  High Availabilityのステータスが表示されます。
  
  root@bigip1(Active)(tmos)# show sys ha-status
  
  Sys::HA Status
  Feature               Key       Action                        Fail
  ------------------------------------------------------------------
  daemon-heartbeat      bigd      restart                       no
  daemon-heartbeat      mcpd      restart-all                   no
  daemon-heartbeat      sod       restart-all                   no
  daemon-heartbeat      tmm       go-offline-downlinks-restart  no
  daemon-heartbeat      tmrouted  restart                       no
  forced-offline        sod       none                          no
  license-invalid       mcpd      go-offline-downlinks          no
  overdog-ctrl          watchdog  none                          no
  proc-run              mcpd      go-offline-downlinks          no
  proc-run              named     go-offline-downlinks          no
  proc-run              tmm       go-offline-downlinks          no
  proc-run              tmrouted  failover                      no
  ready-for-world       tmm       none                          no
  reboot-request        sod       reboot                        no
  software-update       lind      reboot                        no
  switchboard-failsafe  lacpd     go-offline-abort-tm           no
  tmm-detect-fail       tmm       failover                      no

- show sys version
  バージョンを確認できます。
  bigpipeシェルだと、b version が近いです。
  
  root@bigip1(Active)(tmos)# show sys version
  
  Sys::Version
  Main Package
    Product  BIG-IP
    Version  10.1.0
    Build    3341.1084
    Edition  Final
    Date     Sat Feb  6 01:05:54 PST 2010

- run util
  各種[[情報取得コマンド]]が実行できます。
  
  root@bigip1(Active)(tmos)# run util ?
  Components:
    bash         Run the bash shell
    bigpipe      Legacy BIG-IP command line interface
    dig          Interrogate DNS name servers
    ping         Send ICMP echo requests to network hosts
    ping6        Send ICMPv6 echo requests to network hosts
    qkview       Gather diagnostic information from a [[BIG-IP]] system
    tcpdump      Display network traffic
    tracepath    Trace path to a network host discovering MTU along this path
    tracepath6   Trace path to a network host (IPv6) discovering MTU along this path
    traceroute   Print the route packets trace to network host
    traceroute6  Print the route (IPv6) packets trace to network host

- show sys log
  各種ログを表示します。
  logのあとに以下の文言を追加することで色々なログを確認できます。
  
  root@bigip1(Active)(tmos)# show sys log
  
  Sys::Log
   daemon       : Unix Daemon Logs
   gtm          : Global Traffic Manager Logs
   kernel       : Linux Kernel Messages
   ltm          : Local Traffic Manager Logs
   mail         : Mail Daemon Logs
   messages     : Application Messages
   security     : Security Related Messages
   tmm          : Traffic Manager Microkernel Logs
   user         : Various user process logs
   webui        : Logs for the Web User Interface
   audit        : Audits of configuration changes

- quit
  ログアウトします。exitはありません。
  
  root@bigip1(Active)(tmos)# exit
  Use "quit" to end the current session
  root@bigip1(Active)(tmos)# quit