show location

モード
非特権EXECモード
カテゴリー
運用・管理 / LLDP

構文

コマンド構文

> show location TYPE [identifier <1-4095>]

> show location TYPE interface [IFRANGE]

コマンド説明

LLDP-MEDで通知する各種位置識別情報を表示する。

パラメーター

TYPE
位置識別情報の種類。次の3つから選択する
civic-location
住所
coord-location
座標(経緯高度)
elin-location
ELIN(緊急通報用の位置識別番号)
identifier <1-4095>
特定の情報だけを表示させたい場合に指定する。省略時はTYPEで指定した種類のすべての位置情報が表示される
interface [IFRANGE]
各インターフェースに割り当てられている位置識別情報を表示させたいときに指定する。IFRANGEにインターフェース名(ハイフン、カンマを使った複数指定も可能)を指定したときは、指定したインターフェースだけが対象となる。インターフェース名を省略したときは、すべてのインターフェースが対象となる

使用例

awplus> show location civic-location
  ID  Element Type               Element Value
--------------------------------------------------------------------------------
   1  Country Code               NZ
      City                       Christchurch
      Street-suffix              Avenue
      House-number               27
      Primary-road-name          Nazareth

awplus> show location coord-location
  ID  Element Type               Element Value
--------------------------------------------------------------------------------
   1  Latitude Resolution        34 bits
      Latitude                   35.6229999959468841552734375 degrees
      Longitude Resolution       34 bits
      Longitude                  139.7182999849319458007812500 degrees
      Altitude Resolution        30 bits
      Altitude                   5.00000000 floors
      Map Datum                  WGS 84

awplus> show location elin-location
  ID  ELIN
-----------------------------------

awplus> show location elin-location interface
Port      ID  ELIN
---------------------------------------------
1.0.1      1  1234567890

1.0.2      1  1234567890

1.0.3      1  1234567890

1.0.4      1  1234567890

1.0.5   [not configured]
1.0.6   [not configured]
...

関連コマンド