compare

Compares the running configuration to another configuration or a file.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec

Syntax

compare file { filename[.kube | .ssh/] | configuration } 

filename[.kube | .ssh/]

Specify the file name or the directory path of the file to be compared.

Must be a string.

configuration

Specify the desired configuration to be compared against.

Must be a string.

Usage Guidelines

Use this command to compare the files.