Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Unable to restore the Junos configuration via Junos Space



Article ID: KB22379 KB Last Updated: 06 Jan 2012Version: 2.0
This article describes the issue of being unable to restore the Junos configuration via Junos Space.
Restoring a backed up configuration, using the Backup configuration file option in Junos Space, fails. The dfwc: dfwc_bitfield: "amp" is not a valid keyword error message is generated.
This error is caused due to the way the backup configuration is stored in Junos Space. The configuration file is stored in a XML format and in XML, the special character amp; is added to indicate that this is a special character.

This special character handling leads to certain configuration parameters to be stored as & as well. For example, tcp-flags is a configuration parameter which is used in JunOS to specify different TCP flags such as syn, ack and so on.

The correct usage for this configuration parameter  is tcp-flags "(syn & !ack) | fin | rst"; however this gets stored in Junos Space database as  tcp-flags "(syn & !ack) | fin | rst" .

When the restore configuration is performed, the device reports an error indicating dfwc: dfwc_bitfield: "amp" is not a valid keyword, as amp is not a valid configuration value for the tcp-flags configuration parameter on Junos.

Note: PR 717518 has been opened to address this issue in a future Junos Space release.
To workaround this issue, perform the following procedure:

  1. Go To Config files > Manage Config files, select the device, and click Edit Configuration.

  2. Make a configuration change by adding a whitespace or any other valid change.

  3. Click Modify to create a new version of the configuration file. 

  4. Perform a restore configuration again and it should complete successfully.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search