Cisco Systems 78-11424-03 manual Configuring Content API, Creating XML Code

Page 42

Chapter 2 Configuring User Profiles and CSS Parameters

Configuring Content API

Configuring Content API

The CSS Content Application Program Interface (API) feature allows you to use a network management workstation to make Web-based configuration changes to the CSS using Extensible Markup Language (XML) documents. XML is a powerful tool that can be used to automatically configure a CSS using all of the CLI commands included in the CSS software, such as to specify server weight and load, to configure load balancing across a group of servers, or to configure content rules to restrict access to a group of directories or files on the servers.

XML code loads a series of CLI commands into the CSS without the need to respond to the prompts, similar to operating in expert mode. As the CSS administrator, plan which type of changes you want to implement and the consequences of these changes as they are performed.

After you create the XML document, you publish (upload) the XML file to the Hypertext Transfer Protocol (HTTP) server embedded in the CSS using a HTTP PUT method.

Creating XML Code

When developing XML code for Content API to issue CLI commands, adhere to the following guidelines. You can use any text editor for creating the XML code.

1.Include the following line as the first line in the XML file:

<?xml version="1.0" standalone="yes"?>

2.Enclose the CLI commands within the <action></action> tag set. For example:

<action>add service MyServiceName</action> <action>vip address 10.2.3.4</action>

Note A nested script play command (to execute a script line by line from the CLI) is not allowed in an XML file. This restriction is enforced because the actual execution of the XML tag set is performed within a script play command

 

Cisco Content Services Switch Basic Configuration Guide

2-42

78-11424-03

Image 42
Contents Configuring User Profiles and CSS Parameters Configuring User Profiles Configuring User Terminal Parameters # show profileConfiguring Terminal Idle Configuring Terminal LengthConfiguring Terminal More Configuring Terminal Netmask-FormatConfiguring Terminal Timeout Using Expert Mode Changing the CLI Prompt Modifying the History BufferDisplaying the History Buffer Copying the Running Profile to the Default-Profile Copying and Saving User Profiles# show history Copying the Running Profile to a User Profile Copying the Running Profile to an FTP ServerCopying the Running Profile to a Tftp Server Boot Configuration Mode Commands # copy profile tftp 192.168.3.6 \home\bobo\bobo-profileConfig-boot#remove ap0410008 Specifying the Primary Boot ConfigurationConfig-boot#unpack ap0500002.adi Unpacking an ArrowPoint Distribution Image ADIConfiguring the Primary Boot-File Configuring the Primary Boot-TypeConfig-boot#primary config-path f/bootdir Configuring the Primary Config-PathConfig-boot#no primary boot-type Config-boot#no primary config-pathConfig-boot#secondary boot-file ap0410008 Specifying the Secondary Boot ConfigurationSpecifying the Secondary Boot-File Config-boot#secondary boot-file ?Config-boot#secondary boot-type boot-via-disk Specifying the Secondary Boot-TypeSpecifying the Secondary Config-Path Config-boot#no secondary boot-typeConfig-boot#secondary config-path f/bootdir Config-boot#no secondary config-pathConfiguring the Passive SCM IP Address Config-boot#passive ip addressConfiguring the Passive SCM Primary Boot File Configuring the Passive SCM Primary Boot TypeConfiguring the Passive SCM Primary Configuration Path Configuring the Passive SCM Secondary Boot FileConfig-boot#passive secondary boot-type boot-via-disk Configuring the Passive SCM Secondary Boot TypeConfiguring the Passive SCM Secondary Configuration Path Config-boot#no passive secondary boot-typeConfig-boot#no passive secondary config-path Configuring the Passive SCM Subnet MaskConfig-boot#passive secondary config-path c/bootdir Config-boot#passive subnet maskShowing the Boot Configuration Booting the CSS from a Network DriveConfig-boot#show boot-config Configuring Network Boot for a Primary SCM Config-boot#primary boot-type boot-via-network bootrecordConfig-boot#primary config-path e/adidirectory Configuring Network Boot for a Passive SCM Showing Network Boot Configurations Config# show boot-configConfig# host CSS11150-LML Configuring Host NameConfiguring Idle Timeout Config# no host CSS11150-LMLConfig# idle timeout Config# no idle timeoutConfiguring the CSS as a Radius Client Specifying a Primary Radius Server Config# no radius-server primary Specifying a Secondary Radius ServerConfig# no radius-server secondary Configuring the Radius Server TimeoutsConfiguring the Radius Server Retransmits Config# radius-server timeoutShowing Radius Server Configuration Information Configuring the Radius Server Dead-TimeConfig# show radius config primary Config# show radius stats secondaryDescribes the fields in the show radius stat output Controlling Remote Access to the CSS Config# virtual authentication disallowed Config# admin-shutdownConfig# restrict telnet Config# find ip address Finding an IP AddressConfiguring Flow Parameters Configuring Permanent Connections for TCP PortsResetting Fast Ethernet and Gigabit Ethernet Ports Reclaiming Reserved Telnet and FTP Control PortsConfig# flow statistics Config# flow reserve-cleanConfig# no flow reserve-clean Showing Flow StatisticsConfiguring Content API Creating XML CodeActioninterface ethernet-6/action Actionip address 10.10.104.1/16/actionXML Document Example Controlling Access to the CSS Http Server Parsing the XML CodePublishing the XML Code to the CSS Testing the Output of the XML Code Configuring the Command Scheduler Config# no cmd-sched Config# no cmd-sched periodicshowsShowing Configured Command Scheduler Records Config# show cmd-schedWhere to Go Next

78-11424-03 specifications

Cisco Systems 78-11424-03 is a highly regarded networking component designed to enhance and streamline network connectivity in enterprise environments. As part of Cisco's extensive suite of networking products, this component is tailored to meet the growing demands of modern businesses for reliable and efficient data transmission solutions.

One of the standout features of the Cisco 78-11424-03 is its scalability. It is designed to accommodate the ever-evolving needs of organizations, allowing for seamless integration into large and dynamic networks. This is particularly advantageous for businesses that anticipate growth and require robust networking infrastructure that can expand without significant modifications.

Another key characteristic of this product is its enhanced security features. In an age where data breaches and cyber threats are prevalent, Cisco has prioritized security within its product offerings. The 78-11424-03 incorporates advanced security protocols and encryption methods, ensuring that data transmitted across the network remains secure. This is vital for organizations that handle sensitive information and must comply with stringent regulatory standards.

The technology behind the Cisco 78-11424-03 includes support for various networking protocols, enhancing its versatility. For instance, it adheres to both IPv4 and IPv6 standards, ensuring compatibility with legacy systems while also future-proofing the network for emerging technologies. This adaptability is crucial as companies transition to newer internet protocol versions to accommodate the increasing number of connected devices.

Performance is another hallmark of the Cisco 78-11424-03. It offers impressive throughput and low latency, enabling the rapid transfer of data even within congested networks. This high-performance capability is particularly beneficial for applications that demand real-time data processing, such as video conferencing and cloud computing.

Furthermore, Cisco's commitment to energy efficiency is evident in the design of the 78-11424-03. By minimizing power consumption without compromising performance, it supports organizations' sustainability initiatives while reducing operational costs.

In summary, Cisco Systems 78-11424-03 represents a fusion of scalability, security, advanced technology, impressive performance, and energy efficiency. It serves as a cornerstone for modern networking solutions, enabling businesses to thrive in an increasingly connected and digital world. As organizations continue to navigate the complexities of network management, products like the 78-11424-03 will remain integral to their success and operational efficiency.