Configuring the XML Server
This chapter describes how to configure the XML server and includes the following sections:
•Configuring the Number of Allowed Sessions
•Configuring the Session Timeout Period
Configuring the Number of Allowed Sessions
Use this procedure to configure the maximum number of simultaneous sessions allowed on the XML server.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to the CLI in EXEC mode.
•You can allow between 1 and 8 maximum sessions simultaneously on the XML server. The default is 8.
SUMMARY STEPS
1. (Optional) show xml server status
2. config t
3. xml server max-session sessions
4. (Optional) show xml server status
5. (Optional) copy running-config startup-config
DETAILED STEPS
Configuring the Session Timeout Period
Use this procedure to configure the inactive session timeout period on the XML server.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to the CLI in EXEC mode.
•You can set the inactive session timeout period anywhere between 0 and 1200 seconds.
SUMMARY STEPS
1. config t
2. xml server timeout seconds
3. (Optional) copy running-config startup-config
DETAILED STEPS
Terminating a Server Session
Use this procedure to terminate an active XML server session.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to the CLI in EXEC mode.
SUMMARY STEPS
1. (Optional) show xml server status
2. xml server terminate session
3. (Optional) show xml server status
DETAILED STEPS
Default Settings
Table 2-1 lists the default settings for the XML API.
|
|
---|---|
Maximum allowed XML server sessions |
8 |
Active XML server timeout period |
1200 seconds |
Additional References
For additional information related to implementing the XML management interface, see the following sections:
•RFCs
Standards
|
|
---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
— |
RFCs
|
|
---|---|
NETCONF Configuration Protocol |
|
Using the NETCONF Configuration Protocol over Secure SHell (SSH) |