Revision 1.3
July 2001

Advertising

   Related Manuals for HP Procurve 2524

   Summary of Contents for HP Procurve 2524

  • Page 1

    Revision 1.3 July 2001...

  • Page 3: Table Of Contents

    Contents INTRODUCTION ...1 ...1 ONVENTIONS ...1 RGUMENT YPES RIVILEGE AND ONTEXT LEVELS OMMAND NTERFACE ...3 YSTEM OMMAND DITING COMMAND SUMMARY...5 EXEC C OMMANDS IAGNOSTIC OMMANDS YSTEM ONFIGURATION 2.3.1 System commands - EXEC level...11 2.3.2 System Configuration commands...14 AUTHENTICATION ...16 2.4.1 AUTHENTICATION commands - Configuration level...16 TACACS...17 2.5.1...

  • Page 4: Table Of Contents

    2.16 ...41 ONITORING 2.16.1 Port Monitoring commands - EXEC level ...41 2.16.2 Port Monitoring commands - Configuration level...41 2.16.3 Port Monitoring commands - VLAN Interface level ...42 2.16.4 Port Monitoring commands - Ethernet Interface level ...42 2.17 ...42 ECURITY 2.17.1 Port Security commands - EXEC level ...42 2.17.2 Port Security commands - Configuration level...43...

  • Page 5: C Onventions, A Rgument T Ypes, Introduction

    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 support a subset of the total feature set that is described in this document.

  • Page 6: P Rivilege And C Ontext Levels

    EXEC level HP 4108GL> Figure 1: Command and context levels When you log onto the switch, you will be placed at the operator EXEC level and the system will display the following prompt: HP 4108GL>...

  • Page 7: The Command Line Interface

    (1), the system would display the options seen in section (2) and the system would return to the configuration level prompt with the partially completed command line seen in (3): HP 4108GL(config) t trunk trap...

  • Page 8: Command Line Editing

    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) trap-send-authentication 1.6 Command Line Editing Before you press return, the current command line can be edited using special keys including arrows and control characters.

  • Page 9: U Ser Exec C Ommands, Command Summary

    Command Summary 2.1 User EXEC Commands enable Enters the manager EXEC level. If a manager password is set, the system will first prompt for the password. Echoing is disabled while you enter the password. Initially there are no passwords for the two levels of users in the system: manager and operator.

  • Page 10: D Iagnostic C Ommands

    [no] page Toggles the paging mode for display commands so that the “—more –“ will appear or not appear. repeat Repeatedly executes the previous command until a key is pressed. vlan <vlan-name | vlan-id> Enters the VLAN interface configuration context for the VLAN. 2.2 Diagnostic Commands boot [system [flash <primary|secondary>]] Performs cold reboot of switch.

  • Page 11

    copy <startup-config|running-config|crash-log|event-log|crash-rec|Command> This command writes the switch's configuration file, crashrec, eventlog or the output from a command specified by Command to the remote file on the remote host. show startup-config Displays the configuration stored in flash. show running-config Displays the configuration stored in flash. show boot-history Displays the switch shutdown history.

  • Page 12

    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 telnet session with another network device.

  • Page 13

    Displays software version information for images in flash. show tech Displays switch information needed by HP support for diagnostics. copy xmodem < startup-config |flash [primary|secondary]> Retrieves a configuration file using the Xmodem protocol and then writes the retrieved file to the switch's flash.

  • Page 14

    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 able to respond to this test packet with an 802.2 Test Response packet in order for the test to work.

  • Page 15: S Ystem C Onfiguration, System Commands - Exec Level

    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 (sec) [3] : 3 Displayed Events [All] : All Baud Rate [Speed Sense] : Speed Sense Flow Control [XON/XOFF] : XON/XOFF...

  • Page 16

    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-1c65ee 00c0f0-1c66ea 00c0f0-30d74a...

  • Page 17

    show modules Displays the modules that are present on the switch. Output Format: Status and Counters - Module Information Slot Module Type ---- --------------- show system-information Displays the status of and current configuration of all the switch internal resources. Output Format: ..System Name System Contact System Location...

  • Page 18: System Configuration Commands

    2.3.2 System Configuration commands mac-age-time <1..100000> Sets the number of seconds a MAC address stays in the switch address table before being aged out. Aging out occurs if traffic isn't received from that MAC station within the age interval. The default value is 300. console [terminal <vt100 | ansi>...

  • Page 19

    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 location is to the West(+) or East(-) of GMT (default is 0).  daylight-time-rule <alaska | none | continental-us-canada | middle-europe- and-portugal | southern-hemisphere | western-europe | user-defined>...

  • Page 20: Authentication, Authentication Commands - Configuration Level

    [no] telnet-server Enables remote telnet access to the switch. [no] web-management Enables the web browser to interact with the web agent on the switch. [no] password <operator | manager> Sets passwords for different classes of users. This command causes the switch to prompt for a password twice, once for the new password and once to verify it was typed correctly, and disables echoing while you type the password.

  • Page 21: Tacacs, Tacacs Commands - Exec Level, Tacacs Commands - Configuration Level

    2.5 TACACS 2.5.1 TACACS commands - EXEC level show tacacs Displays TACACS configuration. 2.5.2 TACACS commands - Configuration level [no] tacacs-server host <ip-addr> [key <key-string>] Configures a TACACS server. tacacs-server timeout <1-255> Sets up the TACACS timeout interval in seconds. 2.6 CDP 2.6.1 CDP commands - EXEC level...

  • Page 22: Ip Stacking Commands - Exec Level, Ip Stacking Commands - Configuration Level

    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 on the local network segment.

  • Page 23

    [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 enabled, the command switch will attempt to grab new candidate switches and make them members of the stack.

  • Page 24: Port Commands - Exec Level

    2.8 Port Settings 2.8.1 Port commands - EXEC level show interfaces config Displays the basic configuration of the switch ports. Output Format: Port Type ---- -------- + ------- 10/100TX | Yes 10/100TX | Yes 10/100TX | Yes 10/100TX | Yes 10/100TX | Yes 10/100TX | Yes 10/100TX | Yes...

  • Page 25

    show statistics <port-number> Displays the network traffic statistics for the specified port. Output Format: Status and Counters - Port Counters - Port 1 Link Status Bytes Rx Unicast Rx Bcast/Mcast Rx FCS Rx Alignment Rx Runts Rx Giants Rx Total Rx Errors : 4 : Up : 83,290,873 Bytes Tx...

  • Page 26: Ethernet Interface Configuration Commands

    Interface command to simply change the configuration. For example: HP 4108GL(config)# interface ethernet A1,A3 disable broadcast-limit <0..99> Sets the theoretical maximum of network bandwidth in percentage that can be used for broadcast traffic.

  • Page 27: T Runk C Onfiguration, Trunk Commands - Exec Level

    [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 LACP on the port. 2.9 Trunk Configuration 2.9.1 Trunk commands - EXEC level...

  • Page 28: Trunk Commands - Configuration Level

    show lacp Displays LACP status information. Output Format: P0RT LACP NUMB ENABLED ---- -------- Active Passive Active Active Active Active Active Active 2.9.2 Trunk commands - Configuration level [no] trunk <trk1..trk24 > [trunk | fec | lacp] <port list> This command configures each port in the switch to either be a Trunked, SA Only Trunked, FEC Trunked port, or a regular singular port.

  • Page 29: S Panning T Ree, Spanning Tree Commands - Exec Level

    MAC addresses for load distribution (select this to connect to devices such as the HP Switch 2000 or the Sun Trunk Server); fec - uses an automatic protocol for load distribution (select this to connect to devices that support Cisco's Fast EtherChannel trunking).

  • Page 30: Spanning Tree Commands - Configuration Level

    show spanning-tree Displays bridge-level spanning tree information. Output Format: Status and Counters - Spanning Tree Information STP Enabled Switch Priority Hello Time Max Age Forward Delay Topology Change Count Time Since Last Change : 4 mins Root MAC Address Root Path Cost Root Port Root Priority Port...

  • Page 31

    spanning-tree [forward-delay <seconds>] [hello-time <seconds>] [maximum-age <seconds>] [priority <0..65535>] spanning-tree <[ethernet] port-list> [path-cost <1..65535>] This command configures the parameters for operation of the switch in a spanning tree topology. Note - the default spanning tree configuration complies with the IEEE 802.1D standard recommended values and should not be changed without thorough knowledge of spanning tree operation.

  • Page 32: Ip Commands - Exec Level

    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 configured.

  • Page 33

    show ip authorized-managers Displays the current configuration's IP managers access records. Output Format: Authorized Manager IP ---------------------- 192.32.36.78 show arp Displays the ARP cache of the switch. Output Format IP Address -------------- 192.32.36.78 show ip route Displays active IP route entries used by the switch. Output Format Network Addr --------------...

  • Page 34

    show timp Displays active Timep configuration. Output Format Time Sync Mode: Timep TimeP Mode [Disabled] : Manual Poll Interval (min) [720] : 600 show sntp Displays active SNTP configuration. Output Format Time Sync Mode: Timep SNTP Mode [Disabled] : Disabled Poll Interval (min) [720] : 600 Timep Configuration Server Address : 15.29.16.105...

  • Page 35: Ip Commands - Configuration Level

    2.11.2 IP commands - Configuration level [no] ip authorized-managers <ip-addr> [mask <ip-mask>] [operator | manager] Sets the IP addresses you will allow to access the switch’s Web browser interface, to telnet to the switch console, and to perform TFTP operations. A maximum of 10 addresses is supported.

  • Page 36

    [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> | <ip-addr> <ip-mask>> <ip-addr> Used to configure a static IP route for the switch.

  • Page 37: Ip Commands - Vlan Interface Level

    2.11.3 IP commands - VLAN Interface level [no] ip address <dhcp-bootp | <<ip-addr>/<1..32> | This command configures the IP address for the switch. Note, by default this command uses a VLAN identifier of one. Although this command is duplicated at the VLAN context level, it is defined here for those customers who do not want to be exposed to VLAN distinctions.

  • Page 38: Snmp, Snmp Commands - Exec Level

    2.12SNMP 2.12.1 SNMP commands - EXEC level show snmp-server Displays the SNMP communities which may be used to access the switch along with the network management stations configured to receive SNMP traps. Output Format: Community Name -------------- public Send Authentication Traps [No] : No Address ---------------------- 192.32.36.78...

  • Page 39: Snmp Commands – Configuration Level

    2.12.2 SNMP commands – Configuration Level [no] snmp-server community <community-name> [manager | operator] [restricted | unrestricted] Used to configure a new SNMP community or to edit the configuration for an existing one Parameters:  <community-name> - Enter (up to 16 characters) the SNMP community name.  [manager | operator] - Manager - the community can access all MIB objects;...

  • Page 40: Vlan C Onfiguration, Vlan Commands - Exec Level, Vlan Commands – Configuration Level

    2.13VLAN Configuration 2.13.1 VLAN commands - EXEC level show vlans Displays the current VLANs. Output Format: VLAN Support [No] : Yes Maximum VLANs to support [8] : 8 Primary VLAN: DEFAULT_VALN 802.1Q VLAN ID -------------- show vlans <vlan-id> Displays which ports are assigned to particular VLANs. Output Format: Switch Configuration - VLAN - VLAN Port Assignment Port...

  • Page 41: Vlan Interface Commands

    To enter the VLAN Interface Configuration level, use the vlan command described above. Note that any of the following commands can be appended to the vlan command to simply change the configuration. For example: HP 4108GL(config)# add vlan 2 name orange-lan name <vlan-name> Changes the current VLAN identifier’s name.

  • Page 42: Gvrp, Gvrp Commands - Exec Level, Gvrp Commands – Configuration Level, 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.14GVRP 2.14.1 GVRP commands - EXEC level show gvrp Displays the current VLANs. Output Format: GVRP Enabled [No] : Yes Port...

  • Page 43: Igmp, Igmp Commands – Exec Level

    2.15 IGMP 2.15.1 IGMP Commands – EXEC Level show ip igmp [vlan-id] config Displays IGMP configuration information. Output Format: IGMP Enabled [No] : No Forward with High Priority [No] : No Port Type ---- -------- + -------- 10/100TX | Auto 10/100TX | Auto 10/100TX | Auto 10/100TX | Auto...

  • Page 44: Igmp Configuration Commands – Vlan Interface Level

    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 the switch forwards all IP Multicast traffic at high priority. [no] ip igmp querier Determines whether the switch is querier or not.

  • Page 45: P Ort M Onitoring, Port Monitoring Commands - Exec Level

    2.16Port 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 ---- -------- + ------- 10/100TX |...

  • Page 46: Port Monitoring Commands - Vlan Interface Level, Port Monitoring Commands - Ethernet Interface Level

    2.16.3 Port Monitoring commands - VLAN Interface level [no] monitor Used to enable/disable monitoring of the VLAN. 2.16.4 Port Monitoring commands - Ethernet Interface level [no] monitor Used to enable/disable monitoring of the port. 2.17Port Security 2.17.1 Port Security commands - EXEC level show port-security Displays the per-port security configuration for the switch.

  • Page 47: Port Security Commands - Configuration Level

    show port-security [ethernet] <port-list> Displays the port security configuration for an individual port. Output Format: Port : 3 Learn Mode [Continuous] : Continuous Action [None] : None show port-security intrusion-log Displays information on any port security intrusions that have occurred on the switch.

  • Page 48

    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 authorized to communicate through the switch port.

  • Page 49: S Tatus And C Ounters, Console Menu

    Console Menu HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ 1. Status and Counters... 2. Switch Configuration... 3. Console Passwords… 4. Event Log 5. Command Line (CLI) 6. Reboot Switch 7. Download OS 8. Run Setup 0. Logout Provides the menu to display configuration, status, and counters.

  • Page 50: General System Information, Management Address Information

    3.1.1 General System Information HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - General System Information System Contact System Location Firmware revision : E.08.XX ROM Version : E.05.X1 Up Time : 40 mins CPU Util (%)

  • Page 51: Module Information, Port Status

    3.1.3 Module Information HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - Module Information Slot Module Type ---- --------------- --------------------------------------------- Slot Available Slot Available Slot Available Slot Available Slot Available Slot Available Slot Available Slot Available Actions->...

  • Page 52: Port Counters, Port Counters Details

    3.1.5 Port Counters HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - Port Counters Port Total Bytes Total Frames ---- ------------- ------------- 16,448 Actions-> Back Show details Return to previous screen. Use up/down arrow keys to scroll to other entries, left/right arrow keys to change action selection, and <Enter>...

  • Page 53: Address Table, Port Address Table

    3.1.6 Address Table HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - Address Table – VLAN ID 23 MAC Address Located on Port ------------- --------------- 0060b0-e26440 080009-092851 080009-76ac55 080009-97aad2 Actions-> Back Search Return to previous screen.

  • Page 54: Spanning Tree Information, Spanning Tree Port Information

    3.1.8 Spanning Tree Information HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Status and Counters - Spanning Tree Information STP Enabled Switch Priority Hello Time Max Age Forward Delay Topology Change Count Time Since Last Change : 4 mins...

  • Page 55: C Onfiguration M Enu

    3.2 Configuration Menu HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ 1. System Information 2. Port/Trunk Settings 3. Network Monitoring Port 4. Spanning Tree Operation 5. IP Configuration 6. SNMP Community Names 7. Authorized Managers 8. VLAN Menu...

  • Page 56: System Information, Port/trunk Settings

    3.2.1 System Information HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration - System Information System Name : DEFAULT_CONFIG System Contact : System Location : Inactivity Timeout (min) [0] : 0 Inbound Telnet Enabled [Yes] : Yes...

  • Page 57: Network Monitoring Port, Spanning Tree Operation

    3.2.3 Network Monitoring Port HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration – Network Monitoring Port Monitoring Enabled [No] : Yes Monitoring Port : A1 Monitor : Ports Port Type Action ---- -------- + ------- 10/100TX |...

  • Page 58: Ip Configuration

    3.2.5 IP Configuration HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration - Internet (IP) Service Default Gateway : 10.0.8.1 Time Protocol Config [DHCP] : DHCP TimeP Poll Interval (min) [720] : 720 IP Config [DHCP/Bootp] : Manual IP Address : 10.0.8.105...

  • Page 59: Snmp Communities, Authorized Managers

    3.2.6 SNMP Communities HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration - SNMP Communities Community Name MIB View ---------------- -------- public Manager Actions-> Back Return to previous screen. Use up/down arrow keys to change record selection, left/right arrow keys to change action selection, and <Enter>...

  • Page 60: Vlan Menu, Vlan Support

    3.2.8 VLAN Menu HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration - VLAN Menu 1. VLAN Support 2. VLAN Names 3. VLAN Port Assignment 4. Return to Previous Menu... 0. Return to Main Menu... Return to previous screen.

  • Page 61: Vlan Names, Vlan Port Assignment

    3.2.8.2 VLAN Names HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ Switch Configuration - VLAN Names Name 802.1Q VLAN ID ------------ -------------- DEFAULT_VLAN Actions-> Back Return to previous screen. Use up/down arrow keys to change record selection, left/right arrow keys to change action selection, and <Enter>...

  • Page 62: Password Menu, Event Log

    3.3 Password Menu HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ 1. Set Operator Password 2. Set Manager Password 3. Delete Password Protection 4. Return to Previous Menu... 0. Return to Main Menu... Prompts you to enter an Operator-level password.

  • Page 63

    <Enter> to go to Actions. 3.6 Run Setup HP ProCurve Switch xxxxx ==========================- CONSOLE - MANAGER MODE -============================ System Name : HP ProCurve Switch xxxxx System Contact : Manager Password : Logon Default : Menu Community Name : public Default Gateway : 10.0.8.1...

  • Page 64

    Index aaa authentication console ...16 aaa authentication telnet...16 arp...32 auto...38 auto-tftp ...14 boot...6 broadcast-limit ...22 cdp ...17 cdp enable ...17 cdp holdtime...17 cdp timer ...17 clear arp...7 clear intrusion-log ...8 clear statistics ...8 configure ...5 console ...14 copy ...6, 9 daylight-time-rule ...15 disable ...22 enable ...5, 22...

  • Page 65

    show management...12 show mirror-port ...41 show modules...13 show port-security...42, 43 show port-security intrusion log ...43 show running-config ...7 show snmp-server community ...34 show sntp...30 show spanning-tree ...26 show spanning-tree config ...25 show stack ...18 show startup-config...7 show statistics ...20 show system-information...13 show tacacs ...17 show tech...9 show timep ...30...

This manual also for:

Procurve 2512, Procurve 4108gl

Comments to this Manuals

Symbols: 0
Latest comments: