Skip to content
Guides & References

HPE and Aruba connection templates

The HP and Aruba templates in rconfig/rConfig-templates v2.2.2: ProCurve, Comware, the 1920, AOS-S and ArubaOS, and the press any key handling.

Connection TemplatesUpdated
Platform
HPE and Aruba
On this page

HPE and Aruba connection templates

HP and Aruba switches span two CLI families with different paging commands and login quirks. The hp/ folder holds eight templates and aruba/ holds two, all Core and Pro. This page covers release v2.2.2.

Which template

Template Use for
hp-procurve-ssh-noenable ProCurve over SSH. Start here
hp-procurve-ssh-noenable-nopage ProCurve firmware without the swallowed-character quirk
hp-procurve-telnet-noenable ProCurve over telnet
hp-comware-ssh-noenable Comware, including H3C-branded hardware
hp-comware-ssh-noenable-flexfabric FlexFabric switches
hp-comware-ssh-noenable-nosystemview The A5120, without entering system-view
hp-comware-5400xl-ssh-noenable The 5400xl
hp-1920-ssh-enable The 1920, which needs its own elevation command
aruba-aos-s-ssh-noenable AOS-S (written against a 2930F)
aruba-aos-ssh-enable ArubaOS with enable (written against an S3500)

ProCurve and AOS-S switches turn paging off with no page. Comware uses screen-length disable. ArubaOS uses no paging.

Press any key, and the doubled letter

ProCurve and AOS-S switches show a “Press any key to continue” screen after login and dress their output in VT100 terminal codes. Templates for them set hpAnyKeyStatus: on, which sends the keystrokes to get past that screen and cleans the terminal codes from the captured output.

The standard ProCurve template’s paging command is nno page. The doubled letter is deliberate: some HPE firmware swallows the first character sent after the any-key screen, so the extra n is sacrificial and the switch receives no page. Don’t correct it. If the session log shows an error such as Invalid input: nno, your firmware doesn’t have the quirk: use the nopage template, which sends no page as written.

The 1920

The 1920 keeps its model number in the filename because it needs an elevation command other HP switches don’t. The template uses the enable step to send _cmdline-mode on and then the y that confirms it, both inside enableCmd.

The templates

rConfig-templates / hp /hp-procurve-ssh-noenable.ymlView on GitHub
Protocol
SSH, port 22
Any key
hpAnyKeyStatus: on
Paging
nno page
Status
community-tested
rConfig-templates / hp /hp-procurve-ssh-noenable-nopage.ymlView on GitHub
Protocol
SSH, port 22
Any key
hpAnyKeyStatus: on
Paging
no page
Status
community-tested
rConfig-templates / hp /hp-procurve-telnet-noenable.ymlView on GitHub
Protocol
Telnet, port 23
Any key
hpAnyKeyStatus: on
Paging
no page
Status
community-tested
rConfig-templates / hp /hp-comware-ssh-noenable.ymlView on GitHub
Protocol
SSH, port 22
Enable
off
Paging
screen-length disable
Status
community-tested
rConfig-templates / hp /hp-comware-ssh-noenable-flexfabric.ymlView on GitHub
Protocol
SSH, port 22
Any key
hpAnyKeyStatus: on
Paging
screen-length disable
Status
community-tested
rConfig-templates / hp /hp-comware-ssh-noenable-nosystemview.ymlView on GitHub
Protocol
SSH, port 22
Enable
off
Paging
screen-length disable
Status
community-tested
rConfig-templates / hp /hp-comware-5400xl-ssh-noenable.ymlView on GitHub
Protocol
SSH, port 22
Any key
hpAnyKeyStatus: on
Paging
screen-length disable
Status
community-tested
rConfig-templates / hp /hp-1920-ssh-enable.ymlView on GitHub
Protocol
SSH, port 22
Enable
_cmdline-mode on, then y
Paging
screen-length disable
Status
community-tested
rConfig-templates / aruba /aruba-aos-s-ssh-noenable.ymlView on GitHub
Protocol
SSH, port 22
Any key
hpAnyKeyStatus: on
Paging
no page
Status
community-tested
rConfig-templates / aruba /aruba-aos-ssh-enable.ymlView on GitHub
Protocol
SSH, port 22
Enable
on
Paging
no paging
Status
community-tested

What to put in the command group

The ProCurve telnet template carries a note that the retrieval command should be show config rather than show startup-config. The other templates don’t name one.


Type to search.