diff

Displays the differences between two files on a device's file system or a particular URL

Supported in the following platforms:

  • Access Points — AP7502, AP7522, AP7532, AP7562, AP7602, AP7612, AP7622, AP7632, AP7662, AP8163, AP8432, AP8533
  • Wireless Controller — RFS4010
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

diff [<FILE>|<URL>] [<FILE>|<URL>]

Parameters

diff [<FILE>|<URL>] [<FILE>|<URL>]

<FILE>

The first <FILE> is the source file for the diff command. The second <FILE> is used for comparison.

<URL>

The first <URL> is the source file's URL. The second <URL> is the second file's URL.

Examples

nx9500-6C8809#diff startup-config running-config
--- startup-config
+++ running-config
@@ -1,12 +1,10 @@
+!### show running-config
 !
 ! Configuration of NX9500 version 5.9.4.0-012D
 !
 !
 version 2.5
 !
-password-encryption-version 1.0
-inline-password-encryption
-password-encryption-key secret 2 776f9d6d5bb08fac753394d779cbc5a200000020a4ca26def55d4d77952308cd5e3afc66c06581bb1e5af6d6b033fd664c363522
 !
 client-identity-group default
  load default-fingerprints
@@ -35,13 +33,13 @@
 !
 alias string $IN-Blr-EcoSpace-Floor-4 IBEF4
 !
-alias encrypted-string $READ 2 LKSXiTieTV5hybKxfbd6JwAAAAZ/lakoqHh/ZfyHLJWzluTH
+alias encrypted-string $READ 2 1og6ZeMyEVJhybKxfbd6JwAAAAahnGq6RaJb70CEIbVpTYre
--More--
nx9500-6C8809#