H3C Router
Network Configuration Manager helps you manage the device configuration of H3C Router. With the help of our H3C Router device template,
you can easily discover your devices and start managing their configurations. Import the H3C Router template into Network Configuration Manager
to gain complete control and visibility over your devices. For any networking devices such as H3C Router, Network Configuration Manager performs
configuration operations that are configured in the form of device templates. And whenever we initiate any config operations, Network Configuration Manager
connects to the device (here, H3C Router), executes set of commands that are configured in the device template into the device CLI based on the operation
and protocol used while applying credentials (e.g., SSH/Telnet/SSH-TFTP), and finally processes the results and records/stores the necessary details.
H3C Router configuration commands
Below are the commands that will be executed for the respective operation in H3C Router
H3C Router - Backup Running Configuration (SSH/TELNET)
- undo terminal logging
- system-view
- user-interface vty 0 4
- screen-length 0
- return
- display current-configuration - [This is the actual command executed for Backup Running Configuration]
- system-view
- user-interface vty 0 4
- undo screen-length
- return
H3C Router - Backup Startup Configuration (SSH/TELNET)
- undo terminal logging
- system-view
- user-interface vty 0 4
- screen-length 0
- return
- display saved-configuration - [This is the actual command executed for Backup Startup Configuration]
- system-view
- user-interface vty 0 4
- undo screen-length
- return
H3C Router - Enable Syslog Change Detection (SSH/TELNET)
- system-view
- info-center loghost ${UserInput:HostIpAddress}
- info-center source default channel loghost log level ${UserInput:LoggingLevel}
- return
H3C Router - Disable Syslog Change Detection (SSH/TELNET)
- system-view
- undo info-center loghost ${UserInput:HostIpAddress}
- return
H3C Router - Sync Configuration (SSH/TELNET)
- save main
H3C Router - Backup Running Configuration (SSH/TELNET - TFTP)
- save de_running.cfg
- tftp ${UserInput:tftp_server_address} put flash:/de_running.cfg ${UserInput:file_name}
H3C Router - Backup Startup Configuration (SSH/TELNET - TFTP)
- undo terminal logging
- system-view
- user-interface vty 0 4
- screen-length 0
- return
- display saved-configuration - [This is the actual command executed for Backup Startup Configuration]
- system-view
- user-interface vty 0 4
- undo screen-length
- return
H3C Router - Upload Startup Configuration (SSH/TELNET - TFTP)
- tftp ${UserInput:tftp_server_address} get ${UserInput:file_name}
- copy ${UserInput:file_name} deviceexpert.cfg
- startup saved-configuration deviceexpert.cfg
H3C Router - Enable Syslog Change Detection (SSH/TELNET - TFTP)
- system-view
- info-center loghost ${UserInput:HostIpAddress}
- info-center source default channel loghost log level ${UserInput:LoggingLevel}
- return
H3C Router - Disable Syslog Change Detection (SSH/TELNET - TFTP)
- system-view
- undo info-center loghost ${UserInput:HostIpAddress}
- return
H3C Router - Sync Configuration (SSH/TELNET - TFTP)
- save main
Configuration Operations Supported in Network Configuration Managers' Device Template
As of now, the following config operations are supported in Network Configuration Managers' device templates
Configuration Backup
- Configurations files will be read from the end device and will be stored in Network Configuration Manager
- If there is any change between the configurations that are backedup already and the new one, then new configuration will be saved as different version and the user will be notified on the change.
Configuration Upload
- The configuration file or configuration draft created by the user that was backedup previously will be uploaded from Network Configuration Manager to the device
- The configuration file that is going to be uploaded is user specific and it can also be edited and uploaded as a draft
- To perform upload operation, device must support TFTP/SCP and device should be associated with either SSH/Telnet-TFTP or SSH-SCP credentials in Network Configuration Manager.
Sync Configuration
- It copies Running Configuration to the Startup Configuration, so that Running and Startup configuration can be in Sync.
- The changes made in the Running Configuration is saved in Startup Configuration to avoid config loss in case of unexpected device reboot or power failure etc
Automatic Change Detection
- Configures Network Configuration Manager server as Syslog server in the networking device, which enables forwarding of syslog messages from Device to Network Configuration Manager
- Syslog messages carrying the details on who made a change in the device configuration acts as a key for the Automatic Change detection feature
Update Hardware Details
- Interface details of the device will be processed and get listed under Interface details Tab on device snapshot of the respective device
- Additional to the above configuration operations that are configured in device template, the commands to fetch hardware details like OSVersion, Model, Series, Serial Number, etc., will also be configured;
Variables Supported in NCM Device Templates
We use a few variables to make the commands generic in Device Tempaltes
Network Configuration Manager Server IP can be found under Settings -> Server Settings.
Network Configuration Manager SCP Server credential details can be found under Settings -> SSH Settings -> SCP Server.
S.No |
Variable |
Values |
1 |
${UserInput:tftp_server_address} |
NCM Server IP - Eg : 10.10.190.5 |
2 |
${UserInput:file_name} |
will be created based on deviceId to make the file name unique |
3 |
${UserInput:HostIpAddress} |
NCM Server IP - Eg : 10.10.190.5 |
4 |
${UserInput:LoggingLevel} |
notification/info that is choosen while enabling change detection will be used |
5 |
${UserInput:scp_server_address} |
NCM Server IP - Eg : 10.10.190.5 |
6 |
${UserInput:scp_username} |
NCM SCP Server UserName - Eg : admin |
7 |
${UserInput:scp_password} |
NCM SCP Server password - Eg : admin |
Disclaimer:This web page is intended to provide you information about new Device Templates to manage your network. The information is provided "As Is" without warranty of any kind.