HP Switche: Unterschied zwischen den Versionen

Aus d0b
Zur Navigation springenZur Suche springen
Zeile 55: Zeile 55:
 
</pre>
 
</pre>
  
== Firmware ==
+
== TFTP Firmware & Config ==
 
* https://h10145.www1.hp.com/downloads/ProductsList.aspx?lang=&cc=&prodSeriesId=
 
* https://h10145.www1.hp.com/downloads/ProductsList.aspx?lang=&cc=&prodSeriesId=
  
 
<pre>
 
<pre>
copy flash tftp <ip-adress-tftps> <filename>                         // Aktuelle Firmware auf den tftp schieben
+
copy flash tftp <ip-adress-tftps> <filename>                             // Aktuelle Firmware auf den tftp schieben
copy tftp flash <ip-adress-tftps> <filename> <primary|secondary>     // Neue Firmware vom tftp holen   
+
copy tftp flash <ip-adress-tftps> <filename> <primary|secondary>         // Neue Firmware vom tftp holen   
boot system flash <primary|secondary>                                 // Switch reboot mit pri bzw sec image        
+
boot system flash <primary | secondary>                                 // Switch reboot mit pri bzw sec image  
 +
 
 +
 
 +
copy <startup-config | running-config> tftp <ip-address> <remote-file>  // von Switch auf remote TFTP
 +
copy tftp <startup-config | running-config> <ip-address> <remote-file>  // von remote TFTP auf Switch
 
</pre>
 
</pre>
  

Version vom 20. Mai 2015, 11:51 Uhr

HP Pro Curve 1810G-8 (J9449A)

PW Reset

  • Mit einer Büroklammer "Clear" Button 3sek. gedrückt halten, danach ohne PW einloggen.


