Page 3 - Contents
Contents 1. INTRODUCTION ............................................................................................................................................... 1 1.1 C ONVENTIONS ...................................................................................................................
Page 5 - Introduction; Command descriptions use the following conventions:; Boldface; Italics; - Devices with fixed port configurations accept port numbers
1. Introduction This document provides a summary of the commands supported on the HP ProCurve 2524, 2512, and 4108gl switches. It is divided into sections that correspond to different modules or features of the HP switches. Not all sections will apply to all HP switches since each switch may only su...
Page 6 - Figure 1: Command and context levels
There are three "special" port designations in the switch. You may specify the monitoring port by using "mp"; you may specify a trunk port by using "trkX", where X identifies the numerical trunk group. port-list - A port list specifies a group of ports for which the operati...
Page 8 - Keystroke
If you had already typed in trap- on line (1) and then pressed the tab character, the system would complete the keyword trap-send-authentication , for it is the only possible completion for trap- , and display the completed command line as shown below: 1. HP 4108GL(config) trap- 2. HP 4108GL(config)...
Page 12 - To clear the intrusion log.; To initiate a telnet session with another network device.; telnet; To initiate a telnet session to a member switch in the stack.; getmib; Retrieves and displays the MIB object defined by object-name.; walkmib; This command shows a group of managed object values.
clear intrusion-log To clear the intrusion log. clear statistics [ethernet] < port-list > To reset counters displayed by the console. If a new console session is initiated, the counters will revert back to the values maintained by the switch hardware. telnet < ip-addr > To initiate a tel...
Page 14 - Parameters
link-test < mac-addr > [ vlan < vlan-id >] [ repetitions < 1..999 > ] [ timeout < 1..256 > ] Tests the connection to a MAC station on the LAN by sending a 802.2 test packet to a specific target node on a network directly attached to a port in that LAN. The target node must be...
Page 15 - Displays the console parameters.; Output Format
--------------- 2.3 System Configuration 2.3.1 System commands - EXEC level show console Displays the console parameters. Output Format : Switch Configuration - Console/Serial Link Inbound Telnet Enabled [Yes] : Yes Web Agent Enabled [Yes] : Yes Terminal Type [VT100] : VT100 Screen Refresh Interval ...
Page 16 - show management; Displays configured addresses that are used to manage the switch.
show mac-address < port-list > Displays the MAC addresses that the switch has learned from the network devices attached to the specified switch port. Output Format : Status and Counters - Port Address Table - Port 1 MAC Address ------------- 00105a-8abed4 00105a-cac0e8 009004-8e3178 00c0f0-1c6...
Page 17 - show modules; Displays the modules that are present on the switch.; show system-information
-------------------------------------------- --------------- show modules Displays the modules that are present on the switch. Output Format : Status and Counters - Module Information Slot Module Type Module Description ---- A Slot Available show system-information Displays the status of and current...
Page 19 - location; Sets the switch name for administrative purposes.
time [ mm/dd/yy ] [ hh:mm:ss ] [ timezone < value > ] [ daylight-time-rule < value >] [begin-date < mm/dd > end-date < mm/dd >] This command display switch's date & time or optionally sets it. Parameters: timezone <-1440..1440> - Sets the number of minutes your lo...
Page 22 - password
2.7 IP Stacking 2.7.1 IP Stacking commands - EXEC level show stack [candidates | all] Displays status information for the stacking feature. ‘show stack’ with no arguments displays the status of this switch’s stack. If the keyword candidates is supplied then this command displays a list of candidates...
Page 23 - stack transmission-interval; Sets the transmission interval for stacking.
[no] stack auto-join Causes the switch to advertise, via the discovery protocol, that it wants to automatically join any stack operating on the local LAN segment. Switches with passwords will not auto-join. [no] stack auto-grab Enables/disables auto-grab mode for stacking on the command switch. If e...
Page 24 - show interfaces config; Displays the basic configuration of the switch ports.; show statistics; Displays a summary of the network traffic handled by the switch.
2.8 Port Settings 2.8.1 Port commands - EXEC level show interfaces config Displays the basic configuration of the switch ports. Output Format : Switch Configuration - Port Settings Port ---- 1 2 3 4 5 6 7 8 9 10 11 show statistics Type Enabled Mode Flow Ctrl Bcast Limit -------- + ------- ----------...
Page 25 - Displays the network traffic statistics for the specified port.
show statistics < port-number > Displays the network traffic statistics for the specified port. Output Format : Status and Counters - Port Counters - Port 1 Link Status : Up Bytes Rx : 83,290,873 Bytes Tx : 1,234,430 Unicast Rx : 395,490 Unicast Tx : 14,995 Bcast/Mcast Rx : 40,161 Bcast/Mcast ...
Page 26 - show interfaces; Ethernet Interface Configuration Commands; may be used to configure these options on more than one port; disable
------ --------- ---------- ------ ------- --------- -------- show interfaces Displays the status and current configuration of all the switch ports. Output Format : Status and Counters - Port Status Intrusion Flow Bcast Port Type Alert Enabled Status Mode Ctrl Limit ---- 1 10/100TX No Yes Up 0 2 10/...
Page 27 - Trunk Configuration
1 2 3 4 5 6 7 8 -------- [no] flow-control Enables or disables flow control on the port. Note : Full-duplex ports only. speed-duplex <10-full | 10-half | 100-full | 100-half | 1000-full | 10-auto | auto> Sets the mode of operation for the port. [no] lacp [active|passive] enables or disables LA...
Page 28 - show lacp; Displays LACP status information.; For Trunks; : All ports in a Trunked group, 1 to 4 ports maximum, must have the same; General Considerations; trk; X indicates a general group of trunked ports; none; indicates that the
1 2 34 5 6 7 8 --------- --------- -------- ----- -------- show lacp Displays LACP status information. Output Format : LACP P0RT LACP TRUNK PORT LACP LACP NUMB ENABLED GROUP STATUS PARTNER STATUS ---- Active Dyn1 Up Yes Success Passive Trk1 Down No Failure Active Blocked No Failure Active Disabled A...
Page 29 - type; ] - Determines the method by which the switch; trunk; Displays spanning tree configuration information.
1 2 3 4 5 6 7 [ type < trunk | fec | lacp> ] - Determines the method by which the switch distributes the traffic load across the multiple links in the trunk group: trunk - uses source and destination MAC addresses for load distribution (select this to connect to devices such as the HP Switch...
Page 32 - show ip; Displays the IP configuration on the switch.
--------------- --------------- 2.11 IP 2.11.1 IP commands - EXEC level show ip Displays the IP configuration on the switch. Output Format There are two different IP configuration screens. The first is displayed when no vlans are configured on the switch; the second is displayed when vlans are confi...
Page 33 - show ip authorized-managers; Displays the current configuration's IP managers access records.; show arp; Displays the ARP cache of the switch.; show ip route; Displays active IP route entries used by the switch.
--------------------- -------------------- ----------- ------------- ---- ---- ---- ----------- ------------- show ip authorized-managers Displays the current configuration's IP managers access records. Output Format : Switch Configuration - IP Managers Authorized Manager IP IP Mask Access Level ---...
Page 34 - show timp; Displays active Timep configuration.; show sntp; Displays active SNTP configuration.
show timp Displays active Timep configuration. Output Format Timep Configuration Time Sync Mode: Timep TimeP Mode [Disabled] : Manual Server Address : 15.29.16.105 Poll Interval (min) [720] : 600 show sntp Displays active SNTP configuration. Output Format SNTP Configuration Time Sync Mode: Timep SNT...
Page 36 - server; Configures SNTP on the switch.; ip route; Used to configure a static IP route for the switch.; ip ttl; value
[no] sntp < server < ip-addr > [version] > [ poll-interval <30-720>] Configures SNTP on the switch. ip default-gateway < ip-addr > Assigns an IP address to be used as the default gateway when the switch is not in routing mode. ip route << ip-addr >/<1..32> | &l...
Page 37 - secondary; > - This is an alternative syntax for specifying the IP address
2.11.3 IP commands - VLAN Interface level [no] ip address < dhcp-bootp | << ip-addr >/<1..32> | < ip-addr > < ip-mask >] [ secondary ]> This command configures the IP address for the switch. Note, by default this command uses a VLAN identifier of one. Although this c...
Page 40 - Displays the current VLANs.; VLAN commands – Configuration Level
1 2 3 4 5 6 7 8 ------------ ------------ ------ ------ ------------ 2.13 VLAN Configuration 2.13.1 VLAN commands - EXEC level show vlans Displays the current VLANs. Output Format : Switch Configuration - VLAN Information VLAN Support [No] : Yes Maximum VLANs to support [8] : 8 Primary VLAN: DEFAULT...
Page 42 - GVRP commands – Configuration level; Enables the Group VLAN Registration Protocol (GVRP) on the switch.; Ethernet Interface Configuration commands
---- auto < port-list > Causes each port identified in the port-list to learn their VLAN membership using the Group VLAN Registration Protocol (GVRP). This command is only valid when GVRP is enabled. 2.14 GVRP 2.14.1 GVRP commands - EXEC level show gvrp Displays the current VLANs. Output Forma...
Page 44 - IGMP Configuration commands – Vlan Interface level; Determines whether the switch is querier or not.
2.15.2 IGMP Configuration commands – Vlan Interface level [no] ip igmp Enables the IP Multicast (IGMP) feature for IGMP communication between Multicast Routers, Multicast Servers, and Multicast Clients connected to the switch or selected VLAN. [no] ip igmp high-priority-forward Determines whether th...
Page 45 - monitor; copied to the monitoring port.
2.16 Port Monitoring 2.16.1 Port Monitoring commands - EXEC level show mirror-port Displays the configuration of the monitoring port. Output Format : Switch Configuration - Network Monitoring Port Monitoring Enabled [No] : Yes Monitoring Port : 3 Monitor : Ports Port Type Action | Port Type Action -...
Page 47 - This command configures port security on the switch.
-------------------------- ------------- show port-security [ethernet] < port-list > Displays the port security configuration for an individual port. Output Format : Switch Configuration - Port Security Port : 3 Learn Mode [Continuous] : Continuous Action [None] : None show port-security intru...
Page 48 - is selected for the; is selected for the; action
defined by the "address-limit" parameter are learned or entered for the port. These addresses are static; they are not aged out. addr-limit <1..8> - This parameter is valid only if static is selected for the learn-mode . This parameter defines the number of network devices that are a...
Page 50 - General System Information
3.1.1 General System Information HP ProCurve Switch xxxxx 01-Apr-2000 ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - General System Information System Contact : System Location : Firmware revision : E.08.XX Base MAC Addr : 0060b0-882200 ROM Ver...
Page 54 - Spanning Tree Information
----------------- ---------- -------- ----- ------------ 3.1.8 Spanning Tree Information HP ProCurve Switch xxxxx 01-Apr-2000 ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - Spanning Tree Information STP Enabled : Yes Switch Priority : 32,768 He...
Page 55 - Configuration Menu
3.2 Configuration Menu HP ProCurve Switch xxxxx 01-Apr-2000 ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration Menu 1. System Information 2. Port/Trunk Settings 3. Network Monitoring Port 4. Spanning Tree Operation 5. IP Configuration 6. SNMP Commun...
Page 58 - With multiple Vlans configured:
--------------- ------------ 3.2.5 IP Configuration HP ProCurve Switch xxxxx 01-Apr-2000 ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration - Internet (IP) Service Default Gateway : 10.0.8.1 Time Protocol Config [DHCP] : DHCP TimeP Poll Interval (mi...
Page 63 - Download Screen
3.5 Download Screen HP ProCurve Switch xxxxx 01-Apr-2000 ==========================- CONSOLE - MANAGER MODE -============================ Download OS Current Firmware revision : E.08.XX Method [TFTP] : TFTP TFTP Server : Remote File Name : Actions-> Cancel Edit eXecute Help Select the file transf...
Page 64 - Index
Index A aaa authentication console ................................16 aaa authentication telnet....................................16 arp......................................................................32 auto ....................................................................38 auto-tftp .......