Port Status and Configuration

Viewing port status and configuring port parameters

Connecting transceivers to fixed-configuration devices

If the switch either fails to show a link between an installed transceiver and another device or demonstrates errors or other unexpected behavior on the link, check the port configuration on both devices for a speed and/or duplex (mode) mismatch.

Viewing port configuration (Menu)

The menu interface displays the configuration for ports and (if configured) any trunk groups.

From the Main Menu, select:

1. Status and Counters

4. Port Status

A switch port status screen

==========================- CONSOLE - MANAGER MODE -==========================
                       Status and Counters - Port Status

                  Intrusion                           MDI   Flow  Bcast
  Port     Type     Alert   Enabled Status     Mode   Mode  Ctrl  Limit
  ----- --------- --------- ------- ------ ---------- ----- ----- ------
  1     100/1000T No        Yes     Down   100FDx     Auto  off   0
  2     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  3     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  4     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  5     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  6     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  7     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  8     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  9     100/1000T No        Yes     Down   1000FDx    Auto  off   0
  10    100/1000T No        Yes     Down   1000FDx    Auto  off   0
  11    100/1000T No        Yes     Down   1000FDx    Auto  off   0

 Actions->   Back   Intrusion log   Help

Return to previous screen.
Use up/down arrow keys to scroll to other entries, left/right arrow keys to
change action selection, and <Enter> to execute action.
Port Type The port Type field represents the IEEE or other industry protocol in operation on that port. For example, 1000Base-SX is a gigabit protocol for gigabit operation over fiber optic cable.
Status of Ports

A port can be enabled or disabled:

  • Yes: Enabled, the default. This indicates the port is ready for a network connection.

  • No: Disabled, the port will not operate, even if properly connected to a network. Use the setting, For example, to shut the port down for diagnostic purposes or while you are making topology changes.

The status of a port can be up or down (Read-only):

Up: The port senses a link beat.

Down: The port is not enabled, has no cables connected, or is experiencing a network error. For troubleshooting information, see the installation and getting started guide for your switch.

Flow Control

With the port mode set to Auto (the default) and flow control on (enabled), the switch negotiates flow control on the indicated port. If the port mode is not set to Auto, or if flow control is off (disabled) on the port, then flow control is not used. Flow control must be enabled on both ends of a link.

  • On: Enabled. The port uses 802.3x Link Layer Flow Control, generates flow control packets, and processes received flow control packets.

  • Off: Disabled (default).The port does not generate flow control packets, and drops any flow control packets it receives.

Broadcast Limit

The broadcast limit specifies the percentage of the theoretical maximum network bandwidth that can be used for broadcast and multicast traffic. Any broadcast or multicast traffic exceeding that limit will be dropped. Zero (0) means the feature is disabled.

The broadcast-limit command operates at the port context level to set the broadcast limit for a port on a switch.


[NOTE: ]

NOTE: This feature is not appropriate for networks that require high levels of IPX or RIP broadcast traffic.


Modes The mode is the port’s speed and duplex (date transfer operation) setting. Supported Modes shows possible modes available, depending on the port type (copper or fiber) and port speed.

Supported Modes

Mode Speed and Duplex Settings
Auto-MDIX

Senses speed and negotiates with the port at the other end of the link for port operation (MDI-X or MDI). To see what the switch negotiates for the Auto setting, use the CLI show interfaces brief command or the menu commands “1. Status and Counters”, “3. Port Status”.

This features applies only to copper port switches using twisted-pair copper Ethernet cables.

MDI Sets the port to connect with a PC using a crossover cable (Manual mode— applies only to copper port switches using twisted-pair copper Ethernet cables).
MDIX Sets the port to connect with a PC using a straight-through cable (Manual mode—applies only to copper port switches using twisted-pair copper Ethernet cables).
Auto-10 Allows the port to negotiate between half-duplex (HDx) and full-duplex (FDx) while keeping speed at 10Mbps. Also negotiates flow control (enabled or disabled). Hewlett Packard Enterprise recommends Auto-10 for links between 10/100 auto-sensing ports connected with Cat 3 cabling. (Cat 5 cabling is required for 100 Mbps links.)
Auto-100 Uses 100 Mbps and negotiates with the port at the other end of the link for other port operation features.
Auto-10-100 Allows the port to establish a link with the port at the other end at either 10 Mbps or 100 Mbps, using the highest mutual speed and duplex mode available. Only these speeds are allowed with this setting.
Auto-1000 Uses 1000 Mbps and negotiates with the port at the other end of the link for other port operation features.
10HDx Uses 10 Mbps, Half-Duplex
100HDx Uses 100 Mbps, Half-Duplex
10FDX Uses 10 Mbps, Full-Duplex
100FDx Uses 100 Mbps, Full-Duplex
1000FDx Uses 1000 Mbps, Full-Duplex
10 GbE FDx Uses 10 Gigabits/sec Full-Duplex

Protocols and modes supported for copper ports and Protocols and modes supported for fiber optic ports display the protocols and modes supported for copper ports and fiber optic ports, respectively.

Protocols and modes supported for copper ports

