Reference Guide
FTOS XML Feature | 1071
Run an FTOS XML session
Use the following procedure to start, run, and close an FTOS XML session:
The output examples below illustrate the full sequence of invoking an XML session, entering a command,
receiving a success response, and leaving the session with the terminal no xml command in XML:
Example of Entering FTOS XML mode from the CLI
FTOS# terminal xml
FTOS(xml)#
Enter XML request with CTRL-Y or empty line
Clear XML request with CTRL-C
Exit XML mode with CTRL-Z:
Example of a Successful XML Session
FTOS# terminal xml
FTOS# terminal xml
FTOS(xml)#
Enter XML request with CTRL-Y or empty line
Clear XML request with CTRL-C
Exit XML mode with CTRL-Z:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
<command>ip access standard test1</command>
</configuration>
</cli>
</request>
<?xml version="1.0" encoding="UTF-8"?>
<response MajorVersion="1" MinorVersion="0">
Step Command Syntax Command Mode Purpose
1 terminal xml EXEC Privilege Invoke XML interface in Telnet and SSH client
sessions.
2
[Construct input to the CLI by
following the XML request schema,
as described in The Form of XML
Requests and Responses.]
FTOS XML Cut and paste your XML request from a text editor
or other type of XML presentation tool, or type your
XML request line by line.
3
Press Ctrl-Y (or press Enter twice,
creating an empty line).
FTOS XML Execute the request.
Alternatively, to cancel the request (only possible
before sending) and get a fresh XML prompt, press
Ctrl-C.
4
Press Ctrl-Z (or enter terminal no
xml
as the <command> string in the
XML request <action> schema).
FTOS XML Exit from FTOS XML mode.










