> - Downloads
> - service check-config

> # service check-config

> #### Syntax

> [ no ] service check-config [ auto | fileName fileName | running-configuration | running-configuration recover | auto-recover ]

> #### Release Information

> Command introduced in JUNOSe Release 9.3.0.
> auto-recover keyword added in JUNOSe Release 10.3.0.

> #### Description

> Detects corruption of running configuration and CNF files on both the primary and the standby SRP when it is due to a fatal duplicate key error. The no version restores the default action, manual detection.

> #### Options

> - auto—Checks the running configuration at regular intervals; cannot be used for CNF files
> - fileName—Name of an existing configuration file (.cnf) that needs to be validated for corruption
> - running–configuration—Specifies that the running configuration needs to be validated for corruption
> - running-configuration recover—Recovers the corrupted configuration files in the running configuration
> - auto-recover—Specifies that the running configuration needs to be validated for corruption and the corrupted files need to be recovered

> #### Mode

> Global Configuration

> #### Published: 2009-10-08

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.