Aktionen

HP ProCurve Switche Uplinks Nachbar Switche anzeigen mit Port und Namen

Aus znilwiki

Die druckbare Version wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.

Bisherige Switche

Auf der Suche nach einem bestimmten Gerät bin ich über folgendes gestolpert:

  • per telnet oder ssh mit dem Switch verbinden
  • ggf. im Menu Command Line (CLI) auswählen
  • folgenden Befehl eingeben:
show lldp info remote-device

Ausgabe:

 LLDP Remote Devices Information

 LocalPort | ChassisId                 PortId PortDescr SysName
 --------- + ------------------------- ------ --------- ----------------------
 C22       | 1c 87 2c e1 78 fa         1c ...
 D23       | 00 19 99 8a 7a 35         00 ...
 H5        | 30 8d 99 90 fa c0         43     43        TK5-SW4
 H6        | 30 8d 99 90 fa c0         44     44        TK5-SW4
 H7        | 30 8d 99 90 fa c0         45     45        TK5-SW4
 H8        | 30 8d 99 90 fa c0         46     46        TK5-SW4
 H9        | e0 07 1b d5 90 8b         48     1/48      HP-Stack-2920
 H10       | e0 07 1b d5 90 8b         47     1/47      HP-Stack-2920
 H11       | e0 07 1b d5 90 8b         100    2/48      HP-Stack-2920
 H12       | e0 07 1b d5 90 8b         99     2/47      HP-Stack-2920
 H14       | b4 39 d6 7e ad 80         44     44        ProCurve Switch 261...
 H16       | 84 34 97 51 65 00         50     50        ***-SW1
 H20       | SG1089V031                eth1
 H21       | 84 34 97 51 46 c0         51     51        Betrieb-SW4
 H23       | 84 34 97 51 85 c0         51     51        Betrieb-SW3
 H24       | 84 34 97 51 64 80         52     52        Maschinenraum-SW1

SysName kommt aus dem eigen-Systemnamen des anderen Systems,
PortId ist der Port auf dem anderen Switch

Die IP-Adressen zu den anderen Switchen bekommt ihr mit folgendem Befehl heraus:
Variante 1:

show lldp info remote-device H21

Ausgabe:

 LLDP Remote Device Information Detail

  Local Port   : H21
  ChassisType  : mac-address
  ChassisId    : 3FF1FF-4FF0F0
  PortType     : local
  PortId       : 51
  SysName      : Betrieb-SW4
  System Descr : Aruba JL356A 2540-24G-PoE+-4SFP+ Switch, revision YC.16.1...
  PortDescr    : 25
  Pvid         : 10

  System Capabilities Supported  : bridge, router
  System Capabilities Enabled    : bridge

  Remote Management Address
     Type    : ipv4
     Address : 192.123.123.123
     Type    : ipv6
     Address : fe80::ffff:c7ff:ffff:7444

Variante 2:

show cdp neighbors detail

Ausgabe:

 CDP neighbors information

 Port : 1/47
 Device ID : 08 2e 5f 55 92 00
 Address Type : IP
 Address      : 192.168.178.250
 Platform     : ProCurve J8773A Switch 4208vl, revision L.11.20, ROM L.1...
 Capability   : Switch
 Device Port  : H10
 Version      : ProCurve J8773A Switch 4208vl, revision L.11.20, ROM L.1...

------------------------------------------------------------------------------

 Port : 1/48
 Device ID : 08 2e 5f 55 92 00
 Address Type : IP
 Address      : 192.168.178.250
 Platform     : ProCurve J8773A Switch 4208vl, revision L.11.20, ROM L.1...
 Capability   : Switch
 Device Port  : H9
 Version      : ProCurve J8773A Switch 4208vl, revision L.11.20, ROM L.1...

------------------------------------------------------------------------------




Neue Switche

display lldp neighbor-information list

Ausgabe:

System Name           Local Interface Chassis ID               Port ID
                      10              ap01W22                  Fast...
10.2.20.61            49              abcd-1234-0380           49
10.2.4.211            50              abdc-1234-8800           51



Loading comments...