10/100 Mbps Gigabit 10 Gigabit
10/100 TX 10/100/1000-T 10GBASE-CX4
Modes Settings Modes Settings Modes Settings

Auto

10HDx

100HDx

10FDx

100FDx

100FDx

10HDx

100HDx

10FDx

100FDX

Auto

Auto-10

Auto-100

Auto-10-100

Auto-1000

10HDx

100HDX

1000FDx

10HDx

100FDx

100FDx

1000FDx

10HDx

100HDx

Auto

10 Gigabit FDx

Protocols and modes supported for fiber optic ports

  100 Mbps Gigabit 10 Gigabit
Protocols

100BASE-FX

100BASE-BX10

1000BASE-SX

1000BASE-LX

1000BASE-BX10

1000BASE-LH

10GBASE-SR

10GBASE-LR

10GBASE-LRM

Modes

100HDx

100FDx

Auto

1000FDx

Auto

Configuring ports (Menu)

The menu interface uses the same screen for configuring both individual ports and port trunk groups. For information on port trunk groups, see the chapter on "Port Trunking".

  1. From the Main Menu, select:

    2. Switch Configuration…

    2. Port/Trunk Settings

    Port/trunk settings with a trunk group configured

    =====================- TELNET - MANAGER MODE -=====================
                  Switch Configuration - Port/Trunk Settings
    
      Port     Type     Enabled      Mode      Flow Ctrl  Group  Type
      ----   -------- + --------  -----------  ---------  -----  -----
      A1     1000T    | Yes       Auto-10-100  Disable
      A2     1000T    | Yes       Auto-10-100  Disable
      A3     1000T    | Yes       Auto         Disable
      A3     1000T    | Yes       Auto         Disable
      A4     1000T    | Yes       Auto         Disable
      A5     1000T    | Yes       Auto         Disable
      A6     1000T    | Yes       Auto         Disable
      A7     1000T    | Yes       Auto         Disable    Trk1   Trunk
      A8     1000T    | Yes       Auto         Disable    Trk2   Trunk
    
     Actions->   Cancel    Edit    Save    Help
    
    Cancel changes and return to previous screen.
    Use arrow keys to change action selection and <Enter> to execute
    action.
    
  2. Press [E] (for Edit).

    The cursor moves to the Enabled field for the first port.

    For further information on configuration options for these features, see the online help provided with this screen.

  3. When you have finished making changes to the above parameters, press [Enter], then press [S] (for Save).

Viewing port status and configuration (CLI)

Use the following commands to display port status and configuration data.

Syntax:

show interfaces [ brief | config | <port-list> ]

brief

Lists the current operating status for all ports on the switch.

config

Lists a subset of configuration data for all ports on the switch; that is, for each port, the display shows whether the port is enabled, the operating mode, and whether it is configured for flow control.

<port-list>

Shows a summary of network traffic handled by the specified ports.

The show interfaces brief command listing

HP Switch(config)# show interfaces brief
Status and Counters - Port Status

                | Intrusion                            MDI   Flow  Bcast
Port  Type      | Alert     Enabled Status Mode        Mode  Ctrl  Limit
----- --------- + --------- ------- ------ ----------  ----- ----- ------
B1    100/1000T | No        Yes     Down   Auto-10-100 Auto  off   0
B2    100/1000T | No        Yes     Down   1000FDx     Auto  off   0
B3    100/1000T | No        Yes     Down   1000FDx     Auto  off   0
B4    100/1000T | No        Yes     Down   1000FDx     Auto  off   0
B5    100/1000T | No        Yes     Down   1000FDx     Auto  off   0
B6    100/1000T | No        Yes     Down   1000FDx     Auto  off   0

The show interfaces config command listing

HP Switch(config)# show interfaces config

 Port Settings


  Port  Type      | Enabled Mode         Flow Ctrl MDI
  ----- --------- + ------- ------------ --------- ----
  B1    100/1000T | Yes     Auto-10-100  Disable   Auto
  B2    100/1000T | Yes     Auto         Disable   Auto
  B3    100/1000T | Yes     Auto         Disable   Auto
  B4    100/1000T | Yes     Auto         Disable   Auto
  B5    100/1000T | Yes     Auto         Disable   Auto
  B6    100/1000T | Yes     Auto         Disable   Auto

Dynamically updating the show interfaces command (CLI/Menu)

Syntax:

show interfaces display

Uses the display option to initiate the dynamic update of the show interfaces command, with the output being the same as the show interfaces command.


[NOTE: ]

NOTE: Select Back to exit the display.


Example:
HP Switch# show interfaces display

When using the display option in the CLI, the information stays on the screen and is updated every 3 seconds, as occurs with the display using the menu feature. The update is terminated with Cntl-C.

You can use the arrow keys to scroll through the screen when the output does not fit in one screen.

show interfaces display command with dynamically updating output

Customizing the show interfaces command (CLI)

You can create show commands displaying the information that you want to see in any order you want by using the custom option.

Syntax:

show interfaces custom [port-list] column-list

Select the information that you want to display. Supported columns are shown in Supported columns, what they display, and examples:.

