HP ProLiant BL p-Class GbE Interconnect Switch Command Line Interface Reference Guide February 2003 (First Edition) Part Number 322604-001
© 2003 Hewlett-Packard Development Company, L.P. Microsoft®, Windows®, and Windows NT® are U.S. registered trademarks of Microsoft Corporation. Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The information in this document is provided “as is” without warranty of any kind and is subject to change without notice. The warranties for HP products are set forth in the express limited warranty statements accompanying such products.
Contents About This Guide Technician Notes..........................................................................................................................................ix Where to Go for Additional Help..................................................................................................................x Telephone Numbers ................................................................................................................................
Contents Displaying Remote Management Interface Settings ...........................................................................2-8 Deleting the Secure IP Addresses........................................................................................................2-8 Configuring Basic GbE Interconnect Switch Information.........................................................................2-9 Setting System Name, Location, and Contact Information ..................................................
Contents Setting Date and Time Parameters Manually ................................................................................... 2-39 Displaying Time Parameters............................................................................................................. 2-41 Enabling SNTP ................................................................................................................................. 2-41 Setting SNTP Parameters..........................................................
Contents Enabling Broadcast, Multicast, or DA-Unknown Packet Storm Monitoring ....................................2-76 Disabling Monitoring Broadcast, Multicast, DA-Unknown Storm Monitoring................................2-76 Configuring Storm Threshold in Packets Per Second .......................................................................2-76 Displaying Broadcast, Multicast, DA-Unknown Storm Current Settings.........................................2-76 Configuring Priority MAC Address...............
Contents Configuring Static (Destination Address) Filtering Table ..................................................................... A-14 Configuring VLANs............................................................................................................................... A-15 Configuring Port Mirroring ....................................................................................................................
About This Guide This guide provides reference for configuring the GbE Interconnect Switch through the command line interface (CLI). WARNING: To reduce the risk of personal injury from electric shock and hazardous energy levels, only authorized service technicians should attempt to repair this equipment. Improper repairs can create conditions that are hazardous. Technician Notes WARNING: Only authorized technicians trained by HP should attempt to repair this equipment.
About This Guide NOTE: Any indications of component replacement or printed wiring board modifications may void any warranty.
1 Overview Introduction The ProLiant BL p-Class GbE Interconnect Switch provides provides command line, menudriven, Simple Network Management Protocol (SNMP), and Web-based management interfaces. The command line interface (CLI) and menu-driven interface allow you to set up and control the GbE Interconnect Switch using either the serial or Ethernet ports on the switch. This guide discusses how to use the CLI to set up and manage the GbE Interconnect Switch.
Overview Connecting to the GbE Interconnect Switches You can use the command line interface by connecting the interconnect switch to a VT100-compatible terminal or a computer running an ordinary terminal emulator program (for example, the terminal program included with the Windows® operating system) using an RS-232C serial cable.
Overview To log on for the first time: 1. Leave the Username field blank and press the Tab key. 2. Leave the Password field blank and press the Enter key. The main menu for the GbE Interconnect Switch is displayed. NOTE: After user accounts are created, subsequent users will type their user name and password, then press the Enter key to gain access to the switch console. The main menu displays the major categories for switch management.
Overview When you are in a CLI session, you can access the menu-driven interface by executing the following command at the command prompt: Command Description menu Toggles from the CLI to the menu-driven interface Moving between the CLI and menu-driven interface does not change the default interface. This means that if the default is the menu-driven interface and user 1 connects and switches to the CLI, when user 2 connects, they see the menu-driven interface when they log on.
Overview The following table summarizes the command syntax symbols: Table 1-1: Command Syntax Symbols Symbol [ ] Description Example Angle brackets (< >) enclose italicized text. You must enter the correct variable or variables for the text. user delete user Square brackets ( [ ] ) enclose an optional entry. system show [advanced] If several optional items are listed, the items may be entered in any order. { } Curly brackets ( { } ) enclose a required entry.
Overview Understanding Common Parameter Definitions The following table describes how to enter common variable parameters used throughout this chapter. Table 1-2: Common Parameters Parameter Description Type character strings as follows: • If the string of character includes blank space, you must type it within quotation marks (“ ”).
Overview Table 1-2: Common Parameters continued Parameter Description Type a VLAN ID in the following format where nnnn is a number from 1 to 4094. Leading zeros are allowed, but not necessary. Format: nnnn Example: 24 Type a name that is 1 to 15 characters in length to identify the VLAN. Use an underscore (_) to connect words. If the string of character includes blank space, you must type it within quotation marks (“ ”).
Overview Executing a Command Several help features are available to make executing commands easy. Command Help The help command can be used to display • A complete list of all commands • A description of a specific command, including valid parameters, their ranges, and the default Command Description help Displays a complete list of available commands [] To display a help message for a specific command, type help and the command. The following list displays when you type the command help.
Overview Question Mark (?) You can also access help by typing a question mark (?) at the beginning of a command or partial command. This example shows the help that displays when you type ? gvrp enable. Using Command Completion You can complete a command by typing a partial character string at the command prompt and then pressing the Tab key. When possible, the system displays the complete command for you. When not possible, the system generates an error message.
Overview For example: At the command prompt, type sys sh and then press the Enter key. The system completes and executes the command. Displaying Command History The CLI maintains a buffer of recent commands that have been entered, with a maximum of 25 commands saved in the buffer per CLI session. When the buffer reaches 25 commands, it adds any new commands and deletes the earliest commands.
Overview Customizing the Command Prompt The default command prompt is the greater than sign ( > ). You can customize the command prompt using the following command: Command Description prompt Customizes the command prompt Type prompt and the customized prompt word or string of words. The customized prompt takes effect immediately, for all sessions and all users.
Overview Paging of Data Output You can configure the switch module to display one page of data at a time. This is helpful when you are in a Telnet session and are using the show commands to display information about the switch. Paging is on with every new CLI session. To avoid the paging prompts when using scripts, set paging to off.
2 Configuring the GbE Interconnect Switch using the Command Line Interface Overview This chapter describes how to configure the GbE Interconnect Switch from the command line interface (CLI). Saving Changes The GbE Interconnect Switch has two types of memory: dynamic RAM and non-volatile RAM (NVRAM). Restarting the GbE Interconnect Switch erases all configuration settings in RAM and reloads the stored settings from NVRAM.
Configuring the GbE Interconnect Switch using the Command Line Interface For example: Managing User Accounts After logging on to the GbE Interconnect Switch for the first time, you need to set up at least one user account with Root access rights. You can set up a maximum of eight users on a GbE Interconnect Switch. There are three levels of user access rights: Root, User+, and User. Some menu selections available to users with Root privileges may not be available to those with User+ and User privileges.
Configuring the GbE Interconnect Switch using the Command Line Interface The following table summarizes user access rights.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting a User Account Use the following command to delete a user account: Command Description user delete user Deletes the specified user’s account Displaying User Account Information Use the following command to display user account information: Command Description user show Displays all user account information including each user’s name and access level For example: Updating User Account Information Use the fo
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring Remote Management IP Interface Settings Each GbE Interconnect Switch must be assigned its own IP address, which is used for communication with an SNMP network manager or other TCP/IP application (for example Web or TFTP). The factory default is set for the GbE Interconnect Switch to automatically obtain the IP address using DHCP service from a DHCP server on the attached network.
Configuring the GbE Interconnect Switch using the Command Line Interface The following shows the factory default remote management settings: Feature Default Value DHCP Service Enabled BootP Service Disabled IP Address (if DHCP is selected) Switch A = DHCP server assigned unique IP address, subnet mask, and default gateway Switch B = DHCP server assigned unique IP address, subnet mask, and default gateway IP Address (if manual IP option is selected) Switch A = 10.90.90.90 Switch B = 10.90.90.
Configuring the GbE Interconnect Switch using the Command Line Interface Use the following command to configure the remote management IP interface settings: Command Description mgmt-if set Sets the remote management parameters including: { • [ipaddr ] mode {manual | bootp | dhcp}—Type mode and manual, bootp, or dhcp. The default is dhcp.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Remote Management Interface Settings Use the following command to display the remote management interface settings: Command Description mgmt-if show Displays the remote management interface current IP and VLAN settings For example: Deleting the Secure IP Addresses Use the following command to delete the secure IP addresses: Command Description mgmt-if delete secure-ip Deletes the secure IP addresses Enter f
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring Basic GbE Interconnect Switch Information This section describes how to configure basic GbE Interconnect Switch information.
Configuring the GbE Interconnect Switch using the Command Line Interface You can also display the settings for the advanced switch features including global settings for IGMP snooping, GVRP, Telnet status, Web status, SNTP, and others. Use the following command to display the GbE Interconnect Switch information: Command Description system show Displays basic switch information [advanced] Type advanced in the command to display advanced switch information. Refer to the following examples.
Configuring the GbE Interconnect Switch using the Command Line Interface — System Up Time—Identifies the time the switch booted up, if the current time has been set on the GbE Interconnect Switch. If the current time has never been set up on the interconnect switch, this field identifies the time since the GbE Interconnect Switch was booted up. — Time—Displays the current real time set on the GbE Interconnect Switch.
Configuring the GbE Interconnect Switch using the Command Line Interface — MAC Address Aging Time—Displays the length of time a learned MAC address remains in the forwarding table without being seen as a source (that is, how long a learned MAC address is allowed to remain idle before being deleted from the address table). For additional information, refer to the “Configuring MAC Address Aging Timer” section later in this chapter.
Configuring the GbE Interconnect Switch using the Command Line Interface — SNTP Status— Displays the Simple Network Time Protocol (SNTP) status set on the switch. SNTP allows the switch to synchronize its real time to the network time. When SNTP is enabled, the interconnect switch sends a request to a primary SNTP server in each period of a specified polling interval asking for the Greenwich Mean Time (GMT). If the primary SNTP server is not available, the request is sent to a secondary SNTP server.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Auto-Logout Timer Settings Use the following command to show the auto-logout timer settings: Command Description auto-logout show Displays the current value set for the auto-logout timer for idle timeout of the RS-232 console and Telnet management interface sessions For example: Configuring MAC Address Aging Timer The GbE Interconnect Switch enters into its forwarding table the mapping between the MAC address of the de
Configuring the GbE Interconnect Switch using the Command Line Interface Setting the MAC Address Age Use the following command to configure the MAC address aging timer: Command Description mac-addr set mac-age Sets the length of time, in seconds, that a learned MAC address remains in the forwarding table without being used (how long a learned MAC address is allowed to remain idle before it is deleted from the table) Type the age in seconds from 10 to1000000.
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the MAC address aging timer information. This example shows the MAC address monitoring table display for VLAN 1. This example shows the MAC address monitoring table display for a MAC address.
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the MAC address monitoring table display for a port number. This example shows the MAC address monitoring table display for all VLANs.
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring IGMP Snooping Internet Group Management Protocol (IGMP) snooping, when enabled and configured properly, manages multicast traffic through a GbE Interconnect Switch. IP multicast traffic is forwarded based on multicast group membership information registered by the GbE Interconnect Switch.
Configuring the GbE Interconnect Switch using the Command Line Interface The following shows the factory default IGMP snooping settings: Feature Default Value IGMP Snooping Globally Disabled Group Address Filter Mode Forward all unregistered IGMP Snooping—State Enabled IGMP Snooping—Querier State Non-querier IGMP Snooping—Robustness Variable 2 IGMP Snooping—Query Interval 125 seconds IGMP Snooping—Max Response 10 seconds Enabling IGMP Snooping Use the following command to enable IGMP snoopi
Configuring the GbE Interconnect Switch using the Command Line Interface Disabling IGMP Snooping Use the following command to disable IGMP snooping globally on the GbE Interconnect Switch or on a specified VLAN: Command Description igmp disable {feature | vlan } Disables IGMP snooping globally on the GbE Interconnect Switch or on a specified VLAN Type one of the following in the command: • feature—Type feature to disable IGMP snooping globally on the GbE Interconnect Switch.
Configuring the GbE Interconnect Switch using the Command Line Interface Adding IGMP Snooping Settings for a VLAN Use the following command to add IGMP snooping for a VLAN: Command Description igmp add Adds a VLAN to the IGMP snooping table and sets the IGMP snooping parameters vlan state {non | v1 | v2} robustness interval Type the following in the command: • vlan —Type vlan and the VLAN ID.
Configuring the GbE Interconnect Switch using the Command Line Interface Modifying IGMP Settings for a VLAN Use the following command to modify the IGMP settings for a VLAN: Command Description igmp modify vlan Modifies the parameters for a specified VLAN in the IGMP snooping table { [state {non | v1 | v2}] Type the VLAN ID and one or more of the following in the command: [robustness ] • [response ] state {non | v1 | v2} —Specifies the IGMP version (V1 or V2) that i
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting IGMP Snooping Settings for a VLAN Use the following command to delete an entry in the IGMP snooping table for a given VLAN: Command Description igmp delete vlan Deletes an entry in the IGMP snooping table for a specified VLAN Displaying IGMP Snooping Settings Use the following command to display IGMP snooping settings: Command Description igmp show Displays IGMP snooping settings for a specific VLAN or VLANs
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the IGMP filter mode. This example shows the IGMP snooping settings for a specific VLAN. This example shows the IGMP snooping status for a specific VLAN. This example shows the Dynamic Group Registration Table.
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring Class of Service, Default Port Priority, and Traffic Class Class of Service (CoS) for packet prioritization allows you to set priority levels for forwarding packets based on the priority setting information in the packets. The GbE Interconnect Switch supports four classes (0-3) of traffic (buffers or queues) per egress port. You can map eight priority levels (0-7) to the four queues.
Configuring the GbE Interconnect Switch using the Command Line Interface Command Description cos set Defines the Class of Service (CoS) parameters for CoS queues (0-3) { sched {round-robin | strict} | queue class max latency | Type one of the following in the command: • def-pri-tag tag port | sched {round-robin | strict}—Sets 802.1p CoS queue forwarding option.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying CoS Queue Information Use the following command to display CoS queue information: Command Description cos show Displays the current information for all CoS parameters and status { sched | queue | Type one of the following in the command: • sched—Type sched to display the scheduling mechanism for 802.1p CoS queue.
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the current default CoS priority tag settings for a port. Configuring Port Trunking Port trunking allows several ports to be grouped together to act as a single link. This provides a bandwidth that is a multiple of a single link bandwidth. Port trunking is most commonly used to link a bandwidth-intensive network device or devices, such as a server, to the backbone of a network.
Configuring the GbE Interconnect Switch using the Command Line Interface Considerations when Creating a Port Trunking Group When creating a port trunking group, consider the following rules that determine how the port trunk reacts in network topology: • The first port of the port trunk is implicitly configured to be the master logical port. This is the reference port used in configuration commands. It can be thought of as the logical port representing the entire group.
Configuring the GbE Interconnect Switch using the Command Line Interface Creating a Port Trunk Group Use the following command to create a new port trunk group: Command Description trunk create name Creates a trunk definition with a group name, group ID, and the trunk status of enable or disable id Type the following in the command: status {enable | disable} • name —Type name and a group name from 1 to 15 characters in length.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting a Trunk Group or a Port from a Trunk Group Use the following command to delete a trunk group or member ports from an existing trunk group: Command Description trunk delete Deletes either a trunk group or a port from a trunk group { id | entry id port } Type one of the following in the command: • id —Type id and the group ID number of the trunk to delete.
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring the Trunk Load Sharing Algorithm Options Use the following command to configure the load sharing algorithm options: Command Description trunk set load-sharing Sets the manner in which load sharing decisions will be determined { src-mac | Type one of the following algorithm options in the command: des-mac | • src-mac—Type src-mac to set port selection based on the source MAC address.
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the settings for a trunk group. This example shows the trunk utilization status. This example shows the trunk load sharing algorithm. Configuring GVRP GARP VLAN Registration Protocol (GVRP) is a Generic Attribute Registration Protocol (GARP) application that provides 802.1Q-compliant VLAN pruning and dynamic VLAN creation on 802.1Q tagged ports.
Configuring the GbE Interconnect Switch using the Command Line Interface The GbE Interconnect Switch provides oprions to enable or disable GVRP capability. If an 802.1Q tagged VLAN is enabled, but the GVRP is disabled, the only VLAN feature is static VLAN registration entries. HP recommends backing up static VLAN register entries to the configuration file.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying GVRP Settings Use the following command to display the GVRP settings on the GbE Interconnect Switch: Command Description gvrp show Displays GVRP global configuration settings [port ] For port specific configuration settings, type port and the port number or numbers in the command. This example shows GVRP settings for a specific port.
Configuring the GbE Interconnect Switch using the Command Line Interface Disabling Telnet Access Use the following command to disable Telnet access to the GbE Interconnect Switch: Command Description telnet disable Disables Telnet access to the GbE Interconnect Switch CAUTION: If you execute this command while in a Telnet session, you will lose the connection.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Web Access Settings Use the following command to display Web access settings. Command Description web show Displays Web access settings For example: Configuring Backpressure Flow Control Backpressure can be enabled to initiate flow control on the GbE Interconnect Switch ports. When backpressure is enabled and there is incoming traffic congestion on a port, the receiving port sends a request to the transmitting port.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Backpressure Flow Control Settings Use the following command to display backpressure flow control: Command Description backpressure show Displays backpressure flow control settings For example: Configuring GbE Interconnect Switch Date and Time The GbE Interconnect Switch can maintain the current date and time.
Configuring the GbE Interconnect Switch using the Command Line Interface The following shows the SNTP factory default settings: Feature Default Value SNTP Disabled SNTP Server 1 0.0.0.0 SNTP Server 2 0.0.0.0 SNTP Poll Interval 720 seconds Time Zone -06.
Configuring the GbE Interconnect Switch using the Command Line Interface Command Description time set Manually sets the current time, date, time zone, and daylight saving time (DST) parameters. { [time
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Time Parameters Use the following command to display the current time parameters: Command Description time show Displays the current switch time, up time or boot time (whichever is currently active), time zone settings, and daylight saving time settings For example: Enabling SNTP In order for the GbE Interconnect Switch to synchronize its real time to the network time, you must first enable SNTP on the switch.
Configuring the GbE Interconnect Switch using the Command Line Interface Setting SNTP Parameters When SNTP is enabled on the GbE Interconnect Switch, the interconnect switch sends a request to a primary SNTP server in each period of a specified polling interval asking for Greenwich Mean Time (GMT). If the primary SNTP server is not available, the request is sent to a secondary SNTP server.
Configuring the GbE Interconnect Switch using the Command Line Interface Disabling SNTP Use the following command to disable SNTP on the GbE Interconnect Switch: Command Description sntp disable Disables SNTP SNTP must be set to disable in order to manually set the time and date. Configuring Port Settings The port commands allow you to configure the name, speed/duplex, flow control, and security settings for each port.
Configuring the GbE Interconnect Switch using the Command Line Interface Port Security Settings The port security feature controls the address learning capability and the traffic forwarding decisions for a port or ports. When enabled, you specify a number of source addresses to be learned (locked) at the port. Any incoming packets that do not have the learned source addresses are discarded. The maximum number of learned addresses is ten.
Configuring the GbE Interconnect Switch using the Command Line Interface Setting Port Parameters Use the following command to set the port parameters: Command Description port set Configures the port names, port parameters, and port security parameters { label port name | params port Type one of the following in the command: • label—Sets the port name.
Configuring the GbE Interconnect Switch using the Command Line Interface Enabling Ports on a Per Port Basis Use the following command to enable ports on a per port basis: Command Description port enable Enables ports on a per port basis. Disabled ports do not send or receive any traffic. The default is port enabled.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Current Port Settings and Port Names Use the following command to display the current port settings and connection information for utilization, errors, packets, and security: Command Description port show Displays all the current port settings and current established connection information { utilization | error | Type the one of following in the command: • utilization —Type utilization
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the current errors for a group of ports. This example shows the current packet count for a group of ports. This example shows the security parameters for a group of ports.
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring Bandwidth The GbE Interconnect Switch allows you to set a bandwidth limitation that restricts the ingress (receiving) and egress (transmitting) packet rate for each port. If the packet rate exceeds the allowed bandwidth rate, the excess packets will be dropped. Bandwidth is configured in 1 to 127 units. Each unit is 117,481 bytes per second (around 0.94 Mb/s) for ports 1-24 and 939,850 bytes (about 7.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting Ports from the Ingress and Egress Bandwidth Tables Use the following command to delete ports from the ingress and egress bandwidth tables: Command Description bandwidth delete port Deletes a port from the ingress or egress bandwidth table { [egress] Type the port number or numbers in the command and one or both of the following bandwidth table options: } • ingress—Deletes the port from the ingress (receivi
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Current and Restart Port Bandwidth Settings Use the following command to display the current and restart port bandwidth settings: Command Description bandwidth show port Displays the current and restart port ingress or egress bandwidth settings direction {ingress | egress} type {current | restart} Type the port number or numbers and the following.
Configuring the GbE Interconnect Switch using the Command Line Interface STP communicates between switches on the network using Bridge Protocol Data Units (BPDUs). Each BPDU contains the following information: • The unique identifier of the switch that the transmitting switch currently believes is the root switch • The path cost to the root from the transmitting port • The port identifier of the transmitting port The switch sends BPDUs to communicate and construct the spanning-tree topology.
Configuring the GbE Interconnect Switch using the Command Line Interface Enabling STP Spanning Tree Protocol (STP) can be enabled or disabled at the switch level. Only one spanning tree domain per GbE Interconnect Switch is supported. You can configure ports to participate in that spanning tree domain, by enabling or disabling the STP function on a per port basis.
Configuring the GbE Interconnect Switch using the Command Line Interface Disabling STP Use the following command to disable STP on the GbE Interconnect Switch, disable ports from participating in the spanning tree domain, or to disable bypass on a port: Command Description stp disable feature | Disables STP on the GbE Interconnect Switch, disables a port or ports from participating in a single spanning tree domain, or disables bypass on a port or ports bypass | Type one of the following in
Configuring the GbE Interconnect Switch using the Command Line Interface • Port—Sets the STP priority and port cost parameters for one port or a series of ports — Priority—This parameter sets the relative priority for the port. A lower number indicates a higher priority and a greater chance of the port being elected as the root port. — Port cost—Port cost is a value used by STP to evaluate paths. STP calculates port costs and selects the path with the minimum cost as the active path.
Configuring the GbE Interconnect Switch using the Command Line Interface Use the following command to configure global and per port STP settings on the GbE Interconnect Switch: Command Description stp set Sets bridging parameters or sets the per port priority or port cost parameters { { Type bridging and the bridging parameters or params and the parameter options in the command.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying STP Bridging and Per Port Settings Use the following command to display the STP bridging and per port settings: Command Description stp show Displays the STP bridging and per port settings for all ports { [bridging] Type one or both of the following in the command: [port ] • bridging—Type bridging to display bridging settings.
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the STP settings for a series of ports. Configuring Static (Destination Address) Filtering Table The GbE Interconnect Switch uses a filtering database to segment the network and control communications between segments. It can also filter packets off the network for intrusion control. Static filtering entries can be made by MAC address.
Configuring the GbE Interconnect Switch using the Command Line Interface Adding Unicast Filter Actions The GbE Interconnect Switch supports unicast filtering for static forwarding control. Packets are forwarded to a specific destination port (allow-to-go port) for a specific unicast destination address.
Configuring the GbE Interconnect Switch using the Command Line Interface Modifying Unicast Filter Actions Use the following command to modify unicast filter actions: Command Description unicast modify Modifies unicast filter actions vlan Type the following in the command: mac • vlan —Type vlan and the VLAN ID. • mac —Type mac and the MAC address.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting the Unicast Filter Actions Use the following command to delete unicast filter actions: Command Description unicast delete Deletes unicast filter actions for one or all MAC addresses on a VLAN vlan mac { | all} Type the following in the command: • vlan —Type vlan and the VLAN ID. • mac { | all}—Type mac and one of the following: • —Type the MAC address to delete.
Configuring the GbE Interconnect Switch using the Command Line Interface Adding Multicast Filter Actions The GbE Interconnect Switch supports forwarding control for group addresses. Packets are forwarded to specific ports of a group for a specific multicast destination address.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting Multicast Filter Actions Use the following command to delete multicast filter actions: Command Description multicast delete Delete multicast filter actions for one or all MAC addresses on a VLAN vlan mac { | all } Type the following in the command: • vlan —Type vlan and the VLAN ID.
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring VLANs A Virtual Local Area Network (VLAN) is a network topology configured according to a logical scheme rather than the physical layout. VLANs can be used to combine any collection of physical LAN segments into an autonomous user group that appears as a single LAN. VLANs also logically segment the network into different broadcast domains so that logical packets are forwarded only between ports within that VLAN.
Configuring the GbE Interconnect Switch using the Command Line Interface Default VLAN The GbE Interconnect Switch reserves one VLAN, VID 1, also called DEFAULT_VLAN. The factory default setting assigns all ports on the GbE Interconnect Switch to the default VLAN. As new VLANs are configured, their respective member ports are removed from the default VLAN. Characteristics of DEFAULT_VLAN include: • DEFAULT_VLAN is an IEEE 802.1Q Static VLAN with VID equal to 1. • DEFAULT_VLAN cannot be deleted.
Configuring the GbE Interconnect Switch using the Command Line Interface Creating an 802.1Q Static VLAN Use the following command to create a new 802.1Q static VLAN: Command Description vlan create Creates a new 802.1Q static VLAN with VLAN ID and VLAN name settings [name | id ] The following are optional settings: [ forbid | • name —Type name and a name to identify the VLAN that is 1 to 15 characters in length. Use an underscore (_) to connect words.
Configuring the GbE Interconnect Switch using the Command Line Interface Adding a Port to an Existing VLAN Use the following command to add a port or set of ports to an existing VLAN: Command Description vlan add port id Adds a port or a set of ports to an existing VLAN and allows the setting of the forbid and egress parameters { [forbid ] egress { [untagged ] Type the VLAN ID number and one or more of the following optional settings.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting a VLAN or a Port from an Existing VLAN Use the following command to delete a VLAN or delete a port from an existing 802.1Q static VLAN: Command Description vlan delete Deletes a VLAN or a port or deletes a set of ports from an existing VLAN { id | To delete a VLAN, type the following in the command: entry port id • } id —Type id and the ID of the VLAN to be deleted.
Configuring the GbE Interconnect Switch using the Command Line Interface Modifying the Per Port VLAN Settings or VLAN Name Use the following command to modify the per port settings or VLAN name: .
Configuring the GbE Interconnect Switch using the Command Line Interface Setting the PVID for a Port Port VLAN ID (PVID) is a classification mechanism that associates a port with a specific VLAN and is used to make forwarding decisions for untagged packets received by the port. For example, if Port 2 is assigned a PVID of 3, then all untagged packets received on Port 2 will be assigned to VLAN 3. This number is generally the same as the VID number assigned to the port.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying VLAN Settings and Status Use the following command to display the current VLAN settings and status: Command Description vlan show Displays the current VLAN status, the current PVID settings, and the VLAN table information { pvid | vlan } Type vlan show and one of the following: • pvid —Type pvid and the port number of numbers. • vlan —Type vlan and the VLAN ID or IDs.
Configuring the GbE Interconnect Switch using the Command Line Interface Enabling Ingress Filtering on a Per Port Basis If ingress filtering is enabled for a port, the interconnect switch will examine the VLAN information in the packet header (if present) and decide whether or not to forward the packet. The VID should match the PVID of that port, otherwise, that incoming packet is discarded.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Ingress Filtering Information Use the following command to display the ingress filtering information on a per port basis: Command Description ingress-filter show Displays ingress filtering information for all ports [port ] To display ingress information for a specified port or ports, type port and the port number or numbers. This example shows the ingress filtering information for a series of ports.
Configuring the GbE Interconnect Switch using the Command Line Interface The following shows the port mirroring factory default settings: Feature Default Value Port Mirroring—Source Port 1 Port Mirroring—Source Direction Ingress and Egress Port Mirroring—Target Port 11 Port Mirroring—Mirror Status Disabled Enabling Mirroring on a Port Use the following command to enable mirroring on a port: Command Description mirror enable target Enables mirroring on a port for network monitori
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Port Mirroring Status Use the following command to display the port mirroring status: Command Description mirror show Displays mirroring information showing the source port, target port, traffic direction, and status of enabled or disabled This example shows the port mirroring status.
Configuring the GbE Interconnect Switch using the Command Line Interface Enabling Broadcast, Multicast, or DA-Unknown Packet Storm Monitoring Use the following command to enable broadcast, multicast, and DA-unknown storm monitoring: Command Description monitor-storm enable Enables monitoring of broadcast, multicast, or DA-unknown packet storm monitoring { [broadcast] [multicast] [unknown] } Disabling Monitoring Broadcast, Multicast, DA-Unknown Storm Monitoring Use the following command to disable moni
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the current settings for broadcast, multicast, and DA-unknown storm. Configuring Priority MAC Address The GbE Interconnect Switch can be set to force packets with specific destination MAC addresses and/or source MAC addresses to use specific Class of Service queues. This guarantees that those packets have a higher priority for forwarding.
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting Priority Level for a MAC Address Use the following command to delete a priority level for a MAC address within a specified VLAN: Command Description mac-pri delete Removes an entry from the priority MAC address table id mac { | all} For a given VLAN, you can remove a single MAC address or remove all MAC addresses. Type the following in the command: • id —Type id and the VLAN ID.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Current Priority Level for a MAC Address Use the following command to display the current priority level for a MAC address: Command Description mac-pri show Displays current priority level for a MAC address all VLANS [vlan ] To display settings for a specified VLAN, type vlan and the list of VLANs in the command. This example shows the current priority level settings for a MAC address.
Configuring the GbE Interconnect Switch using the Command Line Interface Configuring the GbE Interconnect Switch Serial Port Settings IMPORTANT: If you change your serial port settings, make sure that your terminal settings match your new serial port settings.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying Current GbE Interconnect Switch Serial Interface Settings Use the following command to display the current GbE Interconnect Switch serial interface settings: Command Description serial show Displays the current serial interface settings This example shows how to display the current GbE Interconnect Switch serial interface settings.
Configuring the GbE Interconnect Switch using the Command Line Interface Displaying the History Log Use the following command to display the GbE Interconnect Switch history log: Command Description log show Displays the entries in the switch history log [num ] [item ] 2-82 A defined number of entries can be displayed.
Configuring the GbE Interconnect Switch using the Command Line Interface This example shows the history log. Clearing the History Log Use the following command to clear the history log: Command Description log clear Clears the switch history log and resets the sequence number to 1 Configuring SNMP/RMON Manager Simple Network Management Protocol (SNMP) is an Open Systems Interconnection (OSI) Layer 7 (the application layer) protocol for remotely monitoring and configuring network devices.
Configuring the GbE Interconnect Switch using the Command Line Interface The authentication protocol ensures that both the switch SNMP agent and the remote user SNMP application program discard packets from unauthorized users. SNMP (version 1) implements a form of security by requiring that each request include a “community string.” A community string is an arbitrary string of characters used as a “password” to control access to the GbE Interconnect Switch.
Configuring the GbE Interconnect Switch using the Command Line Interface Use the following command to configure the SNMP management interface community strings: Command Description snmp add string community access {ro | rw}] | Configures the SNMP interface with up to four sets of community strings with access rights and access validity status and configures up to four (one at a time) SNMP trap manager IP addresses trap ip community Type one of the following in the command:
Configuring the GbE Interconnect Switch using the Command Line Interface Deleting SNMP Management Interface Community Strings Use the following command to delete the SNMP management interface community strings: Command Description snmp delete Deletes an SNMP interface community string or an SNMP trap manager IP address { community | ip } Type one of the following in the command: • community — • ip — Displaying Current SNMP Management Interface Settings Use the f
Configuring the GbE Interconnect Switch using the Command Line Interface Using System Utilities The system utilities commands allow you to: • Upgrade GbE Interconnect Switch firmware from a Trivial File Transfer Protocol (TFTP) server • Upload the switch configuration settings to a file on a TFTP server • Download the switch configuration settings from a file on a TFTP server • Send the History Log to the TFTP server • Perform a PING connectivity test Setting TFTP Trivial File Transfer Protocol (
Configuring the GbE Interconnect Switch using the Command Line Interface Use the following command to set the parameters for TFTP file transfers. Command Description tftp set Sets the parameters for TFTP file transfers { [ip ] [port ] Type the following optional TFTP parameters in the command: • ip —Type ip and the IP address for the TFTP server to use. The default is 0.0.0.0. • port —Type port and the port number to use for the TFTP server.
Configuring the GbE Interconnect Switch using the Command Line Interface Use the following command to initiate TFTP file transfers from the TFTP server.
Configuring the GbE Interconnect Switch using the Command Line Interface Use the following command to initiate TFTP file transfers of the history log or configuration file to the TFTP server.
Configuring the GbE Interconnect Switch using the Command Line Interface Performing a Ping Test Use the following command to run the ping utility: Command Description ping Pings the target IP address and repeats pinging infinitely or a specified number of times [] Type the target IP address in the command. To specify the number of times to ping, type a number from 0 to 244. Zero (0) means an infinite number of times. The default is 1. Press the ESC key to stop the ping.
A Commands Introduction This appendix provides a summary of the commands supported by the GbE Interconnect Switch command line interface (CLI). Refer to Chapter 2 for a detailed description of each command.
Commands Managing User Accounts Command Description user add Adds a user account user • r—root access {r | u+ | u} • u+—user + • u—user user delete user Deletes the specified user’s account user show Displays all user account information including each user’s name and access level user modify user Modifies a user’s account information { [access {r | u+ | u}] [password] } Configuring Remote Management IP Interface Settings Command Description mgmt-if set
Commands Configuring Basic GbE Interconnect Switch Information Command Description system set Configures system information { [sysname ] [sysloc ] [contact ] } system show Displays basic switch information [advanced] Configuring Auto-Logout Timer Command Description auto-logout set time-out {0 | 2 | 5 | 10 | 15} Sets the auto-logout timer for idle timeout of the RS-232 console and Telnet management interface sessions auto-logout show Displays the c
Commands Configuring MAC-Address Aging Timer Command Description mac-addr set mac-age Sets the length of time, in seconds, that a learned MAC address remains in the forwarding table without being used (how long a learned MAC address is allowed to remain idle before it is deleted from the table) mac-addr show mac-age The mac-addr show mac-age command displays the current setting of the MAC-address aging timer.
Commands Configuring IGMP Snooping Command Description igmp enable {feature | vlan } Enables the switch to read IGMP packets being forwarded through the switch in order to obtain forwarding information from them and learn which ports contain multicast members igmp disable {feature | vlan } Disables IGMP snooping globally on the GbE Interconnect Switch or on a specified VLAN igmp set filter {all | unregistered | filter} Sets IGMP filter mode for processing multicast packets and the
Commands Configuring Class of Service, Default Port Priority, and Traffic Class Command Description cos set Defines the Class of Service (CoS) parameters for CoS queues (0-3) { sched {round-robin | strict} | queue class max latency | def-pri-tag tag port | pri-map pri class } cos show { Displays the current information for all CoS parameters and status sched | queue | def-pri-tag | pri-map } A-6 HP ProLiant
Commands Configuring Port Trunking Command Description trunk create Creates a trunk definition with a group name, group ID, and the trunk status of enable or disable name id status {enable | disable} port trunk add port Adds a port or ports to an existing trunk group id port trunk delete { Deletes either a trunk group or a port from a trunk group id | entry id port } trunk enable id Enables the spe
Commands Configuring GVRP Command Description gvrp enable { feature | port } Enables GVRP globally on the GbE Interconnect Switch or on a specific port or ports gvrp disable { feature | port } Disables GVRP globally on the GbE Interconnect Switch or on a specific port or ports gvrp show Displays GVRP global configuration settings [port ] Configuring Telnet and Web Access Settings Command Description telnet enable Enables Telnet access to the GbE Interconnect Swit
Commands Configuring GbE Interconnect Switch Date and Time Command Description time set Manually sets the current time, date, time zone, and daylight saving time (DST) parameters. SNTP must be set to disabled to manually set the time.
Commands Enabling Simple Network Time Protocol (SNTP) sntp enable Enables SNTP. SNTP allows the system to get the accurate time through the network.
Commands Configuring Port Settings Command Description port set Configures the port names, port parameters, and port security parameters { label port name | params port { [speed-duplex {auto | 10-half | 10-full | 100-half | 100-full | 1000-full}] | [flow-control {on | off}] }| security port learn mode {timeout | reset} } } port enable port { Enables ports on a per port basis. Disabled ports do not send or receive any traffic.
Commands Configuring Port Settings continued Command Description port show Displays all the current port settings and current established connection information { utilization | error | packet | security } Configuring Bandwidth Command Description bandwidth add port Adds a port to the restart ingress or egress bandwidth table and configures the bandwidth between 1 and 127 units of 117 Kbytes per second { [ingress ] [egress ]
Commands Configuring Spanning Tree Protocol Command Description stp enable Enables STP on the GbE Interconnect Switch, enables a port or ports from participating in a single spanning tree domain, or enables bypass on a port or ports { feature | bypass | port } stp disable { feature | Disables STP on the GbE Interconnect Switch, disables a port or ports from participating in a single spanning tree domain, or disables bypass on a port or ports bypass | port }
Commands Configuring Static (Destination Address) Filtering Table Command Description unicast add Enables unicast filter actions vlan mac type {permanent | delete-on-reset} port unicast modify Modifies unicast filter actions vlan mac { [type {permanent | delete-on-reset}] [port ] } unicast delete vlan Deletes unicast filter actions for one or all MAC addresses on a VLAN mac { | all} unicast show [vlan ] Displays
Commands Configuring VLANs Command Description vlan create Creates a new 802.
Commands Configuring VLANs continued Command Description vlan set pvid Sets the PVID for the specified ports port id vlan show { Displays the current VLAN status, the current PVID settings, and the VLAN table information pvid | vlan } ingress-filter enable port Enables ingress filtering on the specified port or ports ingress-filter disable port Disables ingress filtering on a port or ports ingress-filter show Displays ingress filte
Commands Configuring Thresholds for Broadcast, Multicast, Unknown Storm Prevention or Monitoring Command Description monitor-storm enable Enables monitoring of broadcast, multicast, or unknown packet storm monitoring { [broadcast] [multicast] [unknown] } monitor-storm disable { [broadcast] [multicast] [unknown] } Disables monitoring of broadcast, multicast, or unknown packet storms monitor-storm set threshold Sets threshold (in packets per second) to drop packets when broadcast, multicas
Commands Configuring GbE Interconnect Switch Serial Port Command Description serial set Configures the serial port for console or SLIP connection and configures the serial port settings { [type {console | slip}] [local-ip ] [remote-ip ] [mtu {1006 | 1500}] [rate {2400 | 9600 | 19200 | 38400 | 115200}] [data-bits {7 | 8}] [parity {even | odd | none}] [stop-bits {1 | 2}] } serial show Displays the current serial interface settings Configuring the History Log Command Description lo
Commands Configuring SNMP Manager Command Description snmp add Configures the SNMP interface with up to four sets of community strings with access rights and access validity status and configures up to four (one at a time) SNMP trap manager IP addresses { string community access {ro | rw}] | trap ip community } snmp delete { Deletes an SNMP interface community string or an SNMP trap manager IP address community | ip } snmp show [trap] Displays SNMP inte
Commands Using System Utilities Command Description tftp set Sets the parameters for TFTP file transfers { [ip ] [port ] [fw ] [cfg ] [log ] } tftp download type {fw | cfg} [path ] [port ] tftp upload type {log | cfg} Initiates TFTP file transfers to the TFTP server [path ] [ip ] [port ] tftp show Displays the
Index A F accounts, user 2-2 advanced settings 2-9 auto-logout 2-11, 2-13 firmware upgrades 2-87 flow control 2-37 G B backpressure 2-12, 2-37 bandwidth 2-49 basic settings 2-9 Bootstrap Protocol (BOOTP) IP address assignment 2-6 broadcast storm configuring threshold 2-75 C Class of Service (CoS) 2-25 class of traffic 2-25 community names, SNMP 2-83 component-level repairs ix configuration 1-1 connecting procedures 1-2 console management interface connecting procedures 1-2 current egress bandwidth set
Index N new users, setting up 2-2 NVRAM (non-volatile RAM) 2-1 P packets, data monitoring 2-82 prioritization service 2-25 ping test 2-91 port settings 2-43 port trunking 2-28 ports assigning VLANs to 2-70 default priority 2-80 GVRP settings 2-12, 2-33 mirroring of 2-73 priority MAC addresses 2-77 priority, port 2-80 privileges, user 2-2 protocols, network BOOTP 2-6 DHCP 2-6 GVRP 2-12, 2-33 SLIP 2-79 SNMP 2-83 SNTP 2-13, 2-38 PVID (port VLAN ID) 2-70 SNMP (Simple Network Management Protocol) 2-83 SNTP (S