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 the Cisco Nexus 1000V commands that begin with the letter X.
To set the number of allowed XML server sessions, use the xml server max-session command.
xml server max-session sessions
sessions |
Number of XML sessions permitted at one time. The range is from 1 to 8. |
The default maximum number of sessions is eight.
Global configuration (config).
network-admin
This example shows how to set the number of allowed XML server sessions to 6:
n1000v# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# xml server max-session 6
n1000v(config)#
To terminate the specified XML server session, use the xml server terminate session command.
xml server terminate session session-number
session-number |
Identifier for an existing XML server session. The range is 0 to 214748364. |
None
Any
network-admin
This example shows how to terminate the XML server session 8665:
n1000v# xml server terminate 8665
n1000v#
To set the number of seconds after which an inactive XML server session is terminated, use the xml server timeout command.
xml server timeout seconds
seconds |
Time that the XML server can remain inactive before session termination. The range is 0 to 1200 seconds. |
None
Global configuration (config)
network-admin
This example shows how to set the XML server timeout to 600 seconds:
n1000v# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# xml server timeout 600
n1000v(config)#