Table Of Contents
X Commands
xml server max-session
xml server terminate session
xml server timeout
xml server validate
X Commands
This chapter describes the Cisco NX-OS system management commands that begin with the letter X.
xml server max-session
To configure the number of allowed XML server sessions, use the xml server max-session command. To reset the number to the default, use the no form of this command.
xml server max-session max-sessions
no xml server max-session max-sessions
Syntax Description
max-sessions
|
Maximum number of allowed XML server sessions. The range is from 1 to 8. The default is 8.
|
Defaults
The XML server sessions allowed is 8.
Command Modes
Global configuration (config)
Supported User Roles
network-admin
vdc-admin
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to configure the number of allowed XML server sessions:
switch(config)# xml server max-session 4
This example shows how to reset the number of allowed XML server sessions to the default:
switch(config)# no xml server max-session 4
Related Commands
Command
|
Description
|
show xml server status
|
Displays information about the status of the XML server.
|
xml server terminate session
To terminate an XML server session, use the xml server terminate session command.
xml server terminate session session_id
Syntax Description
session_id
|
Session number. The range is from 0 to 2147483647.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to terminate an XML server session:
switch(config)# xml server terminate session 3
Related Commands
Command
|
Description
|
show xml server status
|
Displays information about the status of the XML server.
|
xml server timeout
To configure the XML server session timeout, use the xml server timeout command. To reset the timeout to the default, use the no form of this command.
xml server timeout timeout [session_id]
no xml server timeout timeout [session_id]
Syntax Description
timeout
|
Timeout in seconds. The range is from 0 to 1200. The default is 1200.
|
session_id
|
(Optional) XML server session number. The range is from 0 to 2147483647.
|
Defaults
The timeout is 1200 seconds.
Command Modes
Global configuration (config)
Supported User Roles
network-admin
vdc-admin
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
You can apply the XML server timeout only to active sessions.
This command does not require a license.
Examples
This example shows how to configure the XML server timeout for active sessions:
switch(config)# xml server timeout 800
This example shows how to reset the timeout to the default:
switch(config)# no xml server timeout 800
xml server validate
To validate XML documents, use the xml server validate command. To disable XML document validation, use the no form of this command.
xml server validate {all | session_id}
no xml server validate {all | session_id}
Syntax Description
all
|
Validates all sessions.
|
session_id
|
Session number. The range is from 0 to 2147483647.
|
Defaults
Disabled
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
You can validate XML documents only for active sessions.
This command does not require a license.
Examples
This example shows how to validate XML documents for all active sessions:
switch(config)# xml server validate all
This example shows how to disable validation of XML documents for all sessions:
switch(config)# no xml server validate all