checkpoint diff

Syntax

checkpoint diff {| running-config | startup-config} {| running-config | startup-config}

Description

Shows the difference in configuration between two configurations. Compare checkpoints, the running configuration, or the startup configuration.

Command context

Manager (#)

Parameters

{| running-config | startup-config}

Selects either a checkpoint, the running configuration, or the startup configuration as the baseline.

{| running-config | startup-config}

Selects either a checkpoint, the running configuration, or the startup configuration to compare.

Authority

Administrators or local user group members with execution rights for this command.

Usability

The output of thecheckpoint diffcommand 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 checkpointscp1andcp2are displayed before thecheckpoint diffcommand, so that you can see the context of thecheckpoint diffcommand.

switch#show checkpoint cp1Checkpoint 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#显示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#检查点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