Supported columns, what they display, and examples:

Parameter column

Displays

Examples

port

Port identifier

A2

type

Port type

100/1000T

status

Port status

up or down

speed

Connection speed and duplex

1000FDX

mode

Configured mode

auto, auto-100, 100FDX

mdi

MDI mode

auto, MDIX

flow

Flow control

on or off

name

Friendly port name

 

vlanid

The vlan id this port belongs to, or "tagged" if it belongs to more than one vlan

4

tagged

enabled

port is or is not enabled

yes or no

intrusion

intrusion

Intrusion alert status

no

bcast

Broadcast limit

0

The custom show interfaces command

HP Switch(config)# show int custom 1-4 port name:4 type vlan intrusion speed enabled mdi

 Status and Counters - Custom Port Status

                                   Intrusion
  Port Name       Type       VLAN  Alert     Speed   Enabled MDI-mode
  ---- ---------- ---------- ----- --------- ------- ------- --------
  1    Acco       100/1000T  1     No        1000FDx Yes     Auto
  2    Huma       100/1000T  1     No        1000FDx Yes     Auto
  3    Deve       100/1000T  1     No        1000FDx Yes     Auto
  4    Lab1       100/1000T  1     No        1000FDx Yes     Auto

You can specify the column width by entering a colon after the column name, then indicating the number of characters to display. In The custom show interfaces command, the Name column displays only the first four characters of the name. All remaining characters are truncated.


[NOTE: ]

NOTE: Each field has a fixed minimum width to be displayed. If you specify a field width smaller than the minimum width, the information is displayed at the minimum width. For example, if the minimum width for the Name field is 4 characters and you specify Name:2, the Name field displays 4 characters.


You can enter parameters in any order. There is a limit of 80 characters per line; if you exceed this limit an error displays.

For information on error messages associated with this command and for notes about pattern matching with this command, see Error messages associated with the show interfaces command.

Error messages associated with the show interfaces command

Error

Error message

Requesting too many fields (total characters exceeds 80)

Total length of selected data exceeds one line

Field name is misspelled

Invalid input: <input>

Mistake in specifying the port list

Module not present for port or invalid port: <input>

The port list is not specified

Incomplete input: custom

Note on using pattern matching with the show interfaces custom command

If you have included a pattern matching command to search for a field in the output of the show int custom command, and the show int custom command produces an error, the error message may not be visible and the output is empty. For example, if you enter a command that produces an error (such as vlan is misspelled) with the pattern matching include option, the output may be empty:

