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 20 of 25

Using the Cisco Aironet 340 Series Wireless Bridges: Performing Diagnostics

Pages 169 to 182 of 218, from Using the Cisco Aironet 340 Series Wireless Bridges

The original document is the PDF (1.8 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 Cisco 340 Bridge

Page 169

Chapter 13 - Performing Diagnostics

13 CHAPTER 13

Performing Diagnostics This chapter describes how to use the Diagnostics Menu to maintain the Aironet 340 Series Bridge. Here’s what you’ll find in this chapter:

n

Using the Diagnostics Menu n

Starting a Telnet Session n

Changing the Escape Sequence n

Running a Linktest n

Restarting the Unit n

Preparing the Unit for Shutdown n

Returning the Unit to the Default Configuration n

Physically Locating a Unit n

Sending a Ping Packet n

Loading New Code Versions

Page 170

13 - 2

Aironet 340 Series Bridge

Using the Diagnostics Menu Diagnostics are performed using the Diagnostics Menu. To access this menu, select Diagnostics from the Main Menu. Diagnostics Menu Option 1 - Network

Value

Description

[ menu

]

- Network connection commands

2 - Linktest [ menu

]

- Run a link test

3 - Restart

- Equivalent to power-up

4 - Defaults

- Return to default configuration

5 - Reset 6 - Load

- Default parts of the configuration [ menu

]

- Load new version of firmware

Enter an option number or name, “=” main menu, <ESC> previous menu >_

Testing the Radio Link (Linktest) Use the linktest option to test the quality of the radio transmission between the Aironet 340 Series Bridge and other nodes on the radio network. See “Running a Linktest” in Chapter 4.

Restarting the Unit (Restart) Use the restart option to reboot the Aironet 340 Series Bridge. All associations will be lost and the unit will react as though it had just been powered on.

Returning the Unit to the Default Configuration (Default, Reset) Use the default option to return the Aironet 340 Series Bridge configuration to its default factory settings. The unit will erase the currently saved configuration and execute a restart command. The Reset command can be used to only return parts of the configuration to the default state. If the argument entered is ident_save then all but those parts of the configuration identifying the unit (i.e., the IP address) will be defaulted. If the value is radio_default, then only the radio configuration is defaulted. If the value is filter_default, then only the filters

Page 171

Performing Diagnostics 13 - 3 are defaults. You may determine into which configuration group each setting resides with the use of the configuration dump described in Chapter 3

Using the Network Menu Network connection commands are performed using the Network Menu. To access this menu, select Diagnostics from the Main Menu the select Network. Diagnostics Network Menu Option

Value

1 - Connect 2 - Escape

Description - Start telnet session

[ “^X^Y^Z” ]

- Connection escape sequence

3 - Find

- Flash LEDs to find unit

4 - Ping

- Send an IP PING packet

Enter an option number or name, “=” main menu, <ESC> previous menu >_

Starting a Telnet Session (Connect) The connect option is used to start a telnet session with a remote unit on the infrastructure to gain access to its Console Menu. The connect option can also be used to access any remote node (PC or Server) that supports telnet access. The connection may be initiated using the remote node’s IP address. The connection is completely routable and the destination may be anywhere in the internet. If the connection is to be made to another Aironet unit which has not been assigned an IP address, start the connection using the MAC level infrastructure address of the unit. This connection uses a proprietary protocol which is not routable. The destination must lie on the local LAN. This is useful when assigning IP addresses to a large number of bridges.

Page 172

13 - 4

Aironet 340 Series Bridge

When starting a telnet session with the connect option:

n

Make sure the telnet option on the remote is enabled before connecting to a remote bridge or client. See “Telnet Access” in Chapter 2.

n

A message is printed on the remote’s Console stating where the connections originated from. The Console is then disabled for the duration of the telnet session to prevent conflicting commands.

n

The remote’s Console privilege is set to the highest level that does not have a password.

While the unit is attempting to connect to the remote node, the connection can be terminated by typing “CTRL-C”. This may be required if the incorrect address was entered. After connecting, you can close a telnet session and return to the local console by:

n

Typing the escape sequence of characters as defined by the escape option in the Diagnostics Menu. See “Changing the Escape Sequence”.

n

If the remote node is an Aironet node, choose the close option which is accessible on the Console Port Main Menu during a telnet session only.

n

Using the remote node’s logout command.

Changing the Escape Sequence (Escape) Use the escape option to change the sequence of characters that are assigned to close a telnet session to a remote destination. Typically, you would change the sequence if the current sequence has meaning to the remote system. The sequence may be up to 10 characters in length. To enter nonprintable characters in the sequence you may:

n

Use the two-character combination of caret (^) and the alphabetic character corresponding to the control character. For example, to enter “control Z”, use the string “^Z”.

n

Use a backslash “\” followed by three octal numbers n

Use a dollar sign “$” followed by two hexadecimal numbers

Page 173

Performing Diagnostics 13 - 5

Physically Locating a Unit (Find) Use the find option to blink the amber indicators of the bridge on and off. Find a unit you can telnet to if you are not sure of it’s exact location. Type “CTRL-C” to stop the command.

Sending a Ping Packet (Ping) Use the ping option to test infrastructure connectivity from the bridge to other IP nodes. The ping option sends an ICMP echo_request packet to a user-specified remote node. If the remote node receives the packet it will also respond with an ICMP echo_response packet. The Aironet 340 Series Bridge will send the echo_response packet and wait 3 seconds for a response. If none is received, another echo packet is sent. This is repeated up to five times. If a response is received and a message is displayed, the command disappears from the screen. Type “CTRL-C” to stop the command.

Loading New Firmware and Configurations (Load) The Aironet 340 Series Bridge code and configuration are stored in a flash memory chip inside the unit. Use the load option to load new code versions of the Aironet 340 Series Bridge’s firmware or configurations and save them to flash memory. To load new versions of the firmware, the code must be loaded into main memory first, then programmed into the flash memory. The unit will reboot using the new firmware. The flash memory will retain the new version even if the power is disconnected. If the file downloaded begins with the string “! CONFIGURATION” then the file is considered to be a text file with lines of commands that are executed as though the were typed at the console. The new firmware or configuration can be downloaded into the unit using:

n

FTP: Load the new file into a single unit using either the Xmodem or FTP protocols. Then use the FTP protocol to upload (send) the file from the local unit to other remote units on the infrastructure.

n

Distribute: Load the new file into a single unit using either the

Page 174

13 - 6

Aironet 340 Series Bridge

Xmodem or FTP protocols. Then use the distribute option to simultaneously load all of the other units on the infrastructure, whether they are connected wirelessly or via the wired infrastructure.

n

Bootp: Load the new firmware and configuration revisions into the units each time they power up.

When you select the load option, the Diagnostics Load Menu appears: Diagnostics Load Menu

BR105E_22ef0a

Option

Value

1 - Xmodem

Description - Xmodem load from serial port

2 - Crc-xmodem

- Xmodem-CRC load from serial port

3 - Ftp

[ menu

] - Load using FTP

4 - Distribute

[ menu

] - Distribute the firmware

5 - Bootp/DHCP

[

] - Use BOOTP/DHCP on startup

6 - Class

[BRE105E] - DHCP class id on

Enter an option number or name, "=" main menu, <ESC> previous menu >

Downloading Using Xmodem Protocol (Xmodem/Crc-xmodem) Use the Xmodem or CRC-xmodem options to load the new firmware version through the Console Port. Depending on the communications software programs available, choose:

n

Xmodem: Terminates packets with a “checksum” n

CRC-xmodem: Terminates packets with a Cyclic Redundancy Check (CRC).

Í To load firmware using Xmodem or CRC-xmodem: 1. Connect a terminal to the Console Port using a communications software program (Procomm TM or Windows TM Terminal). 2. Select either the Xmodem option or CRC-xmodem option, depending on your communications software. The following message appears: Ready for XMODEM download. Use several ^X’s to cancel

3. Set the communication program to initiate the file transfer to the unit.

Page 175

Performing Diagnostics 13 - 7

4. The unit begins the file download. A message similar to the following appears: XMODEM: received 160450 bytes in 00:03:36; 800 bytes/ s transfer rate

After the loaded code for the new firmware is validated, the flash memory is programmed and the unit will restart with the new code. The firmware consists of the boot block and the application code. During the firmware download, the application code is replaced, but the boot block is not. When the unit powers up, the boot block checks the integrity of the application code. If it is valid, the boot block will execute the new firmware. If it is invalid, the boot block will display an error message on the Console and the firmware will need to be reloaded. The only time you should receive an invalid application code is when the flash memory device fails or the power is interrupted while the flash memory is in the process of being programmed.

Downloading or Uploading using the File Transfer Protocol (Ftp) Use the FTP option to download or upload firmware. The Aironet 340 Series Bridge can be an FTP client or FTP server. To upload or download firmware you can initiate a connection from:

n

The Aironet 340 Series Bridge console to a remote PC or host and retrieve a new version of the firmware.

n

The Aironet 340 Series Bridge console to a remote PC or host and send a copy of the running firmware.

n

One Aironet 340 Series Bridge console to another allowing units to send or receive firmware running locally.

n

A PC or host system to an Aironet 340 Series Bridge and send a new firmware version.

NOTE: Before you download or upload new code versions, make sure you have set the IP address on all units involved.

Page 176

13 - 8

Aironet 340 Series Bridge

When you select the FTP option, the Diagnostics Load FTP Menu appears: Diagnostics Load Ftp Menu Option

Value

Description

1 - Get

- Load a firmware/config file

2 - Put

- Send a firmware file

3 - Config

- Send a configuration file

4 - Dest

[ 000.000.000.000 ]

- Host IP address

5 - Username

[

""

]

- Host username

[

""

]

6 - Password 7 - Filename

- Host password - Host filename

Enter an option number or name, "=" main menu, <ESC> previous menu >

Downloading a New Firmware/Configuration File (Get) Use the get option to download (retrieve) firmware or a configuration file. Once the file has been loaded, the unit will check the first characters of the file. If “! CONFIGURATION” is present, the file contains menu configuration commands. Otherwise the file is considered to be firmware and will be loaded in the flash memory and then executed.

Í To Download Firmware using FTP: 1. Load the file onto the PC, host, or bridge you will retrieve from. 2. Select the dest option and type in the IP address of the host PC or Aironet 340 Series Bridge. 3. Select the username option and type in the username required to access the firmware file. If downloading from another Aironet 340 Series Bridge, the username option must have a value even though the value is not used by the remote Aironet 340 Series Bridge. 4. Select the password option and type the password associated with the username. If downloading from another Aironet 340 Series Bridge, the login password value must match the console write privilege password on the remote Aironet 340 Series Bridge.

Page 177

Performing Diagnostics 13 - 9

5. Select the filename option and type the name of the firmware file you are retrieving (including drive and directory), then press ENTER. If downloading from another Aironet 340 Series Bridge, the filename option must have a value even though the value is not used by the remote Aironet 340 Series Bridge. 6. Select the get option. The unit will begin an FTP session to the host PC, retrieve the file, program the flash memory, and reboot. A message will appear: 220 sun_host FTP server (SunOS 4.1) ready. 230 User sysop logged in. 200 Type set to I. 200 PORT command successful. 150 Binary data connection for apv33.img (163056 bytes). 226 Binary Transfer complete. 221 Goodbye. FTP: received 161056 bytes in 00:00:10; 15 Kbytes/s transfer rate rebooting unit.

Uploading a New Firmware Version (Put) Use the put option to upload (send) a copy of the currently running firmware to another system. If the system is a:

n

PC or host: A copy of the firmware will be stored on the system’s disk, possibly for downloading to other units later.

n

Aironet 340 Series Bridge: The remote Aironet 340 Series Bridge will flash the new code and begin running it immediately. You can use one Aironet 340 Series Bridge to upgrade another Aironet 340 Series Bridge.

Í To Upload Firmware using FTP: 1. Select the dest option and type the IP address of the remote PC, host or Aironet 340 Series Bridge you are sending to. Press ENTER. 2. Select the username option and type the username for the remote PC, host, or Aironet 340 Series Bridge you are sending to. Press ENTER. If uploading to another Aironet 340 Series Bridge, the username option must have a value even though the value is not used by the

Page 178

13 - 10

Aironet 340 Series Bridge remote Aironet 340 Series Bridge. 3. Select the password option and type the access password for the remote PC, host, or the console. Press ENTER. 4. Select the filename option type the name of the firmware file you are sending to the PC, host, or Aironet 340 Series Bridge (including drive and directory). Press ENTER. If uploading to another Aironet 340 Series Bridge, the filename option must have a value even though the value is not used by the remote Aironet 340 Series Bridge. 5. Select the put option. The unit will begin an FTP session to the remote host PC or Aironet 340 Series Bridge.

Uploading the Unit’s configuration (Config) You may use this option to save the configuration on a remote host or PC in a format suitable for later downloading using FTP or BOOTP. You are first prompted for the name of the file to be created on the remote system. Once the filename is entered the transfer will begin.

Downloading Using the Internet Boot Protocol (Bootp/DHCP) The Bootp/DHCP option is enabled by default when the Aironet 340 Series Bridge is powered on. The process for downloading firmware files using the Bootp/DHCP parameter is: 1. On power up, the Aironet 340 Series Bridge will issue boot protocol requests to see if there are any Bootp or DHCP servers on the infrastructure that have been configured with the unit infrastructure address. 2. If no response is found, the request is repeated up to 30 times with a 4 second wait after the first request. It then doubles the time between requests for each additional retry. If there is still no response, the unit gives up. 3. If multiple responses are received, the unit will pick a DHCP server over a Bootp server.

Page 179

Performing Diagnostics 13 - 11

4. If a response is received, the IP address assigned to this unit by the server is compared to the configured value. If they are different, the configured value is changed. 5. The downloaded file is examined. If the file is not empty, it is assumed to be a configuration file in the format produced by the “configuration dump” menu command. A Trivial File Transfer Protocol (TFTP) dialogue is used to retrieve the file from the server. 6. The contents of the configuration file is processed as though the commands have been entered by the operator at the console. The commands in the file will modify the currently running configuration.

NOTE: The current configuration is not set back to the defaults before the file is processed. Therefore, the file contents do not have to be a complete configuration but may contain just the items you wish to change.

7. Once the configuration has been processed, the name stored in the “diagnostics load ftp filename” parameter is assumed to be the name of the firmware file to download. If the parameter is not empty, the unit will use the TFTP protocol to load the file into RAM.

n

If the firmware is different from the currently running version, the unit will program the flash memory with the new code and restart to execute it.

n

If the new firmware is the same, the unit discards the loaded file and continues normal operation

Use the class option to enter a class ID for a client node. The entered string is placed in the DHCP discover messages sent to the DHCP servers. The server will determine how to respond based on the class ID.

Page 180

13 - 12

Aironet 340 Series Bridge

Distributing Firmware or Configuration (Distribute) Diagnostics Load Distribution Menu Option

Value

1 - Go

Description - Start the distribution

2 - Type

[firmware]

- What to distribute

3 - Control

[ “newer”]

- How to control distributions

4 - Add

- Change distributable configuration

5 - Remove

- Remove change

6 - Show

- Show changes

7 - Dump

- Show Configuration

Use the distribute option to send the firmware or configuration from one Aironet 340 Series Bridge to all other Aironet 340 Series Bridges on the infrastructure (whether they are repeaters or are connected to the wired infrastructure). By using the distribute function the time needed to perform firmware upgrades or make global changes to the configuration is greatly decreased. Once a new version of the firmware has been loaded into a single Aironet 340 Series Bridge, (using Xmodem, CRC-Modem, Ftp or Bootp) or the configuration has changed, use the distribute option to upgrade all other units.

Controlling Which Units the Distribute Affects The control option controls how the remote units respond to your request to send them a configuration or firmware. Values may be set to:

n

None: The unit will never respond and cannot be loaded by another unit using the distribute command.

n

Any: The unit will always respond. It is up to the distributing unit to determine whether to load the local unit.

n

Newer: The unit will only respond if the version of firmware being distributed has a larger version number than the code currently running. This selection only applies to firmware downloads. For configuration downloads this is equivalent to “any”.

n

None of the Above: It is interpreted as a password that must have been entered by the operator of the unit doing the distribution. The local unit will not respond to any distributions that do not supply this password.

Page 181

Performing Diagnostics 13 - 13

If the distribution is password protected, only those units that have the same password configured into the control parameter will accept the distribution. In this way you may protect your units from unwanted loads. The password may also be used to divide the units into code load groups so the loads to one group will not affect the other groups. If the distribution is done without a password, the load will be ignored by remote units with a configured password. If the remote unit does not have a password and firmware is being distributed, it will still accept the load based on the version number and code checksum.

Controlling Which Parts of the Configuration are Distributed By default certain parts of the configuration have been set to being part of the distributable configuration. The distribution always contains all configuration items marked this way. Each configuration item in the bridge has been assigned a unique id number that will never change over the life of the product. It is these numbers along with the arguments to the configuration commands that are distributed so that menu changes do not affect the configuration. Use the Dump command to display the status of the entire configuration. Each line will start with the id number for the item and its arguments. Then in a comment field the string “local” will appear if the item in not distributable and “sent” if it is. Following this will be the current full text for the configuration item. To change which items are distributable use the add/remove/show commands. The Add command asks for a configuration id and whether it is to be sent or is local only. The Remove command asks for an id or “all” and returns the item to its default state. The Show command displays the table of changes.

Starting The Distribution To start the distribution use the Go option The following message will appear: Finding the other units ...

When the command is executed, the local unit will send a special

Page 182

13 - 14

Aironet 340 Series Bridge broadcast message similar to the one below to all other units on the infrastructure. It reports that it has a new firmware file with its assigned version number. BR105E 004096001d45 has code version 3.2a (checksum 1598)

The remote units then decide whether to respond based on the value of their rcv_distribute parameter. When the local unit receives a response to its request, the remote unit is added to a list of units to be loaded. When the response timeout period has expired (approximately 10 seconds), the local unit will begin loading all remote units in parallel using a proprietary protocol. A message similar to the one below will be displayed. Loading 004096001d45 Loading 004096001d45

If any remote units timeout during the load, they are removed from the list. Once all units have completed loading, the local unit displays a count of the successful loads. A message similar to the following will be displayed. Completed loading 004096001d45 Completed loading 00409610345f Loading of 2 Aironet 340 Series Bridges completed