Page of 547
Download Table of ContentsContents Print This PagePrint Bookmark
   
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547
Management and
Configuration Guide
HP ProCurve
Series 4100GL Switches
Series 2600 Switches
Switch 6108
www.hp.com/go/hpprocurve

Advertising

   Summary of Contents for HP ProCurve Series 4100GL

  • Page 1

    Management and Configuration Guide HP ProCurve Series 4100GL Switches Series 2600 Switches Switch 6108 www.hp.com/go/hpprocurve...

  • Page 3

    HP ProCurve Series 4100GL Switches Series 2600 Switches Switch 6108 May 2003 Management and Configuration Guide...

  • Page 4

    See the Customer Support/Warranty booklet included with the product. A copy of the specific warranty terms applicable to your Hewlett-Packard products and replacement parts can be obtained from your HP Sales and Service Office or authorized dealer. Hewlett-Packard Company 8000 Foothills Boulevard, m/s 5551 Roseville, California 95747-5551 http://www.hp.com/go/hpprocurve...

  • Page 5: Table Of Contents, Getting Started, Getting Started

    Advantages of Using the CLI ........2-4 Advantages of Using the HP Web Browser Interface ... . . 2-5...

  • Page 6: Table Of Contents, Using The Menu Interface, Using The Command Line Interface (cli)

    Using a Standalone Web Browser in a PC or UNIX Workstation ..5-4 Using HP TopTools for Hubs & Switches ..... . . 5-5...

  • Page 7: Table Of Contents, Switch Memory And Configuration, Switch Memory And Configuration

    Creating Usernames and Passwords in the Browser Interface ..5-8 Online Help for the HP Web Browser Interface ....5-11 Support/Mgmt URLs Feature .

  • Page 8: Table Of Contents, Configuring Ip Addressing, Configuring Ip Addressing

    7 Interface Access, System Information, and Friendly Port Names Contents ............7-1 Overview .

  • Page 9: Table Of Contents, Time Protocols, Time Protocols

    9 Time Protocols Contents ............9-1 Overview .

  • Page 10: Table Of Contents

    Menu: Viewing and Configuring a Static Trunk Group ... 10-16 CLI: Viewing and Configuring a Static or Dynamic Port Trunk Group ........... 10-18 Web: Viewing Existing Port Trunk Groups .

  • Page 11: Table Of Contents, Port-based Virtual Lans (vlans) And Gvrp, Port-based Virtual Lans (vlans) And Gvrp

    CDP ............11-24 Introduction .

  • Page 12: Table Of Contents, And 802.1d Spanning Tree Protocol (stp), And 802.1d Spanning Tree Protocol (stp)

    GVRP ............12-33 General Operation .

  • Page 13: Table Of Contents, Hp Procurve Stack Management, Hp Procurve Stack Management

    Which Devices Support Stacking? ......15-4 Components of HP ProCurve Stack Management ....15-5 General Stacking Operation .

  • Page 14: Table Of Contents, Ip Routing Features, Ip Routing Features

    Configuring Stack Management ....... 15-9 Overview of Configuring and Bringing Up a Stack ....15-9 Using the Menu Interface To View Stack Status and Configure Stacking .

  • Page 15: Table Of Contents

    CLI: Switch-To-Switch Downloads ..... . . A-10 Using the HP TopTools for Hubs & Switches Utility ... . A-11 Troubleshooting TFTP Downloads .

  • Page 16: Table Of Contents

    B Monitoring and Analyzing Switch Operation Contents ........... . . B-1 Overview .

  • Page 17: Table Of Contents

    Determining MAC Addresses ........D-2 E Daylight Savings Time on HP ProCurve Switches...

  • Page 18

    — This page is intentionally blank. — xvi...

  • Page 19: Contents

    Getting Started Contents Introduction ..........1-2 About the Feature Descriptions .

  • Page 20: Introduction, About The Feature Descriptions, About The Feature Descriptions

    “Related Publications” on page 1-4. The Product Documentation CD-ROM shipped with the switch includes a copy of this guide. You can also download a copy from the HP ProCurve website, http://www.hp.com/go/hpprocurve. (See “Getting Documentation From the Web” on page 1-6.)

  • Page 21: Conventions, Command Syntax Statements, Command Prompts, Command Syntax Statements, Command Prompts

    HP ProCurve Switch 4104# HP ProCurve Switch 4108# HP ProCurve Switch 2626# HP ProCurve Switch 2650# HP ProCurve Switch 6108# To simplify recognition, this guide uses HPswitch to represent command prompts for all models. For example: HPswitch# (You can use the hostname command to change the text in the CLI prompt.)

  • Page 22: Screen Simulations, Port Identity Convention For Examples, Related Publications, Port Identity Convention For Examples

    A PDF version of this guide is also provided on the Product Documentation CD-ROM shipped with the switch. And you can download a copy from the HP ProCurve website. (See “Getting Documentation From the Web” on page 1-6.)

  • Page 23

    5300XL switches) HP provides a PDF version of this guide on the Product Documentation CD-ROM shipped with the switch. You can also download a copy from the HP ProCurve website. (See “Getting Documentation From the Web” on page 1-6.) Release Notes. Release notes are posted on the HP ProCurve website and...

  • Page 24: Getting Documentation From The Web

    1. Go to the HP ProCurve website at http://www.hp.com/go/hpprocurve Click on technical support. Click on manuals. Click on the product for which you want to view or download a manual. Figure 1-2. Finding Product Manuals on the HP ProCurve Website...

  • Page 25: Sources For More Information

    Figure 1-4. Getting Help in the CLI ■ If you need information on specific features in the HP Web Browser Interface (hereafter referred to as the “web browser interface”), use the online help available for the web browser interface. For more information on web browser Help options, refer to “Online Help for...

  • Page 26: Need Only A Quick Start?, Need Only A Quick Start, Need Only A Quick Start

    IP Addressing. If you just want to give the switch an IP address so that it can communicate on your network, or if you are not using VLANs, HP recommends that you use the Switch Setup screen to quickly configure IP addressing.

  • Page 27

    Advantages of Using the CLI ........2-4 Advantages of Using the HP Web Browser Interface ... . . 2-5...

  • Page 28: Overview

    For information on how to access the web browser interface Help, refer to “Online Help for the HP Web Browser Interface” on page 5-11. To use HP TopTools for Hubs and Switches, refer to the HP TopTools User’s Guide and the TopTools online help, which are available electronically with the TopTools software.

  • Page 29: Advantages Of Using The Menu Interface

    Selecting a Management Interface Advantages of Using the Menu Interface Advantages of Using the Menu Interface Figure 2-1. Example of the Console Interface Display Provides quick, easy management access to a menu-driven subset of ■ switch configuration and performance features: •...

  • Page 30: Advantages Of Using The Cli

    Selecting a Management Interface Advantages of Using the CLI Advantages of Using the CLI Operator Level HPswitch> Manager Level HPswitch# Global Configuration Level HPswitch(config)# Context Configuration Levels (port, VLAN) HPswitch(<context>)# Figure 2-2. Command Prompt Examples ■ Provides access to the complete set of the switch configuration, perfor­ mance, and diagnostic features.

  • Page 31: Advantages Of Using The Hp Web Browser Interface

    Advantages of Using the HP Web Browser Interface Advantages of Using the HP Web Browser Interface Figure 2-3. Example of the HP Web Browser Interface ■ Easy access to the switch from anywhere on the network Familiar browser interface--locations of window objects consistent ■...

  • Page 32: Advantages Of Using Hp Toptools For Hubs & Switches

    Advantages of Using HP TopTools for Hubs & Switches You can operate HP TopTools from a PC on the network to monitor traffic, manage your hubs and switches, and proactively recommend network changes to increase network uptime and optimize performance. Easy to install and use, HP TopTools for Hubs &...

  • Page 33

    Enables you to proactively manage your network by using the Alert Log to quickly identify problems and suggest solutions, saving valu­ able time. • Notifies you when HP hubs use “self-healing” features to fix or limit common network problems. • Provides a list of discovered devices, with device type, connectivity status, the number of new or open alerts for each device, and the type of management for each device.

  • Page 34

    Selecting a Management Interface Advantages of Using HP TopTools for Hubs & Switches — This page is intentionally unused. — 2-8...

  • Page 35

    Using the Menu Interface Contents Overview ........... . . 3-2 Overview .

  • Page 36

    Reboot the switch For a detailed list of menu features, see the “Menu Features List” on page 3-14). Privilege Levels and Password Security. HP strongly recommends that you configure a Manager password to help prevent unauthorized access to your network. A Manager password grants full read-write access to the switch.

  • Page 37: Starting And Ending A Menu Session

    Using the Menu Interface Starting and Ending a Menu Session N o t e If the switch has neither a Manager nor an Operator password, anyone having access to the console interface can operate the console with full manager privileges. Also, if you configure only an Operator password, entering the Operator password enables full manager privileges.

  • Page 38: How To Start A Menu Interface Session

    A PC terminal emulator or terminal • Telnet (You can also use the stack Commander if the switch is a stack member. See Chapter 15, “HP ProCurve Stack Management”). Do one of the following: • If you are using Telnet, go to step 3.

  • Page 39: How To End A Menu Session And Exit From The Console:

    Using the Menu Interface Starting and Ending a Menu Session Figure 3-1. The Main Menu with Manager Privileges For a description of Main Menu features, see “Main Menu Features” on page 3-7). N o t e To configure the switch to start with the menu interface instead of the CLI, go to the Manager level prompt in the CLI, enter the command, and in the setup...

  • Page 40

    Using the Menu Interface Starting and Ending a Menu Session Asterisk indicates a configuration change that requires a reboot to activate. Figure 3-2. An Asterisk Indicates a Configuration Change Requiring a Reboot 1. In the current session, if you have not made configuration changes that require a switch reboot to activate, return to the Main Menu and press (zero) to log out.

  • Page 41: Main Menu Features

    Using the Menu Interface Main Menu Features Main Menu Features Figure 3-3. The Main Menu View with Manager Privileges The Main Menu gives you access to these Menu interface features: ■ Status and Counters: Provides access to display screens showing switch information, port status and counters, port and VLAN address tables, and spanning tree information.

  • Page 42

    Stacking: Enables you to use a single IP address and standard network ■ cabling to manage a group of up to 16 switches in the same subnet (broadcast domain). See Chapter 15, “HP ProCurve Stack Management”. ■ Logout: Closes the Menu interface and console session, and disconnects Telnet access to the switch.

  • Page 43: Screen Structure And Navigation

    Using the Menu Interface Screen Structure and Navigation Screen Structure and Navigation Menu interface screens include these three elements: ■ Parameter fields and/or read-only information such as statistics Navigation and configuration actions, such as Save, Edit, and Cancel ■ ■ Help line to describe navigation options, individual parameters, and read- only data For example, in the following System Information screen:...

  • Page 44

    Using the Menu Interface Screen Structure and Navigation Table 3-1. How To Navigate in the Menu Interface Task: Actions: Execute an action Use either of the following methods: from the “Actions –>” • Use the arrow keys ([<] or [>]) to highlight the action you want to list at the bottom of execute, then press [Enter].

  • Page 45

    Using the Menu Interface Screen Structure and Navigation To get Help on individual parameter descriptions. In most screens there is a Help option in the Actions line. Whenever any of the items in the Actions line is highlighted, press , and a separate help screen is displayed. For example: Pressing [H] or highlighting Help and pressing [Enter] displays Help for the...

  • Page 46: Rebooting The Switch

    Using the Menu Interface Rebooting the Switch Rebooting the Switch Rebooting the switch from the menu interface ■ Terminates all current sessions and performs a reset of the operating system Activates any menu interface configuration changes that require a reboot ■...

  • Page 47

    Using the Menu Interface Rebooting the Switch Rebooting To Activate Configuration Changes. Configuration changes for most parameters in the menu interface become effective as soon as you save them. However, you must reboot the switch in order to implement a change in the .

  • Page 48: Menu Features List

    Using the Menu Interface Menu Features List Menu Features List Status and Counters • General System Information • Switch Management Address Information • Port Status • Port Counters • Address Table • Port Address Table • Spanning Tree Information Switch Configuration •...

  • Page 49: Where To Go From Here

    Refer to the Installation and Getting Started Guide To use the Run Setup option shipped with the switch. To use the HP ProCurve Stack Manager Chapter 15, “HP ProCurve Stack Management” To view and monitor switch status and Appendix B, “Monitoring and Analyzing Switch counters Operation”...

  • Page 50

    Using the Menu Interface Where To Go From Here — This page is intentionally unused. — 3-16...

  • Page 51

    Using the Command Line Interface (CLI) Contents Overview ........... . . 4-2 Accessing the CLI .

  • Page 52

    Using the Command Line Interface (CLI) Overview Overview The CLI is a text-based command interface for configuring and monitoring the switch. The CLI gives you access to the switch’s full set of commands while providing the same password protection that is used in the web browser interface and the menu interface.

  • Page 53: Privilege Levels At Logon

    Using the Command Line Interface (CLI) Using the CLI Startup Config file in non-volatile memory. If you reboot the switch without first using write memory, all changes made since the last reboot or write memory (whichever is later) will be lost. For more on switch memory and saving configuration changes, see Chapter 6, “Switch Memory and Configuration”.

  • Page 54: Privilege Level Operation, Operator Privileges, Operator Privileges

    Using the CLI C a u t i o n HP strongly recommends that you configure a Manager password. If a Man­ ager password is not configured, then the Manager level is not password- protected, and anyone having in-band or out-of-band access to the switch may be able to reach the Manager level and compromise switch and network security.

  • Page 55: Manager Privileges, Manager Privileges

    Using the Command Line Interface (CLI) Using the CLI Manager Privileges Manager privileges give you three additional levels of access: Manager, Global Configuration, and Context Configuration. (See figure .) A "#" character delimits any Manager prompt. For example: HPswitch#_ Example of the Manager prompt. ■...

  • Page 56

    Using the Command Line Interface (CLI) Using the CLI Changing Interfaces. If you change from the CLI to the menu interface, or the reverse, you will remain at the same privilege level. For example, entering the menu command from the Operator level of the CLI takes you to the Operator privilege level in the menu interface.

  • Page 57: How To Move Between Levels

    Using the Command Line Interface (CLI) Using the CLI How To Move Between Levels Change in Levels Example of Prompt, Command, and Result Operator level HPswitch> enable Password:_ Manager level After you enter enable, the Password prompt appears. After you enter the Manager password, the system prompt appears with the # symbol: HPswitch#_...

  • Page 58: Listing Commands And Command Options, Listing Commands Available At Any Privilege Level

    Using the Command Line Interface (CLI) Using the CLI For example, if you use the menu interface to configure an IP address of “X” for VLAN 1 and later use the CLI to configure a different IP address of “Y” for VLAN 1, then “Y”...

  • Page 59

    Using the Command Line Interface (CLI) Using the CLI Typing ? at the Manager level produces this listing: When - - MORE - - appears, use the Space bar or [Return] to list additional Figure 4-4. Example of the Manager-Level Command Listing When - - MORE - - appears, there are more commands in the listing.

  • Page 60: Command Option Displays

    Using the Command Line Interface (CLI) Using the CLI telnet terminal HPswitch(config)# t As mentioned above, if you type part of a command word and press , the [Tab] CLI completes the current word (if you have typed enough of the word for the CLI to distinguish it from other possibilities), including hyphenated exten­...

  • Page 61: Displaying Cli "help", Displaying Cli "help, Displaying Cli "help

    Using the Command Line Interface (CLI) Using the CLI Listing Command Options. You can use the CLI to remind you of the options available for a command by entering command keywords followed . For example, suppose you want to see the command options for config­ uring port C5: This example displays the command options for configuring port C5 on the switch.

  • Page 62

    Using the Command Line Interface (CLI) Using the CLI Figure 4-6. Example of Context-Sensitive Command-List Help Displaying Help for an Individual Command. You can display Help for any command that is available at the current context level by entering enough of the command string to identify the command, along with help.

  • Page 63: Configuration Commands And The Context Configuration Modes

    Using the Command Line Interface (CLI) Using the CLI Figure 4-8. Example of Help for a Specific Instance of a Command Note that trying to list the help for an individual command from a privilege level that does not include that command results in an error message. For example, trying to list the help for the interface command while at the global configuration level produces this result: HPswitch# interface help...

  • Page 64

    Using the Command Line Interface (CLI) Using the CLI Lists the commands you HPswitch(eth-C5-C8)#? can use in the port or static trunk context, plus the HPswitch(eth-C5-C8)#? Manager, Operator, and context commands you can execute at this level. In the port context, the first block of commands in the "?" listing show the context-specific commands that will affect only ports C3-C6.

  • Page 65

    Using the Command Line Interface (CLI) Using the CLI VLAN Context . Includes VLAN-specific commands that apply only to the selected VLAN, plus Manager and Operator commands. The prompt for this mode includes the VLAN ID of the selected VLAN. For example, if you had already configured a VLAN with an ID of 100 in the switch: Command executed at configura­...

  • Page 66: Cli Control And Editing

    Using the Command Line Interface (CLI) CLI Control and Editing CLI Control and Editing Keystrokes Function [Ctrl] [A] Jumps to the first character of the command line. or [<] Moves the cursor back one character. [Ctrl] [B] [Ctrl] [C] Terminates a task and displays the command prompt. [Ctrl] [D] Deletes the character at the cursor.

  • Page 67

    Using a Standalone Web Browser in a PC or UNIX Workstation ..5-4 Using HP TopTools for Hubs & Switches ..... . . 5-5 Tasks for Your First HP Web Browser Interface Session .

  • Page 68

    Using the HP Web Browser Interface Overview Overview The HP web browser interface built into the switch lets you easily access the switch from a browser-based PC on your network. This lets you do the following: Optimize your network uptime by using the Alert Log and other diagnostic ■...

  • Page 69: General Features

    Using the HP Web Browser Interface General Features General Features The switch includes these web browser interface features: Switch Configuration: • Ports • VLANs and Primary VLAN • Fault detection • Port monitoring (mirroring) • System information • Enable/Disable Multicast Filtering (IGMP) and Spanning Tree •...

  • Page 70: Starting An Hp Web Browser Interface Session With The Switch

    N o t e Although TopTools recognizes the Switch 2626 as an SNMP device, custom­ ized device management is not supported for the Switch 2626 in HP TopTools for hubs and switches. Using a Standalone Web Browser in a PC or UNIX...

  • Page 71: Using Hp Toptools For Hubs & Switches

    Using HP TopTools for Hubs & Switches HP TopTools for Hubs & Switches is designed for installation on a network management workstation. For this reason, the HP TopTools system require­ ments are different from the system requirements for accessing the switch’s web browser interface from a non-management PC or workstation.

  • Page 72

    Using the HP Web Browser Interface Starting an HP Web Browser Interface Session with the Switch 3. The web browser interface automatically starts with the Status Overview window displayed for the selected device, as shown in figure 5-1. N o t e If the Registration window appears, click on the Status tab.

  • Page 73: Tasks For Your First Hp Web Browser Interface Session, Viewing The "first Time Install" Window

    Using the HP Web Browser Interface Tasks for Your First HP Web Browser Interface Session Tasks for Your First HP Web Browser Interface Session The first time you access the web browser interface, there are three tasks that you should perform: ■...

  • Page 74: Creating Usernames And Passwords In The Browser Interface

    Using the HP Web Browser Interface Tasks for Your First HP Web Browser Interface Session This window is the launching point for the basic configuration you need to perform to set web browser interface passwords to maintain security and Fault Detection policy, which determines the types of messages that will be displayed in the Alert Log.

  • Page 75

    Using the HP Web Browser Interface Tasks for Your First HP Web Browser Interface Session Figure 5-3. The Device Passwords Window To set the passwords: Access the Device Passwords screen by one of the following methods: • If the Alert Log includes a “First Time Install” event entry, double click on this event, then, in the resulting display, click on the secure access to the device link.

  • Page 76

    Using the HP Web Browser Interface Tasks for Your First HP Web Browser Interface Session N o t e Passwords you assign in the web browser interface will overwrite previous passwords assigned in either the web browser interface, the Command Prompt, or the switch console.

  • Page 77: Online Help For The Hp Web Browser Interface

    Context-sensitive help is provided for the screen you are on. N o t e If you do not have HP TopTools for Hubs and Switches installed on your network and do not have an active connection to the World Wide Web, then Online help for the web browser interface will not be available.

  • Page 78: Support/mgmt Urls Feature

    - the URL of the network Management server or other source of the online help files for this web browser inter- face. (The default accesses Help on HP’s World Wide Web site.) Figure 5-6. The Default Support/Mgmt URLs Window 5-12...

  • Page 79: Support Url, Help And The Management Server Url, Help And The Management Server Url

    5-6. The switch is shipped with the URL set to retrieve online Help from the HP World Wide Web site. However, if HP TopTools for Hubs & Switches is installed on a management station on your network and discovers the switch, the Management Server URL is automatically changed to retrieve the Help from your TopTools management station.

  • Page 80

    If Online Help Fails To Operate. Do one of the following: ■ If HP TopTools for Hubs & Switches is installed and running on your network, enter the IP address or DNS name of the network management station in the Management Server URL field shown in figure 5-7 on page 5-14.

  • Page 81: Status Reporting Features, The Overview Window, The Overview Window

    Using the HP Web Browser Interface Status Reporting Features Status Reporting Features Browser elements covered in this section include: The Overview window (below) ■ ■ Port utilization and status (page 5-16) ■ The Alert log (page 5-19) The Status bar (page 5-22) ■...

  • Page 82: The Port Utilization And Status Displays

    Using the HP Web Browser Interface Status Reporting Features The Port Utilization and Status Displays The Port Utilization and Status displays show an overview of the status of the switch and the amount of network activity on each port. The following figure shows a sample reading of the Port Utilization and Port Status.

  • Page 83

    Using the HP Web Browser Interface Status Reporting Features Maximum Activity Indicator: As the bars in the graph area change ■ height to reflect the level of network activity on the corresponding port, they leave an outline to identify the maximum activity level that has been observed on the port.

  • Page 84: Port Status

    Using the HP Web Browser Interface Status Reporting Features Port Status Port Status Indicators Legend Figure 5-12. The Port Status Indicators and Legend The Port Status indicators show a symbol for each port that indicates the general status of the port. There are four possible statuses: ■...

  • Page 85: The Alert Log

    Using the HP Web Browser Interface Status Reporting Features The Alert Log The web browser interface Alert Log, shown in the lower half of the screen, shows a list of network occurrences, or alerts, that were detected by the switch. Typical alerts are Broadcast Storm, indicating an excessive number of broadcasts received on a port, and Problem Cable, indicating a faulty cable.

  • Page 86: Alert Types

    Using the HP Web Browser Interface Status Reporting Features Alert Types The following table lists the types of alerts that can be generated. Table 5-1. Alert Strings and Descriptions Alert String Alert Description First Time Install Important installation information for your switch.

  • Page 87

    Using the HP Web Browser Interface Status Reporting Features N o t e When troubleshooting the sources of alerts, it may be helpful to check the switch’s Port Status and Port Counter windows and the Event Log in the console interface.

  • Page 88: The Status Bar

    Using the HP Web Browser Interface Status Reporting Features The Status Bar The Status Bar is displayed in the upper left corner of the web browser interface screen. Figure 5-15 shows an expanded view of the status bar. Most Critical Alert Description...

  • Page 89: Setting Fault Detection Policy

    Using the HP Web Browser Interface Status Reporting Features Product Name. The product name of the switch to which you are ■ connected in the current web browser interface session. Setting Fault Detection Policy One of the powerful features in the web browser interface is the Fault Detection facility.

  • Page 90

    Never. Disables the Alert Log and transmission of alerts (traps) to the management server (in cases where a network management tool such as HP TopTools for Hubs & Switches is in use). Use this option when you don’t want to use the Alert Log.

  • Page 91

    Switch Memory and Configuration Contents Overview ........... . . 6-2 Overview of Configuration File Management .

  • Page 92

    Switch Memory and Configuration Overview Overview This chapter describes: ■ How switch memory manages configuration changes How the CLI implements configuration changes ■ ■ How the menu interface and web browser interface implement configu­ ration changes ■ How the switch provides OS (operating system) options through primary/ secondary flash image options How to use the switch’s primary and secondary flash options, including ■...

  • Page 93

    Switch Memory and Configuration Overview of Configuration File Management Running Config File: Exists in volatile memory and controls switch ■ operation. If no configuration changes have been made in the CLI since the switch was last booted, the running-config file is identical to the startup-config file.

  • Page 94

    Switch Memory and Configuration Overview of Configuration File Management "permanent". When you are satisfied that the change is satisfactory, you can make it permanent by executing the command. For example, write memory suppose you use the following command to disable port 5: HPswitch(config)# interface ethernet 5 disable The above command disables port 5 in the running-config file, but not in the startup-config file.

  • Page 95: Using The Cli To Implement Configuration Changes

    Switch Memory and Configuration Using the CLI To Implement Configuration Changes Using the CLI To Implement Configuration Changes The CLI offers these capabilities: Access to the full set of switch configuration features ■ ■ The option of testing configuration changes before making them perma­ nent How To Use the CLI To View the Current Configuration Files.

  • Page 96

    Switch Memory and Configuration Using the CLI To Implement Configuration Changes 3. Observe the switch’s performance with the new parameter settings to verify the effect of your changes. 4. When you are satisfied that you have the correct parameter settings, use command to copy the changes to the startup-config file.

  • Page 97

    Switch Memory and Configuration Using the CLI To Implement Configuration Changes Disables port 1 in the running configuration, which causes port 1 to block all traffic. HPswitch(config)# interface e 1 disable HPswitch(config)# boot Device will be rebooted, do you want to continue [y/n]? y Press to continue the rebooting process.

  • Page 98: Configuration Changes, Configuration Changes Using The Menu Interface, Configuration Changes Using The Menu Interface

    Switch Memory and Configuration Using the Menu and Web Browser Interfaces To Implement Configuration Changes How To Reset the startup-config and running-config Files to the Factory-Default Configuration. This command reboots the switch, replacing the contents of the current startup-config and running-config files with the factory-default startup configuration.

  • Page 99

    Switch Memory and Configuration Using the Menu and Web Browser Interfaces To Implement Configuration Changes N o t e The only exception to this operation are two VLAN-related parameter changes that require a reboot—described under "Rebooting To Activate Configuration Changes" on page 6-11. Using in the Menu Interface Save...

  • Page 100: Rebooting From The Menu Interface, Rebooting From The Menu Interface

    Switch Memory and Configuration Using the Menu and Web Browser Interfaces To Implement Configuration Changes N o t e If you reconfigure a parameter in the CLI and then go to the menu interface without executing a write memory command, those changes are stored only in the running configuration.

  • Page 101: Configuration Changes Using The Web Browser Interface

    Switch Memory and Configuration Using the Menu and Web Browser Interfaces To Implement Configuration Changes Rebooting To Activate Configuration Changes. Configuration changes for most parameters become effective as soon as you save them. However, you must reboot the switch in order to implement a change in the Maximum parameter VLANs to support...

  • Page 102: Using Primary And Secondary Flash Image Options, Displaying The Current Flash Image Data

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options Using Primary and Secondary Flash Image Options The switch features two flash memory locations for storing system image (operating system, or OS) files: ■ Primary Flash: The default storage for OS (system image) files. ■...

  • Page 103

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options For example, if the switch is using an OS version of G.01.01 stored in Primary flash, show version produces the following: Figure 6-7. Example Showing the Identity of the Current Flash Image Determining Whether the Flash Images Are Different Versions.

  • Page 104: Os Downloads

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options 1. In this example show version indicates the switch has version G.05.01 in primary flash. 2. After the boot system command, show version indicates that version G.05.00 is in secondary flash.

  • Page 105: Local Os Replacement And Removal

    OS file. The process automatically overwrites the previous file with the new file. If you want to remove an unwanted OS version from flash, HP recommends that you do so by overwriting it with the same OS version that you are using to operate the switch, or with another acceptable OS version.

  • Page 106

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options 1. Verify that there is a valid flash image in the secondary flash location. The following figure indicates that an OS image is present in secondary flash. (If you are unsure whether the image is secondary flash is valid, try booting from it before you proceed, by using boot system flash secondary.) The unequal code size, differing dates,...

  • Page 107

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options The prompt shows which flash location will be erased. Figure 6-11. Example of Erase Flash Prompt Type y at the prompt to complete the flash erase. Use show flash to verify erasure of the selected OS flash image The "0"...

  • Page 108

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options Booting from Primary Flash. This command always boots the switch from primary flash, and executes the complete set of subsystem self-tests. Syntax: boot For example, to boot the switch from primary flash with pending configuration changes in the running-config file: Figure 6-13.

  • Page 109: Operating Notes

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options Booting from the Current OS Version. Reload reboots the switch from the flash image on which the switch is currently running, and saves to the startup-config file any configuration changes currently in the running-config file.

  • Page 110

    Switch Memory and Configuration Using Primary and Secondary Flash Image Options — This page is intentionally unused. — 6-20...

  • Page 111

    Interface Access, System Information, and Friendly Port Names Contents Overview ........... . . 7-2 Interface Access: Console/Serial Link, Web, and Telnet .

  • Page 112

    Chapter 3, “Using the Menu Interface” ■ Chapter 4, “Using the Command Line Interface (CLI)” Chapter 5, Using the HP Web Browser Interface” ■ Why Configure Interface Access and System Information? The inter- face access features in the switch operate properly by default. However, you can modify or disable access features to suit your particular needs.

  • Page 113: Interface Access: Console/serial Link, Web, And Telnet

    Interface Access, System Information, and Friendly Port Names Interface Access: Console/Serial Link, Web, and Telnet Interface Access: Console/Serial Link, Web, and Telnet Interface Access Features Feature Default Menu Inactivity Time 0 Minutes page 7-4 page 7-6 — (disabled) Inbound Telnet Access Enabled page 7-4 page 7-5...

  • Page 114: Menu: Modifying The Interface Access

    Interface Access, System Information, and Friendly Port Names Interface Access: Console/Serial Link, Web, and Telnet Menu: Modifying the Interface Access The menu interface enables you to modify these parameters: ■ Inactivity Time-out Inbound Telnet Enabled ■ Web Agent Enabled ■ To Access the Interface Access Parameters: From the Main Menu, Select...

  • Page 115: Cli: Modifying The Interface Access

    Interface Access, System Information, and Friendly Port Names Interface Access: Console/Serial Link, Web, and Telnet CLI: Modifying the Interface Access Interface Access Commands Used in This Section show console below [no] telnet-server below [no] web-management page 7-6 console page 7-6 Listing the Current Console/Serial Link Configuration.

  • Page 116

    Interface Access, System Information, and Friendly Port Names Interface Access: Console/Serial Link, Web, and Telnet Outbound Telnet to Another Device. This feature operates indepen­ dently of the telnet-server status and enables you to Telnet to another device that has an IP address. telnet <...

  • Page 117

    Interface Access, System Information, and Friendly Port Names Interface Access: Console/Serial Link, Web, and Telnet VT100 operation ■ ■ 19,200 baud ■ No flow control 10-minute inactivity time ■ ■ Critical log events you would use the following command sequence: The switch implements the Event Log change immediately.

  • Page 118: Sessions

    Interface Access, System Information, and Friendly Port Names Denying Interface Access by Terminating Remote Management Sessions Denying Interface Access by Terminating Remote Management Sessions The switch supports up to four management sessions. You can use show ip ssh to list the current management sessions, and kill to terminate a currently running remote session.

  • Page 119: System Information

    System Name: Using a unique name helps you to identify individual devices in stacking environments and where you are using an SNMP network manage­ ment tool such as HP TopTools for Hubs & Switches. System Contact and Location: This information is helpful for identifying the person administratively responsible for the switch and for identifying the locations of individual switches.

  • Page 120: Menu: Viewing And Configuring System Information

    Daylight Time Rule: Specifies the daylight savings time rule to apply for your location. The default is None. (For more on this topic, see appendix E, “Daylight Savings Time on HP ProCurve Switches.) Time: Used in the CLI to specify the time of day, the date, and other system parameters.

  • Page 121: Cli: Viewing And Configuring System Information

    Interface Access, System Information, and Friendly Port Names System Information 3. Refer to the online help provided with this screen for further information on configuration options for these features. 4. When you have finished making changes to the above parameters, press , then press (for Save) and return to the Main Menu.

  • Page 122

    Interface Access, System Information, and Friendly Port Names System Information Configure a System Name, Contact, and Location for the Switch. To help distinguish one switch from another, configure a plain-language identity for the switch. Syntax: hostname <name-string> snmp-server [contact <system contact>] [location <system location>] Both fields allow up to 48 characters.

  • Page 123

    Interface Access, System Information, and Friendly Port Names System Information Reconfigure the Age Time for Learned MAC Addresses. This com­ mand corresponds to the MAC Age Interval in the menu interface, and is expressed in seconds. Syntax: mac-age-time <10 . . 1000000> (seconds) For example, to configure the age time to seven minutes: HPswitch(config)# mac-age-time 420 Configure the Time Zone and Daylight Time Rule.

  • Page 124: Web: Configuring System Parameters

    Interface Access, System Information, and Friendly Port Names System Information Web: Configuring System Parameters In the web browser interface, you can enter the following system information: System Name ■ ■ System Location ■ System Contact For access to the MAC Age Interval and the Time parameters, use the menu interface or the CLI.

  • Page 125: Using Friendly (optional) Port Names, Configuring And Operating Rules For Friendly Port Names

    Interface Access, System Information, and Friendly Port Names Using Friendly (Optional) Port Names Using Friendly (Optional) Port Names Feature Default Menu Configure Friendly Port Names Standard Port page 16 Numbering Display Friendly Port Names page 18 This feature enables you to assign alphanumeric port names of your choosing to augment automatically assigned numeric port names.

  • Page 126: Configuring Friendly Port Names

    Interface Access, System Information, and Friendly Port Names Using Friendly (Optional) Port Names To retain friendly port names across reboots, you must save the current ■ running-configuration to the startup-config file after entering the friendly port names. (In the CLI, use the write memory command.) Configuring Friendly Port Names Syntax: interface [e] <port-list>...

  • Page 127

    Interface Access, System Information, and Friendly Port Names Using Friendly (Optional) Port Names Configuring the Same Name for Multiple Ports. Suppose that you want to use ports A5 through A8 as a trunked link to a server used by a drafting group.

  • Page 128: Displaying Friendly Port Names With Other Port Data

    Interface Access, System Information, and Friendly Port Names Using Friendly (Optional) Port Names Displaying Friendly Port Names with Other Port Data You can display friendly port name data in the following combinations: show name: Displays a listing of port numbers with their corresponding ■...

  • Page 129

    Interface Access, System Information, and Friendly Port Names Using Friendly (Optional) Port Names Port Without a "Friendly" Name Friendly port names assigned in previous examples. Figure 7-12. Example of Friendly Port Name Data for Specific Ports on the Switch Including Friendly Port Names in Per-Port Statistics Listings. A friendly port name configured to a port is automatically included when you display the port’s statistics output.

  • Page 130

    Interface Access, System Information, and Friendly Port Names Using Friendly (Optional) Port Names For a given port, if a friendly port name does not exist in the running-config file, the Name line in the above command output appears as: Name : not assigned To Search the Configuration for Ports with Friendly Port Names.

  • Page 131

    Configuring IP Addressing Contents Overview ........... . . 8-2 IP Configuration .

  • Page 132

    Configuring IP Addressing Overview Overview You can configure IP addressing through all of the switch’s interfaces. You can also: ■ Easily edit a switch configuration file to allow downloading the file to multiple switches without overwriting each switch’s unique gateway and VLAN 1 IP addressing.

  • Page 133: Ip Configuration

    Configuring IP Addressing IP Configuration IP Configuration IP Configuration Features Feature Default Menu IP Address and Subnet Mask DHCP/Bootp page 8-5 page 8-7 page 8-11 Multiple IP Addresses on a VLAN page 8-9 Default Gateway Address none page 8-5 page 8-7 page 8-11 Packet Time-To-Live (TTL) 64 seconds...

  • Page 134: Just Want A Quick Start With Ip Addressing?

    If you just want to give the switch an IP address so that it can communicate on your network, or if you are not using VLANs, HP recommends that you use the Switch Setup screen to quickly configure IP addressing. To do so, do one of the following: Enter setup at the CLI Manager level prompt.

  • Page 135: Ip Addressing In A Stacking Environment

    URL in your web browser. IP Addressing in a Stacking Environment If you are installing the switch into an HP ProCurve stack management environment, entering an IP address may not be required. See appendix 15, "HP ProCurve Stack Management"...

  • Page 136

    Configuring IP Addressing IP Configuration For descriptions of these parameters, see the online Help for this screen. Before using the DHCP/ Bootp option, refer to “DHCP/Bootp Operation” on page 8-12. Figure 8-1. Example of the IP Service Configuration Screen without Multiple VLANs Configured Press (for Edit).

  • Page 137: Cli: Configuring Ip Address, Gateway, And Time-to-live (ttl)

    Configuring IP Addressing IP Configuration CLI: Configuring IP Address, Gateway, and Time-To- Live (TTL) IP Commands Used in This Section show ip page 8-7 vlan <vlan-id> ip page 8-8 address ip default-gateway page 8-11 ip ttl page 8-11 Viewing the Current IP Configuration. The following command displays the IP addressing for each VLAN configured in the switch.

  • Page 138

    Configuring IP Addressing IP Configuration Figure 8-3. Example of Show IP Listing with Non-Default IP Addressing Configured Configure an IP Address and Subnet Mask. The following command includes both the IP address and the subnet mask. You must either include the ID of the VLAN for which you are configuring IP addressing or go to the context configuration level for that VLAN.

  • Page 139

    Configuring IP Addressing IP Configuration Configure Multiple IP Addresses on a VLAN (Multinetting). You can configure one primary IP address per VLAN and up to seven secondary IP addresses for the same VLAN. That is, the switch enables you to assign up to eight networks to a VLAN.

  • Page 140

    Configuring IP Addressing IP Configuration If you then wanted to multinet the default VLAN, you would do the following: The secondary IP addresses in a VLAN are listed immediately after the primary IP address for the VLAN. Figure 8-5. Example of Multinetting on the Default VLAN N o t e The Internet (IP) Service screen in the Menu interface (figure 8-1 on page 8-6) displays only the primary IP address for each VLAN.

  • Page 141: Web: Configuring Ip Addressing, How Ip Addressing Affects Switch Operation

    Console RS-232 port. You can use direct-connect console access to take advantage of features that do not depend on IP addressing. However, to realize the full performance capabilities HP proactive networking offers through the switch, configure the switch with an IP address and subnet mask compatible with your network.

  • Page 142: Dhcp/bootp Operation

    SNMP device, customized device management is not through the CLI or menu interface. supported for the Switch 2626 in HP TopTools for hubs • VLANs and GVRP and switches. • Serial downloads of operating system (OS) updates and •...

  • Page 143

    Configuring IP Addressing IP Configuration 1. DHCP/Bootp requests are automatically broadcast on the local network. (The switch sends one type of request to which either a DHCP or Bootp server can respond.) 2. When a DHCP or Bootp server receives the request, it replies with a previously configured IP address and subnet mask for the switch.

  • Page 144

    Configuring IP Addressing IP Configuration Bootp Operation. When a Bootp server receives a request it searches its Bootp database for a record entry that matches the MAC address in the Bootp request from the switch. If a match is found, the configuration data in the associated database record is returned to the switch.

  • Page 145: Network Preparations For Configuring Dhcp/bootp

    Configuring IP Addressing IP Configuration TFTP server address (source of final configuration file) T144 is the vendor-specific “tag” identifying the configuration file to download. is a required entry that specifies the Bootp report format. For the switches described in this guide, set this parameter to rfc1048. N o t e The above Bootp table entry is a sample that will work for the switch when the appropriate addresses and file names are used.

  • Page 146: Configuration File Downloads

    Configuring IP Addressing IP Preserve: Retaining VLAN-1 IP Addressing Across Configuration File Downloads IP Preserve: Retaining VLAN-1 IP Addressing Across Configuration File Downloads IP Preserve enables you to copy a configuration file to multiple switches that use the same operating-system software while retaining the individual IP address and subnet mask on VLAN 1 in each switch, and the Gateway IP address assigned to the switch.

  • Page 147

    Configuring IP Addressing IP Preserve: Retaining VLAN-1 IP Addressing Across Configuration File Downloads Entering "ip preserve" in the last line of a configuration file implements IP Preserve when the file is downloaded to the switch and the switch reboots. Figure 8-6. Example of Implementing IP Preserve in a Switch Configuration File For example, consider Figure 8-7: DHCP TFTP...

  • Page 148

    Configuring IP Addressing IP Preserve: Retaining VLAN-1 IP Addressing Across Configuration File Downloads Using figure 8-7, above, switches 1 - 3 ignore these entries because the file implements IP Preserve and their current IP addressing was not acquired through DHCP/Bootp. Switch 4 ignores IP Preserve and implements the DHCP/Bootp addressing and IP Gateway specified in this file (because its last IP addressing was acquired...

  • Page 149

    Configuring IP Addressing IP Preserve: Retaining VLAN-1 IP Addressing Across Configuration File Downloads Because switch 4 (figure 8-7) received its most recent IP addressing from a DHCP/Bootp server, the switch ignores the ip preserve command and implements the IP addressing included in this file.

  • Page 150: Globally Assigned Ip Network Addresses

    Configuring IP Addressing Globally Assigned IP Network Addresses Globally Assigned IP Network Addresses If you intend to connect your network to other networks that use globally administered IP addresses, Hewlett-Packard strongly recommends that you use IP addresses that have a network address assigned to you. There is a formal process for assigning unique IP addresses to networks worldwide.

  • Page 151

    Time Protocols Contents Overview ........... . . 9-2 TimeP Time Synchronization .

  • Page 152

    Time Protocols Overview Overview This chapter describes: ■ SNTP Time Protocol Operation Timep Time Protocol Operation ■ Using time synchronization ensures a uniform time among inter operating devices. This helps you to manage and troubleshoot switch operation by attaching meaningful time data to event and error messages. The switch offers TimeP and SNTP (Simple Network Time Protocol) and a timesync command for changing the time protocol selection (or turning off time protocol operation).

  • Page 153: Turning Off Time Protocol Operation

    Time Protocols Overview: Selecting a Time Synchronization Protocol or Turning Off Time Protocol Operation ular server, it ignores time broadcasts from other SNTP servers unless the configurable expires three consecutive times without Poll Interval an update received from the first-detected server. Note To use Broadcast mode, the switch and the SNTP server must be in the same subnet.

  • Page 154: Disabling Time Synchronization, Sntp: Viewing, Selecting, And Configuring, Sntp: Viewing, Selecting, And Configuring

    Time Protocols SNTP: Viewing, Selecting, and Configuring Note that simply selecting a time synchronization protocol does not enable that protocol on the switch unless you also enable the protocol itself (step 2, above). For example, in the factory-default configuration, TimeP is the selected time synchronization method.

  • Page 155: Menu: Viewing And Configuring Sntp

    Time Protocols SNTP: Viewing, Selecting, and Configuring Table 9-1.SNTP Parameters SNTP Parameter Operation Time Sync Used to select either SNTP, TIMEP, or None as the time synchronization method. Method SNTP Mode Disabled The Default. SNTP does not operate, even if specified by the Menu interface Time Sync Method parameter or the CLI timesync command.

  • Page 156

    Time Protocols SNTP: Viewing, Selecting, and Configuring Time Protocol Selection Parameter – TIMEP – SNTP – None Figure 9-1. The System Information Screen (Default Values) Press (for ). The cursor moves to the field. Edit System Name Use [v] to move the cursor to the Time Sync Method field.

  • Page 157

    SNTP server version running on the device you specified in the preceding step (step ii). If you are unsure which version to use, HP recommends leaving this value at the default setting of and testing SNTP operation to determine whether any change is necessary.

  • Page 158: Cli: Viewing And Configuring Sntp

    Time Protocols SNTP: Viewing, Selecting, and Configuring CLI: Viewing and Configuring SNTP CLI Commands Described in this Section show sntp page 9-8 [no] timesync pages 9-9 and ff., 9-12 sntp broadcast page 9-9 sntp unicast page 9-10 sntp server pages 9-10 and ff. Protocol Version page 9-12 poll-interval...

  • Page 159

    Time Protocols SNTP: Viewing, Selecting, and Configuring Even though, in this example, TimeP is the current time synchronous method, the switch maintains the SNTP configuration. Figure 9-3. Example of SNTP Configuration When SNTP Is Not the Selected Time Synchronization Method Configuring (Enabling or Disabling) the SNTP Mode Enabling the SNTP mode means to configure it for either broadcast or unicast mode.

  • Page 160

    Time Protocols SNTP: Viewing, Selecting, and Configuring 2. Select SNTP as the time synchronization mode. 3. Enable SNTP for Broadcast mode. 4. View the SNTP configuration again to verify the configuration. The commands and output would appear as follows: show sntp displays the SNTP configuration and also shows that TimeP is the currently active time synchronization mode.

  • Page 161

    Time Protocols SNTP: Viewing, Selecting, and Configuring N o t e Deleting an SNTP server when only one is configured disables SNTP unicast operation. For example, to select SNTP and configure it with unicast mode and an SNTP server at 10.28.227.141 with the default server version (3) and default poll interval (720 seconds): HPswitch(config)# timesync sntp Selects SNTP.

  • Page 162

    Time Protocols SNTP: Viewing, Selecting, and Configuring Deletes unicast SNTP server entry. Re-enters the unicast server with a non- default protocol version. show sntp displays the result. Figure 9-6. Example of Specifying the SNTP Protocol Version Number Changing the SNTP Poll Interval. Syntax: sntp poll-interval <...

  • Page 163

    Time Protocols SNTP: Viewing, Selecting, and Configuring Figure 9-7. Example of SNTP with Time Sychronization Disabled Disabling the SNTP Mode. If you want to prevent SNTP from being used even if selected by (or the Menu interface’s param­ timesync Time Sync Method eter), configure the SNTP mode as disabled.

  • Page 164: Timep: Viewing, Selecting, And Configuring

    Time Protocols TimeP: Viewing, Selecting, and Configuring TimeP: Viewing, Selecting, and Configuring TimeP Feature Default Menu view the Timep time synchronization page 9-15 page 9-17 — configuration select Timep as the time synchronization TIMEP page 9-13 pages 9-18 — method disable time synchronization timep page 9-15...

  • Page 165: Menu: Viewing And Configuring Timep

    Time Protocols TimeP: Viewing, Selecting, and Configuring Menu: Viewing and Configuring TimeP To View, Enable, and Modify the TimeP Protocol: From the Main Menu, select: 2. Switch Configuration... 1. System Information Time Protocol Selection Parameter – TIMEP (the default) – SNTP –...

  • Page 166: Cli: Viewing And Configuring Timep

    Time Protocols TimeP: Viewing, Selecting, and Configuring • Use the Space bar to select the mode. Manual Press [>] to move the cursor to the field. Server Address ii. Enter the IP address of the TimeP server you want the switch to use for time synchronization.

  • Page 167

    Time Protocols TimeP: Viewing, Selecting, and Configuring This section describes how to use the CLI to view, enable, and configure TimeP parameters. Viewing the Current TimeP Configuration This command lists both the time synchronization method (TimeP, SNTP, or None) and the TimeP configuration, even if SNTP is not the selected time protocol.

  • Page 168

    Time Protocols TimeP: Viewing, Selecting, and Configuring Configuring (Enabling or Disabling) the TimeP Mode Enabling the TimeP mode means to configure it for either broadcast or unicast mode. Remember that to run TimeP as the switch’s time synchronization protocol, you must also select TimeP as the time synchronization method by using the CLI timesync command (or the Menu interface Time Sync Method parameter).

  • Page 169

    Time Protocols TimeP: Viewing, Selecting, and Configuring The commands and output would appear as follows: show timep displays the TimeP configuration and also shows that SNTP is the currently active time synchronization mode. show timep again displays the TimeP configuration and shows that TimeP is now the currently active time synchronization mode.

  • Page 170

    Time Protocols TimeP: Viewing, Selecting, and Configuring HPswitch(config)# timesync timep Selects TimeP. HPswitch(config)# ip timep manual 10.28.227.141 Activates TimeP in Manual mode. Figure 9-13. Example of Configuring Timep for Manual Operation Changing the TimeP Poll Interval. This command lets you specify how long the switch waits between time polling intervals.

  • Page 171: Sntp Unicast Time Polling With Multiple Sntp Servers

    Time Protocols SNTP Unicast Time Polling with Multiple SNTP Servers Figure 9-14. Example of TimeP with Time Sychronization Disabled Disabling the TimeP Mode. Disabling the TimeP mode means to configure it as disabled. (Disabling TimeP prevents the switch from using it as the time synchronization protocol, even if it is the selected Time Sync Method option.)

  • Page 172: Address Prioritization, Adding And Deleting Sntp Server Addresses, Adding And Deleting Sntp Server Addresses

    Time Protocols SNTP Unicast Time Polling with Multiple SNTP Servers all servers in the list without success, it sends an error message to the Event Log and reschedules to try the address list again after the configured Poll Interval time has expired. Address Prioritization If you use the CLI to configure multiple SNTP servers, the switch prioritizes them according to the decimal values of their IP addresses.

  • Page 173

    Time Protocols SNTP Unicast Time Polling with Multiple SNTP Servers Prioritized list of SNTP Server IP Addresses Figure 9-16. Example of SNTP Server Address Prioritization Note If there are already three SNTP server addresses configured on the switch, and you want to use the CLI to replace one of the existing addresses with a new one, you must delete the unwanted address before you configure the new one.

  • Page 174: Configured, Sntp Messages In The Event Log, Sntp Messages In The Event Log

    Time Protocols SNTP Messages in the Event Log Menu Interface Operation with Multiple SNTP Server Addresses Configured When you use the Menu interface to configure an SNTP server IP address, the new address writes over the current primary address, if one is configured. If there are multiple addresses configured, the switch re-orders the addresses according to the criteria described under “Address Prioritization”...

  • Page 175

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Contents Overview ........... . 10-2 Viewing Port Status and Configuring Port Parameters .

  • Page 176

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Overview Overview This chapter includes: ■ Configuring ports to non-default settings (page 10-2) These settings include enable/disable, mode (speed and duplex), flow control, port-trunk group, and port-trunk type. You can also set a broadcast limit that applies to all ports on the switch.

  • Page 177

    • Auto-10: Allows the port to negotiate between half-duplex (HDx) and full-duplex (FDx) while keeping speed at 10 Mbps. Also negotiates flow control (enabled or disabled). HP recommends Auto-10 for links between 10/100 autosensing ports connected with Cat 3 cabling. (Cat 5 cabling is required for 100 Mbps links.).

  • Page 178

    LACP trunk, if any, to which a port belongs. (CLI) Note: An LACP trunk requires a full-duplex link. In most cases, HP recommends that you leave the port Mode setting at Auto (the default). See the LACP Note on page 10-11.

  • Page 179: Menu: Viewing Port Status And Configuring Port Parameters

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Viewing Port Status and Configuring Port Parameters Menu: Viewing Port Status and Configuring Port Parameters From the menu interface, you can configure and view all port parameter settings and view all port status indicators. Using the Menu To View Port Status.

  • Page 180: Cli: Viewing Port Status And Configuring Port Parameters

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Viewing Port Status and Configuring Port Parameters Figure 10-2. Example of Port/Trunk Settings with a Trunk Group Configured (for Edit). The cursor moves to the Enabled field for the first port. Press 3. Refer to the online help provided with this screen for further information on configuration options for these features.

  • Page 181

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Viewing Port Status and Configuring Port Parameters Syntax: show interfaces brief show interface config These two commands display the information listed in table 10-10-2, below. Table 10-2. Comparing the "Show Interfaces" Command Options* Feature Show Interfaces Brief Show Interfaces Config...

  • Page 182

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Viewing Port Status and Configuring Port Parameters Current Configured Mode Figure 10-4. Example of a Show Interface Config Command Listing Using the CLI To Configure Ports. You can configure one or more of the following port parameters.

  • Page 183: Web: Viewing Port Status And Configuring Port Parameters

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Viewing Port Status and Configuring Port Parameters These commands enable and configure port C8 from the config level: ■ HPswitch(config)# int e c8 enable HPswitch(config)# int e c8 speed-duplex 100-full HPswitch(config)# int e c8 flow-control ■...

  • Page 184: Port Trunking

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Port Trunking Port Status and Configuration Features Feature Default Menu viewing port trunks page 10-16 page 10-18 page 10-24 configuring a static trunk none page 10-16 page 10-22 —...

  • Page 185: Port Trunk Features And Operation

    L A C P N o t e LACP operation requires full-duplex (FDx) links. For most installations, HP recommends that you leave the port Mode settings at Auto (the default). LACP also operates with Auto-10, Auto-100, and Auto-1000 (if negotiation selects FDx);...

  • Page 186: Trunk Configuration Methods

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Trunk Configuration Methods Dynamic LACP Trunk: The switch automatically negotiates trunked links between LACP-configured ports on separate devices, and offers one dynamic trunk option: LACP. To configure the switch to initiate a dynamic LACP trunk with another device, use the interface ethernet command in the CLI to set the default LACP option to Active on the ports you want to use for the trunk.

  • Page 187

    See “Trunk Group Operation Using LACP” on page 10-24. Trunk Provides manually configured, static-only trunking to: (non- • Most HP switches and routing switches not running the 802.3ad LACP protocol. protocol) • Windows NT and HP-UX workstations and servers Use the Trunk option when: –...

  • Page 188

    Port Configuration: The default port configuration is Auto, which enables a port to sense speed and negotiate duplex with an Auto-enabled port on another device. HP recommends that you use the Auto setting for all ports you plan to use for trunking.

  • Page 189

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Spanning Tree: Spanning Tree operates as a global setting on the switch (one instance of Spanning Tree per switch). However, you can adjust Spanning Tree parameters on a per-port basis. A static trunk of any type appears in the Spanning Tree configuration display, and you can configure Spanning Tree parameters for a static trunk in the same way that you would configure Spanning Tree parameters on a non-trunked port.

  • Page 190: Menu: Viewing And Configuring A Static Trunk Group

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Menu: Viewing and Configuring a Static Trunk Group Important Configure port trunking before you connect the trunked links to another switch, routing switch, or server. Otherwise, a broadcast storm could occur. (If you need to connect the ports before configuring them for trunking, you can temporarily disable the ports until the trunk is configured.

  • Page 191

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking • All ports in a trunk must have the same media type and mode (such as 10/100TX set to 100FDx, or 100FX set to 100FDx). The flow control settings must also be the same for all ports in a given trunk.

  • Page 192: Group

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking During the Save process, traffic on the ports configured for trunking will be delayed for several seconds. If the Spanning Tree Protocol is enabled, the delay may be up to 30 seconds. 8. Connect the trunked ports on the switch to the corresponding ports on the opposite device.

  • Page 193

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Using a port list specifies, for switch ports in a static trunk group, only the ports you want to view. In this case, the command specifies ports A5 through A7.

  • Page 194

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Listing Static LACP and Dynamic LACP Trunk Data. This command lists data for only the LACP-configured ports. Syntax: show lacp In the following example, ports A1 and A2 have been previously configured for a static LACP trunk.

  • Page 195: Using The Cli To Configure A Static Or Dynamic Trunk Group

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking “Up” Links Standby Link Figure 10-11. Example of a Dynamic LACP Trunk with One Standby Link Using the CLI To Configure a Static or Dynamic Trunk Group I m p o r t a n t Configure port trunking before you connect the trunked links between switches.

  • Page 196

    Removing a port from a trunk can result in a loop and cause a broadcast storm. When you remove a port from a trunk where STP is not in use, HP recommends that you first disable the port or disconnect the link on that port.

  • Page 197

    Unless STP is running on your network, removing a port from a trunk can result in a loop. To help prevent a broadcast storm when you remove a port from a trunk where STP is not in use, HP recommends that you first disable the port or disconnect the link on that port.

  • Page 198: Web: Viewing Existing Port Trunk Groups, Trunk Group Operation Using Lacp

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Syntax: no interface <port-list> lacp In this example, port C6 belongs to an operating, dynamic LACP trunk. To remove port C6 from the dynamic trunk and return it to passive LACP, you would do the following: HPswitch>(config)# no interface c6 lacp HPswitch>(config)# interface c6 lacp passive...

  • Page 199

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking N o t e Dynamic LACP trunks operate only in the default VLAN (unless GVRP is enabled and Forbid is used to prevent the trunked ports from joining the default VLAN).

  • Page 200

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Table 10-6. LACP Trunk Types LACP Port Trunk Operation Configuration 802.3ad-compliant Dynamic LACP This option automatically establishes an trunk group, with LACP for the port Type parameter and DynX for the port Group name, where X is an automatically assigned value from 1 to 6, depending on how many dynamic and static trunks are currently on the switch.

  • Page 201

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Default Port Operation In the default configuration, all ports are configured for passive LACP. How- ever, if LACP is not configured, the port will not try to detect a trunk config­ uration and will operate as a standard, untrunked port.

  • Page 202

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Table 10-7. LACP Port Status Data Status Name Meaning Port Numb Shows the physical port number for each port configured for LACP operation (C1, C2, C3 . . .). Unlisted port numbers indicate that the missing ports are assigned to a static Trunk group, an FEC trunk group, or are not configured for any trunking.

  • Page 203: Lacp Notes And Restrictions

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking LACP Notes and Restrictions 802.1X (Port-Based Access Control) Configured on a Port. To main­ tain security, LACP is not allowed on ports configured for 802.1X authenticator operation. If you configure port security on a port on which LACP (active or passive) is configured, the switch removes the LACP configuration, displays a notice that LACP is disabled on the port(s), and enables 802.1X on that port.

  • Page 204

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Static LACP Trunks. Where a port is configured for LACP (Active or Passive), but does not belong to an existing trunk group, you can add that port to a static trunk.

  • Page 205: Trunk Group Operation Using The "trunk" Option, Trunk Operation Using The "fec" Option

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking Trunks. The ports on both sides of an LACP trunk must be configured for the same speed and for full-duplex (FDx). The 802.3ad LACP standard speci­ fies a full-duplex (FDx) requirement for LACP trunking. A port configured as LACP passive and not assigned to a port trunk can be configured to half-duplex (HDx).

  • Page 206: How The Switch Lists Trunk Data, Outbound Traffic Distribution Across Trunked Links

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Port Trunking When auto-negotiated to the SA/DA forwarding mechanism, provide ■ higher performance on the trunk for broadcast, multicast, and flooded traffic through distribution in the same manner as non-protocol trunking. ■...

  • Page 207

    In actual networking environments, this is rarely a problem. However, if it becomes a problem, you can use the HP TopTools for Hubs & Switches network management software available from Hewlett- Packard to quickly and easily identify the sources of heavy traffic (top talkers) and make adjustments to improve performance.

  • Page 208: Configuring Port-based Priority For Incoming Packets, The Role Of 802.1q Vlan Tagging

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Configuring Port-Based Priority for Incoming Packets Configuring Port-Based Priority for Incoming Packets Feature Default Menu Assigning a priority level to traffic on the basis Disabled page 10-37 of incoming port When network congestion occurs, it is important to move traffic on the basis of relative importance.

  • Page 209: Outbound Port Queues And Packet Priority Settings

    VLAN, then the tag is stripped from the packet, which then exits from the switch without a priority setting. Outbound Port Queues and Packet Priority Settings Ports on the HP ProCurve switches have the following outbound port queue structure: Switch Model...

  • Page 210: Operating Rules For Port-based Priority

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Configuring Port-Based Priority for Incoming Packets A tagged packet with an 802.1p priority setting of 0 (zero) coming into the ■ switch on port A10 and leaving the switch through any other port config­ ured as a tagged VLAN member would leave the switch as a tagged packet with a priority level of 1.

  • Page 211: Configuring And Viewing Port-based Priority

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Configuring Port-Based Priority for Incoming Packets Trunked ports do not allow non-default (1 - 7) port-based priority settings. ■ If you configure a non-default port-based priority value on a port and then add the port to a port trunk, then the port-based priority for that port is returned to the default "0".

  • Page 212: Messages Related To Prioritization, Troubleshooting Prioritization

    Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority Configuring Port-Based Priority for Incoming Packets Configures port-based priority on ports A9 -A12 to "1" (Low) and saves the configuration changes to the startup­ config file. Ports A9 - A12 are now configured to assign a priority level of "1"...

  • Page 213

    Configuring for Network Management Applications Contents Using SNMP Tools To Manage the Switch ..... . 11-2 Overview ..........11-2 SNMP Management Features .

  • Page 214: Using Snmp Tools To Manage The Switch, Snmp Management Features

    N o t e Although TopTools recognizes the Switch 2626 as an SNMP device, custom­ ized device management is not supported for the Switch 2626 in HP TopTools for hubs and switches. This section includes: ■...

  • Page 215: Configuring For Snmp Access To The Switch

    Hewlett-Packard proprietary MIB (Management Information Base) file. To ensure that you have the latest version in the database of your SNMP network management tool, you can copy the MIB file from the HP ProCurve World Wide Web site at: http://www.hp.com/go/hpprocurve Click on software, then MIBs.

  • Page 216: Configuring For Snmp Version 3 Access To The Switch

    Using SNMP Tools To Manage the Switch C a u t i o n The “public” community exists by default and is used by HP’s network man­ agement applications. Deleting the “public” community disables many net- work management functions (such as auto-discovery, traffic monitoring, SNMP trap generation, and threshold setting).

  • Page 217: Snmp Version 3 Commands

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch SNMP Version 3 Commands SNMP version 3 (SNMPv3) adds a new command to the CLI for configuring SNMPv3 functions. To enable SMNPv3 operation on the switch you must: a. Enable SNMPv3 with the snmpv3 enable command.

  • Page 218: Snmpv3 Enable

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch SNMPv3 Enable The snmpv3 enable command starts a dialog that performs three functions: enabling the switch to receive SNMPv3 messages, configuring the initial users, and, optionally, to restrict non version-3 messages to “read only”. Figure 11-1 shows and example of this dialog.

  • Page 219: Snmp Version 3 Users

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch SNMP Version 3 Users The second step to use SNMPv3 on the switch is to configure the users that will be assigned to different groups. To establish users on the switch: a. Add the users to the User table.

  • Page 220

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch [no] snmpv3 group group_name user user_name sec-model <ver1| ver2c | ver3> (— Continued —) user user_name This is the user to be added to the access group. This must match the user name added with the snmpv3 user command...

  • Page 221

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Then you must set the group access level to the user. This is done with the snmpv3 group command. For more details on the MIBs access for a give group see “Group Access Levels”...

  • Page 222: Group Access Levels

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Group Access Levels The switch supports eight predefined group access levels. There are four levels for use with version 3 users and four are used for access by version 2c or version 1 management applications.

  • Page 223: Snmp Communities

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch SNMP Communities SNMP commuities are supported by the switch to allow management applica­ tion that use version 2c or version 1 to access the switch. The communities are mapped to Group Access Levels that are used for version 2c or version 1 support.

  • Page 224

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Figure 11-4 shows the assigning of the Operator community on MgrStation1 to the CommunityOperatorReadWrite group. Any other Operator only has an access level of CommunityOperatorReadOnly. Add mapping to allow write access for Operator community MgrStation1 Two Operator Access Levels...

  • Page 225: Communities

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch C a u t i o n Deleting or changing the community named “public” prevents network man­ agement applications (such as auto-discovery, traffic monitoring, SNMP trap generation, and threshold setting) from operating in the switch. (Changing or deleting the “public”...

  • Page 226

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch If you are adding a community, the fields in this screen are blank. If you are editing an existing community, Type the value for this field. the values for the currently selected Use the Space bar to select Community appear...

  • Page 227: Cli: Viewing And Configuring Snmp Community Names

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch CLI: Viewing and Configuring SNMP Community Names Community Name Commands Page show snmp-server [<community-string>] 11-15 [no] snmp-server 11-16 [community <community-str>] 11-16 [host <community-str> <ip-addr>] 11-21 [<none | debug | all | not-info | critical>] [enable traps <authentication>...

  • Page 228

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Configuring Community Names and Values. The snmp-server command enables you to add SNMP communities with either default or specific access attributes, and to delete specific communities. Syntax: [no] snmp-server community < community-name > Configures a new community name.

  • Page 229: Snmp Notification And Traps

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch SNMP Notification and Traps The switches covered in this guide support the SNMPv3 notification process. They also support version 1or version 2c traps. For more information on version 1or version2c traps, see “Trap Features” on page 11-19. The SNMPv3 notification process allows for the messages passed to be authenticated and encrypted if you choose.

  • Page 230

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch [no] snmpv3 targetaddress < addr-name > params < parms-name> < IP-Addr > ( — Continued — ) max-msg-size<size> The maximum number of bytes of length a message to this target can be.

  • Page 231: Trap Features

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Trap Features Feature Default Menu snmp-server host (trap receiver) public — page — 11-21 snmp-server enable (authentication trap) none — page — 11-22 A trap receiver is a management station designated by the switch to receive SNMP traps sent from the switch.

  • Page 232

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Using the CLI To List Current SNMP Trap Receivers. This command lists the currently configured trap receivers and the setting for authentication traps (along with the current SNMP community name data — see “SNMP Communities”...

  • Page 233

    Table 11-2. Options for Sending Event Log Messages as Traps Event Level Description None (default) Send no log messages. Send all log messages. Not INFO Send the log messages that are not information-only. Critical Send critical-level log messages. Debug Reserved for HP-internal use. 11-21...

  • Page 234: Using The Cli To Enable Authentication Traps

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch For example, to configure a trap receiver in a community named "red-team" with an IP address of 10.28.227.130 to receive only "critical" log messages: HPswitch(config)# snmp-server trap-receiver red-team 10.28.227.130 critical N o t e s To replace one community name with another for the same IP address, you...

  • Page 235: Advanced Management: Rmon

    Configuring for Network Management Applications Using SNMP Tools To Manage the Switch Advanced Management: RMON The switch supports RMON (Remote Monitoring) on all connected network segments. This allows for troubleshooting and optimizing your network. The following RMON groups are supported: ■...

  • Page 236

    To take advantage of CDP in the switch, you should have a working knowledge of SNMP operation and an SNMP utility capable of polling the switches for CDP data. HP’s implementation of CDP places specific data into the switch’s Management Information Base (MIB). However, retrieval of this data for network mapping is dependent on the operation of your SNMP utility.

  • Page 237: Cdp Terminology

    Configuring for Network Management Applications 1. Reading a given device’s CDP Neighbor table (in the Management Infor­ mation Base, or MIB) to learn about other, neighbor CDP devices 2. Using the information learned in step 1 to go to and read the neighbor devices’...

  • Page 238: General Cdp Operation, Outgoing Packets

    Configuring for Network Management Applications General CDP Operation The switch stores information about adjacent CDP devices in a CDP Neigh­ bors table maintained in the switch’s MIB (Management Information Base). This data is available to SNMP-based applications designed to read CDP data from the MIB.

  • Page 239: Incoming Cdp Packets

    Configuring for Network Management Applications Accepts, but does not forward CDP Switch "B" packets describing Switch "A". Also CDP-Aware transmits CDP packets describing itself Switch with (Switch "B") out all ports. CDP Running Switch "C" Drops CDP packets describing Switch "A".

  • Page 240

    Configuring for Network Management Applications and “E” are not neighbors because the intervening CDP-disabled switch “D” does not forward CDP packets; i.e. is not transparent to CDP traffic. (For the same reason, switch “E” does not have any CDP neighbors.) Switch "A"...

  • Page 241

    Configuring for Network Management Applications Using the example in figure 11-12, the CDP Neighbor table for switches “A” and “B” would appear similar to these: Switch A: Switch B: (Note that no CDP devices appear on port B5, which is connected to a device on which CDP is present, but disabled.) Figure 11-13.

  • Page 242: Configuring Cdp On The Switch

    Configuring for Network Management Applications CDP-disabled switch) does not forward CDP packets; i.e. is not transparent to CDP traffic. (For the same reason, switch “E” does not have any CDP neighbors.) Figure 11-12 (page 11-28) illustrates how multiple CDP neighbors can appear on a single port.

  • Page 243: Viewing The Switch's Current Cdp Configuration, Viewing The Switch's Current Cdp Neighbors Table

    Configuring for Network Management Applications Viewing the Switch’s Current CDP Configuration Syntax: show cdp Lists the switch’s global and per-port CDP configuration. This example shows the default CDP configuration. CDP Enable/Disable on the Switch Packet Hold Time in CDP Neighbor Table Interval for Transmitting Outbound CDP Packets on All Ports Per-Port CDP Enable/Disable...

  • Page 244: Clearing (resetting) The Cdp Neighbors Table

    CDP packets. Figure 11-15. Example of CDP Neighbors Table Listing Figure 11-16 illustrates a topology of CDP-enabled devices for the CDP Neigh­ bors table listing in figure 11-15. HP ProCurve Switch HP Switch 2512 Running CDP HP J4812A: Accounting...

  • Page 245: Configuring Cdp Operation

    Configuring for Network Management Applications Note that the table will again list entries after the switch receives new CDP packets from neighboring CDP devices. Figure 11-17. View of the CDP Neighbors Table Immediately After Executing cdp clear Configuring CDP Operation Enabling or Disabling CDP Operation on the Switch.

  • Page 246

    Configuring for Network Management Applications Enabling or Disabling CDP Operation on Individual Ports. In the factory-default configuration, the switch has all ports enabled and transmit­ ting CDP packets. Disabling CDP on a port prevents that port from sending outbound CDP packets and causes it to drop inbound CDP packets without recording their data in the CDP Neighbors table.

  • Page 247: Effect Of Spanning Tree (stp) On Cdp Packet Transmission

    Configuring for Network Management Applications Changing the Transmission Interval for Outbound CDP Packets. Syntax: cdp timer < 5 . . 254 > Changes the interval the switch uses to transmit CDP packets describing itself to neighbor devices. (Default: 60 seconds) For example, if the switch’s transmit interval for CDP packets was set to a non-default value, you would use this command to reset it to one minute: HPswitch(config) cdp timer 60...

  • Page 248: Cdp Packets

    Configuring for Network Management Applications CDP Packets from Switch "A" to Switch "B" Switch "B" Switch "A" Port A3 CDP Enabled CDP Enabled Port B1 STP Root Device CDP Neighbor Table Port C5 CDP Packets from Port | Data Switch "B" to Switch "A" ------|------------------ CDP Neighbor Table A3 | Switch "B"data...

  • Page 249: Cdp Neighbor Data And Mib Objects

    Configuring for Network Management Applications 4. If a CDP switch does not detect an IP address on the connecting port of a CDP neighbor, then the loopback IP address is used (127.0.0.1). For example, in figure 11-20, port A1 on CDP switch “X” is connected to port C5 on CDP neighbor switch “Y”, with the indicated VLAN configuration on port C5: VLAN Membership in Port C5 of Switch "Y"...

  • Page 250

    CDP Cache Address IP address of source device. Software Version ASCII String Device Name (ASCII string) In HP ProCurve switches, this is the value configured for the System Name parameter. Device MAC Address Included in the Device Name entry. Destination Port Number On the switch itself (the receiving device), the number of the port through which the CDP packet arrived.

  • Page 251

    1 to n, where n is the last consecutive port on the switch.) Figure 11-21. Example of CDP Neighbor Data For the current switch MIB, go to the HP ProCurve World Wide Web site at: http://ww.hp.com/go/hpprocurve Click on software, then MIBs.

  • Page 252

    Configuring for Network Management Applications CDP-Capable Hubs. Some hubs are capable of running CDP, but also forward CDP packets as if the hub itself were transparent to CDP. Such hubs will appear in the switch’s CDP Neighbor table and will also maintain a CDP neighbor table similar to that for switches.

  • Page 253

    Port-Based Virtual LANs (VLANs) and GVRP Contents Overview ........... . 12-2 Port-Based Virtual LANs (Static VLANs) .

  • Page 254

    For general information on how to use the switch’s built-in interfaces, see: Chapter 3, “Using the Menu Interface” ■ ■ Chapter 4, “Using the Command Line Interface (CLI)” Chapter 5, “Using the HP Web Browser Interface ■ Chapter 6, “Switch Memory and Configuration” ■ 12-2...

  • Page 255: Port-based Virtual Lans (static Vlans), Port-based Virtual Lans (static Vlans), Port-based Virtual Lans (static Vlans)

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Port-Based Virtual LANs (Static VLANs) VLAN Features Feature Default Menu view existing VLANs n/a page 12-10 page 12-16 page 12-21 thru 12-15 configuring static default VLAN with page 12-10 page 12-15 page 12-21 VLANs VID = 1...

  • Page 256

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) For example, referring to figure 12-1, if ports A1 through A4 belong to VLAN_1 and ports A5 through A8 belong to VLAN_2, traffic from end-node stations on ports A2 through A4 is restricted to only VLAN_1, while traffic from ports A5 through A7 is restricted to only VLAN_2.

  • Page 257

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) HP ProCurve Switch Figure 12-2. Example of Overlapping VLANs Using the Same Server Similarly, using 802.1Q-compliant switches, you can connect multiple VLANs through a single switch-to-switch link. ProCurve ProCurve...

  • Page 258: Overview Of Using Vlans, Vlan Support And The Default Vlan, The Primary Vlan

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) ProCurve ProCurve Switch Switch Tagged VLAN Link Untagged VLAN Links Figure 12-4. Example of Tagged and Untagged VLAN Technology in the Same Network For more information on VLANs, refer to: “Overview of Using VLANs”...

  • Page 259

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) features and ensure that multiple instances of DHCP or Bootp on different VLANs do not result in conflicting configuration values for the switch. The primary VLAN is the VLAN the switch uses to run and manage these features and data.

  • Page 260: Per-port Static Vlan Configuration Options

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Per-Port Static VLAN Configuration Options The following figure and table show the options you have for assigning individual ports to a static VLAN. Note that GVRP, if configured, affects these options and VLAN behavior on the switch.

  • Page 261: General Steps For Using Vlans, Vlan Operating Notes

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) General Steps for Using VLANs 1. Plan your VLAN strategy and create a map of the logical topology that will result from configuring VLANs. Include consideration for the interaction between VLANs and other features such as Spanning Tree Protocol, load balancing, and IGMP.

  • Page 262: Menu: Configuring Vlan Parameters

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Menu: Configuring VLAN Parameters In the factory default state, support is enabled for up to eight VLANs. (You can change the switch VLAN configuration to support up to 30 VLANs.) Also, all ports on the switch belong to the default VLAN (DEFAULT_VLAN) and are in the same broadcast/multicast domain.

  • Page 263

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) To change the maximum number of VLANs, type the new number (1 - 30 ■ allowed; default 8). To designate a different VLAN as the primary VLAN, select the Primary ■...

  • Page 264

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Adding or Editing VLAN Names Use this procedure to add a new VLAN or to edit the name of an existing VLAN. From the Main Menu select: 2. Switch Configuration 8.

  • Page 265

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Example of a New VLAN and ID Figure 12-8. Example of VLAN Names Screen with a New VLAN Added Repeat steps 2 through 5 to add more VLANs. Remember that you can add VLANs until you reach the number specified in the Maximum VLANs to support field on the VLAN Support screen (see figure 12-5 on page 12-10).

  • Page 266

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Default: In this example, the “VLAN-22” has been defined, but no ports have yet been assigned to it. (“No” means the port is not assigned to that VLAN.) Using GVRP? If you plan on using GVRP, any ports you don’t want to join should be changed...

  • Page 267: Cli: Configuring Vlan Parameters

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Ports A4 and A5 are assigned to both VLANs. Ports A6 and A7 are assigned only to VLAN-22. All other ports are assigned only to the Default VLAN. Figure 12-10. Example of VLAN Assignments for Specific Ports For information on VLAN tags (“Untagged”...

  • Page 268

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) VLAN Commands Used in this Section show vlans below show vlan <vlan-id> page 12-17 max-vlans <1..30> page 12-18 primary-vlan <vlan-id> page 12-18 [no] vlan <vlan-id> page 12-19 name <vlan-name> page 12-20 [no] tagged <port-list>...

  • Page 269

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Displaying the Configuration for a Particular VLAN . This command uses the VID to identify and display the data for a specific static or dynamic VLAN. Syntax: show vlan <vlan-id> Figure 12-12.

  • Page 270

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Changing the Number of VLANs Allowed on the Switch. By default, the switch allows a maximum of 8 VLANs. You can specify any value from 1 to 30. (If GVRP is enabled, this setting includes any dynamic VLANs on the switch.) As part of implementing a new value, you must execute a write memory command (to save the new value to the startup-config file) and then reboot the switch.

  • Page 271

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Creating a New Static VLAN Changing the VLAN Context Level. With this command, entering a new VID creates a new static VLAN. Entering the VID or name of an existing static VLAN places you in the context level for that VLAN.

  • Page 272

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) want to make the VLAN permanent. After you convert a dynamic VLAN to static, you must configure the switch’s per-port participation in the VLAN in the same way that you would for any static VLAN. Syntax: static-vlan <vlan-id>...

  • Page 273: Web: Viewing And Configuring Vlan Parameters

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) For example, if you have a VLAN named VLAN100 with a VID of 100, and all ports are set to No for this VLAN. To change the VLAN name to “Blue_Team” and set ports 1-5 to Tagged, you could do so with these commands: HPswitch(config)# vlan 100 name Blue_Team HPswitch(config)# vlan 100 tagged 1-5...

  • Page 274: Vlan Tagging Information

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) VLAN Tagging Information VLAN tagging enables traffic from more than one VLAN to use the same port. (Even when two or more VLANs use the same port they remain as separate domains and cannot receive traffic from each other without going through an external router.) As mentioned earlier, a “tag”...

  • Page 275

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) In switch X: ■ • VLANs assigned to ports X1 - X6 can all be untagged because there is only one VLAN assignment per port. Red VLAN traffic will go out only the Red ports;...

  • Page 276

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) VLAN tagging gives you several options: ■: Since the purpose of VLAN tagging is to allow multiple VLANs on the same port, any port that has only one VLAN assigned to it can be configured as “Untagged”...

  • Page 277

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) The VLANs assigned to ports X3, X4, Y2, Y3, and Y4 can all be untagged because there is only one VLAN assigned per port. Port X1 has multiple VLANs assigned, which means that one VLAN assigned to this port can be untagged and any others must be tagged.

  • Page 278: The Secure Management Vlan

    Port-Based Virtual LANs (Static VLANs) The Secure Management VLAN Configures a secure Management VLAN by creating an isolated network for managing the HP ProCurve switches that support this feature. As of June 1, 2003, includes these HP ProCurve switch models: •...

  • Page 279

    2. Determine the IP addressing for the Management VLAN (DHCP/Bootp or Manual. 3. Plan your Management VLAN topology to use HP ProCurve switches that support this feature. (See the list on page 12-26.) The ports belonging to the Management VLAN should be only the following: •...

  • Page 280

    • Ports on one switch that you will use to extend the Management VLAN to ports on other HP ProCurve switches (such as ports A1 and B2 or B4 and C2 in figure 12-20 on page 12-27.). Hubs dedicated to connecting management stations to the Management VLAN can also be included in the above topology.

  • Page 281

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) Deleting the Management VLAN. You can disable the Secure Manage­ ment feature without deleting the VLAN itself. For example, either of the following commands disables the Secure Management feature in the above example: HPswitch (config)# no management-vlan 100 HPswitch (config)# no management-vlan my_vlan...

  • Page 282: Effect Of Vlans On Other Switch Features

    VLANs” on page 14-5. Note that Spanning Tree operates differently in different devices. For example, in the (obsolete, non-802.1Q) HP Switch 2000 and the HP Switch 800T, Span­ ning Tree operates on a per-VLAN basis, allowing redundant physical links as long as they are in separate VLANs.

  • Page 283: Vlan Restrictions

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) IP interface for that VLAN is also activated. Likewise, when a VLAN is deactivated because all of its ports are down, the corresponding IP interface is also deactivated. VLAN MAC Addresses The switch has one unique MAC address for each of its VLAN interfaces.

  • Page 284

    Port-Based Virtual LANs (VLANs) and GVRP Port-Based Virtual LANs (Static VLANs) HP Router Requirements. Use the Hewlett-Packard version A.09.70 (or later) router OS release if any of the following Hewlett-Packard routers are installed in networks in which you will be using VLANs:...

  • Page 285: Gvrp

    Port-Based Virtual LANs (VLANs) and GVRP GVRP GVRP Feature Default Menu view GVRP configuration page 12-42 page 12-43 page 12-46 list static and dynamic VLANs — page 12-45 page 12-46 on a GVRP-enabled switch enable or disable GVRP disabled page 12-42 page 12-44 page 12-46 enable or disable GVRP on...

  • Page 286: General Operation

    Port-Based Virtual LANs (VLANs) and GVRP GVRP General Operation When GVRP is enabled on a switch, the VID for any static VLANs configured on the switch is advertised (using BPDUs—Bridge Protocol Data Units) out all ports, regardless of whether a port is up or assigned to any particular VLAN. A GVRP-aware port on another device that receives the advertisements over a link can dynamically join the advertised VLAN.

  • Page 287

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Note that if a static VLAN is configured on at least one port of a switch, and that port has established a link with another device, then all other ports of that switch will send advertisements for that VLAN. For example, in the following figure, Tagged VLAN ports on switch “A”...

  • Page 288: Per-port Options For Handling Gvrp "unknown Vlans", Per-port Options For Handling Gvrp "unknown Vlans

    Port-Based Virtual LANs (VLANs) and GVRP GVRP If the switch already has a static VLAN assignment with the same VID as ■ in the advertisement, and the port is configured to Auto for that VLAN, then the port will dynamically join the VLAN and begin moving that VLAN’s traffic.

  • Page 289

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Table 12-3. Options for Handling “Unknown VLAN” Advertisements: UnknownVLAN Operation Mode Learn Enables the port to become a member of any unknown VLAN for which it (the Default) receives an advertisement. Allows the port to advertise other VLANs that have at least one other port on the same switch as a member.

  • Page 290: Per-port Options For Dynamic Vlan Advertising And Joining

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Per-Port Options for Dynamic VLAN Advertising and Joining Initiating Advertisements. As described in the preceding section, to enable dynamic joins, GVRP must be enabled and a port must be configured to Learn (the default). However, to send advertisements in your network, one or more static (Tagged, Untagged, or Auto) VLANs must be configured on one or more switches (with GVRP enabled), depending on your topology.

  • Page 291

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Table 12-4. Controlling VLAN Behavior on Ports with Static VLANs Per-Port Static VLAN Options—Per VLAN Specified on Each Port “Unknown VLAN” Port Activity: Port Activity: Port Activity: Forbid (Per VL (GVRP) Auto (Per VLAN) Tagged or Untagged (Per VLAN) Configuration Learn...

  • Page 292: Gvrp And Vlan Access Control

    Because dynamic VLANs operate as Tagged VLANs, and because a tagged port on one device cannot communicate with an untagged port on another device, HP recommends that you use Tagged VLANs for the static VLANs you will use to generate advertisements.

  • Page 293: Planning For Gvrp Operation, Configuring Gvrp On A Switch

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Planning for GVRP Operation These steps outline the procedure for setting up dynamic VLANs for a seg­ ment. 1. Determine the VLAN topology you want for each segment (broadcast domain) on your network. 2. Determine the VLANs that must be static and the VLANs that can be dynamically propagated.

  • Page 294

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Menu: Viewing and Configuring GVRP From the Main Menu, select: 2. Switch Configuration . . . 8. VLAN Menu . . . 1. VLAN Support Figure 12-26. The VLAN Support Screen (Default Configuration) Do the following to enable GVRP and display the Unknown VLAN fields: (for Edit).

  • Page 295

    Port-Based Virtual LANs (VLANs) and GVRP GVRP 3. Use the arrow keys to select the port you want, and the Space bar to select Unknown VLAN option for any ports you want to change. 4. When you finish making configuration changes, press [Enter] , then (for...

  • Page 296

    Port-Based Virtual LANs (VLANs) and GVRP GVRP This example includes non-default settings for the Unknown VLAN field for some ports. Figure 12-29. Example of Show GVRP Listing with GVRP Enabled Enabling and Disabling GVRP on the Switch. This command enables GVRP on the switch.

  • Page 297

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Figure 12-30. Example of Preventing Specific Ports from Joining Dynamic VLANs Displaying the Static and Dynamic VLANs Active on the Switch. The show vlans command lists all VLANs present in the switch. Syntax: show vlans For example, in the following illustration, switch “B”...

  • Page 298

    Port-Based Virtual LANs (VLANs) and GVRP GVRP Dynamic VLANs Learned from Switch “A” through Port 1 Figure 12-32. Example of Listing Showing Dynamic VLANs Converting a Dynamic VLAN to a Static VLAN. If a port on the switch has joined a dynamic VLAN, you can use the following command to convert that dynamic VLAN to a static VLAN: Syntax: static <dynamic-vlan-id>...

  • Page 299: Gvrp Operating Notes

    Port-Based Virtual LANs (VLANs) and GVRP GVRP GVRP Operating Notes A dynamic VLAN must be converted to a static VLAN before it can have ■ an IP address. ■ The total number of VLANs on the switch (static and dynamic combined) cannot exceed the current Maximum VLANs setting.

  • Page 300

    Port-Based Virtual LANs (VLANs) and GVRP GVRP — This page is intentionally unused. — 12-48...

  • Page 301

    Multimedia Traffic Control with IP Multicast (IGMP) Contents Overview ........... . 13-2 General Operation and Features .

  • Page 302

    For general information on how to use the switch’s built-in interfaces, see: Chapter 3, “Using the Menu Interface” ■ ■ Chapter 4, “Using the Command Line Interface (CLI)” ■ Chapter 5, “Using the HP Web Browser Interface Appendix C, “Switch Memory and Configuration” ■ 13-2...

  • Page 303: General Operation And Features

    Multimedia Traffic Control with IP Multicast (IGMP) General Operation and Features General Operation and Features IGMP Features Feature Default Menu view igmp configuration — page 13-6 — show igmp status for multicast — — groups used by the selected VLAN enabling or disabling IGMP disabled —...

  • Page 304: Igmp Terms

    Querier. When enabled (the default state), the switch’s querier function eliminates the need for a multicast router. In most cases, HP recommends that you leave this parameter in the default “enabled”...

  • Page 305: Igmp Operating Features

    Multimedia Traffic Control with IP Multicast (IGMP) General Operation and Features IGMP Operating Features Basic Operation In the factory default configuration, IGMP is disabled. If multiple VLANs are not configured, you must configure IGMP on the default VLAN (DEFAULT_VLAN; VID = 1). If multiple VLANs are configured, you must configure IGMP on a per-VLAN basis for every VLAN where this feature is desired.

  • Page 306: Cli: Configuring And Displaying Igmp

    Multimedia Traffic Control with IP Multicast (IGMP) CLI: Configuring and Displaying IGMP N o t e s Whenever IGMP is enabled, the switch generates an Event Log message indicating whether querier functionality is enabled. IP multicast traffic groups are identified by IP addresses in the range of 224.0.0.0 to 239.255.255.255.

  • Page 307

    Multimedia Traffic Control with IP Multicast (IGMP) CLI: Configuring and Displaying IGMP Viewing the Current IGMP Configuration. This command lists the IGMP configuration for all VLANs configured on the switch or for a specific VLAN. Syntax: show ip igmp config IGMP configuration for all VLANs on the switch.

  • Page 308

    Multimedia Traffic Control with IP Multicast (IGMP) CLI: Configuring and Displaying IGMP IGMP Configuration for the Selected VLAN IGMP Configuration On the Individual Ports in the VLAN Figure 13-2. Example Listing of IGMP Configuration for A Specific VLAN Enabling or Disabling IGMP on a VLAN. You can enable IGMP on a VLAN, along with the last-saved or default IGMP configuration (whichever was most recently set), or you can disable IGMP on a selected VLAN.

  • Page 309

    Multimedia Traffic Control with IP Multicast (IGMP) CLI: Configuring and Displaying IGMP You can also combine the command with other IGMP-related com­ ip igmp mands, as described in the following sections. Configuring Per-Port IGMP Packet Control. Use this command in the VLAN context to specify how each port should handle IGMP traffic.

  • Page 310

    Multimedia Traffic Control with IP Multicast (IGMP) CLI: Configuring and Displaying IGMP The following command displays the VLAN and per-port configuration result­ ing from the above commands. > show ip igmp 1 config HPswitch Configuring IGMP Traffic Priority. This command allows you to priori­ tize IGMP traffic as either “high”...

  • Page 311: Web: Enabling Or Disabling Igmp, How Igmp Operates

    Multimedia Traffic Control with IP Multicast (IGMP) Web: Enabling or Disabling IGMP Web: Enabling or Disabling IGMP In the web browser interface you can enable or disable IGMP on a per-VLAN basis. To configure other IGMP features, telnet to the switch console and use the CLI.

  • Page 312

    Multimedia Traffic Control with IP Multicast (IGMP) How IGMP Operates Report (Join): A message sent by a host to the querier to indicate that ■ the host wants to be or is a member of a given group indicated in the report message.

  • Page 313: Operation With Or Without Ip Addressing, Automatic Fast-leave Igmp

    IGMP client on a port in the VLAN leaves the cast router or another switch configured for IGMP oper group. ation. (HP recommends that the VLAN also include a device operating as a backup Querier in case the device Support Fast-Leave IGMP (below) and Forced operating as the primary Querier fails for any reason.

  • Page 314

    For this reason, the IGMP FastLeave feature is disabled by default on all HP ProCurve switches that do not support Data-Driven IGMP, including the switches covered in this guide.

  • Page 315: Forced Fast-leave Igmp

    Routing Printer end nodes on that port. Switch Acting as Querier HP ProCurve Switch with Automatic Fast- Fast-Leave IGMP does Leave not activate on this port. Figure 13-3. Example of Automatic Fast-Leave IGMP Criteria When client “3A” running IGMP is ready to leave the multicast group, it transmits a Leave Group message.

  • Page 316

    IGMP client) on that port. N o t e o n V L A N In the HP ProCurve switches covered in this guide, the walkmib and setmib N u m b e r s : commands use an internal VLAN number (and not the VLAN ID, or VID) to display or change many per-vlan features, such as the Forced Fast- Leave state.

  • Page 317

    Multimedia Traffic Control with IP Multicast (IGMP) How IGMP Operates 3. Enter either of the following walkmib command options: walkmib hpSwitchIgmpPortForcedLeaveState - OR ­ walkmib 1.3.6.1.4.1.11.2.14.11.5.1.7.1.15.3.1.5 The resulting display lists the Forced Fast-Leave state for all ports in the switch, by VLAN. (A port belonging to more than one VLAN will be listed once for each VLAN, and if multiple VLANs are not configured, all ports will be listed as members of the default VLAN.) The following command produces a listing such as that shown in figure 13-4:...

  • Page 318: Configuring Per-port Forced Fast-leave Igmp

    Multimedia Traffic Control with IP Multicast (IGMP) How IGMP Operates shows that Fast Forced-Leave is disabled on port 7. 6 specifies port A6. indicates the default VLAN. (See the “Note on VLAN Numbers” on page 13-16.) Figure 13-5. Example Listing the Forced Fast-Leave State for a Single Port on the Default VLAN Configuring Per-Port Forced Fast-Leave IGMP In the factory-default configuration, Forced Fast-Leave is disabled for all ports...

  • Page 319: Using The Switch As Querier

    Multimedia Traffic Control with IP Multicast (IGMP) Using the Switch as Querier Verifies Forced Fast-Leave enabled. indicates port C1. indicates the default VLAN. (See the note on page 13-16.) Figure 13-6. Example of Changing the Forced Fast-Leave Configuration on Port 49 Using the Switch as Querier Querier Operation The function of the IGMP Querier is to poll other IGMP-enabled devices in an...

  • Page 320: From Ip Multicast Filtering

    Multimedia Traffic Control with IP Multicast (IGMP) Excluding Well-Known or Reserved Multicast Addresses from IP Multicast Filtering In the above scenario, if the other device ceases to operate as a Querier on the default VLAN, then the switch detects this change and can become the Querier as long as it is not pre-empted by some other IGMP Querier on the VLAN.

  • Page 321

    Excluding Well-Known or Reserved Multicast Addresses from IP Multicast Filtering N o t e s : IP Multicast Filters. This operation applies to the HP ProCurve Switch 1600M, 2400M, 2424M, 4000M, and 8000M, but not to the Series 2500, 2600, 4100, and 5300 switches or the Switch 6108 (which do not have static traffic/ security filters).

  • Page 322

    Multimedia Traffic Control with IP Multicast (IGMP) Excluding Well-Known or Reserved Multicast Addresses from IP Multicast Filtering — This page is intentionally unused. — 13-22...

  • Page 323

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Contents Overview ........... . 14-2 How Spanning Tree Operates .

  • Page 324

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Overview Overview STP Features 802.1D Spanning Tree Default Menu Protocol viewing the STP page 14-18 page 14-10 — configuration enable/disable STP disabled page 14-18 page 14-22 page 14-40 reconfiguring general priority: 32768 page 14-18 page 14-23...

  • Page 325

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Overview Use spanning tree to ensure that only one active path at a time exists between any two nodes on the network. In networks where there is more than one physical, active path between any two nodes, enabling spanning tree ensures a single active path between such nodes by blocking all redundant paths.

  • Page 326: How Spanning Tree Operates

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) How Spanning Tree Operates How Spanning Tree Operates The switch automatically senses port identity and type, and automatically defines spanning-tree parameters for each type, as well as parameters that apply across the switch.

  • Page 327

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) How Spanning Tree Operates Spanning Tree Operation with 802.1Q VLANs. As recommended in the IEEE 802.1Q VLAN standard, when spanning tree is enabled on the switch, a single spanning tree is configured for all ports across the switch, including those in separate VLANs (that is, single-instance spanning tree, which gener­...

  • Page 328: Spanning Tree Options: Rstp (802.1w) And Stp (802.1d)

    RSTP is designed to be compatible with IEEE 802.1D STP, and HP recom­ mends that you employ it in your network. For more information, refer to “Transitioning from STP to RSTP”...

  • Page 329: Configuring Rapid Reconfiguration Spanning Tree (rstp), Configuring Rapid Reconfiguration Spanning Tree (rstp)

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) convergence time to a new uplink port to as little as ten seconds. For more information, refer to “Fast-Uplink Spanning Tree Protocol (STP)” on page 14-26.

  • Page 330: Transitioning From Stp To Rstp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) As indicated in the manual, the spanning tree protocol is used to ensure that only one active path at a time exists between any two end nodes in the network in which your switch is installed.

  • Page 331: Configuring Rstp, Optimizing The Rstp Configuration

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) with the different network speeds. This can create some incompatibility between devices running the older 802.1D STP and your switch running RSTP. Please see the “Note on Path Cost”...

  • Page 332: Cli: Configuring Rstp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) Enable RSTP Spanning Tree: CLI: spanning-tree Menu: Main Menu —> 2. Switch Configuration —> 4. Spanning Tree Operation —> select STP Enabled: Yes CLI: Configuring RSTP Spanning Tree Commands in This Section Applicable...

  • Page 333

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) In the default configuration, the output from this command appears similar to the following: Figure 14-3. Example of the Spanning Tree Configuration Display Enabling or Disabling RSTP.

  • Page 334

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) Enabling STP Instead of RSTP. If you decide, for whatever reason, that you would prefer to run the IEEE 802.1D (STP) version of spanning tree, then issue the following command: Syntax: spanning-tree protocol-version stp Abbreviation: span prot stp...

  • Page 335

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) N o t e Executing the spanning-tree command alone enables spanning tree. Executing the command with one or more of the whole-switch RSTP parameters shown in the table on the previous page, or with any of the per-port RSTP parameters shown in the table on page 14, does not enable spanning tree.

  • Page 336

    Forwarding state. In this way, the ports operate very similarly to ports that are configured in “fast mode” under the STP implementation in previous HP switch software. Disable this feature on all switch ports that are connected to another switch, or bridge, or hub.

  • Page 337

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) Syntax: Abbreviations: spanning-tree [ethernet] <port-list> span <port-list> path-cost <1 - 200000000> path <1 - 200000000> point-to-point-mac <force-true | force-false | auto> forc <force-t | force-f | auto> priority <0 - 15>...

  • Page 338: Menu: Configuring Rstp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) Menu: Configuring RSTP 1. From the console CLI prompt, enter the menu command. HPswitch# menu From the switch console Main Menu, select 2.

  • Page 339: Web: Enabling Or Disabling Rstp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Configuring Rapid Reconfiguration Spanning Tree (RSTP) 7. Press the key or use the arrow keys to go to the next parameter you [Tab] want to change, then type in the new value or press the Space bar to select to select the Actions –>...

  • Page 340: D Spanning-tree Protocol (stp), D Spanning-tree Protocol (stp), Menu: Configuring 802.1d Stp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Menu: Configuring 802.1D STP From the Main Menu, select: 2. Switch Configuration . . . 4. Spanning Tree Operation Use this field to select the 802.1D version of STP. Figure 14-5.

  • Page 341

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Use this field to enable spanning tree. Read-Only Fields Figure 14-6. Enabling Spanning-Tree Operation 6. If the remaining STP parameter settings are adequate for your network, go to step 10.

  • Page 342

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Figure 14-7. The Configuration Menu Indicating a Reboot Is Needed to Implement a Configuration Change 11. Press to return to the Main menu. Figure 14-8. The Main Menu Indicating a Reboot Is Needed To Implement a Configuration Change 12. Press to reboot the switch.

  • Page 343: Cli: Configuring 802.1d Stp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) CLI: Configuring 802.1D STP STP Commands Used in This Section show spanning-tree config Below spanning-tree protocol-version page 14-22 forward-delay <4 - 30> page 14-23 hello-time <1 - 10>...

  • Page 344

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Configuring the Switch To Use the 802.1D Spanning Tree Protocol (STP). In the default configuration, the switch is set to RSTP (that is, 802.1w Rapid Spanning Tree), and spanning tree operation is disabled.

  • Page 345

    C a u t i o n Because incorrect STP settings can adversely affect network performance, HP recommends that you use the default STP parameter settings. You should not change these settings unless you have a strong understanding of how STP operates.

  • Page 346

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) N o t e Executing spanning-tree alone enables STP. Executing spanning-tree with one or more of the above “STP Operating Parameters” does not enable STP. It only configures the STP parameters (regardless of whether STP is actually running (enabled) on the switch).

  • Page 347: Stp Fast Mode

    (Forwarding or Blocking, as determined by the STP negotiation). This sequence takes two times the forward delay value configured for the switch. The default is 15 seconds on HP switches, per the IEEE 802.1D standard recommendation, resulting in a total STP negotiation time of 30 seconds. Each switch port goes through this start-up sequence whenever the network con­...

  • Page 348: Fast-uplink Spanning Tree Protocol (stp), Fast-uplink Spanning Tree Protocol (stp), Fast-uplink Spanning Tree Protocol (stp)

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) C a u t i o n The Fast Mode configuration should be used only on switch ports connected to end nodes. Changing the Mode to Fast on ports connected to hubs, switches, or routers may cause loops in your network that STP may not be able to immediately detect, in all cases.

  • Page 349

    STP. However, because fast uplink should be configured only on the switch’s uplink ports, the device(s) on the other end of the links can be either HP devices or another vendor’s devices, regardless of whether they support fast uplink. For example: Port A is the STP root port.

  • Page 350: Terminology

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Terminology Term Definition downlink port A switch port that is linked to a port on another switch (or to an end node) that is sequentially further away from the STP root device.

  • Page 351: Operating Rules For Fast Uplink

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Table 14-5. STP Parameter Settings for Figure 14-12 STP Parameter Switch "1" Switch "2" Switch "3" Switch "4" Switch Priority 32,768 (default) 32,768 (default) (Fast) Uplink Ports 3 &...

  • Page 352: Menu: Viewing And Configuring Fast-uplink Stp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Edge switches cannot be directly linked together using fast-uplink ports. ■ For example, the connection between switches 4 and 5 in figure 14-13 is not allowed for fast-uplink operation.

  • Page 353

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) To View and/or Configure Fast-Uplink STP. This procedure uses the Spanning Tree Operation screen to enable STP and to set the Mode for fast- uplink STP operation.

  • Page 354

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) 3. If the Protocol Version is set to RSTP (as shown in figure 14-14), do the following: ) to move the cursor to the Protocol Version field. Press Edit b.

  • Page 355

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) In this example, ports 2 and 3 have already been configured as a port trunk (Trk1), which appears at the end of the port listing. All ports (and the trunk) are in their default STP configuration.

  • Page 356

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) STP is enabled. Port A1 and Trk1 are now configured for fast-uplink STP. Figure 14-17. Example of STP Enabled with Two Redundant Links Configured for Fast-Uplink STP 5. Press (for...

  • Page 357

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Indicates which uplink is the active path to the STP root device. Note: A switch using fast-uplink STP must never be the STP root device.

  • Page 358: Cli: Viewing And Configuring Fast-uplink Stp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) In figure 14-19: • Port A1 and Trk1 (trunk 1; formed from ports 2 and 3) are redundant fast-uplink STP links, with trunk 1 forwarding (the active link) and port A1 blocking (the backup link).

  • Page 359

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Indicates that Trk1 (Trunk 1) provides the currently active path to the STP root device. Redundant STP link in the Blocking state. Links to PC or Workstation End Nodes Redundant STP link in the Forwarding state.

  • Page 360

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) STP Enabled on the Switch Fast-Uplink Configured on Port 1 and Trunk 1 (Trk1) Figure 14-22. Example of a Configuration Supporting the STP Topology Shown in Figure 14-20 Using the CLI To Configure Fast-Uplink STP.

  • Page 361

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) 802.1D Spanning-Tree Protocol (STP) Lists STP configuration. Shows the default STP protocol version. 1. Changes the Spanning-Tree protocol to STP (required for Fast-Uplink). 2. Saves the change to the startup-configuration 3.

  • Page 362: Web: Enabling Or Disabling Stp

    802.1w Rapid Spanning Tree Protocol (RSTP) and 802.1d Spanning Tree Protocol (STP) Web: Enabling or Disabling STP N o t e When you add a port to a trunk, the port takes on the STP mode configured for the trunk, regardless of which STP mode was configured on the port before it was added to the trunk.

  • Page 363

    Which Devices Support Stacking? ......15-4 Components of HP ProCurve Stack Management ....15-5 General Stacking Operation .

  • Page 364

    For general information on how to use the switch’s built-in interfaces, see: ■ Chapter 3, “Using the Menu Interface” Chapter 4, “Using the Command Line Interface (CLI)” ■ Chapter 5, “Using the HP Web Browser Interface ■ ■ Chapter 6, “Switch Memory and Configuration” 15-2...

  • Page 365: Operation

    60 seconds page 15-13 page 15-44 HP ProCurve Stack Management (termed stacking) enables you to use a single IP address and standard network cabling to manage a group of up to 16 total switches in the same IP subnet (broadcast domain). Using stacking, you can: Reduce the number of IP addresses needed in your network.

  • Page 366: Which Devices Support Stacking?, Which Devices Support Stacking

    ■ Add switches to your network without having to first perform IP addressing tasks. Which Devices Support Stacking? As of May, 2003, the following HP ProCurve devices support stacking: ■ HP ProCurve Switch 6108 ■ HP ProCurve Switch 2524 ■...

  • Page 367: Components Of Hp Procurve Stack Management, General Stacking Operation

    HP ProCurve Stack Management Operation Components of HP ProCurve Stack Management Table 15-1. Stacking Definitions Stack Consists of a Commander switch and any Member switches belonging to that Commander’s stack. Commander A switch that has been manually configured as the controlling device for a stack. When this occurs, the Commander switch’s stacking configuration appears as...

  • Page 368

    HP ProCurve Stack Management Operation Use the Commander’s console or web Wiring Closet "A" browser interface to access the user Member Switch 1 Candidate Switch interface on any Member switch in IP Address: None Assigned IP Address: None Assigned the same stack.

  • Page 369: Operating Rules For Stacking

    HP ProCurve Stack Management Operation Operating Rules for Stacking General Rules ■ Stacking is an optional feature (enabled in the default configuration) and can easily be disabled. Stacking has no effect on the normal operation of the switch in your network.

  • Page 370: Specific Rules

    HP ProCurve Stack Management Operation Specific Rules Table 15-2. Specific Rules for Commander, Candidate, and Member Switch IP Addressing and Number Allowed Passwords SNMP Communities Stack Name Per Stack Commander IP Addr: Requires an Only one The Commander’s Manager Standard SNMP community...

  • Page 371: Configuring Stack Management, Overview Of Configuring And Bringing Up A Stack

    (if more than one stack Commander is configured in a subnet or broadcast domain). If you plan to install more than one stack in a subnet, HP recommends that you leave Auto Grab disabled on all Commander switches and manually add Members to their stacks.

  • Page 372

    HP ProCurve Stack Management Configuring Stack Management Options for Configuring a Commander and Candidates. Depending on how Commander and Candidate switches are configured, Candidates can join a stack either automatically or by a Commander manually adding (“pulling”) them into the stack. In the default configuration, a Candidate joins only when manually pulled by a Commander.

  • Page 373

    HP ProCurve Stack Management Configuring Stack Management Default stacking configuration (Stack State set to Candidate, and Auto ■ Join set to Yes) Same subnet (broadcast domain) and default VLAN as the ■ Commander (If VLANs are used in the stack environment, see "Stacking Operation with a Tagged VLAN"...

  • Page 374

    HP ProCurve Stack Management Configuring Stack Management 2. Configure the Commander switch. Doing this first helps to establish consistency in your stack configuration, which can help prevent startup problems. • A stack requires one Commander switch. If you plan to implement...

  • Page 375: Stacking

    HP ProCurve Stack Management Configuring Stack Management Using the Menu Interface To View Stack Status and Configure Stacking Using the Menu Interface To View and Configure a Commander Switch 1. Configure an IP address and subnet mask on the Commander switch.

  • Page 376

    HP ProCurve Stack Management Configuring Stack Management 4. Move the cursor to the Stack State field by pressing (for Edit). Then use the Space bar to select the Commander option. 5. Press the downarrow key to display the Commander configuration fields in the Stack Configuration screen.

  • Page 377: Using The Menu To Manage A Candidate Switch

    HP ProCurve Stack Management Configuring Stack Management Using the Menu To Manage a Candidate Switch Using the menu interface, you can perform these actions on a Candidate switch: ■ Add (“push”) the Candidate into an existing stack ■ Modify the Candidate’s stacking configuration (...

  • Page 378

    1 to 300 seconds. Note: All switches in the stack must be set to the same transmis­ sion interval to help ensure proper stacking operation. HP recom­ mends that you leave this parameter set to the default 60 seconds.

  • Page 379: Using The Commander To Manage The Stack

    HP ProCurve Stack Management Configuring Stack Management 6. Press (for Save) to save your configuration changes and return to the Stacking menu. Using the Commander To Manage The Stack The Commander normally operates as your stack manager and point of entry into other switches in the stack.

  • Page 380

    HP ProCurve Stack Management Configuring Stack Management For status descriptions, see the table on page 15-46. Figure 15-9. Example of the Stack Management Screen (for Add) to add a Candidate. You will then see this screen listing 2. Press the available Candidates: The Commander automatically selects an available switch number (SN).

  • Page 381

    HP ProCurve Stack Management Configuring Stack Management • If the desired Candidate has a Manager password, press the downarrow key to move the cursor to the Candidate Password field, then type the password. • If the desired Candidate does not have a password, go to step 6.

  • Page 382

    HP ProCurve Stack Management Configuring Stack Management 2. Stacking Status (All) You will then see the Stacking Status (All) screen: For status descriptions, see the table on page 15-46. This column lists the MAC Addresses for switches Using the MAC addresses for these...

  • Page 383

    HP ProCurve Stack Management Configuring Stack Management Do one of the following: • If the stack containing the Member you are moving has a Manager password, press the downarrow key to select the Candidate Password field, then type the password.

  • Page 384

    HP ProCurve Stack Management Configuring Stack Management To remove a Member from a stack, use the Stack Management screen. From the Main Menu, select: 9. Stacking... 4. Stack Management You will then see the Stack Management screen: For status descriptions, see the table on page 15-46.

  • Page 385: Using The Commander To Access Member Switches For Configuration Changes And Monitoring Traffic

    HP ProCurve Stack Management Configuring Stack Management 4. To continue deleting the selected Member, press the Space bar once to select Yes for the prompt, then press to complete the deletion. The [Enter] Stack Management screen updates to show the new stack Member list.

  • Page 386: Another Stack

    HP ProCurve Stack Management Configuring Stack Management Main Menu for stack Member named "Coral Sea" (SN = 1 from figure 15-16) Figure 15-17. The eXecute Command Displays the Console Main Menu for the Selected Stack Member 2. You can now make configuration changes and/or view status data for the selected Member in the same way that you would if you were directly connected or telnetted into the switch.

  • Page 387: Monitoring Stack Status

    HP ProCurve Stack Management Configuring Stack Management Press (for Back) to return to the Stacking Menu. To display Stack Configuration menu for the switch you are moving, select 3. Stack Configuration Press (for Edit) to select the Stack State parameter.

  • Page 388

    HP ProCurve Stack Management Configuring Stack Management Using Any Stacked Switch To View the Status for All Switches with Stacking Enabled. This procedure displays the general status of all switches in the IP subnet (broadcast domain) that have stacking enabled.

  • Page 389

    HP ProCurve Stack Management Configuring Stack Management You will then see the Commander’s Stacking Status screen: Figure 15-19. Example of the Commander’s Stacking Status Screen Viewing Member Status. This procedure displays the Member’s stacking information plus the Commander’s status, IP address, and MAC address.

  • Page 390

    HP ProCurve Stack Management Configuring Stack Management Figure 15-20. Example of a Member’s Stacking Status Screen Viewing Candidate Status. This procedure displays the Candidate’s stacking configuration. To display the status for a Candidate: 1. Use Telnet (if the Candidate has a valid IP address for your network) or...

  • Page 391: Using The Cli To View Stack Status And Configure Stacking

    HP ProCurve Stack Management Configuring Stack Management Using the CLI To View Stack Status and Configure Stacking The CLI enables you to do all of the stacking tasks available through the menu interface.) Table 15-6. CLI Commands for Configuring Stacking on a Switch...

  • Page 392

    HP ProCurve Stack Management Configuring Stack Management CLI Command Operation [no] stack member Commander: Adds a Candidate to stack membership. “No” form removes a <switch-num> Member from stack membership. To easily determine the MAC address of a Candidate, use the show stack candidates command. To determine the MAC mac-address <mac-addr>...

  • Page 393: Using The Cli To View Stack Status

    HP ProCurve Stack Management Configuring Stack Management Using the CLI To View Stack Status You can list the stack status for an individual switch and for other switches that have been discovered in the same subnet. Syntax: show stack [candidates | view | all] Viewing the Status of an Individual Switch.

  • Page 394

    HP ProCurve Stack Management Configuring Stack Management Viewing the Status of all Stack-Enabled Switches Discovered in the IP Subnet. The next example lists all the stack-configured switches discovered in the IP subnet. Because the switch on which the show stack all command was executed is a candidate, it is included in the “Others”...

  • Page 395

    HP ProCurve Stack Management Configuring Stack Management Using the CLI To Configure a Commander Switch You can configure any stacking-enabled switch to be a Commander as long as the intended stack name does not already exist on the broadcast domain.

  • Page 396

    Syntax: no stack stack commander < stack name > Suppose, for example, that an HP switch named “Bering Sea” is a Member of a stack named “Big_Waters”. To use the switch’s CLI to convert it from a stack Member to the Commander of a new stack named “Lakes”, you would use the...

  • Page 397: Adding To A Stack Or Moving Switches Between Stacks

    HP ProCurve Stack Management Configuring Stack Management The output from this command tells you the MAC address of the current stack Commander. Removes the Member from the “Big_Waters” stack. Converts the former Member to the Com­ mander of the new “Lakes”...

  • Page 398

    HP ProCurve Stack Management Configuring Stack Management Using the Commander’s CLI To Manually Add a Candidate to the Stack. To manually add a candidate, you will use: ■ A switch number (SN) to assign to the new member. Member SNs range from 1 to 15.

  • Page 399

    HP ProCurve Stack Management Configuring Stack Management For example, if the HP 8000M in the above listing did not have a Manager password and you wanted to make it a stack Member with an , you would execute the following command:...

  • Page 400

    HP ProCurve Stack Management Configuring Stack Management The Candidate’s Auto Join is set to Yes (and you do not want to enable ■ Auto Grab on the Commander) or the Candidate’s Auto Join is set to No. ■ Either you know the MAC address of the Commander for the stack into which you want to insert the Candidate, or the Candidate has a valid IP address and is operating in your network.

  • Page 401

    HP ProCurve Stack Management Configuring Stack Management Syntax: stack member < switch-number > mac-address < mac-addr > [ password < password-str >] In the destination Commander, use show stack all to find the MAC address of the Member you want to pull into the destination stack. For example, suppose you created a new Commander with a stack name of “Cold_Waters”...

  • Page 402: Using The Cli To Remove A Member From A Stack

    HP ProCurve Stack Management Configuring Stack Management Syntax: no stack name < stack name> stack join < mac-address > If you don’t know the MAC address of the destination Commander, you can to identify it. show stack all For example, suppose you have a switch operating as the Commander for a temporary stack named “Test”.

  • Page 403

    HP ProCurve Stack Management Configuring Stack Management Use show stack view to list the stack Members. For example, suppose that you wanted to use the Commander to remove the “North Sea” Member from the following stack: Remove this Member from the stack.

  • Page 404

    HP ProCurve Stack Management Configuring Stack Management North Sea(config)# no stack join 0030c1-7fec40 Using the CLI To Access Member Switches for Configuration Changes and Traffic Monitoring After a Candidate becomes a Member, you can use the telnet command from the Commander to access the Member’s CLI or console interface for the same configuration and monitoring that you would do through a Telnet or direct- connect access from a terminal.

  • Page 405: Snmp Community Operation In A Stack

    HP ProCurve Stack Management Configuring Stack Management SNMP Community Operation in a Stack Community Membership In the default stacking configuration, when a Candidate joins a stack, it automatically becomes a Member of any SNMP community to which the Commander belongs, even though any community names configured in the Commander are not propagated to the Member’s SNMP Communities listing.

  • Page 406: Using The Cli To Disable Or Re-enable Stacking, Transmission Interval

    Transmission Interval All switches in the stack must be set to the same transmission interval to help ensure proper stacking operation. HP recommends that you leave this param­ eter set to the default 60 seconds. stack transmission-interval < seconds >...

  • Page 407: Web: Viewing And Configuring Stacking

    HP ProCurve Stack Management Configuring Stack Management Stacking uses only the primary VLAN on each switch in a stack. ■ The primary VLAN can be tagged or untagged as needed in the ■ stacking path from switch to switch. ■...

  • Page 408: Status Messages

    HP ProCurve Stack Management Configuring Stack Management Status Messages Stacking screens and listings display these status messages: Message Condition Action or Remedy Candidate Auto-join Indicates a switch configured with Stack State set to None required Candidate, Auto Join set to (the default), and no Manager password.

  • Page 409

    IP Routing Features Contents Overview of IP Routing ........16-2 IP Interfaces .

  • Page 410: Overview Of Ip Routing

    IP Interfaces On the HP ProCurve routing switches, IP addresses are associated with individual VLANs. By default, there is a single VLAN (Default_VLAN) on the routing switch. In that configuration, a single IP address serves as the manage­...

  • Page 411: Ip Tables And Caches

    IP Routing Features Overview of IP Routing N o t e Your HP ProCurve switch supports IP addresses in classical sub-net format, which includes the IP address and the subnet mask (example: 192.168.1.1 255.255.255.0), and Classless Interdomain Routing (CIDR) format (example: 192.168.1.1/24).

  • Page 412

    IP Forwarding Cache The IP forwarding cache provides a fast-path mechanism for forwarding IP packets. The cache contains entries for IP destinations. When an HP ProCurve routing switch has completed processing and addressing for a packet and is ready to forward the packet, the device checks the IP forwarding cache for an entry to the packet’s destination.

  • Page 413: Ip Global Parameters For Routing Switches

    IP Routing Features Overview of IP Routing If the cache contains an entry with the destination IP address, the device ■ uses the information in the entry to forward the packet out the ports listed in the entry. The destination IP address is the address of the packet’s final destination.

  • Page 414: Ip Interface Parameters For Routing Switches

    IP Routing Features Overview of IP Routing Parameter Description Default See page ICMP Router An IP protocol that a router can use to advertise the IP addresses of its Disabled 16-18 Discovery router interfaces to directly attached hosts. You can enable or disable Protocol (IRDP) the protocol at the Global CLI Config level.

  • Page 415: Configuring Ip Parameters For Routing Switches, Configuring Ip Addresses, Configuring Arp Parameters

    IP Routing Features Configuring IP Parameters for Routing Switches Configuring IP Parameters for Routing Switches The following sections describe how to configure IP parameters. Some param­ eters can be configured globally while others can be configured on individual VLAN interfaces. Some parameters can be configured globally and overridden for individual VLAN interfaces.

  • Page 416

    IP Routing Features Configuring IP Parameters for Routing Switches table or forwarding cache. The routing switch needs to know the MAC address that corresponds with the IP address of either the packet’s locally attached destination or the next-hop router that leads to the destination. For example, to forward a packet whose destination is multiple router hops away, the routing switch must send the packet to the next-hop router toward its destination, or to a default route or default network route if the IP route...

  • Page 417

    IP Routing Features Configuring IP Parameters for Routing Switches routers, including HP routing switches, can be configured to reply to ARP requests from one network on behalf of devices on another network. See “Enabling Proxy ARP” below. N o t e...

  • Page 418: Configuring Forwarding Parameters

    (Ethernet cable), since MAC-layer broadcasts reach all the devices on the segment. Proxy ARP is disabled by default on HP routing switches. To enable Proxy ARP, enter the following commands from the VLAN context level in the CLI:...

  • Page 419

    HPswitch(config)# ip directed-broadcast Syntax: [no] ip directed-broadcast HP software makes the forwarding decision based on the routing switch's knowledge of the destination network prefix. Routers cannot determine that a message is unicast or directed broadcast apart from the destination network prefix.

  • Page 420: Configuring Icmp

    Reply Limit – You can enable or disable ICMP reply rate limiting. ■ Disabling ICMP Messages HP devices are enabled to reply to ICMP echo messages and send ICMP Destination Unreachable messages by default. You can selectively disable the following types of Internet Control Message Protocol (ICMP) messages: ■...

  • Page 421

    Configuring IP Parameters for Routing Switches Disabling ICMP Destination Unreachable Messages By default, when an HP device receives an IP packet that the device cannot deliver, the device sends an ICMP Unreachable message back to the host that sent the packet. The following types of ICMP Unreachable messages are generated: ■...

  • Page 422: Configuring Static Ip Routes, Static Route Types

    Configuring Static IP Routes Disabling ICMP Redirects You can disable ICMP redirects on the HP routing switch. only on a global basis, for all the routing switch interfaces. To disable ICMP redirects globally, enter the following command at the global CONFIG level of the CLI:...

  • Page 423: Static Ip Route Parameters, Static Route States Follow Vlan (interface) States

    • A “null” interface. The routing switch drops traffic forwarded to the null interface. The HP ProCurve routing switch applies fixed default values for the following routing parameters: The route’s metric – The value the routing switch uses when comparing ■...

  • Page 424: Configuring A Static Ip Route, Configuring The Default Route

    IP Routing Features Configuring Static IP Routes Configuring a Static IP Route To configure an IP static route with a destination address of 192.0.0.0 255.0.0.0 and a next-hop router IP address of 195.1.1.1, you would enter the following commands: HPswitch(config)# ip route 192.0.0.0 255.0.0.0 195.1.1.1 HPswitch(config)# write memory Syntax: ip route <...

  • Page 425: Configuring A "null" Route

    IP Routing Features Configuring Static IP Routes Configuring a “Null” Route You can configure the routing switch to drop IP packets to a specific network or host address by configuring a “null” (sometimes called “null0”) static route for the address. When the routing switch receives a packet destined for the address, the routing switch drops the packet instead of forwarding it.

  • Page 426: Configuring Irdp

    Some types of hosts use the Router Solicitation messages to discover their default gateway. When IRDP is enabled on the HP routing switch, the routing switch responds to the Router Solicitation messages. Some clients interpret this response to mean that the routing switch is the default gateway. If another router is actually the default gateway for these clients, leave IRDP disabled on the HP routing switch.

  • Page 427: Enabling Irdp Globally, Enabling Irdp On An Individual Vlan Interface

    IP Routing Features Configuring IRDP messages from other routers at the same time. The interval on each IRDP- enabled routing switch interface is independent of the interval on other IRDP-enabled interfaces. The default maximum message interval is 600 seconds. The default minimum message interval is 450 seconds. ■...

  • Page 428

    IP Routing Features Configuring IRDP Syntax: [no] ip irdp Enables or disables (the default) ip irdp on the specified VLAN. [broadcast | multicast] This parameter specifies the packet type the routing switch uses to send the Router Advertisement: broadcast - The routing switch sends Router Adverti sements as IP broadcasts.

  • Page 429: Displaying Irdp Information

    IP Routing Features Configuring IRDP [ minadvertinterval < seconds > ] This parameter specifies the minimum amount of time the routing switch can wait between sending Router Advertisements. Default: three-fourths (0.75) the value of the maxadvertinterval parameter. If you change the maxadvertinterval parameter, the software automatically adjusts the minadvertinterval parameter to be three-fourths the new value of the maxadvertinterval parameter.

  • Page 430: Configuring Dhcp Relay, Dhcp Packet Forwarding

    IP Routing Features Configuring DHCP Relay Configuring DHCP Relay Overview The Dynamic Host Configuration Protocol (DHCP) is used for configuring hosts with IP address and other configuration parameters without human intervention. The protocol is composed of three components: the DHCP client, the DHCP server, and the DHCP relay agent.

  • Page 431: Minimum Requirements For Dhcp Relay Operation

    IP Routing Features Configuring DHCP Relay Minimum Requirements for DHCP Relay Operation In order for the DHCP Relay agent to work, the following steps must be completed: DHCP Relay is enabled on the routing switch A DHCP server is servicing the routing switch IP Routing is enabled on the routing switch There is a route from the DHCP server to the routing switch and back 5. An IP Helper address is configured on the routing switch, set to the IP...

  • Page 432

    IP Routing Features Configuring DHCP Relay — This page is intentionally unused. — 16-24...

  • Page 433

    CLI: Switch-To-Switch Downloads ..... . . A-10 Using the HP TopTools for Hubs & Switches Utility ... . A-11 Troubleshooting TFTP Downloads .

  • Page 434

    In the switch console interface, the switch software is referred to as the OS, for switch “operating system”. Downloading Switch Software HP periodically provides switch software updates through the HP ProCurve website (http://www.hp.com/go/hpprocurve). For more information, see the support and warranty booklet shipped with the switch. After you acquire a...

  • Page 435: General Switch Software Download Rules

    An switch software file for the switch has been stored on a TFTP server ■ accessible to the switch. (The switch software file is typically available from the HP ProCurve website at http://www.hp.com/go/hpprocurve.) The switch is properly connected to your network and has already been ■...

  • Page 436: Menu: Tftp Download From A Server To Primary Flash

    File Transfers Downloading Switch Software N o t e If your TFTP server is a Unix workstation, ensure that the case (upper or lower) that you specify for the filename is the same case as the characters in the switch software filenames on the server. Menu: TFTP Download from a Server to Primary Flash Note that the menu interface accesses only the primary flash.

  • Page 437

    File Transfers Downloading Switch Software Progress Bar Figure A-2. Example of the Download OS Screen During a Download A “progress” bar indicates the progress of the download. When the entire switch software file has been received, all activity on the switch halts and you will see Validating and writing system software to FLASH...

  • Page 438: Flash

    File Transfers Downloading Switch Software CLI: TFTP Download from a Server to Primary or Secondary Flash This command automatically downloads a switch software image to primary or secondary flash. copy tftp flash < ip-address > < remote-os-file > [< primary | secondary >] Syntax: Note that if you do not specify the flash destination, the Xmodem download defaults to primary flash.

  • Page 439: Workstation

    File Transfers Downloading Switch Software Using Xmodem to Download Switch Software From a PC or UNIX Workstation This procedure assumes that: The switch is connected via the Console RS-232 port to a PC operating as ■ a terminal. (Refer to the Installation and Getting Started Guide you received with the switch for information on connecting a PC as a terminal and running the switch console interface.) ■...

  • Page 440: Primary Or Secondary Flash

    File Transfers Downloading Switch Software Continue reboot of system? Press the space bar once to change No to Yes, then press [Enter] to begin the reboot. To confirm that the switch software downloaded correctly: From the Main Menu, select 1. Status and Counters 1.

  • Page 441: Switch-to-switch Download

    “Using Primary and Secondary Flash Image Options” on page 6-12. Switch-to-Switch Download You can use TFTP to transfer a switch software file between two HP ProCurve switches that use the same software code base. The menu interface enables you to transfer primary-to-primary or secondary-to-primary. The CLI enables all combinations of flash location options.

  • Page 442: Cli: Switch-to-switch Downloads

    File Transfers Downloading Switch Software • To download the switch software from the secondary flash of the source switch, type /os/secondary. (for eXecute) to begin the switch software download. Press [Enter] , then 6. A “progress” bar indicates the progress of the download. When the entire operating system has been received, all activity on the switch halts and the following messages appear: Validating and writing system software to FLASH...

  • Page 443: Using The Hp Toptools For Hubs & Switches Utility

    HP TopTools for Hubs & Switches User Guide, provided electronically with the HP TopTools software. N o t e Although TopTools recognizes the Switch 2626 as an SNMP device, custom­ ized device management is not supported for the Switch 2626 in HP TopTools for hubs and switches. A-11...

  • Page 444: Troubleshooting Tftp Downloads

    File Transfers Troubleshooting TFTP Downloads Troubleshooting TFTP Downloads When using the menu interface, if a TFTP download fails, the Download OS screen indicates the failure. Message Indicating cause of TFTP Download Failure Figure A-7. Example of Message for Download Failure To find more information on the cause of a download failure, examine the messages in the switch’s Event Log by executing this CLI command: HPswitch# show log tftp...

  • Page 445: Transferring Switch Configurations

    File Transfers Transferring Switch Configurations For a Unix TFTP server, the file permissions for the switch software file ■ do not allow the file to be copied. ■ Another console session (through either a direct connection to a terminal device or through Telnet) was already running when you started the session in which the download was attempted.

  • Page 446

    File Transfers Transferring Switch Configurations TFTP: Copying a Configuration File to a Remote Host. Syntax: copy < startup-config | running-config > tftp < ip-addr > < remote-file > This command copies the switch’s startup configuration (startup-config file) to a remote TFTP host. For example, to upload the current startup configuration to a file named sw4100 in the configs directory on drive "d"...

  • Page 447

    File Transfers Transferring Switch Configurations Xmodem: Copying a Configuration File from a Serially Connected PC or Unix Workstation. To use this method, the switch must be connected via the serial port to a PC or Unix workstation on which is stored the configuration file you want to copy.

  • Page 448

    File Transfers Copying Diagnostic Data to a Remote Host, PC, or Unix Workstation Copying Diagnostic Data to a Remote Host, PC, or Unix Workstation You can use the CLI to copy the following types of switch data to a text file in a management device: ■...

  • Page 449: Copying Event Log Output To A Destination Device

    File Transfers Copying Diagnostic Data to a Remote Host, PC, or Unix Workstation Copying Event Log Output to a Destination Device This command uses TFTP or Xmodem to copy the Event Log content to a PC or UNIX workstation on the network. Syntax: copy event-log tftp <...

  • Page 450: Copying Crash Log Data Content To A Destination Device

    File Transfers Copying Diagnostic Data to a Remote Host, PC, or Unix Workstation Copying Crash Log Data Content to a Destination Device This command uses TFTP or Xmodem to copy the Crash Log content to a PC or UNIX workstation on the network. You can copy individual slot information or the master switch information.

  • Page 451

    Monitoring and Analyzing Switch Operation Contents Overview ........... . B-2 Status and Counters Data .

  • Page 452

    Monitoring and Analyzing Switch Operation Overview Overview The switch has several built-in tools for monitoring, analyzing, and trouble- shooting switch and network operation: ■ Status: Includes options for displaying general switch information, man­ agement address data, port status, port and trunk group statistics, MAC addresses detected on each port or VLAN, and STP, IGMP, and VLAN data (page B-3).

  • Page 453: Status And Counters Data

    Monitoring and Analyzing Switch Operation Status and Counters Data Status and Counters Data This section describes the status and counters screens available through the switch console interface and/or the web browser interface. N o t e You can access all console screens from the web browser interface via Telnet to the console.

  • Page 454: Menu Access To Status And Counters

    Monitoring and Analyzing Switch Operation Status and Counters Data Menu Access To Status and Counters Beginning at the Main Menu, display the Status and Counters menu by select­ ing: 1. Status and Counters Figure B-1. The Status and Counters Menu Each of the above menu items accesses the read-only screens described on the following pages.

  • Page 455: General System Information

    Monitoring and Analyzing Switch Operation Status and Counters Data General System Information Menu Access From the console Main Menu, select: 1. Status and Counters 1. General System Information Figure B-2. Example of General Switch Information This screen dynamically indicates how individual switch resources are being used.

  • Page 456: Switch Management Address Information

    Monitoring and Analyzing Switch Operation Status and Counters Data Switch Management Address Information Menu Access From the Main Menu, select: 1 Status and Counters . . . 2. Switch Management Address Information Figure B-3. Example of Management Address Information with VLANs Configured This screen displays addresses that are important for management of the switch.

  • Page 457: Module Information

    Monitoring and Analyzing Switch Operation Status and Counters Data Module Information Use this feature to determine which slots have modules installed and which type(s) of modules are installed. Menu: Displaying Port Status From the Main Menu, select: 1. Status and Counters . . . 3.

  • Page 458: Port Status

    Monitoring and Analyzing Switch Operation Status and Counters Data Port Status The web browser interface and the console interface show the same port status data. Menu: Displaying Port Status From the Main Menu, select: 1. Status and Counters . . . 4.

  • Page 459: Viewing Port And Trunk Group Statistics And Flow Control Status

    Monitoring and Analyzing Switch Operation Status and Counters Data Viewing Port and Trunk Group Statistics and Flow Control Status Feature Default Menu viewing port and trunk statistics for all page B-10 page B-11 page B-11 ports, and flow control status viewing a detailed summary for a page B-10 page B-11...

  • Page 460: Menu Access To Port And Trunk Statistics

    Monitoring and Analyzing Switch Operation Status and Counters Data Menu Access to Port and Trunk Statistics To access this screen from the Main Menu, select: 1. Status and Counters . . . 4. Port Counters Figure B-6. Example of Port Counters on the Menu Interface To view details about the traffic on a particular port, use the [v] key to highlight that port number, then select Show Details.

  • Page 461

    Monitoring and Analyzing Switch Operation Status and Counters Data CLI Access To Port and Trunk Group Statistics To Display the Port Counter Summary Report. This command provides an overview of port activity for all ports on the switch. Syntax: show interfaces To Display a Detailed Traffic Summary for Specific Ports.

  • Page 462: Viewing The Switch's Mac Address Tables

    Monitoring and Analyzing Switch Operation Status and Counters Data Viewing the Switch’s MAC Address Tables Feature Default Menu viewing MAC addresses on all page B-13 page B-15 — ports on a specific VLAN viewing MAC addresses on a page B-14 page B-15 —...

  • Page 463

    Monitoring and Analyzing Switch Operation Status and Counters Data Menu Access to the MAC Address Views and Searches Per-VLAN MAC-Address Viewing and Searching. This feature lets you determine which switch port on a selected VLAN is being used to communi­ cate with a specific device on the network.

  • Page 464

    Monitoring and Analyzing Switch Operation Status and Counters Data Finding the Port Connection for a Specific Device on a VLAN. This feature uses a device’s MAC address that you enter to identify the port used by that device. 1. Proceeding from figure B-8, press (for Search), to display the following prompt: Enter MAC address: _...

  • Page 465

    Monitoring and Analyzing Switch Operation Status and Counters Data Prompt for Selecting the Port To Search Figure B-10. Listing MAC Addresses for a Specific Port 2. Use the Space bar to select the port you want to list or search for MAC addresses, then press to list the MAC addresses detected on that [Enter]...

  • Page 466

    Monitoring and Analyzing Switch Operation Status and Counters Data Corresponding Port Numbers. For example, to list the learned MAC address on ports A1 through A4 and port A6: HPswitch> show mac-address a1-a4,a6 To List All Learned MAC Addresses on a VLAN, with Their Port Numbers.

  • Page 467: Spanning Tree Protocol (stp) Information

    Monitoring and Analyzing Switch Operation Status and Counters Data Spanning Tree Protocol (STP) Information Menu Access to STP Data From the Main Menu, select: 1. Status and Counters . . . 8. Spanning Tree Information STP must be enabled on the switch to display the following data: Figure B-12.

  • Page 468: Cli Access To Stp Data

    Monitoring and Analyzing Switch Operation Status and Counters Data Figure B-13. Example of STP Port Information CLI Access to STP Data This option lists the STP configuration, root data, and per-port data (cost, priority, state, and designated bridge). Syntax: show spanning-tree HPswitch>...

  • Page 469: Internet Group Management Protocol (igmp) Status

    Monitoring and Analyzing Switch Operation Status and Counters Data Internet Group Management Protocol (IGMP) Status The switch uses the CLI to display the following IGMP status on a per-VLAN basis: Show Command Output show ip igmp Global command listing IGMP status for all VLANs configured in the switch: •...

  • Page 470: Vlan Information

    Monitoring and Analyzing Switch Operation Status and Counters Data VLAN Information The switch uses the CLI to display the following VLAN status: Syntax: show vlan Lists:­ • Maximum number of VLANs to support­ • Existing VLANs­ • Status (static or dynamic)­ •...

  • Page 471

    Monitoring and Analyzing Switch Operation Status and Counters Data Listing the VLAN ID (VID) and Status for ALL VLANs in the Switch. Figure B-15. Example of VLAN Listing for the Entire Switch Listing the VLAN ID (VID) and Status for Specific Ports. Because ports A1 and A2 are not members of VLAN-...

  • Page 472: Web Browser Interface Status Information

    Alert Log, which informs you of any problems that may have occurred on the switch. For more information on this screen, see chapter 5, ‘Using the HP Web Browser Interface’. Port...

  • Page 473: Port And Static Trunk Monitoring Features

    Monitoring and Analyzing Switch Operation Port and Static Trunk Monitoring Features Port and Static Trunk Monitoring Features Port Monitoring Features Feature Default Menu display monitoring disabled page B-24 page B-26 page B-28 configuration configure the monitor port(s) ports: none page B-24 page B-26 page B-28 selecting or removing ports none selected page B-24 page B-27 page B-28 You can designate a port for monitoring incoming traffic of other ports and of...

  • Page 474: Menu: Configuring Port And Static Trunk Monitoring

    Monitoring and Analyzing Switch Operation Port and Static Trunk Monitoring Features Menu: Configuring Port and Static Trunk Monitoring This procedure describes configuring the switch for monitoring when moni­ toring is disabled. (If monitoring has already been enabled, the screens will appear differently than shown in this procedure.) From the Console Main Menu, Select: 2.

  • Page 475

    Monitoring and Analyzing Switch Operation Port and Static Trunk Monitoring Features Move the cursor to the Monitoring Port parameter. Inbound Port and Trunk Monitoring (Only). Figure B-20. How To Select a Monitoring Port Use the Space bar to select the port to use for monitoring. 6. Use the downarrow key to move the cursor to the Action column for the individual ports and position the cursor at a port you want to monitor.

  • Page 476: Cli: Configuring Port And Static Trunk Monitoring

    Monitoring and Analyzing Switch Operation Port and Static Trunk Monitoring Features CLI: Configuring Port and Static Trunk Monitoring Port and Static Trunk Monitoring Commands Used in This Section show monitor below mirror-port page B-26 monitor page B-27 You must use the following configuration sequence to configure port and static trunk monitoring in the CLI: Assign a monitoring (mirror) port.

  • Page 477

    Monitoring and Analyzing Switch Operation Port and Static Trunk Monitoring Features To turn off monitoring: HPswitch(config)# no mirror-port Selecting or Removing Ports and Static Trunks As Monitoring Sources. After you configure a monitor port you can use either the global configuration level or the interface context level to select ports and static trunks as monitoring sources.

  • Page 478: Web: Configuring Port Monitoring

    Monitoring and Analyzing Switch Operation Port and Static Trunk Monitoring Features Web: Configuring Port Monitoring To enable port monitoring: Click on the Configuration tab. Click on Monitor Port. To monitor one or more ports. Click on the radio button for Monitor Selected Ports. b.

  • Page 479

    Troubleshooting Contents Overview ........... . C-2 Troubleshooting Approaches .

  • Page 480

    N o t e HP periodically places switch software updates on the HP ProCurve web site. HP recommends that you check this web site for software updates that may have fixed a problem you are experiencing. For information on support and warranty provisions, see the Support and Warranty booklet shipped with the switch.

  • Page 481

    • HP TopTools for Hubs & Switches – Use HP TopTools for Hubs & Switches (if installed on your network) to help isolate problems and recommend solutions. HP TopTools is shipped at no extra cost with your switch.

  • Page 482: Browser Or Telnet Access Problems

    Troubleshooting Browser or Telnet Access Problems Browser or Telnet Access Problems Cannot access the web browser interface: Access may be disabled by the Web Agent Enabled parameter in the switch ■ console. Check the setting on this parameter by selecting: 2.

  • Page 483

    Troubleshooting Browser or Telnet Access Problems Cannot Telnet into the switch console from a station on the network: Telnet access may be disabled by the Inbound Telnet Enabled parameter in ■ the System Information screen of the menu interface: 2. Switch Configuration 1.

  • Page 484: Unusual Network Activity

    Unusual network activity is usually indicated by the LEDs on the front of the switch or measured with the switch console interface or with a network management tool such as the HP TopTools for Hubs & Switches. Refer to the Installation Guide you received with the switch for information on using LEDs to identify unusual network activity.

  • Page 485: Prioritization Problems

    Troubleshooting Unusual Network Activity This can also happen, for example, if the server is first configured to issue IP addresses with an unlimited duration, then is subsequently configured to issue IP addresses that will expire after a limited duration. One solution is to configure “reservations”...

  • Page 486: Igmp-related Problems

    Troubleshooting Unusual Network Activity If there is more than one physical path between the switch and the ■ other CDP device and STP is running on the switch, then STP will block the redundant link(s). In this case, the switch port on the remaining open link may not be a member of an untagged VLAN, or any untagged VLANs to which the port belongs may not have an IP address.

  • Page 487: Lacp-related Problems

    Removing a port from a trunk without first disabling the port can create a traffic loop that can slow down or halt your network. Before removing a port from a trunk, HP recommends that you either disable the port or disconnect it from the LAN.

  • Page 488

    Troubleshooting Unusual Network Activity Ensure that the radius-server timeout period is long enough for network ■ conditions. The switch does not authenticate a client even though the RADIUS server is properly configured and providing a response to the authentication request. If the RADIUS server configuration for authenti­ cating the client includes a VLAN assignment, ensure that the VLAN exists as a static VLAN on the switch.

  • Page 489

    Troubleshooting Unusual Network Activity Port A9 shows an “Open” status even though Access Control is set to Unauthorized (Force Auth). This is because the port-access authenticator has not yet been activated. Figure C-1. Example of a Port Remaining Open After Being Configured with “Control Unauthorized” RADIUS server fails to respond to a request for service, even though the server’s IP address is correctly configured in the switch.

  • Page 490: Radius-related Problems

    Troubleshooting Unusual Network Activity Also, ensure that the switch port used to access the RADIUS server is not blocked by an 802.1X configuration on that port. For example, show port- access authenticator < port-list > gives you the status for the specified ports. Also, ensure that other factors, such as port security or any 802.1X configura­...

  • Page 491: Spanning-tree Protocol (stp) And Fast-uplink Problems

    Troubleshooting Unusual Network Activity it either must match the server key or you must configure a server-specific key. If the switch already has a server-specific key assigned to the server’s IP address, then it overrides the global key and must match the server key. Global RADIUS Encryption Key Unique RADIUS Encryption Key for the RADIUS server at...

  • Page 492: Ssh-related Problems

    Troubleshooting Unusual Network Activity Fast-Uplink Troubleshooting. Some of the problems that can result from incorrect usage of Fast-Uplink STP include temporary loops and generation of duplicate packets. Problem sources can include: ■ Fast-Uplink is configured on a switch that is the STP root device. ■...

  • Page 493: Stacking-related Problems

    Troubleshooting Unusual Network Activity Switch does not detect a client’s public key that does appear in the switch’s public key file (show ip client-public-key). The client’s public key entry in the public key file may be preceded by another entry that does not terminate with a new line (CR).

  • Page 494: Tacacs-related Problems

    Troubleshooting Unusual Network Activity TACACS-Related Problems Event Log. When troubleshooting TACACS+ operation, check the switch’s Event Log for indications of problem areas. All Users Are Locked Out of Access to the Switch. If the switch is func­ tioning properly, but no username/password pairs result in console or Telnet access to the switch, the problem may be due to how the TACACS+ server and/or the switch are configured.

  • Page 495

    Troubleshooting Unusual Network Activity The encryption key configured in the server does not match the ■ encryption key configured in the switch (by using the tacacs-server key command). Verify the key in the server and compare it to the key configured in the switch.

  • Page 496: Timep, Sntp, Or Gateway Problems

    Troubleshooting Unusual Network Activity TimeP, SNTP, or Gateway Problems The Switch Cannot Find the Time Server or the Configured Gateway . TimeP, SNTP, and Gateway access are through the primary VLAN, which in the default configuration is the DEFAULT_VLAN. If the primary VLAN has been moved to another VLAN, it may be disabled or does not have ports assigned to it.

  • Page 497

    Troubleshooting Unusual Network Activity Link supporting VLAN_1 and VLAN_2 Switch “Y” Switch “X” Port Y- 7 Port X-3 VLAN Port Assignment VLAN Port Assignment Port VLAN_1 VLAN_2 Port VLAN_1 VLAN_2 Untagged Tagged Untagged Tagged Figure C-4. Example of Correct VLAN Port Assignments on a Link If VLAN_1 (VID=1) is configured as “Untagged”...

  • Page 498

    Troubleshooting Unusual Network Activity MAC Address “A”; VLAN 1 Server VLAN 1 Switch with HP ProCurve Single Switches Covered MAC Address “A”; VLAN 2 Forwarding by this Guide Database VLAN 2 (Multiple Forwarding Database) Problem: This switch detects continual moves of MAC address “A” between ports.

  • Page 499: Using Logging To Identify Problem Sources

    W (warning) indicates that a service has behaved unexpectedly. (critical) indicates that a severe switch error has occurred. (debug) reserved for HP internal diagnostic information. Date is the date in mm/dd/yy format that the entry was placed in the log.

  • Page 500

    Troubleshooting Using Logging To Identify Problem Sources (The event log is not erased by using the Reboot Switch command in the Main Menu.) Table C-1.Event Log System Modules Module Event Description Module Event Description addrMgr Address table Console management chassis switch hardware ports Change in port status;...

  • Page 501

    Troubleshooting Using Logging To Identify Problem Sources Menu: Entering and Navigating in the Event Log From the Main Menu, select Event Log. Range of Events in the Log Range of Log Events Displayed Log Status Line Figure C-7. Example of an Event Log Display The log status line at the bottom of the display identifies where in the sequence of event messages the display is currently positioned.

  • Page 502

    Troubleshooting Using Logging To Identify Problem Sources CLI: Using the CLI, you can list ■ Events recorded since the last boot of the switch ■ All events recorded Event entries containing a specific keyword, either since the last boot or ■...

  • Page 503: Debug And Syslog Operation

    Series 2600 switches and the Switch 6108 running software release H.07.30 or greater. For the latest feature information on HP ProCurve switches, visit the HP ProCurve website and check the latest release notes covering the switch products in which you have an interest.

  • Page 504

    < facility-name > The logging facility specifies the destination subsystem the SyslogD server(s) must use. (All configured SyslogD servers must use the same subsystem.) HP recommends the default (user) subsystem unless your application specifically requires another subsystem. Options include:...

  • Page 505

    Troubleshooting Using Logging To Identify Problem Sources For example, on a switch where there are no SyslogD servers configured, you would do the following to configure SyslogD servers 18.120.38.155 and 18.120.43.125 and automatically enable Syslog logging (with user as the default logging facility): logging <...

  • Page 506

    Troubleshooting Using Logging To Identify Problem Sources Enabling or Disabling Logging to Management Sessions and SyslogD Servers. Use this command when you want to do any of the following: ■ Disable Syslog logging on all currently configured SyslogD servers with- out removing the servers from the switch configuration.

  • Page 507

    Troubleshooting Using Logging To Identify Problem Sources Shows that Syslog (Destination) logging is enabled and transmitting log messages to IP address 18.120.38.155. Also shows that the logging facility is set to user (the default), and that session logging is enabled.) Disables Syslog logging (but retains the Syslog IP address in the switch configuration).

  • Page 508

    Troubleshooting Using Logging To Identify Problem Sources Syntax: show debug List the current debug status for both Syslog logging and Session logging. Shows that Syslog logging is enabled and sending event messages to the user facility on the SyslogD server at IP address 18.120.38.155.

  • Page 509: Diagnostic Tools

    Troubleshooting Diagnostic Tools server, ensure that the server’s Syslog application is configured to accept the “debug” severity level. (The default configuration for some Syslog applications ignores the “debug” severity level.) ■ A reboot temporarily suspends Syslog logging. After a reboot, the switch suspends configured Syslog logging for 30 seconds.

  • Page 510: Ping And Link Tests

    Troubleshooting Diagnostic Tools Ping and Link Tests The Ping test and the Link test are point-to-point tests between your switch and another IEEE 802.3-compliant device on your network. These tests can tell you whether the switch is communicating properly with another device. N o t e To respond to a Ping test or a Link test, the device you are trying to reach must be IEEE 802.3-compliant.

  • Page 511

    Troubleshooting Diagnostic Tools Web: Executing Ping or Link Tests 1. Click here. 2. Click here. 3. Select Ping Test (the default) or Link Test 4. For a Ping test, enter the IP address of the target device. For a Link test, enter the MAC address of the target device.

  • Page 512

    Troubleshooting Diagnostic Tools Timeout in Seconds is the number of seconds to allow per attempt to test a connection before determining that the current attempt has failed. To halt a Link or Ping test before it concludes, click on the Stop button. To reset the screen to its default settings, click on the Defaults button.

  • Page 513

    Troubleshooting Diagnostic Tools Link Tests. You can issue single or multiple link tests with varying repeti­ tions and timeout periods. The defaults are: ■ Repetitions: 1 (1 - 999) Timeout: 5 seconds (1 - 256 seconds) ■ Syntax: link < mac-address > [repetitions < 1 - 999 >] [timeout < 1 - 256 >] [vlan <...

  • Page 514: Displaying The Configuration File

    Troubleshooting Diagnostic Tools Displaying the Configuration File The complete switch configuration is contained in a file that you can browse from either the web browser interface or the CLI. It may be useful in some troubleshooting scenarios to view the switch configuration. CLI: Viewing the Configuration File Using the CLI, you can display either the running configuration or the startup configuration.

  • Page 515

    Troubleshooting Diagnostic Tools Listing Switch Configuration and Operation Details for Help in Troubleshooting Release G.04.05 and greater includes the command. This command show tech outputs, in a single listing, switch operating and running configuration details from several internal switch sources, including: ■...

  • Page 516

    Troubleshooting Diagnostic Tools In Hyperterminal, click on Transfer Capture Text... Figure C-16. The Capture Text window of the Hypertext Application Used with Microsoft Windows Software 2. In the field, enter the path and file name under which you want to store File output.

  • Page 517: Cli Administrative And Troubleshooting Commands

    Troubleshooting Diagnostic Tools CLI Administrative and Troubleshooting Commands These commands provide information or perform actions that you may find helpful in troubleshooting operating problems with the switch. N o t e For more on the CLI, refer to “Using the Command Line Interface (CLI)” on page 4-1.

  • Page 518: Restoring The Factory-default Configuration

    ■ Clear/Reset button combination N o t e HP recommends that you save your configuration to a TFTP server before resetting the switch to its factory-default configuration. You can also save your configuration via Xmodem, to a directly connected PC.

  • Page 519: Restoring A Flash Image

    Troubleshooting Restoring a Flash Image Restoring a Flash Image The switch can lose its operating system if either the primary or secondary flash image location is empty or contains a corrupted OS file and an operator uses the erase flash command to erase a good OS image file from the opposite flash location.

  • Page 520

    Troubleshooting Restoring a Flash Image 4. Since the OS file is large, you can increase the speed of the download by changing the switch console and terminal emulator baud rates to a high speed. For example: Change the switch baud rate to 115,200 Bps. =>...

  • Page 521

    Troubleshooting Restoring a Flash Image Figure C-18. Example of Xmodem Download in Progress 8. When the download completes, the switch reboots from primary flash using the OS image you downloaded in the preceding steps, plus the most recent startup-config file. C-43...

  • Page 522

    Troubleshooting Restoring a Flash Image — This page is intentionally unused. — C-44...

  • Page 523: Determining Mac Addresses

    MAC Address Management Contents Overview ........... . D-1 Determining MAC Addresses .

  • Page 524: Determining Mac Addresses

    MAC Address Management Determining MAC Addresses Determining MAC Addresses MAC Address Viewing Methods Feature Default Menu view switch’s base (default vlan) MAC address — and the addressing for any added VLANs view port MAC addresses (hexadecimal format) — — ■ Use the menu interface to view the switch’s base MAC address and the MAC address assigned to any non-default VLAN you have configured on the switch.

  • Page 525

    MAC Address Management Determining MAC Addresses Menu: Viewing the Switch’s MAC Addresses The Management Address Information screen lists the MAC addresses for: ■ Base switch (default VLAN; VID = 1) Any additional VLANs configured on the switch. ■ Also, the Base MAC address appears on a label on the back of the switch. N o t e The Base MAC address is used by the first (default) VLAN in the switch.

  • Page 526

    MAC Address Management Determining MAC Addresses CLI: Viewing the Port and VLAN MAC Addresses The MAC address assigned to each switch port is used internally by such features as Flow Control and the Spanning Tree Protocol. Using the walkmib command to determine the MAC address assignments for individual ports can sometimes be useful when diagnosing switch operation.

  • Page 527

    MAC Address Management Determining MAC Addresses ifPhysAddress.1 - 6: Ports A1 - A6 in Slot 1 (Addresses 7 - 24 in slot 1 and 25 - 48 in slot 2 are unused.) ifPhysAddress.49 - 51: Ports C1 - C3 in Slot 3 (Addresses 52 - 72 in slot 3 are unused.) ifPhysAddress.205 Base MAC Address (MAC...

  • Page 528

    MAC Address Management Determining MAC Addresses — This page is intentionally unused. — D-6...

  • Page 529

    • 6108 • 8000M HP ProCurve switches provide a way to automatically adjust the system clock for Daylight Savings Time (DST) changes. To use this feature you define the month and date to begin and to end the change from standard time. In addition to the value "none"...

  • Page 530

    Daylight Savings Time on HP ProCurve Switches Middle Europe and Portugal: • Begin DST at 2am the first Sunday on or after March 25th. • End DST at 2am the first Sunday on or after September 24th. Southern Hemisphere: •...

  • Page 531

    Daylight Savings Time on HP ProCurve Switches Before configuring a "User defined" Daylight Time Rule, it is important to understand how the switch treats the entries. The switch knows which dates are Sundays, and uses an algorithm to determine on which date to change the system clock, given the configured "Beginning day"...

  • Page 532

    Daylight Savings Time on HP ProCurve Switches — This page is intentionally unused. — E-4...

  • Page 533

    Index Symbols SNMP, blocking … 11-2 auto negotiation … 10-3, 10-4 => prompt … C-41 auto port setting … 13-5 Auto-10 … 10-11, 10-14 Numerics auto-discovery … 11-4 802.1Q VLAN standard … 14-3 802.3u auto negotiation standard … 10-3 bandwidth displaying utilization …...

  • Page 534

    configuration … 11-30, 11-33 IP … 8-3 configuration, viewing … 11-31 IP routing forwarding parameters … 16-10 default CDP operation … 11-30 IP routing parameters … 16-7 effect of spanning tree … 11-35 IRDP … 16-18 factory-default … 11-30 network monitoring … B-23 general operation …...

  • Page 535

    download OS … A-9 download, TFTP … A-3, A-4 data-driven IGMP … 13-14 downstream device (QoS) date format … C-21 effect of priority settings … 10-35 date,configure … 7-13 duplicate MAC address debug command See MAC address "debug" severity and Syslog servers … C-30 Dyn1 event log …...

  • Page 536

    … 12-35 HP TopTools advertisements, generating … 12-40 See TopTools. auto option … 12-39 HP web browser interface … 2-5 benefit … 12-33 block … 12-37 CLI, configuring … 12-43 ICANN … 8-20 configurable port options … 12-36 ICMP configuring learn, block, disable …...

  • Page 537

    Include Source … 13-12 IP forwarding cache … 16-4 IP multicast address range … 13-21 IP global parameters … 16-5 leave group … 13-12 IP interface parameters … 16-6 maximum address count … 13-21 IP preserve multicast group … 13-11 DHCP server …...

  • Page 538

    … 10-26 MIB … 11-3 status, terms … 10-28 MIB listing … 11-3 STP … 10-30 MIB, HP proprietary … 11-3 VLANs … 10-30 MIB, standard … 11-3 with 802.1x … 10-29 Microsoft Internet Explorer … 5-4 with CDP … 11-39 mirroring with port security …...

  • Page 539

    network slow … C-6 blocked, IGMP … 13-5 Not Current One, debug session … C-30 broadcast limit … 10-9 notes on using VLANs … 12-9 CLI access … 10-6 null static route … 16-17 context level … 10-8 control configuration … 10-1 counters …...

  • Page 540

    DHCP Relay configuration … 16-22 See VLAN. IP static routes … 16-15, 16-16 priority … 13-5 IRDP configuration … 16-18 Procurve, HP, URL … 11-3 null static route … 16-17 prompt, => … C-41 static route types … 16-14 Proxy ARP, enabling … 16-10 RS-232 …...

  • Page 541

    using the menu … 14-16 access … 11-4 whole switch parameters … 14-12 assigning users to groups … 11-7 edge-port parameter … 14-14 communities … 11-11 enabling enable command … 11-6 from CLI … 14-11 enabling … 11-5 from the menu … 14-16 group access levels …...

  • Page 542

    … C-25 System Name parameter … 7-10 troubleshooting … C-14 stacking benefits … 15-3, 15-4 tables minimum software version, other HP ARP cache … 16-3 switches … 15-9 IP … 16-3 primary … 15-45 IP route … 16-4 See also virtual stacking.

  • Page 543

    URL … 5-13 switch 2626 SNMP view only … 2-6, A-11 browser interface online help location … 5-13 system requirements … 5-4 HP Procurve … 5-13, 11-3 traffic analysis … 11-2 management … 5-13 traffic monitoring … 11-2, 11-4, B-23 management server …...

  • Page 544

    spanning tree configuration … 14-10 static … 12-3, 12-7, 12-10, 12-15 virtual stacking subnet … 8-9 transmission interval range … 15-16 support enable/disable … 3-8 VLAN … 8-4, 12-3, 12-30, C-19, D-1 switch capacity … 12-3 802.1Q … 14-5 tagged … 12-4 address …...

  • Page 545

    URL, management server … 5-14 URL, support … 5-14 web browser interface, for configuring IGMP … 13-11 STP … 14-40 web site, HP … 11-3 world wide web site, HP See HP Procurve. write access … 11-12 write memory … 12-47 write memory, effect on menu interface …...

  • Page 546

    — This page is intentionally unused. — 14 – Index...

  • Page 547

    Technical information in this document is subject to change without notice. ©Copyright Hewlett-Packard Company 2000-2003. Reproduction, adaptation, or translation without prior written permission is prohibited except as allowed under the copyright laws. May 2003 Edition 1 Manual Part Number 5990-5998...

This manual also for:

Procurve series 2600, Procurve 6108

Comments to this Manuals

Symbols: 0
Latest comments: