HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Web and Unmanaged
cancel
Showing results for 
Search instead for 
Did you mean: 

HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

 
brad_at_rms
Collector

HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

I recently got a couple of HPE 1950's placed on my desk - traditionally I have worked from the CLI for switching products.

I had not worked with these switches before, and I must say, they are quite different to what I am used to.

For instance, the requirement to use xtd-cli-mode to then, be able to enter system-view was quite odd to me.

My primary issue now though is, how do I reboot / reload from the CLI?

It is clearly possible in from the Web UI, but there are no familiar commands in the CLI relating to rebooting the switch. In the user manual I have found online, there is however reference to a reboot command, which seems unavailable on my switch?

I had also checked for the latest firmware for these switches, but couldn't find anything.

For reference, here is my display version:

HPE Comware Software, Version 7.1.045, Release 3113P05
Copyright (c) 2010-2016 Hewlett Packard Enterprise Development LP
HPE OfficeConnect 1950-24G-2SFP+-2XGT uptime is 0 weeks, 0 days, 18 hours, 41 minutes
Last reboot reason : USER reboot

Boot image: flash:/1950-cmw710-boot-r3113p05.bin
Boot image version: 7.1.045, Release 3113P05
Compiled May 25 2016 16:00:00
System image: flash:/1950-cmw710-system-r3113p05.bin
System image version: 7.1.045, Release 3113P05
Compiled May 25 2016 16:00:00


Slot 1:
Uptime is 0 weeks,0 days,18 hours,41 minutes
HPE OfficeConnect 1950-24G-2SFP+-2XGT JG960A with 1 Processor
BOARD TYPE: 1950-24G-2SFP+-2XGT
DRAM: 1024M bytes
FLASH: 512M bytes
PCB 1 Version: VER.D
Bootrom Version: 145
CPLD 1 Version: 001
Release Version: HPE OfficeConnect 1950-24G-2SFP+-2XGT JG960A-3113P05
Patch Version : None
Reboot Cause : UserReboot
[SubSlot 0] 24GE+2SFP-Plus+2XGT

 

Any and all information would be appreciated - I am trying to document this hardware, and I am awstruck by how difficult HP has made it to manage these switches via CLI.....

6 REPLIES
parnassus
Honored Contributor

Re: HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

Start here.


brad_at_rms wrote:

Any and all information would be appreciated - I am trying to document this hardware, and I am awstruck by how difficult HP has made it to manage these switches via CLI.....


Really reboot CLI command (on system-view) doesn't exist?

P.S. HPE OfficeConnect 1950 Switch series, despite the Comware 7 under the hood, is basically different from other Comware 7 (and 5 too) series...basically because it has (or it should have) a Web Management interface that let you fully configure the device from A to Z (I doubts that: IRF for example is called "stacking" where on all other Comware based switches IRF is simply IRF, sic et simpliciter...there should be no need to hide or obfuscate)...the CLI shell should not be used (as happens/happened for lower end HPE OfficeConnect 1920 Switch series)...or, better, the idea is that user should not use the CLI at all.

brad_at_rms
Collector

Re: HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

Well, I attempted to configure IRF from the WebUI, and failed. 

I configured IRF from the CLI, and it worked the first time.

Surely there is a way to reboot these devices from the CLI?

Anyone?

Thanks,

Brad

HP-Browniee
Respected Contributor

Re: HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

I think the reboot command is only available in CLI when you go out of system-view.

 

 

brad_at_rms
Collector

Re: HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

I have already run xtd-cli-mode, and then following that, system-view; there is still no reboot command available.

That is why I am posting.

B

parnassus
Honored Contributor

Re: HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

That's pretty strange IMO. Once you log in with admin credential you should see these list of possible commands (with ?):

<HPE>?
User view commands:
  display       Display current system information
  initialize    Delete the startup configuration file and reboot system
  ipsetup       Configure an IP address for VLAN-interface 1
  password      Specify password of local user
  ping          Ping function
  poe           Power over Ethernet
  quit          Exit from current command view
  reboot        Reboot operation
  summary       Display summary information of the device
  telnet        Establish a telnet connection
  transceiver   Enable transceiver phony alarm
  undo          Cancel current setting
  upgrade       Upgrade the system boot file or the Boot ROM program
  xtd-cli-mode  Switch to extended CLI mode to display and execute all commands
                (special authorization required)

As you see, reboot is (or it should be) available; in extended CLI mode (xtd-cli-mode) the reboot command should be available too.

Which software version is your switch running on?

brad_at_rms
Collector

Re: HPE OfficeConnect 1950-24G-2SFP+-2XGT - reboot / reload from CLI ?

Hi, thanks for sharing your experience.

I did include my version in the OP.

Regards,

Brad

>>

HPE Comware Software, Version 7.1.045, Release 3113P05
Copyright (c) 2010-2016 Hewlett Packard Enterprise Development LP
HPE OfficeConnect 1950-24G-2SFP+-2XGT uptime is 0 weeks, 0 days, 18 hours, 41 minutes
Last reboot reason : USER reboot

Boot image: flash:/1950-cmw710-boot-r3113p05.bin
Boot image version: 7.1.045, Release 3113P05
Compiled May 25 2016 16:00:00
System image: flash:/1950-cmw710-system-r3113p05.bin
System image version: 7.1.045, Release 3113P05
Compiled May 25 2016 16:00:00

>>