Factory Reset

  • Mit einer Büroklammer o.ä. "Reset" & "Clear" Button
  • "Reset" Button gedrückt halten, "Clear" loslassen
  • Wenn alle 3 Mode LED`s blinken auch den "Reset" Button loslassen
  • Default IP: 192.168.2.10

Quelle

HP Pro Curve 2610-48 (J9088A)

Rack Einbauwinkel, Abmessungen der Bohrungen 2,3x2,3cm (4 loch)

Optionales Zubehör

Part Description Option part number
Transceivers HP ProCurve 100-FX SFP-LC transceiver J9054B
Transceivers HP ProCurve 100-BX-D SFP-LC transceiver J9099B
Transceivers HP ProCurve 100-BX-U SFP-LC transceiver J9100B
Power supply HP ProCurve 600 redundant external power supply J8168A
Power supply HP ProCurve 610 external power supply J8169A
Mini-GBICs HP ProCurve Gigabit-SX-LC Mini-GBIC J4858C
Mini-GBICs HP ProCurve Gigabit-LX-LC Mini-GBIC J4859C
Mini-GBICs HP ProCurve Gigabit-LH-LC Mini-GBIC J4860C
Mini-GBICs HP ProCurve Gigabit 1000Base-T Mini-GBIC J8177C
Mini-GBICs HP ProCurve 1000-BX-D SFP-LC Mini-GBIC J9142B
Mini-GBICs HP ProCurve 1000-BX-U SFP-LC Mini-GBIC J9143B

Terminal Settings

  • Symbolrate von 1200 bis 115200 (default 9600)
  • 8 data bits
  • 1 stop bit
  • no parity
  • flow control set to Xon/Xoff
screen /dev/cu.usbserial 9600,cs8,-parenb,-cstopb,-clocal

TFTP Firmware & Config

copy flash tftp <ip-adress-tftps> <filename>                             // Aktuelle Firmware auf den tftp schieben
copy tftp flash <ip-adress-tftps> <filename> <primary|secondary>         // Neue Firmware vom tftp holen  
boot system flash <primary | secondary>                                  // Switch reboot mit pri bzw sec image   


copy <startup-config | running-config> tftp <ip-address> <remote-file>   // von Switch auf remote TFTP 
copy tftp <startup-config | running-config> <ip-address> <remote-file>   // von remote TFTP auf Switch 

Befehlssammlung

Ein paar Schnipsel

show version                 
show flash
show config             
show running-config
show config status

show vlans
show trunks
show lacp
show lldp info remote-device
show cdp neighbors

Folgende Befhle im "(config)#" Mode

hostname deepthought                                // Neuen Hostnamen vergeben
snmp-server location "<location>"                   // Standort des Switch
snmp-server contact "<contact>"                     // Ansprechpartner für den Switch
password all                                        // Passwort für Operator & Manager setzen

time timezone 60                                    // Zeitzone einstellen
time daylight-time-rule Western-Europe              // Sommer- / Winterzeitzone einstellen
sntp server 5.9.156.53                              // 0.pool.ntp.org
sntp server priority 1 5.9.156.53                   // 0.pool.ntp.org                              
sntp server priority 2 5.9.80.113                   // 1.pool.ntp.org
sntp server priority 3 78.47.249.19                 // 2.pool.ntp.org

ip default-gateway 192.168.23.1     
snmp-server community "public" manager restricted      
crypto key generate ssh   
ip ssh

no web-management plaintext
no telnet-server

exit                                                 // (conf) verlassen um
write memory                                         // running-config als startup-config abzuspeichern

SNMP

MIB OBJECT LABEL OBJECT ID Data Type Value (Example)
RFC1213-MIB mib-2 .1.3.6.1.2.1 -
- system .1.3.6.1.2.1.1 -
- sysDescr.0 .1.3.6.1.2.1.1.1.0 OctetString "ProCurve J9088A Switch 2610-48...."
- sysUpTime.0 .1.3.6.1.2.1.1.3.0 TimeTicks "Timeticks: (9400662) 1 day, 2:06:46.62"
- sysContact.0 .1.3.6.1.2.1.1.4.0 OctetString "your@email.tld"
- sysName.0 .1.3.6.1.2.1.1.5.0 OctetString "switch_23"
- sysLocation.0 .1.3.6.1.2.1.1.6.0 OctetString "Rack 3"
- sysServices.0 .1.3.6.1.2.1.1.7.0 Integer 74
- interfaces .1.3.6.1.2.1.2 -
- ifSpeed .1.3.6.1.2.1.2.2.1.5.{1-48} Integer 100000000
- ifPhysAddress .1.3.6.1.2.1.2.2.1.6.{1-48} OctetString aa-bb-cc-dd-ee-ff
- ifAdminStatus .1.3.6.1.2.1.2.2.1.7.{1-48} Integer 1 = up; 2 = down
- ifOperStatus .1.3.6.1.2.1.2.2.1.8.{1-48} Integer 1 = up; 2 = down
- ifLastChange .1.3.6.1.2.1.2.2.1.9.{1-48} TimeTicks 4 seconds (440)
- icmp .1.3.6.1.2.1.5 -
- tcp .1.3.6.1.2.1.6 -
- udp .1.3.6.1.2.1.7 -
- snmp .1.3.6.1.2.1.11 -
RFC1271-MIB rmon .1.3.6.1.2.1.16 -
BRIDGE-MIB dot1dBridge .1.3.6.1.2.1.17 -
MAU-MIB snmpDot3MauMgt .1.3.6.1.2.1.26 -
IF-MIB interfaces .1.3.6.1.2.1.31 -
Enity MIB entityMIB .1.3.6.1.2.1.47 -
- entPhysicalSoftwareRev .1.3.6.1.2.1.47.1.1.1.1.10.1 OctetString "R.11.107" (Primary Image)
- entPhysicalFirmwareRev .1.3.6.1.2.1.47.1.1.1.1.9.1 OctetString "R.10.06" (Boot Rom Version)
- entPhysicalSerialNum .1.3.6.1.2.1.47.1.1.1.1.11.1 OctetString "CN821****"
RADIUS-AUTH-SERVER-MIB radiusMIB .1.3.6.1.2.1.67 -
CISCO-SMI cisco .1.3.6.1.4.1.9 -
HP-ICF-GENERIC-RPTR hpSecurePortTable .1.3.6.1.4.1.11.2.14.2.10.3 -
HP-ICF-CHASSIS hpicfChassisMib .1.3.6.1.4.1.11.2.14.10.2.3 -
- hpicfChassisId .1.3.6.1.4.1.11.2.14.11.1.2.1.0 OctetString "aa-bb-cc-dd-ee-ff" (MAC Address)
- hpicfSensorStatus .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1 Integer "4" (Fan)
- hpicfSensorStatus .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.2 Integer "4" (Power Supply 1)
- hpicfSensorStatus .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.3 Integer "5" (Power Supply 2)
- hpicfSensorStatus .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.4 Integer "4" (Over Temperature)
NETSWITCH-MIB hpOpSystem .1.3.6.1.4.1.11.2.14.11.5.1.1 -
- hpLocalMemTotalBytes .1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.5.1 Integer "84017872" (Memory Total)
- hpLocalMemFreeBytes .1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1 Integer "73556512" (Memory Free)
- hpLocalMemAllocBytes .1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.7.1 Integer "10436064" (Memory Used)
STATISTICS-MIB hpSwitchStatistics .1.3.6.1.4.1.11.2.14.11.5.1.9 -
- hpSwitchCpuStat .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0 Integer "4" (CPU)
- hpSwitchFdbAddressCount .1.3.6.1.4.1.11.2.14.11.5.1.9.12.1.0 Integer "12" (MAC Adress Count)
- hpHttpMgEntityNetInfoIPAddress .1.3.6.1.4.1.11.2.36.1.1.3.1.1.7.1 OctetString "192.168.23.23"
- hpHttpMgDeviceGlobalUniqueID .1.3.6.1.4.1.11.2.36.1.1.5.1.1.2.1 OctetString "HPJ9088ACN821*****"
SNMP-COMMUNITY-MIB (RFC1271) snmpCommunityMIB .1.3.6.1.6.3.18 -

HP Status Werte

  • 1 unknown
  • 2 bad
  • 3 warning
  • 4 good
  • 5 not present