checkpoint diff
Syntax
checkpoint diff {<CHECKPOINT-NAME1> | running-config | startup-config} {<CHECKPOINT-NAME2> | running-config | startup-config}
Description
Shows the difference in configuration between two checkpoints. Additionally, this support is extended for inherent configurations: the running configuration and the startup configuration. The diff is only provided for the CLI or ASCII configurations.
Command context
Manager (#
)
Parameters
{<CHECKPOINT-NAME1> | running-config | startup-config}
Selects either a checkpoint, a running configuration, or a startup configuration for the baseline of the diff.
<CHECKPOINT-NAME1>
Specifies that the named checkpoint as the baseline in the diff. The checkpoint name can be alphanumeric. It can also contain underscores (_) and dashes (-).
running-config
Specifies that the running configuration as the baseline in the diff.
startup-config
Specifies that the startup configuration as the baseline in the diff.
Authority
Administrators
Usability
checkpoint diff
command has several symbols:
The plus sign (+) at the beginning of a line indicates that the line exists in the comparison but not in the baseline.
The minus sign (-) at the beginning of a line indicates that the line exists in the baseline but not in the comparison.
Examples
In the following example, the configurations of checkpoints
cp1
and
cp2
are displayed before the
checkpoint diff
command, so that you can see the context of the
checkpoint diff
command.
switch# show checkpoint cp1 Checkpoint configuration: ! !Version ArubaOS-CX XL.10.00.0002 !Schema version 0.1.8 module 1/1 product-number jl363a ! ! ! ! ! ! ! vlan 1,200 interface 1/1/1 no shutdown ip address 1.0.0.1/24 interface 1/1/2 no shutdown ip address 2.0.0.1/24 switch# show checkpoint cp2 Checkpoint configuration: ! !Version ArubaOS-CX XL.10.00.0002 !Schema version 0.1.8 module 1/1 product-number jl363a ! ! ! ! ! ! ! vlan 1,200,300 interface 1/1/1 no shutdown ip address 1.0.0.1/24 interface 1/1/2 no shutdown ip address 2.0.0.1/24 switch# checkpoint diff cp1 cp2 --- /tmp/chkpt11501550258421 2017-08-01 01:17:38.420514016 +0000 +++ /tmp/chkpt21501550258421 2017-08-01 01:17:38.420514016 +0000 @@ -9,7 +9,7 @@ ! ! ! -vlan 1,200 +vlan 1,200,300 interface 1/1/1 no shutdown ip address 1.0.0.1/24