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

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000


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


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


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


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


ap505-13403B#diff startup-config running-config
--- startup-config
+++ running-config
@@ -1,3 +1,4 @@
+!### show running-config
 ! Configuration of AP505 version
@@ -81,13 +82,10 @@
 rf-domain default
  no country-code
-! ap505 94-9B-2C-13-40-38
- radio-count 2
+ap505 94-9B-2C-13-40-38
  use profile default-ap505
  use rf-domain default
  hostname ap505-13403B
- no adoption-site
  ip default-gateway
  interface ge1
   switchport mode access