H3C

Prepare H3C devices for QUARK Config Backup.

This guide covers H3C S6520X switches, which run Comware 7. The same steps apply to other H3C Comware 7 platforms.

Create a backup account

Displaying the full running configuration on Comware requires the network-admin user role; the read-only network-operator role is not sufficient:

system-view
local-user netwatch-backup
 password simple <password>
 service-type ssh
 authorization-attribute user-role network-admin
 quit

Enable SSH

ssh server enable
ssh user netwatch-backup service-type stelnet authentication-type password
line vty 0 15
 authentication-mode scheme
 protocol inbound ssh

To restrict management access, apply an ACL to the SSH service or the VTY lines that permits the Netwatch collector's IP address.

Platform notes

  • QUARK logs in over SSH, displays the current configuration, and logs out; it never enters system view or modifies the device.
  • On IRF stacks, add the fabric's single management IP to QUARK — the retrieved configuration covers all stack members.

Enable backup in Netwatch

Once the device is prepared, open its host in Netwatch (Data collection > Hosts) and add the Config Backup macros — the supported status flag, the model code for this platform, and the credentials you created. See Getting started for the full macro list and values.

On this page