Skip to content

Commit 42ead13

Browse files
committed
Update nxos.rst
1 parent 7f565a3 commit 42ead13

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

docs/support/nxos.rst

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
NXOS
2+
----
3+
14
Notes on configuration replacement
2-
==================================
5+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6+
7+
38

49
Config files aren't aren't normal config files but special "checkpoint" files.
510
That's because on NXOS the only way to replace a config without reboot is to rollback to a checkpoint (which could be a file).
@@ -8,7 +13,7 @@ The ``!#`` part isn't necessary for the rollback to work, but leaving these line
813
See the "Known gotchas" section below.
914

1015
Prerequisites
11-
-------------
16+
_____________
1217

1318
Your device must be running NXOS 6.1. The features ``nxapi`` server ``scp-server`` must be enabled.
1419
On the device and any checkpoint file you push, you must have the lines::
@@ -17,14 +22,14 @@ On the device and any checkpoint file you push, you must have the lines::
1722

1823

1924
Getting a base checkpoint file
20-
------------------------------
25+
______________________________
2126

2227
An example of a checkpoint file can be seen in ``test/unit/nxos/new_good.conf``.
2328
You can get a checkpoint file representing your device's current config by running the ``get_checkpoint_file()``
2429
function in the ``napalm.nxos`` driver.
2530

2631
Known gotchas
27-
------------------------------
32+
_____________
2833

2934
- Leaving out a ``shutdown`` or ``no shutdown`` line will cause the switch to toggle the up/down state of an interface, depending on it's current state.
3035

@@ -39,19 +44,19 @@ Known gotchas
3944
vlan 30
4045

4146
Diffs
42-
---------
47+
_____
4348

4449
Diffs for config replacement are a list of commands that would be needed to take the device from it's current state
4550
to the desired config state. See ``test/unit/nxos/new_good.diff`` as an example.
4651

4752
Notes on configuration merging
48-
==============================
53+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4954

5055
Merges are currently implemented by simply applying the the merge config line by line.
5156
This doesn't use the checkpoint/rollback functionality.
5257
As a result, merges are **not atomic**.
5358

5459
Diffs
55-
-------
60+
_____
5661

5762
Diffs for merges are simply the lines in the merge candidate config.

0 commit comments

Comments
 (0)