No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Guide for Interworking Between HUAWEI CloudFabric Solution and Redhat OpenStack

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring NETCONF and SSH on Switches and Firewalls

Configuring NETCONF and SSH on Switches and Firewalls

Configure SSH on firewalls.

[FW] api
[FW-api] api netconf enable
[FW-api] quit
[FW] aaa
[FW-aaa] manager-user openlab
[FW-aaa-manager-user-openlab] password cipher Huawei@123
[FW-aaa-manager-user-openlab] service-type api
[FW-aaa-manager-user-openlab] level 15

Perform related configuration on the switch for the VTY UI to support SSH access. The following uses TOR2 as an example:

[~ToR2] user-interface vty 0 4
[*ToR2-ui-vty0-4] authentication-mode aaa
[*ToR2-ui-vty0-4] user privilege level 3
[*ToR2-ui-vty0-4] idle-timeout 0 0
[*ToR2-ui-vty0-4] commit

Configure SSH on switches. The following uses TOR2 as an example:

[~ToR2] aaa     // Create a local user.
[*ToR2-aaa] local-user openlab password irreversible-cipher Huawei@123
[*ToR2-aaa] local-user openlab service-type ssh snmp
[*ToR2-aaa] local-user openlab level 3
[*ToR2-aaa] local-user openlab user-group manage-ug
[*ToR2-aaa] commit
[~ToR2-aaa] quit
[~ToR2] snetconf server enable
[*ToR2] ssh user openlab authentication-type all  // Configure the SSH user authentication mode.
[*ToR2] ssh user openlab service-type snetconf
[*ToR2] ssh authorization-type default aaa
[*ToR2] commit
Updated: 2019-03-25

Document ID: EDOC1100072313

Views: 2571

Downloads: 17

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next