Chapter 5. Fibre Channel Hub Operation and Management

This chapter explains

Viewing Statistics

This section explains how to display configuration and operation parameters and statistics using the command-line interface and the Internet browser interface, in separate subsections.

Viewing Hub and Port Statistics: Command-Line Interface

Table 5-1 gives commands for displaying parameters. Any user can enter these commands, except for zero all, which requires privileged status.

Table 5-1. Commands for Obtaining Parameters

Operation

Command at Server> Prompt

Display configuration parameters for the hub

show hub

Display configuration parameters for the hub ports

show hub ports

Display configuration parameters for the hub manager

show server

Display configuration parameters for the hub and hub manager

show server config

Display configuration parameters for the hub manager

show server network

Display TCP/IP parameters for the hub manager

show server tcp

Reset counters for error count and down count in show hub ports output

zero all



Note: Cascading hubs does not affect hub address or port numbering in the management interfaces. That is, to get information on ports on cascaded hubs, you log in to each hub the same as if it were not cascaded. Segmenting hubs also does not affect port numbering in the management interfaces.

The following is example output for the show hub command.

-  Current Hub Status -------------------------------------------------
 Hub Parameters              Upper:              Lower:
  Auto Bypass Interval:       10                  10
       Error Threshold:       07                  07
  LIP F8 Primitive 1:         BC95B5B5            BC95B5B5
         Primitive 2:         BC15F0F0            BC15F0F0
  SYNC Loss Timeout:          60                  60
  Microsecond Timer:          4FB                 4FB
  Millisecond Timer:          2EE                 2EE
  Second Timer:               35                  35
  Hub Configuration:          10 Port

 Port Status:
                              1 active             6 auto bypass
                              2 active             7 active
                              3 active             8 active
                              4 active             9 active
                              5 active            10 active
-----------------------------------------------------------------------

The following is example output for the show hub ports command.

- Current Hub Port Status ---------------------------------------------
Port Status       LIP F8    AutoLIP   Error       Down     Elapsed Time
                  Bypass    Insert    Count       Count      d hh:mm:ss
 1  active        enabled   enabled    0           0            2 03:07:59
 2  active        enabled   enabled    769         23           2 03:07:59
 3  active        enabled   enabled   >347         1            2 03:07:59
 4  active        enabled   enabled    29          1            2 03:07:59
 5  active        enabled   enabled   >1467547     102          2 03:07:59
 6  auto bypass   enabled   enabled    0           0            2 03:07:59
 7  active        enabled   enabled    330         26           2 03:07:59
 8  active        enabled   enabled    80          8            2 03:07:59
 9  active        enabled   enabled    368         26           2 03:07:59
10  active        enabled   enabled   >21767       275          2 03:07:59
-----------------------------------------------------------------------

In the show hub ports output, Down Count is the number of times a port was automatically bypassed. Error and down counts are cumulative since the last reset.

To reset the counters for the error and down counts, a user with privileged status enters zero all.

The following is example output for the show server command.

Server Information
    Product: HUB Manager
    Hardware: A.41
    Firmware: (SL) 5.01n5 980810
    Software:      7.2    980915
    Console Port: 2
    Load Type: Selfload
    Uptime: 184199 (2 03:09:59)

The following is example output for the show server config command.

Network Interface Configuration For Ethernet

Server Information
  Product: HUB Manager
  Hardware: A.41
  Firmware: (SL) 5.01n5 980810
  Software:      7.2    980915
  Console Port: 2
  Load Type: Selfload
  Uptime: 184213 (2 03:10:13)
Network Information
  Node Name: DHM0A2908
  MAC Address: 08-00-69-xx-xx-xx
  Circuit Timer (ms): 80
  Protocols:
    TCP/IP
TCP/IP Information
  IP Addr: 128.1.000.000
  Subnet Mask: 255.255.255.0
  Gateway: 128.2.000.000
  BOOTP:  0 0 temp
  DHCP:   0 0 temp
  RARP:   0 0 temp
Port Configuration
  1  Digital HUB
     Access: remote  Queuing: disabled
     Bypass Interval: 10  Error Threshold: 7
  2  Serial - full modem  Type: softcopy
     Access: dynamic  Queuing: disabled
     Modem:  disabled  Speed: 9600
     DSRlogout: disabled  Signal Check: disabled
     Char Size: 8  Parity: none
     Autobaud: disabled  Flow Control: xon
  3  Transparent Gateway  Type: softcopy
     Access: virtual
  4  Remote Console  Type: ansi
     Access: remote
Service Configuration
  Name: http
    Port(s): 3  Protocol(s): TCP
    Queueing: enabled  Connections: enabled
    Password: disabled  Telnet: disabled
    Filter: disabled  TCP Port: 80
  Name: telnet
    Port(s): 4  Protocol(s): TCP
    Queueing: disabled  Connections: enabled
    Password: disabled  Telnet: enabled
    Filter: disabled  TCP Port: 23

The following is example output for the show server network command.

Network Information
    Node Name: DHM0A2908
    MAC Address: 08-00-69-xx-xx-xx
    Circuit Timer (ms): 80
    Protocols:
      TCP/IP

