Unlocking The Running Configuration; Additional Cisco Crs-1 Series Router Configuration And Management Options Using Xml; Getting Commit Changes - Cisco CRS-1 - Carrier Routing System Router Api Manual

Carrier routing system xml api guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Additional Cisco CRS-1 Series Router Configuration and Management Options Using XML

</Get>
</Response>

Unlocking the Running Configuration

The client application must use the <Unlock> operation to release the exclusive lock on the running
configuration for the current session prior to terminating the session.
If the unlock operation is successful, the response will contain just the <Unock/> tag. If the unlock
operation fails, the response will also contain the ErrorCode and ErrorMsg attributes indicating the cause
of the unlock failure.
The following example shows a request to unlock the running configuration. This request corresponds
to the CLI command exit when it is used after the configuration mode is entered via the CLI command
configure exclusive.
Sample XML Client Request to Unlock the Running Configuration
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Unlock/>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Unlock/>
</Response>
Additional Cisco CRS-1 Series Router Configuration and
Management Options Using XML
The following optional configuration and router management tasks are available to the client application.

Getting Commit Changes

When a client application successfully commits the target configuration to the running configuration, the
configuration manager writes a single configuration change event to syslog. As a result, an event
notification is written to the Cisco CRS-1 Series Alarm Channel (that is, the CORBA event notification
channel for alarms) and subsequently forwarded to any registered configuration agents. The event
notification contains the following information:
Cisco CRS-1 Series Carrier Routing System XML API Guide
2-38
</Naming>
<Global>
<DefaultMetric>10</DefaultMetric>
</Global>
</AS>
</BGP>
</Configuration>
userid—The name of the user who performed the commit operation.
timestamp—The date and time of the commit.
commit—The unique ID associated with the commit.
Chapter 2
Cisco CRS-1 Series XML Router Configuration and Management
OL-4596-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Crs-1 series

Table of Contents