Command Summary Preparing for Configuration To configure any Cisco Micro Hubs in a stack, the stack must include at least one Micro Hub 1503. You can connect to the Micro Hub 1503 to configure it in one of two ways: •...
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 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.
Press any other key to return to the prompt. Configuration Modes You configure the Micro Hub 1503 (or the attached stack) with the configuration program that is a part of the hub’s firmware. There are two configuration modes: guest mode and administrator mode (also called privileged mode).
<password> characters. Spaces are not allowed. The first character cannot be a number. Passwords are case sensitive. An example of a valid password is 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 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.
Page 7
Here are two rules that determine hub ID numbers in a stack of hubs: 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. 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.
CONSOLE Port” in the chapter “Installing Your Hub” or start a Telnet session with the hub. Turn the hub ON by setting the power switch to the ON ( | ) position. Step 2 After a few seconds, you will see the user prompt. Use the enable command to...
Page 9
Use the snmp community command to configure the SNMP communities and Step 2 their options: Hub# snmp community 1 private rw Example Network Router A Micro Hub 1503 SNMP network management station Configuring IP and SNMP Parameters Using Your Hub Software 3-9...
Page 10
Hub> exit > Configuring the SNMP Management Station Make sure that the SNMP management station receives traps from the Micro Hub 1503 (and any Micro Hubs connected to it in a stack) by configuring the management station as follows: •...
Command Summary This section provides a summary of the commands used to configure the Micro Hub 1503. The configuration commands are organized into the following categories: • System Help Commands • User Interface Commands • Firmware Load and Restart Commands •...
Page 12
Command Display Definitions • Hub ID—Number of the hub in the stack, from top to bottom. • Type—Model number of the hub: 1502 or 1503. Definitions of fields • H/W ver—Hardware version of the hub. that are shown in command displays.
Page 13
System Help Commands Use the commands in this section to obtain system help when configuring the hub. help Syntax: Mode: Description: Syntax: Mode: Description: help Guest Lists a brief description of the context-sensitive help system. Guest Use this command in the following ways: •...
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: Mode: Description: enable Syntax:...
Page 15
exit Syntax: Mode: Description: help Syntax: Mode: Description: Console Access Commands Use the commands in this section to control console access to the hub configuration. show console lockout info Syntax: Mode: Description: exit Guest Exits any command mode or closes an active terminal session. help Guest Refer to the previous section “System Help Commands”...
Page 16
Command Summary console-lockout Syntax: Mode: Description: no console lockout Syntax: Mode: Description: console-lockout time Syntax: Mode: Description: 3-16 Cisco Micro Hub User Guide console-lockout Administrator Sets the console access to locked after a designated period of no keyboard activity. no console-lockout Administrator Disables the console lockout feature.
Page 17
Administrator Password Commands Use the commands in this section to configure hub passwords. password Syntax: Mode: Description: no password Syntax: Mode: Description: password Administrator 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.
Command Summary telnet-session password Syntax: Mode: Description: no telnet-session password Syntax: Mode: Description: telnet-session Syntax: Mode: Description: 3-18 Cisco Micro Hub User Guide telnet-session password Administrator Configures the hub with the password that is required to start a Telnet session with the hub.
History Commands Use these commands in this section to configure how the hub stores and displays command input history. show history Syntax: Mode: Description: terminal history Syntax: Mode: Description: terminal no history Syntax: Mode: Description: show history Guest Displays the commands that are stored in the history buffer. terminal history Guest Enables the terminal history feature, which configures the hub to retain...
Command Summary terminal history size Syntax: Mode: Description: Editing Commands Use the commands in this section to configure the hub for terminal editing. Command-line editing features are described in the appendix “Terminal Editing Note Command Reference.” terminal editing Syntax: Mode: Description: terminal no editing Syntax:...
Page 21
• tftp-download—Downloads firmware from a TFTP server. The download process is repeated every time the hub is rebooted. • bootp-get-ip—Default setting for the Micro Hub 1503. The hub obtains the IP address from the local BOOTP server. • bootp-download—The hub obtains the IP address and firmware from a local BOOTP server.
Page 22
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: Mode: Description: tftp-download...
Page 23
start tftp-download Syntax: Mode: Description: Xmodem Download Command Use this command to download firmware to the hub with the Xmodem protocol. start xmodem-download Syntax: Mode: Description: Firmware Load and Restart Commands start tftp-download Administrator 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.
Command Summary Restart Command Use this command to reset the hub. restart Syntax: Mode: Description: 3-24 Cisco Micro Hub User Guide restart Administrator 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 Use the commands in this section to display general information about the hub and the stack of hubs. show system information Syntax: Mode: Description: show system information Guest Displays system information as shown below: Hub> show system information System description: Cisco Stackable Ethernet Hub System up time: hour, 56 minutes System name: Stack 1...
Command Summary system name Syntax: Mode: Description: no system name Syntax: Mode: Description: system contact Syntax: Mode: Description: 3-26 Cisco Micro Hub User Guide system name <string> Administrator 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.
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 <string> 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.
Page 28
Command Summary show management information Syntax: Mode: Description: 3-28 Cisco Micro Hub User Guide show management information Guest 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...
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. show ip configuration...
Command Summary ip address Syntax: Mode: Description: no ip address Syntax: Mode: Description: 3-30 Cisco Micro Hub User Guide ip address {ip-address} [subnet mask] [gateway ip] Administrator 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. •...
Page 31
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: Mode: Description: Management Configuration Commands show snmp communities Administrator Displays information about all of the configured community strings.
Command Summary snmp community Syntax: Mode: Description: snmp community disable Syntax: Mode: Description: 3-32 Cisco Micro Hub User Guide snmp community {index} {string} [ro | rw] Administrator 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.
Page 33
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.
Page 34
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.
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 •...
Page 36
5. Read the section “Hub ID Numbers” earlier in this chapter for information about how to determine hub ID numbers. • Type—Model number of the hub: 1502 or 1503. • H/W ver—Hub’s hardware version. • F/W ver—Hub’s firmware version.
Port Configuration Commands Use the commands in this section to display or edit information about any port in the stack. show port information Syntax: Mode: Description: show port information [hub id] Guest Displays information about all the network ports on the selected hub. Command Keyword Definition •...
Command Summary port operation Syntax: Mode: Description: 3-38 Cisco Micro Hub User Guide port-operation {hub id} {port id} {enable | disable} Administrator 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.
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: Mode: Description:...
Page 40
Command Summary show hub statistics Syntax: Mode: Description: 3-40 Cisco Micro Hub User Guide show hub statistics [hub id] Guest Displays statistics for the specified hub since the last time the clear-counter or restart command was entered. Command Keyword Definition •...
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.
Page 42
Command Summary 3-42 Cisco Micro Hub User Guide • 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. •...
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. •...
Page 44
Command Summary Chassis Information Commands Use the commands in this section to display chassis information for the Cisco Micro Hub. show chassis information Syntax: Mode: Description: 3-44 Cisco Micro Hub User Guide show chassis information Guest Displays general information about the hub’s hardware and software. Information is shown in the following format: Hub>...
Page 45
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.0...
Page 46
• IP address—IP address of the hub. stack name {name} Administrator Configures the Micro Hub 1503 with a name for the stack. Command Keyword Definition name—(Optional) String of 1 to 32 alphanumeric characters. Characters can be any combination of uppercase and lowercase. A number cannot be the first...
{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...
Page 48
Command Summary 3-48 Cisco Micro Hub User Guide...