The following is example output for the show server tcp command.

TCP/IP Information
    IP Addr: 128.1.000.000
    Subnet Mask: 255.255.255.0
    Gateway: 128.2.000.000
    BOOTP:  0 0 temp
    DHCP:   0 0 temp
    RARP:   0 0 temp

Viewing Port Statistics: Internet Browser Interface

The Hub Manager Internet browser screen displays hub port statistics; Figure 5-1 shows an example.

Figure 5-1. Internet Browser Status Screen


To view statistics for a particular port, click on the port or its LED in the hub map, or click on the entry for the port in the Status column. Figure 5-2 shows an example.

Figure 5-2. Hub Port Detailed Status Screen Example



Note: The default settings in this screen are the recommended settings.

In this screen:

  • Summary status shows the basic status of the port, as it is also shown in the Hub Port Status screen.

  • Configured as Enabled is checked if the port has not been administratively disabled for use.

  • Configured as Autobypass during LIP F8 is checked if the port has been configured to automatically bypass while it is streaming LIP F8 characters. (See “Automatic LIP F8 Word Substitution and Bypass” in Chapter 1 for an explanation of LIP F8.)

  • Configured as AutoLIP (Originate LIP F7 on insertion) is checked if the port has been configured to originate LIP F7 characters when it inserts into the loop. (See “Automatic Loop Reconfiguration” in Chapter 1 for an explanation of LIP F7.)

    You can change the settings in the three configuration check boxes; see “Bypassing Ports” for instructions.

  • Counts:

    • Error Count is the number of invalid transmission words received on this port.

    • Bypass Count is the number of times the port was automatically bypassed.

    • Elapsed Time is the time since the last port counter reset.

    Clicking reset counters at the lower left restarts these counters at 0.

You can use this screen to change port configuration parameters by clicking Port Setup at the lower left; the Port Setup screen for that port appears. Figure 5-7 on page 69 shows an example.

Viewing Hub Statistics: Internet Browser Interface

To view information on the hub and the hub manager, click Properties in the menu bar. Figure 5-3 shows an example screen.

Figure 5-3. Hub and Hub Manager Statistics


To display more detailed hub manager information, follow these steps:

  1. In the Hub Port Status (Figure 5-2) or Digital Hub Properties screen (Figure 5-3), click Help in the menu bar.

  2. In the help window that appears, click Hub Manager Diagnostic Information. (Scroll down if necessary.) Figure 5-4 shows an example of the screen that is displayed.

    Figure 5-4. Hub Manager Diagnostic Information Example


Bypassing Ports

The Fibre Channel Hub bypasses a port automatically when it receives three consecutive LIP F8 sequences from the port. This sequence is generated when the port does not receive a valid signal from the device cabled to the port, such as when a cable is replaced or a device is disconnected for routine maintenance. The hub can also bypass a port that an administrator disables. This section explains how to bypass a port using the command-line interface and the Internet browser interface, in separate subsections; it also explains how to change the default settings for LIP F8 and F7 bypass:

Bypassing Ports: Command-Line Interface


Note: Bypassing a port disables access to the device connected to it; perform any required steps to prevent loss of I/O.

To use the command-line interface to force-bypass a port, a user with administrator privilege enters

Server>>change hub port [port|all] bypass enable 

where port is the port to bypass. You can enter a number (for example, 4), a range of numbers separated by a hyphen (for example, 2-4), or a series of numbers separated by commas or single spaces (for example, 2, 4).[2] To bypass all ports on the loop, enter all. (The software does not prompt for confirmation.)

When a port is bypassed, its LED goes dark, and its status changes in the Status screen.

The following example bypasses ports 2, 3, 4, 6, and 9:

Server>>change hub port 2-4, 6, 9 bypass enable 

The following example bypasses all ports:

Server>>change hub port all bypass enable 

To disable the bypass and return the port(s) to the loop, a user with administrator privilege enters

Server>>change hub port [port|all] bypass disable 

The following example disables the bypass and returns all ports to the loop:

Server>>change hub port all bypass disable 


Note: When a port generates three LIP F8 sequences, it is automatically bypassed by default to prevent the LIP F8 error from bringing down the entire loop. See “Changing LIP F8 and LIP F7 Settings” for relevant command-line interface information; see “Automatic LIP F8 Word Substitution and Bypass” in Chapter 1 for information on the LIP F8 sequence.


Bypassing Ports: Internet Browser Interface


Note: Bypassing a port disables access to the device connected to it; perform any required steps to prevent loss of I/O.