[ HP Switch(config)# show int custom 1-3 name vlun | include vlan1 ]

It is advisable to try the show int custom command first to ensure there is output, and then enter the command again with the pattern matching option.

Note that in the above command, you can substitute int for interface; that is: show int custom.

Viewing port utilization statistics (CLI)

Use the show interface port-utilization command to view a real-time rate display for all ports on the switch. A show interface port-utilization command listing shows a sample output from this command.

A show interface port-utilization command listing

HP Switch(config)# show interfaces port-utilization
 Status and Counters - Port Utilization

                             Rx                            Tx
 Port  Mode     | -------------------------- | --------------------------
                | Kbits/sec  Pkts/sec  Util  | Kbits/sec  Pkts/sec  Util
 ----- -------- + ---------- --------- ----- + ---------- --------- -----
 B1    1000FDx  | 0          0         0     | 0          0         0 
 B2    1000FDx  | 0          0         0     | 0          0         0 
 B3    1000FDx  | 0          0         0     | 0          0         0 
 B4    1000FDx  | 0          0         0     | 0          0         0 
 B5    1000FDx  | 0          0         0     | 0          0         0 
 B6    1000FDx  | 0          0         0     | 0          0         0 
 B7     100FDx  | 624        86        00.62 | 496        0         00.49 

Operating notes for viewing port utilization statistics

  • For each port on the switch, the command provides a real-time display of the rate at which data is received (Rx) and transmitted (Tx) in terms of kilobits per second (KBits/s), number of packets per second (Pkts/s), and utilization (Util) expressed as a percentage of the total bandwidth available.

  • The show interfaces <port-list> command can be used to display the current link status and the port rate average over a 5 minute period. Port rates are shown in bits per second (bps) for ports up to 1 Gigabit; for 10 Gigabit ports, port rates are shown in kilobits per second (Kbps).

Viewing transceiver status (CLI)

The show interfaces transceivers command allows you to:

  • Remotely identify transceiver type and revision number without having to physically remove an installed transceiver from its slot.

  • Display real-timestatus information about all installed transceivers, including non-operational transceivers.

The show tech transceivers command shows sample output from the show tech transceivers command.


[NOTE: ]

NOTE: Part # column in The show tech transceivers command enables you to determine the manufacturer for a specified transceiver and revision number.


The show tech transceivers command

HP Switch# show tech transceivers

Transceiver Technical Information:
 Port # |   Type    | Prod # | Serial #         | Part #
 -------+-----------+--------+------------------+----------
 21     | 1000SX    | J4858B | CN605MP23K       |
 22     | 1000LX    | J4859C | H11E7X           | 2157-2345
 23     | ??        | ??     | non operational  | 
 25     | 10GbE-CX4 | J8440A | US509RU079       | 
 26     | 10GbE-CX4 | J8440A | US540RU002       | 
 27     | 10GbE-LR  | J8437B | PPA02-2904:0017  | 2157-2345
 28     | 10GbE-SR  | J8436B | 01591602         | 2158-1000
 29     | 10GbE-ER  | J8438A | PPA03-2905:0001  | 

The following transceivers may not function correctly:
 Port #         Message
 --------       ------------------------
 Port 23        Self test failure.

Allow unsupported transceivers

This feature enables and disables the use of non-HPE Aruba transceivers on HPE Aruba switches.

Description

The Allow Unsupported Transceiver feature allows the user to try a transceiver part (including DAC cables) without the switch attempting to authenticate it as a genuine HPE Aruba part. There is no guarantee that all third-party transceivers will work: typically the ones that work are industry-standard types as identified by the MSA standards body. Those parts that do not comply will most likely still not be enabled.

HPE fully backs only HPE Aruba supported transceivers (listed in the switch QuickSpecs under Accessories); support efforts will be honored.

Support efforts may require the customer to replace any non-HPE Aruba transceiver/DAC with an equivalent supported HPE Aruba branded transceiver/DAC.

Transceiver technologies enabled by this feature contains a list of enabled technologies for this feature.

Transceiver technologies enabled by this feature

FP-LX LC
SFP-LH LC
SFP-LX LC
SFP-SX LC
1000BX-D SFP-LC
1000BX-U SFP-LC
1S000Base-T
100-FX SFP-LC
100-BX-D SFP-LC
100-BX-U SFP-LC
10-GbE SFP+ SR
10-GbE SFP+ LR
10-GbE SFP+ LRM[a]
10-GbE SFP+ ER
10-GbE SFP+ 1m Direct Attach Cable
10-GbE SFP+ 3m Direct Attach Cable
10-GbE SFP+ 5m Direct Attach Cable[a]
10-GbE SFP+ 7m Direct Attach Cable[a]
QSFP+ SR4
QSFP+ LR4
QSFP+ eSR4
QSFP+ 1m Direct Attach
QSFP+ 3m Direct Attach
QSFP+ 5m Direct Attach

[a] May not be enabled in certain switch platforms that do not support this technology.

Allow unsupported transceivers
  1. Configure unsupported transceivers by issuing the following CLI command (see CLI command):

    allow-unsupported-transceiver [confirm]

    The system displays a disclaimer message and requires a Y confirmation (unless the confirm option is specified).

  2. Do one of the following:

    • If any non-HPE Aruba transceivers are present in the switch before executing the command and you want to enable them, remove and reinsert them. If you do not do so, the transceivers will not be enabled.

    • If any non-HPE Aruba transceivers are not present in the switch and you want to enable them, insert them into the switch.

  3. (Optional) Verify that non-HPE transceivers are now allowed:

    show running-config

    If non-HPE Aruba transceivers are now allowed, the output from this command includes the line allow-unsupported-transceiver.

    For a complete description of the show config command, see the HPE ArubaOS-Switch Management and Configuration Guide (version 16.02 or later) for your switch series found at www.hpe.com/networking/support .

  4. (Optional) List the enabled transceivers:

    show tech transceivers

    The output from this command is similar to the following:

    Transceiver Technical Information: 
     Port # | Type      | Prod #     | Serial #         | Part #
    --------+-----------+------------+------------------+----------
    A21     | 1000SX    | J4858C     | 3CA404J4BK       | 1990-3662
    H8     *| 1000SX    | ??         | unsupported      |  
    J8      | ??        | ??         | unsupported      |  
    

    [NOTE: ]

    NOTE: * Indicates an unsupported transceiver.


    For a complete description of the show tech transceivers command, see the HPE ArubaOS-Switch Management and Configuration Guide (version 16.02) or later for your switch series found at www.hpe.com/networking/support .

Disable unsupported transceivers
  1. To disable the unsupported-transceiver feature:

    no allow-unsupported-transceiver
  2. To validate that the feature is disabled, reinsert any non-HPE Aruba transceiver that was previously enabled and verify that it no longer is enabled.

  3. (Optional) Verify that non-HPE transceivers are now disallowed:

    show running-config

    Your config will no longer have the allow-unsupported-transceiver command.

    For a complete description of the show config command, see the HPE ArubaOS-Switch Management and Configuration Guide version 16.02 or later for your switch series found at www.hpe.com/networking/support .

  4. (Optional) List the enabled transceivers:

    show tech transceivers

    The output from this command shows any non-HPE transceivers inserted as unsupported, the Type shows ??, and the port is not enabled.

    For a complete description of the show tech transceivers command, see the HPE ArubaOS-Switch Management and Configuration Guide version 16.02 or later for your switch series found at www.hpe.com/networking/support .

CLI command

Syntax
[no] allow-unsupported-transceiver [confirm]
Description

Allow non-HPE Aruba certified transceivers to attempt to be used. See the QuickSpecs for a list of supported transceivers. The no option disables the feature; only supported transceivers will be allowed.

When the command is issued without the no option, the following message is displayed and the user must agree for the command to take effect:

Warning: The use of third-party transceivers is at your own risk. 
In the event that use of third-party transceivers causes a fault in the 
supporting HPE hardware, HPE may deny warranty replacement of the host 
product. In addition, should HPE determine that third-party transceivers 
may contribute to the faulty condition, HPE may require the user to install 
an HPE certified transceiver, at the user's sole expense. 
Do you agree, and do you wish to continue enabling? (Y/N)
Options

confirm

Omits asking whether you agree and wish to continue enabling.

Operating notes

The following information is displayed for each installed transceiver:

  • Port number on which transceiver is installed.

  • Type of transceiver.

  • Product number — Includes revision letter, such as A, B, or C. If no revision letter follows a product number, this means that no revision is available for the transceiver.

  • Part number — Allows you to determine the manufacturer for a specified transceiver and revision number.

  • For a non-HPE switches installed transceiver (see line 23 The show tech transceivers command), no transceiver type, product number, or part information is displayed. In the Serial Number field, non-operational is displayed instead of a serial number.

  • The following error messages may be displayed for a non-operational transceiver:

    • Unsupported Transceiver. (SelfTest Err#060) 
      
    • This switch only supports revision B and above transceivers.
      
    • Self test failure.
    • Transceiver type not supported in this port.
    • Transceiver type not supported in this software version.
    • Not an HP Switch Transceiver. 
      

Enabling or disabling ports and configuring port mode (CLI)

You can configure one or more of the following port parameters.

Syntax:

[no] interface <port-list> [<disable|enable>]

Disables or enables the port for network traffic. Does not use the no form of the command. (Default: enable.)

speed-duplex [<auto-10|10-full|10-half|100-full|100-half|auto|auto-100|1000-full>]

Note that in the above Syntax:, you can substitute int for interface (for example, int <port-list>).

Specifies the port's data transfer speed and mode. Does not use the no form of the command. (Default: auto.)

The 10/100 auto-negotiation feature allows a port to establish a link with a port at the other end at either 10 Mbps or 100 Mbps, using the highest mutual speed and duplex mode available. Only these speeds are allowed with this setting.

Examples:

To configure port C5 for auto-10-100, enter this command:

HP Switch(config)# int c5 speed-duplex auto-10-100

To configure ports C1 through C3 and port C6 for 100Mbps full-duplex, enter these commands:

HP Switch(config)# int c1-c3,c6 speed-duplex 100-full

Similarly, to configure a single port with the above command settings, you could either enter the same command with only the one port identified or go to the context level for that port and then enter the command. For example, to enter the context level for port C6 and then configure that port for 100FDx:

HP Switch(config)# int e c6
HP Switch(eth-C6)# speed-duplex 100-full

If port C8 was disabled, and you wanted to enable it and configure it for 100FDx with flow-control active, you could do so with either of the following command sets:

Two methods for changing a port configuration

Two methods for changing a port configuration

For more on flow control, see Enabling or disabling flow control (CLI).

Enabling or disabling flow control (CLI)


[NOTE: ]

NOTE: You must enable flow control on both ports in a given link. Otherwise, flow control does not operate on the link and appears as Off in the show interfaces brief port listing, even if flow control is configured as enabled on the port in the switch. (See The show interfaces brief command listing.) Also, the port (speed-duplex) mode must be set to Auto (the default).


To disable flow control on some ports, while leaving it enabled on other ports, just disable it on the individual ports you want to exclude.

Syntax:

[no] interface <port-list> flow-control

Enables or disables flow control packets on the port. The no form of the command disables flow control on the individual ports. (Default: Disabled.)

Examples:

Suppose that:

  1. You want to enable flow control on ports A1-A6.

  2. Later, you decide to disable flow control on ports A5 and A6.

  3. As a final step, you want to disable flow control on all ports.

Assuming that flow control is currently disabled on the switch, you would use these commands:

Configuring flow control for a series of ports

HP Switch(config)# int a1-a6 flow-control

HP Switch(config)# show interfaces brief

 Status and Counters - Port Status

                   | Intrusion                           MDI  Flow Bcast
  Port   Type      | Alert     Enabled Status Mode       Mode Ctrl Limit
  ------ --------- + --------- ------- ------ ---------- ---- ---- ----- 
  A1     10GbE-T   | No        Yes     Up     1000FDx    NA   on   0
  A2     10GbE-T   | No        Yes     Up     10GigFD    NA   on   0
  A3     10GbE-T   | No        Yes     Up     10GigFD    NA   on   0
  A4     10GbE-T   | No        Yes     Up     10GigFD    NA   on   0
  A5     10GbE-T   | No        Yes     Up     10GigFD    NA   on   0
  A6     10GbE-T   | No        Yes     Up     10GigFD    NA   on   0
  A7     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A8     10GbE-T   | No        Yes     Up     10GigFD    NA   off  0

Continued from Configuring flow control for a series of ports

HP Switch(config)# no int a5-a6 flow-control

HP Switch(config)# show interfaces brief

 Status and Counters - Port Status

                   | Intrusion                           MDI  Flow Bcast
  Port   Type      | Alert     Enabled Status Mode       Mode Ctrl Limit
  ------ --------- + --------- ------- ------ ---------- ---- ---- ----- 
  A1     10GbE-T   | No        Yes     Up     1000FDx    NA   on   0
  A2     10GbE-T   | No        Yes     Down   10GigFD    NA   on   0
  A3     10GbE-T   | No        Yes     Down   10GigFD    NA   on   0
  A4     10GbE-T   | No        Yes     Down   10GigFD    NA   on   0
  A5     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A6     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A7     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A8     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0

Continued from Continued from Example 28

HP Switch(config)# no int a1-a4 flow-control

HP Switch(config)# show interfaces brief

 Status and Counters - Port Status

                   | Intrusion                           MDI  Flow Bcast
  Port   Type      | Alert     Enabled Status Mode       Mode Ctrl Limit
  ------ --------- + --------- ------- ------ ---------- ---- ---- ----- 
  A1     10GbE-T   | No        Yes     Down   1000FDx    NA   off  0
  A2     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A3     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A4     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A5     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A6     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A7     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0
  A8     10GbE-T   | No        Yes     Down   10GigFD    NA   off  0

Configuring a broadcast limit

Broadcast-Limit on switches covered in this guide is configured on a per-port basis. You must be at the port context level for this command to work, for example:

HP Switch(config)#int 1
HP Switch(int 1)# broadcast-limit 1

Broadcast-limit

Syntax:

broadcast-limit <0-99>

Enables or disables broadcast limiting for outbound broadcasts on a selected port on the switch. The value selected is the percentage of traffic allowed, for example, broadcast-limit 5 allows 5% of the maximum amount of traffic for that port. A value of zero disables broadcast limiting for that port.


[NOTE: ]

NOTE: You must switch to port context level before issuing the broadcast-limit command.

This feature is not appropriate for networks requiring high levels of IPX or RIP broadcast traffic.


Syntax:

show config

Displays the startup-config file. The broadcast limit setting appears here if enabled and saved to the startup-config file.

Syntax:

show running-config

Displays the running-config file. The broadcast limit setting appears here if enabled. If the setting is not also saved to the startup-config file, rebooting the switch returns broadcast limit to the setting currently in the startup-config file.

For example, the following command enables broadcast limiting of 1 percent of the traffic rate on the selected port on the switch:

HP Switch(int 1)# broadcast-limit 1

For a one Gbps port this results in a broadcast traffic rate of ten Mbps.

Port shutdown with broadcast storm

A LAN broadcast storm arises when an excessively high rate of broadcast packets flood the LAN. Occurrence of LAN broadcast storm disrupts traffic and degrades network performance. To prevent LAN traffic from being disrupted, an enhancement of fault-finder commands adds new options, and the corresponding MIBs, that trigger a port disablement when a broadcast storm is detected on that port.

Under this enhancement, the CLI commands given only supports broadcast traffic and not multicast and unicast types of traffic.

The waiting period range for re-enabling ports is 0 to 604800 seconds. The default waiting period to re-enable a port is zero which prevents the port from automatic re-enabling.


[NOTE: ]

NOTE: Avoid port flapping when choosing the waiting period by considering the time to re-enable carefully.


Use the following commands to configure the broadcast-storm on a port.

Syntax:

[no]fault-finder broadcast-storm [ethernet] <port-list> action [warn|warn-and-disable <seconds>] [percent <percent>|pps <rate>]

To remove the current configuration of broadcast-storm on a port, use:

Syntax:

no fault-finder broadcast-storm [ethernet] <port-list>

broadcast-storm

Configure broadcast storm control.

pps

Rising threshold level in number of broadcast packets per second.

percent

Rising threshold level as a percentage of bandwidth of the port. The percentage is calculated on 64 byte packet size.

warn

Log the event only.

warn-and-disable

Log the event and disable the port.

seconds

Re-enable the port after waiting for the specified number of seconds. Default is not to re-enable.

Configuration examples:

HP Switch(config)# fault-finder broadcast-storm [ethernet] <A1> action [warn-and-disable <65535>]< percent 10>
HP Switch(config)# fault-finder broadcast-storm [ethernet] <A2> action [warn-and-disable <pps 100>
HP Switch(config)# fault-finder broadcast-storm [ethernet] <A22> action [warn] <pps 100>

Viewing broadcast storm

Use the following command to display the broadcast-storm-control configuration.

Syntax:

show fault-finder broadcast-storm [[ethernet] port-list]

Examples:
HP Switch# show fault-finder broadcast-storm [A1]
Port Bcast Storm Port Status Rising Threshold Action Disable Timer Disable Timer Left
A1 Yes Down 10% warn-and-disable 65535
HP Switch (config)# show fault-finder broadcast-storm
Port Bcast Storm Port Status Rising Threshold Action Disable Timer Disable Timer Left
A1 Yes Down 200 pps warn-and-disable 10 9
HP Switch (config)# show fault-finder broadcast-storm A1
Port Bcast Storm Port Status Rising Threshold Action Disable Timer Disable Timer Left
A1 No Up none
HP Switch (config)# show fault-finder broadcast-storm
Port Bcast Storm Port Status Rising Threshold Action Disable Timer Disable Timer Left
A1 Yes Up 75% warn

SNMP MIB

SNMP support will be provided through the following MIB objects:

hpicfFfBcastStormControlPortConfig OBJECT IDENTIFIER

:: = { hpicfFaultFinder 5 }

hpicfFfBcastStormControlPortConfigTable OBJECT-TYPE

  • syntax sequence: HpicfFfBcastStormControlPortConfigEntry

  • max-access: not-accessible

  • status: current

  • description: This table provides information about broadcast storm control configuration of all ports.

    ::= {hpicfFfBcastStormControlPortConfig 1}

hpicfFfBcastStormControlPortConfigEntry OBJECT-TYPE

  • syntax HpicfFfBcastStormControlPortConfigEntry

  • max-access: not-accessible

  • status: current

  • description: This object provides information about broadcast storm control configuration of each port.

  • index: {hpicfffbcaststormcontrolportindex}

    ::= {hpicfFfBcastStormControlPortConfigTable 1}

hpicfFfBcastStormControlPortConfigEntry ::=

  • Syntax sequence:

    hpicfFfBcastStormControlPortIndex InterfaceIndex,

    hpicfFfBcastStormControlMode Integer,

    hpicfFfBcastStormControlRisingpercent Integer32,

    hpicfFfBcastStormControlRisingpps Integer32,

    hpicfFfBcastStormControlAction Integer,

    hpicfFfBcastStormControlPortDisableTimer Unsigned32

hpicfFfBcastStormControlPortIndex OBJECT-TYPE

  • Syntax: Interfaceindex

  • max-access: not-accessible

  • status: current

  • description: The Index Value Which Uniquely Identifies A Row In The Interfaces Table.

    ::= {hpicfFfBcastStormControlPortConfigEntry 1}

hpicfFfBcastStormControlMode OBJECT-TYPE

  • Syntax Integer: disabled(1), Bcastrisinglevelpercent(2), Bcastrisinglevelpps(3)

  • max-access: read-write

  • status: current

  • description: The broadcast storm control mode of a port. A value of disable (1) indicates that no rising threshold value is set for broadcast storm traffic on this port. A value of bcastrisinglevelpercent (2) indicates that the rising threshold rate for broadcast storm traffic is configured in percentage of port bandwidth. A value of bcastrisinglevelpps (3) indicates that the rising threshold rate for broadcast storm traffic is configured in packets per second.

  • DEFVAL: disabled

    ::= {hpicfFfBcastStormControlPortConfigEntry 2}

hpicfFfBcastStormControlRisingpercent OBJECT-TYPE

  • Syntax Integer32 (1..100)

  • max-access: read-write

  • status: current

  • description: This Is The Rising Threshold Level in percent of bandwidth of the port. hpicfFfBcastStormControlAction occurs when broadcast traffic reaches this level.

    ::= {hpicfFfBcastStormControlPortConfigEntry 3}

hpicfFfBcastStormControlRisingpps OBJECT-TYPE

  • Syntax Integer32 (1..10000000)

  • max-access: read-write

  • status: current

  • description: This object indicates the rising threshold for broadcast storm control. This value is in packets-per-second of received broadcast traffic. hpicfffbcaststormcontrolaction object takes action when broadcast traffic reaches this level.

    ::= {hpicfFfBcastStormControlPortConfigEntry 4}

hpicfFfBcastStormControlAction OBJECT-TYPE

  • Syntax integer: none(1), warn(2), warnanddisable(3)

  • max-access: read-write

  • status: current

  • Description: This object defines the action taken by the switch when a broadcast storm occurs on a port. A value of none (1) indicates that no action is performed. A value of warn (2) indicates that an event is logged when broadcast traffic crosses the threshold value set on that port. A value of warn-and-disable (3) indicates that the port is disabled and an event is logged as soon as the broadcast traffic reaches the threshold value set on that port.

  • DEFVAL: none

    ::= {hpicfFfBcastStormControlPortConfigEntry 5}

hpicfFfBcastStormControlPortDisableTimer OBJECT-TYPE

  • Syntax Unsigned32 (0..604800)

  • Units: seconds

  • max-access: read-write

  • status: current

  • Description: This object specifies the time period for which the port remains in disabled state. A port is disabled when broadcast traffic reaches the threshold value set on that port. This time period is specified in seconds. The default value is zero which means that the port remains disabled and is not enabled again.

  • DEFVAL {0}

    ::= {hpicfFfBcastStormControlPortConfigEntry 6}

Configuring auto-MDIX

Copper ports on the switch can automatically detect the type of cable configuration (MDI or MDI-X) on a connected device and adjust to operate appropriately.

This means you can use a "straight-through" twisted-pair cable or a "crossover" twisted-pair cable for any of the connections—the port makes the necessary adjustments to accommodate either one for correct operation. The following port types on your switch support the IEEE 802.3ab standard, which includes the "Auto MDI/MDI-X" feature:

  • 10/100-TX xl module ports

  • 100/1000-T xl module ports

  • 10/100/1000-T xl module ports

Using the above ports:

  • If you connect a copper port using a straight-through cable on a switch to a port on another switch or hub that uses MDI-X ports, the switch port automatically operates as an MDI port.

  • If you connect a copper port using a straight-through cable on a switch to a port on an end node—such as a server or PC—that uses MDI ports, the switch port automatically operates as an MDI-X port.

Auto-MDIX was developed for auto-negotiating devices, and was shared with the IEEE for the development of the IEEE 802.3ab standard. Auto-MDIX and the IEEE 802.3ab Auto MDI/MID-X feature are completely compatible. Additionally, Auto-MDIX supports operation in forced speed and duplex modes.

For more information on this subject, see the IEEE 802.3ab standard reference. For more information on MDI-X, the installation and getting started guide for your switch.

Manual override

If you require control over the MDI/MDI-X feature, you can set the switch to either of these non-default modes:

  • Manual MDI

  • Manual MDI-X

Cable types for auto and manual MDI/MDI-X settings shows the cabling requirements for the MDI/MDI-X settings.

Cable types for auto and manual MDI/MDI-X settings

Setting

MDI/MDI-X device type

PC or other MDI device type

Switch, hub, or other MDI-X device

Manual MDI

Crossover cable

Straight-through cable

Manual MDI-X

Straight-through cable

Crossover cable

Auto-MDI-X (the default)

Either crossover or straight-through cable

The AutoMDIX features apply only to copper port switches using twisted-pair copper Ethernet cables.

Configuring auto-MDIX (CLI)

The auto-MDIX features apply only to copper port switches using twisted-pair copper Ethernet cables. For information about auto-MDIX, see Configuring auto-MDIX.

Syntax:

interface <port-list> mdix-mode < auto-mdix | mdi | mdix>

auto-mdix

The automatic,default setting. This configures the port for automatic detection of the cable (either straight-through or crossover).

mdi

The manual mode setting that configures the port for connecting to either a PC or other MDI device with a crossover cable, or to a switch, hub, or other MDI-X device with a straight-through cable.

mdix

The manual mode setting that configures the port for connecting to either a switch, hub, or other MDI-X device with a crossover cable, or to a PC or other MDI device with a straight-through cable.

Syntax:

show interfaces config

Lists the current per-port Auto/MDI/MDI-X configuration.

Syntax:

show interfaces brief

  • Where a port is linked to another device, this command lists the MDI mode the port is currently using.

  • In the case of ports configured for Auto ( auto-mdix), the MDI mode appears as either MDI or MDIX, depending upon which option the port has negotiated with the device on the other end of the link.

  • In the case of ports configured for MDI or MDIX, the mode listed in this display matches the configured setting.

  • If the link to another device was up, but has gone down, this command shows the last operating MDI mode the port was using.

  • If a port on a given switch has not detected a link to another device since the last reboot, this command lists the MDI mode to which the port is currently configured.

The show interfaces config displays the following data when port A1 is configured for auto-mdix, port A2 is configured for mdi, and port A3 is configured for mdix:

Displaying the current MDI configuration

HP Switch(config)# show interfaces config

 Port Settings

  Port   Type      | Enabled Mode         Flow Ctrl MDI
  ------ --------- + ------- ------------ --------- ---- 
  A1     10GbE-T   | Yes     Auto         Disable   Auto 
  A2     10GbE-T   | Yes     Auto         Disable   MDI 
  A3     10GbE-T   | Yes     Auto         Disable   MDIX 
  A4     10GbE-T   | Yes     Auto         Disable   Auto 
  A5     10GbE-T   | Yes     Auto         Disable   Auto 
  A6     10GbE-T   | Yes     Auto         Disable   Auto 
  A7     10GbE-T   | Yes     Auto         Disable   Auto 
  A8     10GbE-T   | Yes     Auto         Disable   Auto

Displaying the current MDI operating mode

HP Switch(config)# show interfaces brief

 Status and Counters - Port Status

                   | Intrusion                           MDI  Flow Bcast
  Port   Type      | Alert     Enabled Status Mode       Mode Ctrl Limit
  ------ --------- + --------- ------- ------ ---------- ---- ---- ----- 
  A1     10GbE-T   | No        Yes     Up     1000FDx    MDIX off  0
  A2     10GbE-T   | No        Yes     Down   10GigFD    MDI  off  0
  A3     10GbE-T   | No        Yes     Down   10GigFD    MDIX off  0
  A4     10GbE-T   | No        Yes     Down   10GigFD    Auto off  0
  A5     10GbE-T   | No        Yes     Down   10GigFD    Auto off  0
  A6     10GbE-T   | No        Yes     Down   10GigFD    Auto off  0
  A7     10GbE-T   | No        Yes     Down   10GigFD    Auto off  0
  A8     10GbE-T   | No        Yes     Down   10GigFD    Auto off  0