Table of Contents
- About This Guide
- Overview
- Introduction to the Junos XML Management Protocol and Junos XML API
- Using Junos XML Management Protocol and Junos XML Tag Elements
- Using the Junos XML Management Protocol
- Controlling the Junos XML Management Protocol Session
- Client Application’s Role in a Junos XML Protocol Session
- Establishing a Junos XML Management Protocol Session
- Supported Access Protocols
- Prerequisites for Establishing a Connection
- Connecting to the Junos XML Protocol Server
- Starting the Junos XML Protocol Session
- Authenticating with the Junos XML Protocol Server
- Exchanging Information with the Junos XML Protocol Server
- Locking and Unlocking the Candidate Configuration or Creating a Private Copy
- Ending a Junos XML Protocol Session and Closing the Connection
- Displaying CLI Output as XML Tag Elements
- Example of a Junos XML Protocol Session
- Requesting Information
- Overview of the Request Procedure
- Requesting Operational Information
- Requesting Configuration Information
- Specifying the Source and Output Format of Configuration Information
- Specifying the Scope of Configuration Information to Return
- Requesting the Complete Configuration
- Requesting a Hierarchy Level or Container Object Without an Identifier
- Requesting All Configuration Objects of a Specified Type
- Requesting a Specified Number of Configuration Objects
- Requesting Identifiers Only
- Requesting One Configuration Object
- Requesting a Subset of Objects by Using Regular Expressions
- Requesting Multiple Configuration Elements Simultaneously
- Requesting an XML Schema for the Configuration Hierarchy
- Requesting a Previous (Rollback) Configuration
- Comparing Two Previous (Rollback) Configurations
- Requesting the Rescue Configuration
- Changing Configuration Information
- Overview of Configuration Changes
- Specifying the Source and Format of New Configuration Data
- Replacing the Entire Configuration
- Creating, Modifying, or Deleting Configuration Elements
- Reordering Elements in Configuration Objects
- Renaming a Configuration Object
- Changing a Configuration Element’s Activation State
- Changing a Configuration Element’s Activation State Simultaneously with Other Changes
- Committing a Configuration
- Verifying a Configuration Before Committing It
- Committing the Candidate Configuration
- Committing a Private Copy of the Configuration
- Committing a Configuration at a Specified Time
- Committing the Candidate Configuration Only After Confirmation
- Committing and Synchronizing a Configuration on Redundant Control Planes
- Logging a Message About a Commit Operation
- Summary of Junos XML Protocol Tag Elements
- <abort/>
- <abort-acknowledgement/>
- <authentication-response>
- <challenge>
- <checksum-information>
- <close-configuration/>
- <commit-configuration>
- <commit-results>
- <database-status>
- <database-status-information>
- <end-session/>
- <get-checksum-information>
- <get-configuration>
- <junoscript>
- <load-configuration>
- <load-configuration-results>
- <lock-configuration/>
- <open-configuration>
- <reason>
- <request-end-session/>
- <request-login>
- <routing-engine>
- <rpc>
- <rpc-reply>
- <unlock-configuration/>
- <?xml?>
- <xnm:error>
- <xnm:warning>
- Summary of Attributes in Junos XML Tags
- Writing Junos XML Protocol Client Applications
- Writing Junos XML Protocol Perl Client Applications
- Overview of the Junos::Device Perl Module and Sample Scripts
- Downloading the Junos XML Protocol Perl Client and Prerequisites Package
- Unpacking the Junos XML Protocol Perl Client and Sample Scripts
- Installing the Prerequisites Package and the Junos XML Protocol Perl Client
- Tutorial: Writing Perl Client Applications
- Import Perl Modules and Declare Constants
- Connect to the Junos XML Protocol Server
- Submitting a Request to the Junos XML Protocol Server
- Parsing and Formatting the Response from the Junos XML Protocol Server
- Closing the Connection to the Junos XML Protocol Server
- Mapping CLI Commands to Perl Methods
- Writing Junos XML Protocol C Client Applications
- Index
Hide Navigation Pane
Show Navigation Pane
Download
SHA1