To use the Internet browser interface to force-bypass a port, follow these steps:

  1. Do one of the following:

    • In the hub map (in any screen it appears), click on the port or its LED; in the Detailed Status screen that appears, click Port Setup at the lower left.

    • In the Status window, click on the entry for the port in the Status column; in the Detailed Status screen that appears, click Port Setup at the lower left.

    • In the Hub Port Status screen, click Setup, and then click Hub Port Setup. In the Hub Port Selection screen that appears (see Figure 5-5), click the port you want to bypass.

      Figure 5-5. Hub Port Selection


    All three methods display the Detailed Status screen for the port (see Figure 5-6).

    Figure 5-6. Hub Port Status Screen


  2. Click Port Setup at the lower left to display the Port Setup screen for the port you have chosen; Figure 5-7 shows an example.

    Figure 5-7. Port Setup Example


  3. To bypass the port, click the top check box; click Apply.

  4. At the user ID prompt that appears, enter su; at the password prompt, enter system or the current password.

When a port is force-bypassed, its LED goes dark, and its status changes in the Status screen. (When a port is bypassed because no device is cabled to it, its LED is yellow.

To use the Internet browser interface to force-bypass all ports, follow these steps:

  1. In the Hub Port Status screen, click Setup, and then click Hub Setup. Figure 5-8 shows the Digital Hub Setup screen.

    Figure 5-8. Bypassing Ports


  2. Check one of the lower three check boxes, depending on the type of bypass you want. Click Apply to put the change into effect.

  3. At the user ID prompt that appears, enter su; at the password prompt, enter system or the current password.

For information on LIP F8 and F7, see “Changing LIP F8 and LIP F7 Settings”.

Changing LIP F8 and LIP F7 Settings

To use the command-line interface to bypass a port when a LIP F8 error is generated, a user with administrator privilege enters

Server>>change hub port [port|all] lipf8 enable 

This setting is the factory default.

To disable the LIP F8 bypass and return the port to the loop, a user with administrator privilege enters

Server>>change hub port [port|all] lipf8 disable 

To use the Internet browser interface for LIP F8 or AutoLIP bypass, click Setup in the menu bar, and then click Hub Setup; see Figure 5-8. In this screen, click check boxes as follows:

  • AutoBypass during LIP F8 automatically excludes the port from the loop while it is streaming LIP F8 characters (which indicate that the attached device is not receiving a valid signal), and reinsert it if it becomes stable again.

    This box is checked (on) by factory default. Three consecutive LIP F8 sequences from a port disable the entire loop.

  • AutoLIP (Originate LIP F7 on Insertion) automatically reconfigures the loop when a hub port becomes active.

    This box is checked (on) by factory default.

For more information on the LIP F8 and LIP F7 characters, see “Fault and Error Management” in Chapter 1.

Changing Interval and Threshold Settings

An interval is the measure of time—24 microseconds—that is examined for errors.
The default interval value is set at 10 (240 microseconds), but you can change it to any value from 1 to 15. The (error) threshold setting determines when a port is automatically bypassed for excessive errors. The default is 7, but you can set it to any value from 1 to 15.

Interval and threshold work together. For example, if the interval is 10 and the threshold is 7, ten frame times are examined for errors. If six or fewer errors are found, no corrective action is taken and transmission continues. If another interval is examined and the total number of errors reaches 7, the port is automatically bypassed. The bypassed port is reinserted if no errors occur during the next interval.


Note: The threshold value must be equal to or less than the interval value.

This section explains how to display and change interval and threshold settings using the command-line interface and the Internet browser interface, in separate subsections.


Caution: Changing these values from their factory defaults changes the behavior of the arbitrated loop, which can have disastrous consequences. Do not change these values unless you have good reason to do so. Setting threshold and interval values both to 1 disables automatic port bypass.


Changing Interval and Threshold Settings: Command-Line Interface

To change the interval using the command-line interface, a user with administrator privilege enters

Server>>change hub interval intervalvalue 

where intervalvalue is a number from 1 to 15 (default 10).

To change the error threshold, a user with administrator privilege enters

Server>>change hub threshold thresholdvalue 

where thresholdvalue is a number from 1 to 15 (default 7).

Changing Interval and Threshold Settings: Internet Browser Interface

To use the Internet browser interface to change the autobypass sample count or autobypass threshold count, click Setup in the menu bar, and then click Hub Setup. In the Digital Hub setup screen that appears, click Hub Advanced Setup at the bottom of the screen; see Figure 5-9.

Figure 5-9. Choosing Hub Advanced Setup


In the Hub Advanced Setup screen that appears, set the autobypass sample count, the autobypass threshold count, or both; Figure 5-10 shows an example.

Figure 5-10. Advanced Setup Screen: Changing Autobypass Sample Count and Autobypass Threshold Count


When the settings are the way you want them, click Apply. Enter su and password at the prompt.


Caution: Changing these values from their factory defaults changes the behavior of the arbitrated loop, which can have disastrous consequences. Do not change these values unless you have good reason to do so. Setting both threshold and interval number to 1 disables automatic port bypass.


Renaming the Hub Manager

The hub manager's name is used in certain commands and by host-initiated connections. This name must be different from all other hub names on the same local network.

Using the command-line interface, a user with administrator privilege can replace the default hub manager name, as follows:

Server>>define server name newname 

where newname is a string of 1 to 47 letters or numerals, in any combination. The default is DHMxxxxxx, where xxxxxx is the last six digits of the MAC address without the dashes.



[2] Cascading or segmenting hubs does not change port numbering.