コンフィグレーションガイド Vol.2


28.3.2 LLDP情報の表示

show lldpコマンドでLLDPの設定情報とポートごとの隣接装置数を表示します。コマンドの実行結果を次の図に示します。

図28‒2 show lldpコマンドの実行結果
> show lldp
Date 20XX/04/01 12:00:00 UTC
Status: Enabled     Chassis ID: Type=MAC          Info=0012.e2c8.3c31
Interval Time: 30       Hold Count: 4     TTL: 121
Port Counts=3
  1/ 1(CH:  10) Link: Up      Neighbor Counts:    1
  1/ 2          Link: Down    Neighbor Counts:    0
  1/ 3          Link: Up      Neighbor Counts:    1 
>

show lldpコマンドでdetailパラメータを指定すると,隣接装置の詳細情報を表示します。コマンドの実行結果を次の図に示します。

図28‒3 show lldpコマンド(detailパラメータ指定時)の実行結果
> show lldp detail
Date 20XX/04/01 12:00:00 UTC
Status: Enabled     Chassis ID: Type=MAC          Info=0012.e2c8.3c31
Interval Time: 30       Hold Count: 4     TTL: 121      Draft TTL: 120
System Name: LLDP1
System Description: ALAXALA AX8600R AX-8600-R16 [AX8616R] Routing software
 (including encryption) Ver. 12.1 [OS-RE]
Neighbor Counts=1
Draft Neighbor Counts=1
Port Counts=3
Port 1/1  (CH:  10)
  Link: Up      PortEnabled: TRUE     AdminStatus: enabledRxTx
  Neighbor Counts:   1    Draft Neighbor Counts:   0
  Port ID: Type=MAC          Info=0012.e238.4cc0
  Port Description: GigabitEther 1/1
  Neighbor 1      TTL: 100
    Chassis ID: Type=MAC          Info=0012.e2c8.3c85
    System Name: LLDP2
    System Description: ALAXALA AX8600R AX-8600-R16 [AX8616R] Routing software
 (including encryption) Ver. 12.1 [OS-RE]
    Port ID: Type=MAC          Info=0012.e238.4cd1
    Port Description: GigabitEther 1/12
Port 1/2
  Link: Down    PortEnabled: FALSE    AdminStatus: enabledRxTx
  Neighbor Counts:   0    Draft Neighbor Counts:   0
Port 1/3
  Link: Up      PortEnabled: TRUE     AdminStatus: enabledRxTx
  Neighbor Counts:   0    Draft Neighbor Counts:   1
  Port ID: Type=MAC          Info=0012.e238.4cc2
  Port Description: GigabitEther 1/3
  Tag ID: Tagged=1,10-20,4094
  IPv4 Address: Tagged: 10      192.168.248.240
  IPv6 Address: Tagged: 20      2001:db8:811:ff01:200:8798:5cc0:e7f4
  Draft Neighbor 1      TTL: 100
    Chassis ID: Type=MAC          Info=0012.e268.2c21
    System Name: LLDP3
    System Description: ALAXALA AX6300S AX-6300-S08 [AX6308S] Switching software
 Ver. 11.9 [OS-SE]
    Port ID: Type=MAC          Info=0012.e298.5cc4
    Port Description: GigabitEther 1/5
    Tag ID: Tagged=1,10-20,4094
    IPv4 Address: Tagged: 10      192.168.248.244
    IPv6 Address: Tagged: 20      2001:db8:811:ff01:200:8798:5cc0:e7f8
>