background image

 

4: Configuration Using XML 

EDS Device Servers Command Reference 

 

47

 

Figure 4-4. XML Example with Multiple Items 

<?xml version=”1.0” standalone=”yes”?> 
<configgroup name = "email" instance = "1"> 
       <configitem name = "to"> 
           <value>john.doe@somewhere.com</value> 
       </configitem> 
       <configitem name = "from"> 
           <value>evolution@xportar.com</value> 
       </configitem> 
   </configgroup> 

Figure 4-5. XML Example with Multiple Groups  

<?xml version=”1.0” standalone=”yes”?> 
<configgroup name = "ftp server"> 
       <configitem name = "state"> 
           <value>enable</value> 
       </configitem> 
       <configitem name = "admin username"> 
           <value>admin</value> 
       </configitem> 
       <configitem name = "admin password"> 
           <value><!-- configured and ignored --></value> 
       </configitem> 
   </configgroup> 
   <configgroup name = "tftp server"> 
       <configitem name = "state"> 
           <value>enable</value> 
       </configitem> 
       <configitem name = "allow file creation"> 
           <value>disable</value> 
       </configitem> 
   </configgroup> 

Importing and Exporting an XML Configuration File 

An XML configuration file can be imported or exported using the following methods: 

‹

 

Filesystem 

 see 

File System Browser Page 

in the User Guide. 

‹

 

CLI 

 an XML configuration file can be imported or exported during a Telnet, SSH, 

or serial line session. This can be done on any level, including the root, by pasting (or 
“capturing”) the XML file into a CLI session. Special tags allow for providing root and 
enable level passwords (see 

Including Passwords in the XML File

 on page 

49

). 

‹

 

Web browser 

 using the Web Manager interface. See 

XML Status Record: Export 

System Status Page 

in the User Guide. 

‹

 

FTP 

 to export a file, execute a get on the file eds4100.xml. To import a file, 

execute a put on the file eds4100.xml. When you execute a get or put with this XML 
file, the file is intercepted by the EDS and acted upon, without being placed on the 
filesystem. See 

FTP

 

Page 

in the User Guide. 

Note: 

The Trivial File Transfer Protocol (TFTP) is not supported for importing or 

exporting XML configuration files because it does not provide any security 
features.

 

Summary of Contents for EDS4100

Page 1: ...Part Number 900 455 Revision B January 2007 EDS Device Servers Command Reference EDS4100 EDS8PR EDS16PR EDS32PR...

Page 2: ...ration UNIX is a registered trademark of The Open Group Windows 95 Windows 98 Windows 2000 and Windows NT are trademarks of Microsoft Corp Netscape is a trademark of Netscape Communications Corporatio...

Page 3: ...___________________________ 28 Line Menu ________________________________________________________ 31 SSH Menu ________________________________________________________ 33 SSL Menu _____________________...

Page 4: ...industry standard tools for configuration communication and control For example the Evolution OS uses a Cisco like command line interface CLI whose syntax is very similar to that used by data center e...

Page 5: ...is the IP address telnet x x x x A prompt displays Note Depending on the level of security you have configured the User Name and Password may be required If you named the unit the name displays as the...

Page 6: ...ble enable tunnel 1 To exit and return to the menu one level higher Type exit The following key combinations are allowed when configuring the EDS from the CLI Ctrl a place cursor at the beginning of l...

Page 7: ...ist of current commands displays To return to the next level up in the menu hierarchy At the command prompt type exit The prompt for the parent menu displays To view the available commands and their e...

Page 8: ...describe the CLI commands The commands are organized as follows Root menu page 9 Enable menu page 10 Chem menu page 14 Configure menu page 16 Interface 1 Level Menu page 24 Device menu page 26 Filesys...

Page 9: ...of times count with a 5 second timeout host host destination ping host count timeout Pings the string destination a specified number of times with a specified timeout host host destination count numb...

Page 10: ...ear query port counters Sets the Query Port counters to zero clear ssh session Closes an active SSH session on the EDS session session number displayed by the show sessions command clear telnet sessio...

Page 11: ...rs to the last aggregate value nslookup Looks up host information for the given host name nslookup host Displays host information for a specified host name host IP address of the host whose informatio...

Page 12: ...ter to a specified destination host IP address of the host you want to trace route tunnel line Displays the Tunnel menu for configuring tunneling the line number entered line line number write Stores...

Page 13: ...he console xsr dump group list Displays a specified XML Status Record to the console group list name of the group list whose XML Status Record you want to view xsr export file Saves the current EDS s...

Page 14: ...ich will be the message body of an email alert file the name of a local file from email address Sets the From address for email alerts email address email address to list in the From field of the emai...

