Monitoring, Management & Location Tracking

Unable to fetch configuration from Switch
Problem:

Unable to fetch configuration from HPE Switch.

HPE switch 3810, version 16.02

AMP 8.2.2



Diagnostics:

After adding the HP switch 3810 the configuration state in Airwave will show as error even though we have the SSH timeout set to 120 and updated the right SSH credentials.

1.  From group -> template page we will see the following message that No template is available,

 

 

2. We can verify if we have any communication time-out in System -> event log for that specific device

event log when trying to fetch template

Thu Aug 11 04:42:36 2016 Configuration status changed to 'Telnet/SSH Error: Could not fetch config file; command timed-out' System
Thu Aug 11 04:42:36 2016 Configuration status changed to 'No matching template could be found for this device. See the templates page.' System
Thu Aug 11 04:42:36 2016 Status changed to 'Error fetching existing configuration' System
Thu Aug 11 04:42:36 2016 Configuration verification: failed to read configuration from device System
Thu Aug 11 04:48:00 2016 Status changed to 'OK' System
Thu Aug 11 09:01:18 2016 Telnet/SSH Error: command timed-out admin
Thu Aug 11 09:03:20 2016 Telnet/SSH Error: command timed-out admin

3. We can verify whether the switch hostname has any spaces as shown below,

e.g. “ Aruba test switch #”     
Here the issue is with the ‘blank space’ character in hostname which is not expected by Airwave. As a result the command prompt string matching fails , thereby causing command timeout.

As per the RFC952 (https://tools.ietf.org/html/rfc952) , space is not permitted as part of host name. This may require a change at the switch side to prevent using space while creating hostname.

 



Solution

In order to resolve this issue we need to remove the space from the hostname as shown below,

"Arubatestswitch#"

Version history
Revision #:
2 of 2
Last update:
‎10-05-2016 08:38 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.