Shiva Logo

Configuration File Parameters

Shiva devices maintain a configuration file that specifies the configuration of the device. The configuration file resides in non-volatile memory on the device and consists of several sections. Each section specifies the configuration of one feature or function. For example, there are sections for Security configuration, Wide Area Network (WAN) interface configuration, and Ethernet Local Area Network (LAN) configuration.

You can use the following management tools to edit the configuration file:

  • The Shiva Net Manger Additional Configuration page

  • The Shiva Net Manger for UNIX Extra Configuration window

  • The Shiva Configurator Text/View window

  • The Command Shell's BootP and TFTP functionality

For more information, see the following topics:

Section Name

Section Format

Important Notes

Section Name

The first line in a section specifies the section name. The remaining lines specify the parameters within that section and the parameter values. The section name must be enclosed in square brackets ([ ]), and is not case-sensitive. Some sample section names follow:

[Accounting]

[Security]

[System]

Some features have several configuration file sections, one for each instance of the feature. For example, there are several WAN interface sections, one for each WAN interface. In such cases, the section name includes a variable, uniquely identifying the feature and the section. For example, a WAN interface section has the following form:

[WANInterfaceN]

N is a variable that specifies the number of the WAN interface.

The section that configures WAN interface number 1 has the following section name:

[WANInterface1]

You can specify default parameters and values for features that have several configuration file sections. The Shiva device uses the default parameter and value only if it is not specified in a specific section.

To specify default parameters and values, include them in a section that has the wildcard character (*) in place of the variable. For example:

[WANInterface*]

Section Format

The first line in the section specifies the section name. The remaining lines specify the configuration parameters and values in that section. Each line specifies one parameter and a corresponding value. A sample Accounting section with four parameters follows:

[Accounting]
RADIUSAccounting=0
LogAccounting=0
RADIUSAcctServerRetryCount=3
RADIUSAcctServerRetryInterval=10

Parameters may be in any order.

To specify a comment, place a semicolon (;) before the comment:

;This is a comment

Important Notes

  • When the Shiva device compiles the configuration file, it removes all spaces, except for the spaces in user names. For example:

    card = PRI_ISA48 (before compiling)

    card=PRI_ISA48 (after compiling)

    If you do not want the Shiva device to remove spaces, enclose the parameter, value, or name in quotation marks ("). For example:

    ModemName="<No Modem Selected>"

  • If you need more than one line to specify a value, place a line continuation character (|) at the end of each line that you want to continue. For example:

    PhoneNumber=1234567890, 1234567899-8027,|
    1234568907

    The line continuation character (|) is automatically removed when the configuration file is compiled.

  • In values and names, place the escape character before the backslash (\), quotation mark ("), and vertical bar (|) characters. The escape character is the backslash character (\). For example, to specify "Finance\Accounting":

    PhoneGroupName="\"Finance\\Accounting\""

    Alternatively, you can use the escape character and ASCII octal codes to specify characters. For example, to specify 5, which corresponds to ASCII octal code 65:

    \065

Related Information

Network Management

Shiva Network Management Tools: Overview

Command Shell

[ Top of Page... ]

[ Back to Shiva Configurator Directory ]