Page 15: ...il alerts to 5 replyto email address Sets Reply To address for email alerts email address email address to list in the Reply To field of the email alert send Sends an email using the current settings...

Page 16: ...he FTP counters to zero clear host host Removes a specified entry from the DNS cache host IP address of the host with the DNS cache clear http counters Sets the HTTP counters to zero clear icmp counte...

Page 17: ...offset minute offset Sets the displayed time zone time zone abbreviation of time zone where EDS is located hour offset number of hours off the time is from that of the time zone Prefix with minus sig...

Page 18: ...on directive to none uri URI of the server ip http auth type uri ssl Sets the authentication type for an HTTP server authentication directive to SSL uri URI of the server ip http auth type uri ssl bas...

Page 19: ...s Sets the primary DNS server ip address IP address of the primary server ip name server ip address1 ip address2 Sets the primary and secondary DNS servers ip address1 IP address of the primary server...

Page 20: ...counters Restores the TFTP counters to the last aggregate value no clear udp counters Restores the UDP counters to the last aggregate value no clock timezone Disables the timezone no hostname Clears...

Page 21: ...ble Disables the RSS feed no rss persistent Disables RSS feed data persistence no snmp server community ro Removes the SNMP read only server community string no snmp server community rw Removes the SN...

Page 22: ...ne command rss enable Enables RSS Feed rss entries number Sets the maximum number of RSS Feed entries rss persistent Enables RSS Feed data persistence show arp Shows the arp table show clock Displays...

Page 23: ...e community that is to be set snmp server contact string Sets the SNMP system contact information string system contact information snmp server description string Enter a description for SNMP server s...

Page 24: ...eout value bootp Enables BOOTP clear host string Removes an entry from DNS cache string entry to be removed clrscrn Clears the screen dhcp Enables DHCP dhcp renew Forces DHCP to renew duplex auto Sets...

Page 25: ...s a specified filter from the IP filter table ip address IP address netmask netmask in dotted notation show Displays the interface settings no ip default gateway Removes the default gateway no ip dhcp...

Page 26: ...Exits the Device menu and returns to the Enable menu long name name Renames the EDS s long name as displayed in Command mode and the Web Manager name new long name to be assigned to the EDS no cpu spe...

Page 27: ...ormation about the IXP NPE Message Handler layer show ixp mii Shows information about the IXP MII layer show ixp qmgr port Shows information about the IXP QMgr layer show tlog Shows the internal troub...

Page 28: ...ion file name for the copied file dump file Dumps the contents of the specified file file name of the file whose contents are to be dumped exit Exits the Filesystem menu and returns to the Enable menu...

Page 29: ...the TFTP server is listening when not using the default tftp get binary source file destination file host Obtains a binary file using TFTP source file name of the file to be stored locally destination...

Page 30: ...ry source file destination file host Sends a binary file using TFTP source file name of the file to be to a remote location destination file name of the file when it is moved host name of the host whe...

Page 31: ...tring using ASCII characters command mode serial string binary string Sets the Command mode serial string using binary values command mode signon message string Sets the boot up sign on message using...

Page 32: ...ign on message displayed during Command mode no enable rs485 Uses the default RS 232 interface for the serial port no flowcontrol Configures the EDS for no flow control no name Removes the name of the...

Page 33: ...ent memory xoff character definition Sets the XOFF character character definition new XOFF character xon character definition Sets the XON character character definition new XON character SSH Menu The...

Page 34: ...mand to be set public RSA key private DSA key client user user generate dsa 1024 Generates DSA public and private keys user username client user user generate dsa 512 Generates DSA public and private...

Page 35: ...o be set password password associated with username host user user password key Sets the host username password and key user username to be set password password associated with username key key to be...

Page 36: ...o be removed show Displays SSH settings show client server server Displays client server RSA and DSA keys server IP address of server whose RSA and DSA keys are to be shown show client user user Displ...

Page 37: ...figuration menus Tunnel Menu Command Description accept aes decryption key string Sets the AES decryption key using ASCII format string AES decryption key to be set accept aes decryption key binary st...

Page 38: ...lear all counters Sets the tunnel counters to zero clear connect counters Sets the connect counters to zero clrscrn Clears the screen connect aes decryption key string Sets the AES decryption key usin...

Page 39: ...connect mode connect protocol tcp aes Uses AES over TCP for connect mode connect protocol udp Uses UDP for connect mode connect protocol udp aes Uses AES over UDP for connect mode connect reconnect ti...

Page 40: ...ction kill connect connection Kills the active connect mode connection line n Displays the Line n menu level where n 1 2 3 4 and so forth up to 32 for the EDS32PR modem connect string string Adds to t...

