Got it

How to save the configuration in one shot?

Created: Sep 19, 2017 08:32:06Latest reply: Sep 20, 2017 08:47:08 6325 4 1 0
  Rewarded HiCoins: 0 (problem resolved)

Hi, all!


This post enquires how to save the configuration in one shot. Please see below.


ISSUE DESCRIPTION


I can save the configuration by typing save, but it asks me to confirm yes/no.

Is there any command like save /f to avoid the question?

Thanks!
  • x
  • convention:

Featured Answers
Created Sep 19, 2017 18:29:34 Helpful(1) Helpful(1)

Hi!


As far as I know, there isn't such a direct 'save' command on the S switches (without having to answer 'yes' as a confirmation).

There is a provisional solution, naturally, just paste 'save' and 'yes' in separate lines followed by the empty line (or CR-LF at least):

save
y


It's not a perfect, but rather a primitive solution :), but it works in many cases (sadly, not with the 'execute batch-file' command).

You can also use 'set save-configuration" to atomatically and periodically save the configuration file after the changes, but I don't think that's what you're looking for.

Regards, 
Piotr
View more

Rating

Number of participants 1E-coins +10 Collapse Reasons
gululu + 10 Awesome!

View All scores

  • x
  • convention:

All Answers
PiotrekRGC Created Sep 19, 2017 18:29:34 Helpful(1) Helpful(1)

Hi!


As far as I know, there isn't such a direct 'save' command on the S switches (without having to answer 'yes' as a confirmation).

There is a provisional solution, naturally, just paste 'save' and 'yes' in separate lines followed by the empty line (or CR-LF at least):

save
y


It's not a perfect, but rather a primitive solution :), but it works in many cases (sadly, not with the 'execute batch-file' command).

You can also use 'set save-configuration" to atomatically and periodically save the configuration file after the changes, but I don't think that's what you're looking for.

Regards, 
Piotr
View more

Rating

Number of participants 1E-coins +10 Collapse Reasons
gululu + 10 Awesome!

View All scores

  • x
  • convention:

AcetiK
AcetiK Created Sep 20, 2017 08:46:06 Helpful(0) Helpful(0)

Hello,

Thank you for your reply.

I learnt that the save command is enough into eSight when using Smart Configuration Tool. I tested and it's OK for me.

I didn't know the "set save-configuration" and I found "set save-configuration delay" to automatically save after a change after a delay setted, which is great as well.

So thanks for your help,
View more
  • x
  • convention:

AcetiK
AcetiK Created Sep 20, 2017 08:46:19 Helpful(0) Helpful(0)

This post was last edited by user_2898709 at 2017-09-20 08:50. .
View more
  • x
  • convention:

AcetiK
AcetiK Created Sep 20, 2017 08:47:08 Helpful(0) Helpful(0)

This post was last edited by user_2898709 at 2017-09-20 08:49.
.
View more
  • x
  • convention:

Comment

Comment
You need to log in to comment to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.