Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 10 of 81

WS5000 Series Switch System Reference Guide: CH 3 Configuring the WS5000 Series Switch Automatically, pages 71 to 79

Pages 71 to 79 of 728, from WS5000 Series Switch System Reference Guide

The original document is the PDF (12 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol WS-5000

Page 71

Configuring the WS5000 Series Switch Automatically There are two types of auto-install to configure the WS5000 Series Switch automatically: 1. DHCP Auto-install, performed as a part of WS5000 boot process 2. Manual Auto-install, performed by executing a CLI command. This requires a reboot.

3.1 DHCP Auto-install To configure the WS5000 Series Switch automatically, you need: •

An external TFTP server - The switch obtains the IP address of this server through DHCP and stores it in the returned DHCP lease file.

•

A command file – This is an ASCII text file that contains site-specific settings for the WS5000 Series Switch (the filename must end with a .sym suffix). The switch obtains this filename through DHCP and stores it in the returned DHCP lease file.

Page 72

3-2

WS5000 Series Switch System Reference Guide

After you extract the configuration file from the DHCP lease file, it downloads, parses, and configures the WS5000 Series Switch

3.2 Command File The command file option specifies a valid filename for an ASCII text format file that exists on the TFTP server. It contains site-specific settings for the wireless switch. The command file (see Command File Example on page 3-8) directs the switch to perform the following remote configuration functions: •

Load a new wireless switch configuration file

•

Reconfigure the Ethernet IP, DNS, gateway, and DHCP settings on the switch

•

Reconfigure the master and slave Kerberos settings.

•

Manually or automatically update Kerberos user database entries, with automatic propagation to the slave KDC, if present

•

Enable or disable “hot standby” mode on the switch

•

Optionally provide status and error logging of the automatic configuration operations

•

Reconfiguration of the Primary and Standby settings

•

Reconfiguration of Master and Slave Kerberos settings.

Several site-specific settings are available in the command file. The settings available in the command file include: •

Automatic installation command event logging

•

Automatic installation command file TFTP server

•

Automatic installation command file network

3.3 Command File Description The command file is an ASCII text file that contains case sensitive letters, digits, and the underscore ( _ ) character. The command file name uses the .sym extension. The command file contains all options necessary to perform a limited switch configuration or reconfiguration. When the system parses this file, it ignores any option that it does not understand. The switch keeps the current configuration for that specific option unchanged. The following lines are considered equivalent. #<option> <value> <option> #<value> <option> #some comment

All values of the command file are case insensitive except for SNMP community strings, domain names, realms, and filenames. The system converts the hostname value into lowercase even when specified using a combination of lower/upper case. The command file option items do have to be in any sequential order. A template of the command file, called cmd_template.sym, is available and located on the WS5000 Wireless Switch system CD. Copy this file to a local host computer, then edit, save and rename it to serve as a command file (the .sym extension is required for the command file to be recognized by the wireless switch). Save the file to the system used to configure the wireless switch. Use the CLI copy tftp system command (see the copy command on Chapter 8, CLI Command Reference) to copy the command file from the host computer to the switch. The command file example shows the configuration of most options (see Command File Example on page 3-8).

Page 73

Configuring the WS5000 Series Switch Auto-

3-3

Note The command file is not invoked automatically using this method. The correct method is to use the DHCP option to send the file to the switch.

3.3.1 Event Logging The service option is a setting to turn on or off the logging feature, which pushes auto-installation event messages to a log file named CmdProcErrors.txt. This error log file is automatically generated in the same directory as the system image/configuration/command files if logging is turned on. These log messages are generated when events such as firmware/configuration upgrades/downgrades occur, and/or the command file contains errors such as improper syntax, files that are not present on specified TFTP server, etc. Table 3.1 Event Logging (Service) Section Option

Value

Notes

AutoConfig Log

<on|off>

This selection allows the user to enable or disable the use of the logging facility. The default is on.

3.3.2 TFTP Server Settings This section specifies the location of the TFTP server used to download, the names of the system image, configuration and Kerberos files that need to be downloaded. These settings are used when upgrading/ downgrading firmware, changing configuration files or updating the user database of the Wireless Switch’s built-in Kerberos KDC. Table 3.2 TFTP Server (Files to Download) Section Option

<Value>

Notes

TFTP Server <xxx.xxx.xx.xx>

This is the TFTP server from where the configuration file, the image file, and the Kerberos file are downloaded. If the TFTP server is not specified, it is assumed that the user downloaded these files manually via CLI copy command or the auto install will look for them in the Wireless Switch.

ImageRestore <image file(.sys.img)>

If the revision levels are different, then the image file will be downloaded from the TFTP server. After this step has completed successfully, the switch will perform a reset and continue to reboot with the most recent (and valid) system image available. If any error occurred during the file processing, the firmware will not be upgraded and an error message will be logged.

Page 74

3-4

WS5000 Series Switch System Reference Guide

Table 3.2 TFTP Server (Files to Download) Section (Continued) Option

<Value>

Notes

ConfigFile <config_name (.cfg)>

This is the name of a WS5000 Series Switch configuration. This file is downloaded automatically from a specified TFTP server or though the CLI copy command. If the file is not found, or if there were errors during the TFTP download, the installation software will abort the configuration immediately and exit. This is considered a fatal error and any locally specific configurations should not be applied as well since they can be interrelated to the general configuration settings. The IP address of the WS will also remain unchanged. The file name is case sensitive.

KerberosFile <kerberos_name (.krb)>

This is the name of a Kerberos username/password (Kerberos MIT DB file format) file and it is used to configure the primary Kerberos database of the on board KDC server. The database is completely flushed before the new principals are added. If an error occurs during the file downloading or processing, the installation software logs an error message and skips the Kerberos configuration. The installation software tries to find the file in the Wireless Switch. If it is not there, it logs an error message and continues. Once a Kerberos DB .krb file is provided for download and installation, this new file replaces the current database file. There is no automatic attempt to save the previous copy of this file on the master KDC. The file name is case sensitive.

3.3.3 General Network Configuration and Standby Management Configure the network settings in this section such as; enabling/disabling DHCP, setting subnet masks, DNS servers and gateway settings. When the switch’s Standby Management capability is used, configure the settings for enabling/disabling Standby Management, and assigning hostnames and IP addresses to the Ethernet interfaces of the Primary and Standby wireless switches. Utilizing the Standby Management feature requires a pair of switches. Settings for both types (Primary and Standby) are in the command file so that a single file can be used at a site to install both the Primary and Standby switch. When a switch begins Standby configuration, it pings the Primary switch’s IP address, as specified in the command file. If it does not receive a response, it assumes the role of Primary as long as it does not have a zero-port license key. The second switch will subsequently configure itself as the Standby switch.

Page 75

Configuring the WS5000 Series Switch Auto-

3-5

Warning! A WS5000 model switch cannot be configured as a standby for a WS5100 model switch. Table 3.3 General Network Configuration and Standby Management Option

Value

Notes

Eth1DNSServer1 <ip_address> Eth1DNSServer2 <ip_address> Eth2DNSServer1 <ip_address> Eth2DNSServer2 <ip_address>

DNS server configuration for each interface. Users can configure up to two DNS servers per interface. If it is not supplied, the DHCP configuration will be kept.

Eth1SubnetMask <ip_subnet_mask> Eth2SubnetMask <ip_subnet_mask>

Subnet mask for Ethernet port 1. Subnet mask for Ethernet port 2. If an Ethernet ports IP address is specified without an associated subnet mask, an error is logged and the network configuration is not completed.

Eth1Domain Eth2Domain

Domain name for Ethernet port 1. Domain name for Ethernet port 2.

Eth1DHCP Eth2DHCP

Indicates whether DHCP is on/off for Ethernet port 1. Indicates whether DHCP is on/off for Ethernet port 2. If DHCP is on for an interface, all IP settings provided in the command file will be ignored and the interface will be configured as a DHCP client. Note DHCP can only be enabled on a single interface at a time.

Gateway

Default gateway. There should only be one value since the switch currently does not allow gateway settings per interface. If this configuration is not specified, the DHCP settings apply.

HostnamePrimary HostnameStandby

Hostname of Primary switch. Hostname of Standby switch.

Eth1PrimaryIP Eth2PrimaryIP Eth1StandbyIP Eth2StandbyIP

IP address of Primary switch. IP address of Primary switch. IP address of Standby switch. IP address of Standby switch. If these IP addresses are not specified in the command file, the DHCP settings are kept. When an image upgrade is performed, it will not change the existing Ethernet configuration.

StandbyMgt

Indicates whether Standby Management is on/off (enabled/ disabled). If enabled, the installation software queries the database for the number of licenses. If the switch is able to acquire a license, it may become a Primary switch. If no license is available, it can only be considered as a Standby switch.

Page 76

3-6

WS5000 Series Switch System Reference Guide

3.3.4 Kerberos Configuration The Wireless Switch features a built-in kerberos KDC, for authentication services, a site may require settings for configuring kerberos functionality. The settings in the command file for configuring the KDC include primary or slave status, hostname, IP address, realm and domain. When applicable, up to three NTP (Network Time Protocol) servers can be specified. A list of all available Kerberos actions is included in the command file. Table 3.4 Kerberos Configuration Section Option

Value

Notes

NTPServer1

<NTP xxx.xxx.xx.xx>

NTP server IP address (for the on-board KDC server). The primary and standby switches need to be defined with the same NTP service host to insure that the time source is consistent.

NTPServer2

<NTP xxx.xxx.xx.xx>

Second alternate NTP server IP address.

NTPServer3

<NTP xxx.xxx.xx.xx>

Third alternate NTP server IP address or name.

KDCRealm

<KDC realm name>

Kerberos realm name

KDCInterface

<KDC interface name>

The interface on which the KDC is configured (1 or 2).

KDCBackupHostname

<xxx.xxx.xx.xx>

Hostname of the backup slave.

KDCBackupIP

<xxx.xxx.xx.xx>

IP address for the backup slave. If this IP address belongs to any of the ethernet ports and the hostnames match, the switch is configured as a slave KDC.

KDCBackupDomain

<server name>

Kerberos Master Hostname where the KDC resides.

Note All Security Policies which are configured for Kerberos Authentication will automatically be populated with the Master/Slave/Remote server’s IP addresses if present in this file.

3.3.5 SNMP Configuration The SNMP section of the command file contains settings for community attributes and trap actions, used by SNMP-based network management tools to get/set MIB variables to configure the Wireless Switch along with gathering and monitoring device status. Table 3.5 SNMP Configuration Option

Value

Notes

SNMPCommunity[1-4]

<string>

This is the SNMP community for the designated group selection of [1..4]

SNMPCommunity[1-4]IP

<ip_address>

SNMP community IP address.

Page 77

Configuring the WS5000 Series Switch Auto-

3-7

Table 3.5 SNMP Configuration (Continued) Option

Value

Notes

SNMPCommunity[1-4]Perm

<RO | RW permissions>

3.3.6 Syslog Configuration The syslog section of the command file contains settings for adding syslog hosts to which log messages will be sent. It also allows specifying the severity level for the log messages. Table 3.6 Syslog Configuration Option <value >

Notes

SyslogHostname[1-2] <host_name>

Host name of the syslog collector

SyslogIP[1-2] <ip_address>

IP address of the syslog collector

SyslogSev[1-2] <severity numbers from 1 to 8>

Severity level for syslog logging

3.3.7 CLI Commands In this section you can place any CLI command. There is no limit on the number of commands that you can place here. Each CLI command should be placed in the file at the CLI# prompt, as mentioned in the CLI Section of the attached cmd_template.sym file. After execution of a command, enter CLI#cfg ce add testce

The current context now will be WS5000.(Cfg).CE.[testce]>

To execute some other command make sure you go to context of that command. This can be done using the same CLI commands. For example to go to cfg context after executing the above command you need to use the following lines in the .sym file CLI#.. CLI#..

This will take you to WS5000.(Cfg)> context. This way you can execute any number of CLI commands by just placing that command in a separate line at the CLI# command prompt. Before placing any CLI command, ensure that you are at the correct context level that you are executing.This context is determined by the execution of the previous command. The context of the very first command that you execute in the CLI section is System context WS5000>

This is an optional section in the .sym file and can be omitted.

Page 78

3-8

WS5000 Series Switch System Reference Guide

3.3.7.1 Command File Example The following command file example shows the configuration of several options in the WS5000 Series Switch’s command file. You can use the same command file to configure both a primary wireless switch and an associated standby wireless switch. Figure 3.1 Example ############################################################################# # # Copyright (c) 2005, Symbol Technologies, Inc. # All rights reserved. # # cmd_template.sym file # # This is a template file to illustrate the format of auto configuration command files. # The command file must end with the .sym extension and contain options to # perform switch configuration. The format of the file is as follows: # # <option> <value> #comment # # Each line is composed of an option name and its value. All options are # case sensitive. # # When this file is parsed, any option that is not found or has no value is ignored, # which means that the switch will keep the current configuration for this option # unchanged. The following lines are considered equivalent. # # #<option> <value> # <option> #<value> # <option> #some comment # ############################################################################# ############################################################################# # SECTION: Special Options # ############################################################################# AutoConfigLog #on/off: Log errors and events to CmdProcErrors.txt #Default is 'on'. ############################################################################# # SECTION: Files to download # ############################################################################# TFTPServer #tftp server where files are located ImageRestore #image file (.sys.img) ConfigFile #configuration file (.cfg) KerberosFile #kerberos username/passwd (.krb) ############################################################################# # SECTION: General Network Configuration and Standby Management # ############################################################################# # # DNS configuration # Eth1DNSServer1 #dns server Eth1DNSServer2 #dns server Eth2DNSServer1 #dns server Eth2DNSServer2 #dns server # # Switch configuration # Eth1SubnetMask Eth2SubnetMask Eth1Domain Eth2Domain Eth1DHCP

#subnet mask #subnet mask #domain name #domain name #on/off

Page 79

Configuring the WS5000 Series Switch Auto-

Eth2DHCP Gateway

#on/off #default gateway

# # Primary IP configuration # HostnamePrimary #Hostname of primary CC Eth1PrimaryIP #ip address of primary CC Eth2PrimaryIP #ip address of primary CC # # Standby IP configuration # HostnameStandby #Hostname of standby CC Eth1StandbyIP #ip address of standby CC Eth2StandbyIP #ip address of standby CC # # Enable or disable the standby management # StandbyMgt #on/off ############################################################################# # SECTION: Kerberos Configuration # ############################################################################# # # NTP server configuration # NTPServer1 #NTP server 1 NTPServer2 #NTP server 2 NTPServer3 #NTP server 3 # # Kerberos Master and Slave configuration # KDCRealm #kerberos realm KDCInterface #Interface on which KDC is configured (1 or 2) # # Add a remote backup master # (excluding the main Master/Primary & Slave/Standby from above) # KDCBackupHostname #Hostname of the backup slave KDCBackupIP #IP address of backup slave KDCBackupDomain #Domain of the backup slave # # NOTE: All Security Policies which are configured for Kerberos Authentication # will automatically be populated with the Master/Slave/Remote servers IP # addresses if present in this file. # ############################################################################# # SECTION: SNMP Configuration # ############################################################################# # # SNMP community attributes # SNMPCommunity1 #SNMP community name SNMPCommunity1IP #IP address for the community SNMPCommunity1Perm #RO/RW: Access permissions SNMPCommunity2 SNMPCommunity2IP SNMPCommunity2Perm

#SNMP community name #IP address for the community #RO/RW: Access permissions

SNMPCommunity3 SNMPCommunity3IP SNMPCommunity3Perm

#SNMP community name #IP address for the community #RO/RW: Access permissions

SNMPCommunity4 SNMPCommunity4IP

#SNMP community name #IP address for the community

3-9