The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
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
Use this procedure to configure the maximum number of simultaneous sessions allowed on the XML server.
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.
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
Use this procedure to configure the inactive session timeout period on the XML server.
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.
1. config t
2. xml server timeout seconds
3. (Optional) copy running-config startup-config
Use this procedure to terminate an active XML server session.
Before beginning this procedure, you must know or do the following:
•You are logged in to the CLI in EXEC mode.
1. (Optional) show xml server status
2. xml server terminate session
3. (Optional) show xml server status
Table 2-1 lists the default settings for the XML API.
|
|
---|---|
Maximum allowed XML server sessions |
8 |
Active XML server timeout period |
1200 seconds |
For additional information related to implementing the XML management interface, see the following sections:
•RFCs
|
|
---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
— |
|
|
---|---|
NETCONF Configuration Protocol |
|
Using the NETCONF Configuration Protocol over Secure SHell (SSH) |