Page 41: ...y no connect block network Forwards tunnel network data no connect block serial Forwards tunnel serial data no connect flush serial data Do not flush serial data buffer on connection no connect keep a...

Page 42: ...pack data and transmit upon the send character packing mode timeout Enables packing mode to pack data and transmit using a timeout packing send character string Sets the send character string format C...

Page 43: ...d commands show statistics Show connection statistics start character string Sets the start character string format C HEX 0x Decimal stop character string Sets the stop character string format C HEX 0...

Page 44: ...ema is a description of a type of XML document expressed in terms of constraints on the structure and content of documents of that type above and beyond the basic syntax constraints imposed by XML its...

Page 45: ...tribute to identify the specific option such as the serial port number It is always a quoted string Quick Syntax Tour for XCRs Figure 4 1 shows a simple XML example Figure 4 1 Simple XML Group Example...

Page 46: ...ways quoted For example the serial port name might have the instance 1 to indicate serial port 1 or 2 to specify serial port 2 An item is a specific grouping of configuration parameters relevant to it...

Page 47: ...n File An XML configuration file can be imported or exported using the following methods Filesystem see File System Browser Page in the User Guide CLI an XML configuration file can be imported or expo...

Page 48: ...Configurations You can import or export an entire XCR or just a portion of it by specifying the group and or group instances Import and export operations are performed from the local filesystem and re...

Page 49: ...example exports only tunnel port 1 settings and serial line 4 settings to a file named tunnel_config_t1_l4 xcr on the EDS 4100 filesystem xcr export tunnel_config_t1_l4 xcr tunnel 1 line 4 The follow...

Page 50: ...to an XML configuration record manually to ensure the EDS reboots after applying new configuration settings For more information about these XCR groups refer to the appropriate page arp entry see page...

Page 51: ...P table Specify the entry by its IP address system Import and Export Set the password for the system root level of the CLI command mode password enable Import and Export Sets the password for the enab...

Page 52: ...net auto negotiate disable Import and Export enable Import exit cli state disable Import firmware version Export enable Import and Export state disable Import and Export Admin username Import and Expo...

Page 53: ...and Export bootp state disable Import and Export enable Import and Export dhcp state disable Import and Export dhcp client id Import and Export Set the identity of the client device mac address Impor...

Page 54: ...level level passwords passwords enable Import The enable value specifies the enable level password to use if the enable level is password protected The password is not needed if the CLI is already lo...

Page 55: ...next item s test function process method method group Import Process the test set functions as a group of tests then as a group of sets For each XML Item process all test functions before processing...

Page 56: ...port enable Import and Export state disable Import and Export system name Import and Export system contact Import and Export system location Import and Export enable Import and Export state disable Im...

Page 57: ...d Export password Import and Export public rsa key Import and Export authorized users public dsa key Import and Export authorized users delete Import and Export Delete an SSH authorized user ssh serve...

Page 58: ...port enable Import and Export flush serial disable Import and Export enable Import and Export block serial disable Import and Export enable Import and Export block network disable Import and Export tc...

Page 59: ...sh username Import and Export enable Import and Export block serial disable Import and Export enable Import and Export block network disable Import and Export tcp keep alive Import and Export disable...

Page 60: ...Import and Export timeout Import and Export packing mode send character Import and Export timeout Import and Export threshold Import and Export send character Import and Export tunnel packing trailin...

Page 61: ...ck ethernet drive line The CLI command usage is identical to the XCR export dump and list Table 4 2 EDS XSR Groups and Items Group Name Item Name Value Name Valid Values ip address mac address age arp...

Page 62: ...https port max timeout state max entries format entries http logging bytes entries http log totals bytes state messages messages detected errors destination unreachables time exceeded messages parame...

Page 63: ...ackets deferred multiple retries one retry underflows late collisions retry errors transmits carrier lost errors octets unicast non unicast discards errors broadcasts packets multicasts packets filter...

Page 64: ...l port remote port ip socket state protocol rx queue tx queue local address remote address local port remote port ip sockets ip socket state total free used buffer headers max used cluster size total...

Page 65: ...s rts dsr line statistics line levels dtr condition total memory available memory fragments main heap allocated blocks heap condition total memory available memory fragments memory internal buffer all...

Page 66: ...ransmission timeout maximum maximum open active open passive failed resets tcp connections established state local port uptime bytes in totals bytes out local ip address local port remote ip address t...

Page 67: ...address remote port uptime octets from serial octets from network connect dns address changes current connect connections accept dns address invalids local ip address local port remote ip address rem...

Page 68: ...iguration 5 XML configuration 44 Enable menu 10 Exporting system configuration record 47 Filesystem menu 28 Groups XML 46 Import and export XML groups 51 XSR groups 61 Importing system configuration r...

Reviews: