CHAPTER 3 Using Your Hub Software This chapter describes procedures for configuring the Cisco Micro Hub, and contains the following sections: • • • Preparing for Configuration Configuring the Hub Command Summary Preparing for Configuration To configure any Cisco Micro Hubs in a stack, the stack must include at least one Micro Hub 1503.
Preparing for Configuration Connection Using Telnet If the hub is correctly connected to a network, you can access the hub by using Telnet from anywhere on that network and can use the configuration program to communicate with the hub. Before making a Telnet connection to the hub, you must configure the hub with a valid IP address, subnet mask, and default gateway using the configuration program.
Command Conventions Command Conventions This section describes some things you might need to know before using the commands to configure the hub. If you are familiar with these conventions, you can skip this section. • Enter commands by typing the text of the command at the configuration prompt and then pressing the Return key.
Preparing for Configuration • You can abbreviate commands to the fewest letters that make them unique. For example, for the show history command, you can enter: Hub> show his • Certain commands display multiple screens with this prompt between screens: --More-- Press the space bar to see more output from the command or press Return to display the next line. Press any other key to return to the prompt.
Forgot Your Password? The field can contain from 0 to 80 uppercase and lowercase alphanumeric characters. Spaces are not allowed. The first character cannot be a number. Passwords are case sensitive. An example of a valid password is mypassword1. Forgot Your Password? If you forget the password that provides access to administrator-level commands or if you forget the password required for Telnet sessions, you can bypass the password requirement and set a new password.
Configuring the Hub Step 7 The following message appears, confirming that your new passwords have been accepted: Administrator and telnet passwords are modified. Welcome to Cisco hub model 150x Configuring the Hub This section describes basic hub configuration. Before you configure a Micro Hub 1503, have the following information available: • IP address and IP subnet mask that you will assign to the hub if you are accessing the configuration program using Telnet or SNMP.
Hub ID Numbers Here are two rules that determine hub ID numbers in a stack of hubs: 1 The lowest hub ID number in a stack (1) is always assigned to the hub with another hub connected to its OUT port and with no hub connected to its IN port. 2 The highest hub ID number in a stack (any number from 2 to 5) is always assigned to the hub with no hub connected to its OUT port and with another hub connected to its IN port. Figure 3-1 illustrates these rules.
Configuring the Hub Configuring the hub takes place in three major steps: 1 Entering Administrator Mode 2 Configuring IP and SNMP Parameters 3 Configuring the SNMP Management Station All of the commands used in the configuration steps are fully explained in the section “Command Summary” later in this chapter.
Configuring IP and SNMP Parameters Configuring IP and SNMP Parameters The illustration below shows the network that is being configured in this section: Figure 3-2 Server Example Network PC PC PC E0 Router A E1 SNMP network management station S6280 Micro Hub 1503 Note The network addresses used in the steps below are examples only; they will not work for your network. You should substitute them with the IP addresses that apply to your network devices.
Configuring the Hub Step 3 Use the ip trap-manager command to configure the IP address of the SNMP management station: Hub# ip trap-manager 1 172.16.20.2 Basic IP and SNMP configuration is now complete. To return to guest mode, enter exit.
Command Summary Command Summary This section provides a summary of the commands used to configure the Micro Hub 1503.
Command Summary Commands are defined and described in the format shown below: show hub information The name of the command. Syntax: show hub information [hub id] Mode: Guest Description: Displays information about one or more hubs in a stack. Definitions of keywords used in the command syntax. How the command is entered. Keywords in [square brackets] are optional. Keywords in {curly brackets} are required. Enter keywords shown in bold exactly as they appear.
System Help Commands System Help Commands Use the commands in this section to obtain system help when configuring the hub. help Syntax: help Mode: Guest Description: Lists a brief description of the context-sensitive help system. Syntax: ? Mode: Guest Description: Use this command in the following ways: ? • At anytime to list all commands available in the current command mode (guest or administrator).
Command Summary User Interface Commands Use the commands in this section to configure the user interface for the hub software. Command Mode Access Commands Use the commands in this section to change configuration mode for the hub: disable Syntax: disable Mode: Guest Description: Exits administrator mode and returns the user to guest mode. enable Syntax: enable Mode: Guest Description: Use this command to enter administrator mode.
User Interface Commands exit Syntax: exit Mode: Guest Description: Exits any command mode or closes an active terminal session. help Syntax: help Mode: Guest Description: Refer to the previous section “System Help Commands” for more information on the help command. Console Access Commands Use the commands in this section to control console access to the hub configuration.
Command Summary console-lockout Syntax: console-lockout Mode: Administrator Description: Sets the console access to locked after a designated period of no keyboard activity. no console lockout Syntax: no console-lockout Mode: Administrator Description: Disables the console lockout feature. console-lockout time Syntax: console-lockout time Mode: Administrator Description: Configures the amount of time of no keyboard activity before console access is locked.
User Interface Commands Administrator Password Commands Use the commands in this section to configure hub passwords. password Syntax: password Mode: Administrator Description: Configures the password used to enter administrator mode. After entering the command, you will be prompted to enter the current password and then the new password. You will then be prompted to confirm the new password.
Command Summary telnet-session password Syntax: telnet-session password Mode: Administrator Description: Configures the hub with the password that is required to start a Telnet session with the hub. no telnet-session password Syntax: no telnet-session password Mode: Administrator Description: Clears any password that was entered with the telnet-session password command.
User Interface Commands History Commands Use these commands in this section to configure how the hub stores and displays command input history. show history Syntax: show history Mode: Guest Description: Displays the commands that are stored in the history buffer. terminal history Syntax: terminal history Mode: Guest Description: Enables the terminal history feature, which configures the hub to retain commands in working memory.
Command Summary terminal history size Syntax: terminal history size Mode: Guest Description: Sets the number of commands kept in the history buffer. Command Keyword Definition size—Integer value between 1 and 64. Editing Commands Use the commands in this section to configure the hub for terminal editing. Note Command-line editing features are described in the appendix “Terminal Editing Command Reference.
Firmware Load and Restart Commands Firmware Load and Restart Commands Use the commands in this section to configure how the hub loads and copies firmware. Bootup Option Commands Use the commands in this section to configure how the hub gets the firmware and IP address when it is first powered up. bootup-option Syntax: bootup-option {normal | tftp-download | bootp-get-ip | bootp-download} Mode: Administrator Description: Configures how the hub will obtain an IP address when it is first turned on.
Command Summary TFTP Download Commands Use the commands in this section to configure how the hub downloads firmware from a TFTP server. Use a server that has been configured to provide the firmware for your hub. show tftp-download information Syntax: show tftp-download information Mode: Guest Description: Displays download information for TFTP, including the TFTP server address and firmware filename, for example: Hub> show tftp-download info ServerIP: 10.10.10.1 Filename: 1503R01.
Firmware Load and Restart Commands start tftp-download Syntax: start tftp-download Mode: Administrator Description: Starts the firmware download process. In order to use this command, the hub and the TFTP server must be connected to the same Ethernet LAN segment. To test whether or not both devices are connected to the same network segment, send a ping command from the TFTP server to the hub.
Command Summary Restart Command Use this command to reset the hub. restart Syntax: restart Mode: Administrator Description: Performs a firmware reset for the hub using the bootup option selected with the bootup-option command. (See the section “Bootup Option Commands” earlier in this chapter for a description.) The hub, ports, and statistic configurations are saved during a firmware reset.
System Information Commands System Information Commands Use the commands in this section to display general information about the hub and the stack of hubs.
Command Summary system name Syntax: system name Mode: Administrator Description: Configures the hub with a descriptive name. Command Keyword Definition string—String containing 1 to 255 alphanumeric characters, which can be any combination of uppercase and lowercase. Spaces are valid characters, but leading spaces are ignored. If nothing is entered for this option, the default (“hub”) is used.
System Information Commands no system contact Syntax: no system contact Mode: Administrator Description: Resets the hub’s system contact to the default system contact (“system administrator”). system location Syntax: system location Mode: Administrator Description: Configures the hub with the name of the hub location. Command Keyword Definition string—String containing 1 to 255 alphanumeric characters, which can be any combination of uppercase and lowercase.
Command Summary show management information Syntax: show management information Mode: Guest Description: Displays information about the network management hub as follows: Hub> show management information Hub id: 1 H/W version : 1. F/W version: 1.01 Bootup option : normal Physical address: 00-00-12-34-56-78 Command Display Definitions • Hub id—Number used to identify the hub in a stack. An integer between 1 and 5.
Management Configuration Commands Management Configuration Commands Use the commands in this section to configure community strings and trap managers, which are required when using SNMP. IP Parameter Commands Use the commands in this section to configure the Micro Hub 1503 with IP parameters. The hub must be configured with IP parameters to use SNMP, Telnet, and TFTP functions.
Command Summary ip address Syntax: ip address {ip-address} [subnet mask] [gateway ip] Mode: Administrator Description: Configures the IP parameters for the hub. Command Keyword Definitions • ip-address—IP address of the hub. The default value is 0.0.0.0. • subnet-mask—IP subnet mask of the hub. The default value is 255.255.255.0. • gateway-ip—IP address of the gateway used by the hub. The default value is xxx.xxx.xxx.254, where xxx.xxx.
Management Configuration Commands SNMP Communities Commands Use the commands in this section to configure the SNMP community strings. These strings are used by the network management software to access the Micro Hub 1503. show snmp communities Syntax: show snmp communities Mode: Administrator Description: Displays information about all of the configured community strings. Following is example output from this command.
Command Summary snmp community Syntax: snmp community {index} {string} [ro | rw] Mode: Administrator Description: Creates or modifies community strings or associated access rights. All new entries are enabled by default. To disable an entry, use the snmp community disable command. Command Keyword Definitions • index—Index of one of the community table entries. An integer from 1 to 5. • string—Community name. An alphanumeric string that contains from 1 to 20 characters.
Management Configuration Commands snmp community enable Syntax: snmp community enable {index} Mode: Administrator Description: Enables a community string. Command Keyword Definition index—Index of an entry in the community table. An integer between 1 and 5. snmp trap-authentication Syntax: snmp trap-authentication Mode: Administrator Description: Enables trap message authentication. Trap message sent from the hub are authenticated by the SNMP community string.
Command Summary Configuring Trap Managers Use the commands in this section to configure the Micro Hub 1503 trap information. Trap information enables the hub to send information to connected network devices. These messages notify network devices about events on the network.
Management Configuration Commands ip trap-manager Syntax: ip trap-manager {index} {ip-address} [community name] Mode: Administrator Description: Configures trap manager information. Command Keyword Definitions • index—Index of an entry in the trap manager table. An integer from 1 to 5. • ip-address—IP address of the trap receiver, in the following format: xxx.xxx.xxx.xxx • community name—Community string that is required for trap access.
Command Summary Hub Configuration Command Use the commands in this section to display information about hubs in a stack. show hub information Syntax: show hub information [hub id] Mode: Guest Description: Displays information about one or more hubs in a stack. Command Keyword Definition • hub id—(Optional) Number used to identify the hub in a stack. An integer between 1 and 5. Read the section “Hub ID Numbers” earlier in this chapter for information about how to determine hub ID numbers.
Port Configuration Commands Port Configuration Commands Use the commands in this section to display or edit information about any port in the stack. show port information Syntax: show port information [hub id] Mode: Guest Description: Displays information about all the network ports on the selected hub. Command Keyword Definition • hub id—(Optional) Number used to identify the hub in a stack. An integer between 1 and 5.
Command Summary port operation Syntax: port-operation {hub id} {port id} {enable | disable} Mode: Administrator Description: Enables or disables any port on any hub in the stack. Command Keyword Definitions • hub id—Number used to identify the hub in a stack. An integer between 1 and 5. Read the section “Hub ID Numbers” earlier in this chapter for information about how to determine hub ID numbers. • port id—Number of the port on the hub, based on the yellow label on the rear panel of the hub.
Statistics Commands Statistics Commands Use the commands in this section to display statistics for a stack, a specific hub in a stack, or a specific port in a stack since a restart or since the counter was last cleared. show system statistics Syntax: show system statistics Mode: Guest Description: Displays statistics for the entire stack.
Command Summary show hub statistics Syntax: show hub statistics [hub id] Mode: Guest Description: Displays statistics for the specified hub since the last time the clear-counter or restart command was entered. Command Keyword Definition • hub id—(Optional) Number used to identify the hub in a stack. An integer between 1 and 5. Read the section “Hub ID Numbers” earlier in this chapter for information about how to determine hub ID numbers.
Statistics Commands show port statistics Syntax: show port statistics {hub id} {port id} Mode: Guest Description: Displays statistics for the specified port on the specified hub since the last time the clear-counters or restart command was entered. Command Keyword Definitions • hub id—(Optional) Number used to identify the hub in a stack. An integer between 1 and 5. Read the section “Hub ID Numbers” earlier in this chapter for information about how to determine hub ID numbers.
Command Summary • Frames too long—Number of times that the frame length has exceeded the maximum allowable size (1518 bytes). • Short events—Number of short packet fragments. • Runts—Number of fragments that were too long to qualify as short events. • Collisions—Number of times network devices attached to the stack have attempted to transmit data simultaneously. • Late events—Number of frames that experienced a collision late in transmission.
Statistics Commands clear counters Syntax: clear counters {stack | hub [hub id] | port [hub id] [port id] } Mode: Administrator Description: Clears all accrued statistics for the specified stack, hub, or port, or a combination of these. Command Keyword Definitions • stack—Clears statistics for all ports on all hubs in the stack. • hub—Clears statistic for the specified hub. If no hub is specified, statistics are cleared for all hubs in the stack.
Command Summary Chassis Information Commands Use the commands in this section to display chassis information for the Cisco Micro Hub. show chassis information Syntax: show chassis information Mode: Guest Description: Displays general information about the hub’s hardware and software. Information is shown in the following format: Hub> show chassis information Chassis type: c1500(72) Chassis version: 1.0 Chassis ID: ROM system software version:: 1.
Chassis Information Commands show card table Syntax: show card table Mode: Guest Description: Displays information about the hardware and firmware in the hub. Information is shown in the following format: Hub> show card table Card index: 2 Function type of this card: cpu-1503(38) Card serial number: 0 Hardware version : 1.0 Firmware version : 1.
Command Summary show stack information Syntax: show stack information Mode: Guest Description: Displays a description of hubs in a stack. Information is displayed as follows: Hub> show stack information Stack name: Marketing Index IP address --------------------------1 123.34.18.5 2 123.34.18.17 3 123.34.18.32 4 123.34.18.25 Command Display Definitions • Stack name—Name of the stack. • Index—Location of hub in the stack, from top to bottom. • IP address—IP address of the hub.
Chassis Information Commands stack ip address Syntax: stack ip address {ip address} Mode: Administrator Description: Configures a Micro Hub 1503 that is a part of a stack with an IP address. Command Keyword Definition ip address—IP address of the stack. Must be in the format xxx.xxx.xxx.xxx. clear stack table Syntax: clear stack table Mode: Administrator Description: Clears all general stack information from the stack table.
Command Summary 3-48 Cisco Micro Hub User Guide