Replacing The Current Running Configuration - 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

Chapter 2
Cisco CRS-1 Series XML Router Configuration and Management
The information in
Table 2-2
Returned Session Information
<SessionID>
<UserID>
<Line>
<ClientName>
<Since>
<LockHeld>
The following example shows a request to get the list of users currently configuring the router. This
request corresponds to the CLI command show configuration sessions.
Sample XML Request to Get List of Users Currently Configuring the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetConfigurationSessions/>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<GetConfigurationSessions>
</Response>

Replacing the Current Running Configuration

A client application replaces the current running configuration on the router with an off-the-box
configuration file by performing the following operations in sequence:
1.
2.
OL-4596-01
Additional Cisco CRS-1 Series Router Configuration and Management Options Using XML
Table 2-2
is returned for each configuration session.
Returned Session Information
<Session>
<SessionID>00000070-001610ae-00000000</SessionID>
<UserID>cisco</UserID>
<Line>line0</Line>
<ClientName>XMLDemo</ClientName>
<Since>Fri Jun 27 15:10:39 2003</Since>
<LockHeld>true</LockHeld>
</Session>
<Session>
<SessionID>00000070-001650a4-00000000</SessionID>
<UserID>unknown</UserID>
<Line>con0_0_0</Line>
<ClientName>XML-Agent</ClientName>
<Since>Fri Jun 27 14:55:18 2003</Since>
<LockHeld>false</LockHeld>
</Session>
</GetConfigurationSessions>
Lock the configuration.
Delete the entire configuration using a <Delete> operation along with the <Configuration/> tag.
Session Information Description
The unique autogenerated ID for the configuration session.
The name of the user who created the configuration session.
The line used to connect to the router.
The user-friendly name of the client application that created the
configuration session.
The date and time of the creation of the configuration session.
A Boolean operation indicating whether the session has an exclusive
lock on the running configuration.
Cisco CRS-1 Series Carrier Routing System XML API Guide
2-45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Crs-1 series

Table of Contents