Port status and configuration

Viewing port status and configuration

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.

Show interfaces brief command listing

(HP_Switch_name#) 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

Show interfaces config command listing

(HP_Switch_name#) 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

Internal port names

Both external and internal ports are supported on the same module. Internal ports have an “i” suffix to indicate that they are internal ports.

  • “10GbE-INT” – Internal 10G data-plane ports (1i-2i, 4i-5i)

  • “1GbE-INT” – Internal 1G control-plane port (3i)

Port 3i always shows as link-down.

Show interfaces

HP-8212zl# show interfaces brief d1i-d3i
Status and Counters - Port Status
                  | Intrusion                           MDI  Flow Bcast
Port   Type       | Alert     Enabled Status Mode       Mode Ctrl Limit
------ ---------- + --------- ------- ------ ---------- ---- ---- -----
D1i    10GbE-INT  | No        Yes     Up     10GigFD    NA   off  0
D2i    10GbE-INT  | No        Yes     Up     10GigFD    NA   off  0
D3i    1GbE-INT   | No        Yes     Down   1000FDx    NA   off  0
HP-8212zl# show interfaces brief b1-b3i
 Status and Counters - Port Status
                   | Intrusion                           MDI  Flow Bcast
 Port   Type       | Alert     Enabled Status Mode       Mode Ctrl Limit
 ------ ---------- + --------- ------- ------ ---------- ---- ---- -----
 B1     100/1000T  | No        Yes     Down   1000FDx    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
 B7     100/1000T  | No        Yes     Down   1000FDx    Auto off  0
 B8     100/1000T  | No        Yes     Down   1000FDx    Auto off  0
 B9     100/1000T  | No        Yes     Down   1000FDx    Auto off  0
 B10    100/1000T  | No        Yes     Down   1000FDx    Auto off  0
 B11    100/1000T  | No        Yes     Down   1000FDx    Auto off  0
 B12    100/1000T  | No        Yes     Down   1000FDx    Auto off  0
 B1i    10GbE-INT  | No        Yes     Up     10GigFD    NA   off  0
 B2i    10GbE-INT  | No        Yes     Up     10GigFD    NA   off  0
 B3i    1GbE-INT   | No        Yes     Up     1000FDx    NA   off  0

Services

The services command requires a slot-name parameter followed a option. Options permitted in this command depend on the context (operator, manager, or configure).

Show services

Syntax

show services <slot-id>[details | device]

Show services modules information.

Slot-id

Show services modules information

<Slot-id> details

Display application information for the specified slot.

<Slot-id> device

Display the current configuration of the devices.

Show services

HP-8212zl# show services

        Installed Services
Slot    Index Description                      Name
------  --------------------------------       ------------------
H,L       1. Services zl Module                  services-module
L         2. HP ProCurve MSM765 zl Int-Ctlr        msm765-applicati
H         3. Threat Management Services zl Module  tms-module

No parameters

This no parameters command lists only installed modules which have applications running that provide a pass-through CLI feature.

Syntax

show services

Show services of only installed modules.

Example
HP-8212zl# show services

        Installed Services

Slot     Index Description                           Name
H,L        1. Services zl Module                       services-module
L         2. HP ProCurve MSM765 zl Int-Ctlr           msm765-applicati
H         3.Threat Management Services zl Module      tms-module

Show services locator

Show services information.

Syntax

show services [<SLOT-ID>|details|device]

Slot-id

Display summary table for the specified slot.

details

Display application information for the specified slot.

device

Display the current configuration of the devices.

Example
HP-8212zl# show services f
Status and Counters - Services Module F Status
 HP Services zl Module J9840A
Versions            :
 Current status      : running
For more information, use the show commands in services context
Example
HP-8212zl# show services f details
 Status and Counters - Services Module F Status
 HP Services zl Module J9840A
 Versions            :
 Current status      : running

Description                                Version             Status
------------------------------------------ ------------------- ---------
Services zl Module                                             hardware
HP MSM775 zl Premium Controller     J9840A                     installed

 For more information, use the show commands in services context
Example
Status and Counters - Services Module F Status
HP Services zl Module J9840A
Versions            :
Current status      : running
Description                                Version             Status
------------------------------------------ ------------------- ---------
Services zl Module                                             hardware
HP Adv Services v2 zl Module w/ HDD         J9857A             installed

For more information, use the show commands in services context

Show services device

Adding the keyword “device” displays information about whether certain external devices are enabled or disabled. This command is equivalent to the “services <slot> device” command with no additional parameters.

Syntax

show services slot-id device

  • USB port (x86–side)May be one of:

    • “disabled” (normal state)

    • “enabled” – enabled once the x86 boots into the OS, but disabled before OS boot to prevent inadvertently booting to an inserted USB key.

    • “boot” – enabled all the time, both for and after x86 OS boot.

  • ShutdownFront-panel shutdown/reset button:

    • “enabled” – default state

    • “disabled” – for increased physical security

  • PXE (PXE-boot)Not displayed for all modules.

Show services device

HP-8212zl# show services d device
Services Module Device Configuration
Device          |               State
----------------|--------------------
USB             |            disabled
Shutdown        |             enabled
PXE             |             enabled

Requesting a reboot

This command requests a reboot (graceful shutdown and restart) of the x86.

Syntax

services <slot>boot[product|PXE|service|USB]

product

Boot to the Product OS.

PXE

Boot to the PXE or Product OS (if supported).

service

Boot to the Service OS.

USB

Boot to the USB or Product OS (if supported).


[NOTE: ]

NOTE: If no parameters are given, the switch attempts to boot to the same OS (product, service, or USB) that was enabled before the command was given. If the services <slot> boot product|usb command is given on a non-permitted module, one of the following error messages is returned:

HP-8212zl# services b boot product
Command not supported for the Services module in slot B.

HP-8212zl# services b boot pxe
Command not supported for the Services module in slot B.

HP-8212zl# services b boot usb
Command not supported for the Services module in slot B.

Services in Operator/Manager/Configure context

This top-level command requires a slot-name parameter followed a subcommand. Permitted subcommands depend on one of the three context: operator, manager, or configure.

Services in operator context

Displays applications installed and running for the services module in the Operator context.

Syntax

services <slot-id>[<index> | locator | name <name>]

Slot-id

Device slot identifier for the services module.

Integer

Index of the services CLI to access.

Locator

Control services module locator LED.

Name

Name of the services CLI to access.

<Slot-id> <index>

Configure parameters for the installed application.

<Slot-id> locator

Controls services module locator LED.

<Slot-id> name <name>

Configure parameters for the installed application.

Services in Manager Context

Display applications installed and running for the services module or change the module's state (reload or shutdown).

Syntax

services <slot-id>[<index>| boot | locator | name <name>| reload |serial | shutdown]

slot-id

Device slot identifier for the services module.

<slot-id> <index>

Configure parameters for the installed application.

<slot-id> boot

Reboot the services module.

<slot-id> locator

Controls services module locator LED.

<slot-id> name <name>

Configure parameters for the installed application.

<slot-id> reload

Reset the services module.

<slot-id> serial

Connect to services module via serial port.

<slot-id> shutdown

Shutdown (halt) the services module.

Boot

Reboot the services module.

Integer

Index of the services CLI to access.

Locator

Control services module locator LED.

Name

Name of the services CLI to access.

Reload

Reset the services module.

Serial

Connect to application via serial port.

Shutdown

Shutdown (halt) the services module.

Services in configure context

Configure parameters for the services module or change the module's state (reload or shutdown).

Syntax

services [<slot-id> <index> boot | locator | name <name>| reload |serial | shutdown]

Syntax

[no]services <slot-id>device[shutdown | usb

slot-id

Device slot identifier for the services module.

<slot-id> <index>

Configure parameters for the installed application.

<slot-id> boot

Reboot the services module.

<slot-id> locator

Controls services module locator LED.

<slot-id> name <name>

Configure parameters for the installed application.

<slot-id> reload

Reset the services module.

<slot-id> serial

Connect to services module via serial port.

<slot-id> shutdown

Shutdown (halt) the services module.

Boot

Reboot the services module.

Integer

Index of the services CLI to access.

Locator

Control services module locator LED.

Name

Name of the services CLI to access.

Reload

Reset the services module.

Serial

Connect to application via serial port.

Shutdown

Shutdown (halt) the services module.

Enable or disable devices.

Enable or disable devices. This command must be run from the configure context.

Syntax

[no]services<slot> device [PXE|shutdown|USB|CF]

PXE

Enable or disable booting from PXE (if supported).

shutdown

Enable or disable the shutdown or reset button.

USB

Enable or Disable the USB after boot.

CF

Enable or disable the Compact Flash or SD1 card.

Accessing CLI-passthrough

Accessing the CLI-passthrough feature on modules that support the feature. Feature can be reported by the show servicescommand given with no additional parameters.

Syntax

services <slot>[<index>|<name>

ASCII-STR

Enter an ASCII string.

Show services

HP-8212zl# show services

Installed Services

Slot   Index   Description                               Name
H,L     1.    Services zl Module                        services-module
 L      2.    HP ProCurve MSM765 zl Int-Ctlr            msm765-applicati
 H      3.    Threat Management Services zl Module      tms-module

Show services set locator module

This command sets the Module Locator LED to either solid-on, off or slow-blink for a specified duration of time or to turn it off before the previously-specified time has passed. Options are permitted in this command for the Operator.

Syntax

show services <slot>[blink <1-1440>|off|on]

blink

Blink the locator LED. Default 30 mins. Range <1-1440>.

off

Turn the locate led off.

on

Turn the locate led on.

Example
HP-8212zl# show services d locator blink

Reloading services module

Reloads the services module and is similar to the command services<slot> boot with no additional parameters given.

Syntax

services <slot> reload

Connection to the application via a serial port

Starts a serial-passthrough session to the x86.

Syntax

services <slot>serial


[WARNING! ]

WARNING! You are entering a mode on this product that is HP Confidential and Proprietary. This mode, the commands and functionality specific to this mode, and all output from this mode are HP Confidential and Proprietary. You may use this mode only by specific permission of, and under the direction of, an HP support engineer or HP technical engineer. Unauthorized or improper use of this mode will be considered by HP to be unauthorized modification of the product, and any resulting defects or issues are not eligible for coverage under the HP product warranty or any HP support or service. UNAUTHORIZED OR IMPROPER USE OF THIS MODE CAN MAKE THE PRODUCT COMPLETELY INOPERABLE.

SvcOS login: <CTRL-Z>


Shutdown the services module.

Similar to services <slot>boot with no additional parameters given. This command is similar in that it attempts a graceful shutdown of the x86 except that this command does not restart the x86. If the graceful-shutdown attempt fails, no follow-up attempt is made to do a hard shutdown.

Syntax

services <slot>shutdown