Summary of the content on the page No. 1
3
CHAPTER
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. You can connect to the Micro Hub 1503 to configure it in one of two
ways:
� Direct Connection through the CONSOLE Port
� Connection Using Telnet
Direct Connect
Summary of the content on the page No. 2
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. Configuration Using a PC If you are configuring the hub with a PC (not a dumb terminal), you nee
Summary of the content on the page No. 3
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. � There are two configuration prompt levels: — The guest-level prompt is the device name followed by an angle bracket (>): Hub> — The administrator-level prompt is the
Summary of the content on the page No. 4
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. Configuration Modes You configure the Micro Hub 1503 (or the attached stack) with the config
Summary of the content on the page No. 5
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. You must be
Summary of the content on the page No. 6
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. � IP address for the T
Summary of the content on the page No. 7
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. Figure 3-1 Hub ID Numbers for Stacked Hu
Summary of the content on the page No. 8
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. Entering Administrator Mode Step 1 Connect a console by following the instructions in the section “Connecting the CONSOLE Port” in the chapter “Installing Your Hub” or start a Telnet sess
Summary of the content on the page No. 9
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 Example Network Server PC PC PC E0 Router A Micro Hub 1503 E1 SNMP network management station 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. Step 1 Use the ip address command to configure t
Summary of the content on the page No. 10
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. Enter exit a second time to close the current terminal session: Hub# exit 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) b
Summary of the content on the page No. 11
Command Summary 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 � System Information Commands � Management Configuration Commands � Hub Configuration Command � Port Configuration Commands � Statistics Commands � Chassis Information Commands Using Your Hub Software 3-11
Summary of the content on the page No. 12
Command Summary Commands are defined and described in the format shown below: How the command is entered. Keywords in [square brackets] are optional. Keywords in {curly brackets} are required. Enter keywords shown in show hub information The name of the command. bold exactly as they appear. Keywords shown in italics are values that are Syntax: show hub information [hub id] provided by you. Mode: Guest What command mode you must be in to enter the command. Description: Displays information
Summary of the content on the page No. 13
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). � After an abbreviated command to list commands that start with that particular character set
Summary of the content on the page No. 14
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. If you forgot your administrator password, follow the process des
Summary of the content on the page No. 15
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. show console lockout info Syntax: show console-lockout info Mode: Guest Description: Displays information about the console
Summary of the content on the page No. 16
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. minutes—Integer between 1
Summary of the content on the page No. 17
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. Password characters are represented by asterisks on the screen when you enter them, as shown below:
Summary of the content on the page No. 18
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. telnet-session Syntax: telnet-session {enable | disable} Mode: Administrator Description: Configures the hub for allowing Tel
Summary of the content on the page No. 19
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. The number of commands retained is configured with the terminal
Summary of the content on the page No. 20
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.” terminal editing Syntax: terminal editing Mode: Guest Description: Configures the