×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Confirming CLI commands before copying?

Answered Question

              Hi All,

                   Is there a way to confirm the cli commands inputted into a Nexus5k (NX-OS) Ver 4.1(3) N1(1), before copying it to start. The JunOS has a "commit check" command that will give a heads up if the commands you are about to put in are going to hose your network. The "checkpoint" function will get me back to an operational state, but, I would rather not have to dance while the network comes back to life.


Thanks All,

              Ron Clifford

Correct Answer by Reza Sharifi about 3 years 5 months ago

Hi Ron,


unfortunately, commit check, rollback 1,2, 3, etc... are all part of Junos and not IOS or Nexus OS. With Nexus OS, as soon as you type a command and press enter, it will take effect just like the regular IOS.

Cisco is trying to add great features that Juniper has, but they still have a long way to go, because they have too many different OSs.


HTH

Correct Answer by cadet alain about 3 years 5 months ago

Hi,

IOS-XR implements the commit feature and checks the validity of the config and it seems NX-OS does the same

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/CLIConfigurationGuide/sm_rollback.html#wp1076261


Regards


Alain



Don't forget to rate helpful posts.

Correct Answer by paul driver about 3 years 5 months ago

Hello

Cisco also have a rollback back feature.This is initiated using the archive command

Once setup it will rollback any applied config if it isn't confirmed within a specified time period- I personally think it better than a schedule reload

However on certain iOS and hardware eg 6509-6513's iI have found it seems to not work as it should also am not aware of any cisco feature that will test your config is good prior to implementing as junos does.

Res
Paul

Sent from Cisco Technical Support iPad App

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
paul driver Wed, 03/05/2014 - 09:46
User Badges:
  • Green, 3000 points or more

Hello

Cisco also have a rollback back feature.This is initiated using the archive command

Once setup it will rollback any applied config if it isn't confirmed within a specified time period- I personally think it better than a schedule reload

However on certain iOS and hardware eg 6509-6513's iI have found it seems to not work as it should also am not aware of any cisco feature that will test your config is good prior to implementing as junos does.

Res
Paul

Sent from Cisco Technical Support iPad App

Correct Answer
Reza Sharifi Wed, 03/05/2014 - 10:35
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hi Ron,


unfortunately, commit check, rollback 1,2, 3, etc... are all part of Junos and not IOS or Nexus OS. With Nexus OS, as soon as you type a command and press enter, it will take effect just like the regular IOS.

Cisco is trying to add great features that Juniper has, but they still have a long way to go, because they have too many different OSs.


HTH

Actions

This Discussion