08-System Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)08-System Volume
03-Device Management Commands
Title Size Download
03-Device Management Commands 171.73 KB

 

File names in this document comply with the following rules:

l          Path + file name (namely, a full file name): File on a specified path. A full file name consists of 1 to 135 characters.

l          “File name” (namely, only a file name without a path): File on the current working path. The file name without a path consists of 1 to 91 characters.

 

Device Management Commands

boot-loader

Syntax

boot-loader file file-url slot slot-number { main | backup }

View

User view

Default Level

2: System level

Parameters

file file-url: Specifies a file name, a string of 1 to 64 characters.

slot slot-number: Specifies the slot number of a board. The value range varies with devices.

main: Specifies a file as a main boot file.

backup: Specifies a file as a backup boot file.

Description

Use the boot-loader command to specify a boot file for the next boot.

A main boot file is used to boot a device and a backup boot file is used to boot a device only when a main boot file is unavailable.

Related commands: display boot-loader.

Examples

# Specify the main boot file for the next boot of the active SRPU as plat.app.

<Sysname> boot-loader file plat.app slot 0 main

  This command will set the boot file of the specified board. Continue? [Y/N]:y

  The specified file will be used as the main boot file at the next reboot!

# Specify the main boot file for the next boot of the standby SRPU as plat2.app.

<Sysname> boot-loader file slot1#flash:/plat2.app slot 1 main

  This command will set the boot file of the specified board. Continue? [Y/N]:y

  The specified file will be used as the main boot file at the next reboot!

bootrom

Syntax

bootrom { backup | read | restore | update file file-url } slot slot-number-list [ all | part ]

View

User view

Default Level

2: System level

Parameters

read: Reads Boot ROM, that is, copies the Boot ROM program form the normal partition of the Boot ROM memory to the flash as the backup, which will be used to restore the Boot ROM when the Boot ROM memory is broken.

restore: Restores Boot ROM, that is, restores the Boot ROM codes from the backup partition to the normal partition of the Boot ROM memory. When the current Boot ROM is broken, and you have backed up the codes, you can restore the Boot ROM by performing the restore operation.

backup: Backs up Boot ROM, that is, backs up the Boot ROM codes in the normal partition to the backup partition of the Boot ROM memory. When the current Boot ROM is broken, you can restore the Boot ROM program from the backup partition. You are recommended to back up the Boot ROM before upgrading it.

update file file-url: Upgrades Boot ROM, where file-url represents name of the file to be upgraded.

slot slot-number-list: Specifies a list of slot numbers of boards, in the format of { slot-number [ to slot-number ] }&<1-7>. The slot-number argument represents the slot number of a board and the value range varies with devices. &<1-7> indicates that you can specify up to seven lists of slot numbers.

all: Operates all contents of Boot ROM.

part: Operates only the extension part of Boot ROM (Boot ROM includes the basic part and the extension part, the basic part provides the basic operation items and the extension part provides more Boot ROM operation items).

Description

Use the bootrom command to read, restore, back up, or upgrade the Boot ROM program on a board(s).

If the arguments all and part are not specified, all contents of the Boot ROM program are operated.

Examples

# Use the mpu108.app file to upgrade the Boot ROM program on the board in slot 1.

<Sysname> bootrom update file mpu108.app slot 1

  This command will update bootrom file on the specified board(s), Continue? [Y/N]:y

  Now updating bootrom, please wait...

 

  Start accessing bootflash chip...

  Bootrom update succeed in slot 1.

display boot-loader

Syntax

display boot-loader [ slot slot-number ]

View

Any view

Default Level

2: System level

Parameters

slot slot-number: Displays boot file information of the specified board, where slot-number represents the slot number of a board. The value range varies with devices.

Description

Use the display boot-loader command to display information of the boot file.

Related commands: boot-loader.

Examples

# Display the file adopted for the current and next boot (The prompt information of this command varies with devices).

<Sysname> display boot-loader

  The primary app to boot of board 1 at this time is: flash:/ Switch.app

  The primary app to boot of board 1 at next time is: flash:/ Switch.app

  The slave app to boot of board 1 at next time is: flash:/Back.app

display cpu-usage

Syntax

display cpu-usage [ task ] [ slot slot-number ]

display cpu-usage number [ offset ] [ verbose ] [ slot slot-number ] [ from-device ]

View

Any view

Default Level

1: Monitor level

Parameters

number: Number of CPU usage statistics records to be displayed.

offset: Offset between the serial number of the first CPU usage statistics record to be displayed and that of the last CPU usage record to be displayed.

verbose: Specifies to display detailed information of CPU usage statistics.

from-device: Displays external storage devices such as Flash and hard disk. The device currently does not support the from-device keyword.

task: Displays CPU usage of each task.

slot slot-number: Specifies to display the statistics of the CPU usage of a board. slot-number specifies the slot number of a board. The value range varies with devices.

Description

Use the display cpu-usage command to display the CPU usage statistics.

The system takes statistics of CPU usage at intervals (usually every 60 seconds) and saves the statistical results in the history record area. The maximum number of records that can be saved depends on the device model. display cpu-usage number indicates the system displays number records from the newest (last) record. display cpu-usage number offset indicates the system displays number records from the last but offset record.

Equivalent to the display cpu-usage 1 0 verbose command, the display cpu-usage command displays detailed information of the last CPU usage statistics record.

Examples

# Display information of the current CPU usage statistics.

<Sysname> display cpu-usage

Slot 1 CPU usage:

     14% in last 5 seconds

     12% in last 1 minute

      8% in last 5 minutes

# Display detailed information of the last CPU usage statistics record of the current tasks.

<Sysname> display cpu-usage task

===== Current CPU usage info =====

CPU Usage Stat. Cycle: 41 (Second)

CPU Usage            : 3%

CPU Usage Stat. Time : 2006-07-10  11:02:20

CPU Usage Stat. Tick : 0x1da0(CPU Tick High) 0x62a5077f(CPU Tick Low)

Actual Stat. Cycle   : 0x0(CPU Tick High) 0x3d5b5ad1(CPU Tick Low)

 

TaskName        CPU        Runtime(CPU Tick High/CPU Tick Low)

b2X0             0%               0/   ce77f

VIDL            97%               0/3bc6e650

TICK             0%               0/  23ec62

STMR             0%               0/    ad24

DrTF             0%               0/   28b6b

DrTm             0%               0/   18a28

bCN0             0%               0/   d840e

…omitted…

# Display the last fifth and sixth records of the CPU usage statistics history.

<Sysname> display cpu-usage 2 4

===== CPU usage info (no:  0  idx: 58) =====

CPU Usage Stat. Cycle: 60 (Second)

CPU Usage            : 3%

CPU Usage Stat. Time : 2006-07-10  10:56:55

CPU Usage Stat. Tick : 0x1d9d(CPU Tick High) 0x3a659a70(CPU Tick Low)

Actual Stat. Cycle   : 0x0(CPU Tick High) 0x95030517(CPU Tick Low)

 

===== CPU usage info (no:  1  idx: 57) =====

CPU Usage Stat. Cycle: 60 (Second)

CPU Usage            : 3%

CPU Usage Stat. Time : 2006-07-10  10:55:55

CPU Usage Stat. Tick : 0x1d9c(CPU Tick High) 0xa50e5351(CPU Tick Low)

Actual Stat. Cycle   : 0x0(CPU Tick High) 0x950906af(CPU Tick Low)

Table 1-1 display cpu-usage command output description

Field

Description

CPU usage info (no:  idx:)

Information of CPU usage records (no: The (no+1)th record is currently displayed. no numbers from 0, a smaller number equals a newer record. idx: index of the current record in the history record table). If only the information of the current record is displayed, no and idx are not displayed.

CPU Usage Stat. Cycle

CPU usage measurement period in seconds

CPU Usage

CPU usage in percentage

CPU Usage Stat. Time

CPU usage statistics time in seconds

CPU Usage Stat. Tick

System runtime in ticks, represented by a 64-bit hexadecimal. CPU Tick High represents the most significant 32 bits and the CPU Tick Low the least significant 32 bits.

Actual Stat. Cycle

Actual CPU usage measurement period in ticks, represented by a 64-bit hexadecimal. CPU Tick High represents the most significant 32 bits and the CPU Tick Low the least significant 32 bits. Owing to the precision of less than one second, the actual measurement periods of different CPU usage records may differ slightly.

TaskName

Task name

CPU

CPU usage of the current task

Runtime(CPU Tick High/CPU Tick Low)

Running time of the current task

 

display cpu-usage history

Syntax

display cpu-usage history [ task task-id ] [ slot slot-number ]

View

Any view

Default Level

1: Monitor level

Parameters

task task-id: Displays the CPU usage statistics of a task, where task-id represents the task number.

slot slot-number: Displays the statistics of the CPU usage of a board. slot-number specifies the slot number of a board and the value range varies with devices.

Description

Use the display cpu-usage history command to display the history statistics of the CPU usage in a chart. If no argument is specified, the CPU usage of the active main board is displayed.

The system takes statistics of the CPU usage at an interval and saves the statistical results in the history record area. You can use the display cpu-usage history command to display the last 60 CPU usage statistics records. The statistical results are displayed through geographical coordinates. In the output information:

l          Latitude indicates the CPU usage, which is displayed based on the step. For example, if the step of the CPU usage is 5%, then the actual statistics value 53% is displayed as 55%, and actual statistics value 52% is displayed as 50%.

l          Longitude indicates the time.

l          Consecutive pond marks (#) indicate the CPU usage at a certain moment. The value of the latitude corresponding to the # mark on the top of a moment is the CPU usage at this moment.

Examples

# Display the CPU usage statistics of the whole system.

<Sysname> display cpu-usage history

100%|

 95%|

 90%|

 85%|

 80%|

 75%|

 70%|

 65%|

 60%|

 55%|

 50%|

 45%|

 40%|

 35%|

 30%|

 25%|

 20%|

 15%|             #

 10%|            ###  #

  5%|           ########

     ------------------------------------------------------------

              10        20        30        40        50        60  (minutes)

                      cpu-usage last 60 minutes(SYSTEM)

The above output information indicates the CPU usage of the whole system in the last 60 minutes: 5% in the twelfth minute, 10% in the thirteenth minute, 15% in the fourteenth minute, 10% in the fifteenth minute, 5% in the sixteenth and seventeenth minute, 10% in the eighteenth minute, 5% in the nineteenth minute, and 2% or lower than 2% at other times.

# Display the CPU usage statistics of task 6.

<Sysname> display cpu-usage history task 6

100%|

 95%|

 90%|

 85%|

 80%|

 75%|

 70%|

 65%|

 60%|

 55%|

 50%|

 45%|

 40%|

 35%|

 30%|

 25%|

 20%|

 15%|

 10%|

  5%|                   #

     ------------------------------------------------------------

              10        20        30        40        50        60  (minutes)

                      cpu-usage last 60 minutes(STMR)

The above output information indicates the CPU usage of task 6 (with the task name STMR) in the last 60 minutes: 5% in the twentieth minute, and 2% or lower than 2% at other times.

display device

Syntax

display device [ cf-card ] [ [ shelf shelf-number ] [ frame frame-number ] [ slot slot-number [ subslot subslot-number ] ] | verbose ]

View

Any view

Default Level

2: System level

Parameters

cf-card: Displays information of a compact Flash (CF).

shelf shelf-number: Displays detailed information of the specified shelf or unit. The shelf-number argument represents a shelf number or unit number and the value range varies with devices.

frame frame-number: Displays detailed information of the specified frame. The frame-number argument represents a frame number and the value range varies with devices.

slot slot-number: Displays detailed information of the specified board. The slot-number argument represents the slot number of a board and the value range varies with devices.

subslot subslot-number: Displays detailed information of the specified subboard. The subslot-number represents the subslot of a subboard and the value range varies with devices.

verbose: Displays detailed information.

Description

Use the display device command to display information about storage media such as board, subboard, and CF card.

Examples

# Display brief information of boards on a swtich. (The displayed information varies with devices.)

<Sysname> display device

Slot No.  Brd Type    Brd Status     Subslot Num     Sft Ver         Patch Ver

 0        NONE         Absent       0              NONE           None

 1        LSQ1MPUA     Master       0              S7500E-0000    None

 2        LSQ1FV48SA   Normal       0              S7500E-0000    None

 3        LSQ1PT4PSC   Normal       1              S7500E-0000    None

Table 1-2 display device command output description

Field

Description

Brd Type

Hardware type of a board

Brd Status

Board status

Sft Ver

Software version

Patch Ver

Patch Version

 

display device manuinfo

Syntax

display device manuinfo [ frame frame-number ] [ slot slot-number [ subslot subslot-number ] ]

View

Any view

Default Level

3: Manage level

Parameters

slot slot-number: Displays electrical label information of the specified board. The slot-number argument represents the slot number of a board and the value range varies with devices.

subslot subslot-number: Displays electrical label information of the specified subboard. The subslot-number represents the subslot of a subboard and the value range varies with devices.

Description

Use the display device manuinfo command to display electrical label information about the device.

Electrical label information is also called permanent configuration data or archive information, which is written to the storage device of a board during debugging or test of a board or device. The information includes name of the board, device serial number, and vendor name. This command displays part of the electrical label information of the device.

Examples

# Display electrical label information of slot 3.

<Sysname> display device manuinfo slot 3

DEVICE_NAME          : LSQ1PT4PSC                                              

DEVICE_SERIAL_NUMBER : 03A43E1111111111                                        

MAC_ADDRESS          : No                                                       

MANUFACTURING_DATE   : 2007-11-4                                               

VENDOR_NAME          : H3C

display environment

Syntax

display environment

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display environment command to display the temperature information, including the current temperature and temperature thresholds of boards.

Examples

# Display the temperature information of the device.

<Sysname> display environment

System temperature information (degree centigrade):                           

----------------------------------------------------                           

 Board    Temperature         Lower limit      Upper limit                     

 1        43                  20               70                              

 2        50                  0                80                              

 3        56                  0                80

display fan

Syntax

display fan [ fan-id ]

View

Any view

Default Level

1: Monitor level

Parameters

fan-id: Displays the operating state of the specified fan, where fan-id represents the built-in fan number. The value varies with devices.

Description

Use the display fan command to display the operating state of built-in fans.

Examples

# Display the operating state of all fans in a device.

<Sysname> display fan

 Fan  1 State: Normal

The above information displays all fans work normally.

display memory

Syntax

display memory [ slot slot-number ] [ cpu cpu-id ]

View

Any view

Default Level

1: Monitor level

Parameters

slot slot-number: Specifies the slot number of a board. The value range varies with devices.

cpu cpu-id: Display the memory of a specified CPU, where cpu-id represents the ID of the CPU. Support for the cpu-id argument depends on the device model.

Description

Use the display memory command to display the usage of the memory of all or specified boards of a device.

Examples

# Display the usage of the memory of a device.

<Sysname> display memory

System Total Memory(bytes): 395165344  

Total Used Memory(bytes): 80815056     

Used Rate: 20%

Table 1-3 display memory command output description

Field

Description

System Total Memory(bytes)

Total size of the system memory (in bytes)

Total Used Memory(bytes)

Size of the memory used (in bytes)

Used Rate

Percentage of the memory used to the total memory

 

display power

Syntax

display power [ power-id ]

View

Any view

Default Level

1: Monitor level

Parameters

power-id: Displays the status of the specified power supply unit, where power-id represents the power supply unit number. The value varies with devices.

Description

Use the display power to display the status of the power supply of a device.

Examples

# Display the status of the power supply of a device (The displayed information varies with devices).

<Sysname> display power

 Power   1 State: Absent

 Power   2 State: Normal

The above information indicates that power supply 2 works normally, and power supply 1 and power supply 3 are absent.

display schedule job

Syntax

display schedule job

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display schedule job command to display the detailed configurations of the scheduled automatic execution function.

Examples

# Display the detailed configurations of the current scheduled automatic execution function.

<Sysname> display schedule job

Specified command: execute 1.bat

Specified view: system view

Executed time: at 12:00 10/31/2007 (in 0 hours and 16 minutes)

If you modify the system time within 16 minutes, the configurations of scheduled automatic execution of the batch file will become invalid, and then when you execute the display schedule job command again, the system displays nothing.

display schedule reboot

Syntax

display schedule reboot

View

Any view

Default Level

3: Manage level

Parameters

None

Description

Use the display schedule reboot command to display the device reboot time set by the user.

Related commands: schedule reboot at and schedule reboot delay.

Examples

# Display the reboot time of a device.

<Sysname> display schedule reboot

System will reboot at 16:00:00 03/10/2006 (in 2 hours and 5 minutes).

The above information indicates the system will reboot at 16:00:00 on March 10, 2006 (in two hours and five minutes).

display switch-mode status

Syntax

display switch-mode status

View

Any view

Default Level

0: Visit level

Parameters

None

Description

Use the display switch-mode status command to view the current traffic forwarding mode or working mode of all cards on the switch.

Examples

# View the current traffic forwarding mode or working mode of all cards on the switch.

<Sysname> display switch-mode status

 Slot No.    Switch-Mode

    0        STANDARD-ROUTING

    2        ROUTING

    3        NONE

Table 1-4 display switch-mode status command output description

Field

Description

Slot No.

Card slot number

Switch-Mode

Traffic forwarding mode or working mode of a card

STANDARD-ROUTING

Standard forwarding mode with the route extension function

ROUTING

Route extension mode

NONE

This card is not an EA LPU.

 

display transceiver alarm

Syntax

display transceiver alarm interface [ interface-type interface-number ]

View

Any view

Default Level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays the current alarm information of the pluggable transceiver plugged in the specified interface. interface-type interface-number represents interface type and interface number. If it is not specified, the command displays the current alarm information of the pluggable transceiver in all the interfaces.

Description

Use the display transceiver alarm command to display the current alarm information of a single or all transceivers.

If no error occurs, None is displayed.

Table 1-5 shows the alarm information that may occur for the four types of commonly used transceivers.

Table 1-5 display transceiver alarm command output description

Field

Remarks

GBIC/SFP

RX loss of signal

Incoming (RX) signal is lost.

RX power high

Incoming (RX) power level is high.

RX power low

Incoming (RX) power level is low.

TX fault

Transmit (TX) fault

TX bias high

TX bias current is high.

TX bias low

TX bias current is low.

TX power high

TX power is high.

TX power low

TX power is low.

Temp high

Temperature is high.

Temp low

Temperature is low.

Voltage high

Voltage is high.

Voltage low

Voltage is low.

Transceiver info I/O error

Transceiver information read and write error

Transceiver info checksum error

Transceiver information checksum error

Transceiver type and port configuration mismatch

Transceiver type does not match port configuration.

Transceiver type not supported by port hardware

Transceiver type is not supported on the port.

XFP

RX loss of signal

Incoming (RX) signal is lost.

RX not ready

RX is not ready

RX CDR loss of lock

RX clock cannot be recovered.

RX power high

RX power is high.

RX power low

RX power is low.

TX not ready

TX is not ready.

TX fault

TX fault

TX CDR loss of lock

TX clock cannot be recovered.

TX bias high

TX bias current is high.

TX bias low

TX bias current is low.

TX power high

TX power is high.

TX power low

TX power is low.

Module not ready

Module is not ready.

APD supply fault

APD (Avalanche Photo Diode) supply fault

TEC fault

TEC (Thermoelectric Cooler) fault

Wavelength unlocked

Wavelength of optical signal exceeds the manufacturer’s tolerance.

Temp high

Temperature is high.

Temp low

Temperature is low.

Voltage high

Voltage is high.

Voltage low

Voltage is low.

Transceiver info I/O error

Transceiver information read and write error

Transceiver info checksum error

Transceiver information checksum error

Transceiver type and port configuration mismatch

Transceiver type does not match port configuration.

Transceiver type not supported by port hardware

Transceiver type is not supported on the port.

XENPAK

WIS local fault

WIS (WAN Interface Sublayer) local fault

Receive optical power fault

Receive optical power fault

PMA/PMD receiver local fault

PMA/PMD (Physical Medium Attachment/Physical Medium Dependent) receiver local fault

PCS receive local fault

PCS (Physical Coding Sublayer) receiver local fault

PHY XS receive local fault

PHY XS (PHY Extended Sublayer) receive local fault

RX power high

RX power is high.

RX power low

RX power is low.

Laser bias current fault

Laser bias current fault

Laser temperature fault

Laser temperature fault

Laser output power fault

Laser output power fault

TX fault

TX fault

PMA/PMD receiver local fault

PMA/PMD receiver local fault

PCS receive local fault

PCS receive local fault

PHY XS receive local fault

PHY XS receive local fault

TX bias high

TX bias current is high.

TX bias low

TX bias current is low.

TX power high

TX power is high.

TX power low

TX power is low.

Temp high

Temperature is high.

Temp low

Temperature is low.

Transceiver info I/O error

Transceiver information read and write error

Transceiver info checksum error

Transceiver information checksum error

Transceiver type and port configuration mismatch

Transceiver type does not match port configuration.

Transceiver type not supported by port hardware

Transceiver type is not supported on the port.

 

For the pluggable transceivers supported by the S7500E series Ethernet switches, refer to H3C S7500E Series Ethernet Switches  Installation Manual.

 

Examples

# Display the alarm information of the pluggable transceiver plugged in interface GigabitEthernet 2/0/1.

<Sysname> display transceiver alarm interface gigabitethernet 2/0/1

GigabitEthernet2/0/1 transceiver current alarm information:

  RX loss of signal

  RX power low

Table 1-6 display transceiver alarm command output description

Field

Description

transceiver current alarm information

Current alarm information of the transceiver

RX loss of signal

Incoming (RX) signal is lost.

RX power low

Incoming (RX) power level is low.

 

display transceiver diagnosis

Syntax

display transceiver diagnosis interface [ interface-type interface-number ]

View

Any view

Default Level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays the currently measured value of digital diagnosis parameters of the H3C customized anti-spoofing pluggable optical transceiver plugged in the specified interface. interface-type interface-number represents interface type and interface number. If it is not specified, the command displays the currently measured value of digital diagnosis parameters of H3C customized anti-spoofing pluggable optical transceivers in all the interfaces.

Description

Use the display transceiver diagnosis command to display the currently measured value of digital diagnosis parameters of H3C customized anti-spoofing pluggable optical transceivers.

Examples

# Display the currently measured value of the digital diagnosis parameters of the H3C customized anti-spoofing pluggable optical transceiver plugged in interface GigabitEthernet 2/0/2.

<Sysname> display transceiver diagnosis interface gigabitethernet 2/0/2

GigabitEthernet2/0/2 transceiver diagnostic information:

  Current diagnostic parameters:

    Temp(°C)  Voltage(V)  Bias(mA)  RX power(dBM)  TX power(dBM)

    36        3.31        6.13      -35.64          -5.19

Table 1-7 display transceiver diagnosis command output description

Field

Description

transceiver diagnostic information

Digital diagnosis information of the transceiver plugged in the interface

Current diagnostic parameters

Current diagnostic parameters

Temp.(°C)

Digital diagnosis parameter-temperature, in °C, with the precision to 1°C.

Voltage(V)

Digital diagnosis parameter-voltage, in V, with the precision to 0.01 V.

Bias(mA)

Digital diagnosis parameter-bias current, in mA, with the precision to 0.01 mA.

RX power(dBM)

Digital diagnosis parameter-RX power, in dBM, with the precision to 0.01 dBM.

TX power(dBM)

Digital diagnosis parameter-TX power, in dBM, with the precision to 0.01 dBM.

 

display transceiver

Syntax

display transceiver interface [ interface-type interface-number ]

View

Any view

Default Level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays main parameters of the pluggable transceiver plugged in the specified interface. interface-type interface-number represents interface type and interface number. If it is not specified, the command displays main parameters of the pluggable transceiver(s) in all the interfaces.

Description

Use the display transceiver command to display main parameters of a single or all pluggable transceivers.

Examples

# Display main parameters of the pluggable transceiver plugged in interface GigabitEthernet 2/0/3.

<Sysname> display transceiver interface gigabitethernet 2/0/3

GigabitEthernet2/0/3 transceiver information:

  Transceiver Type              : 1000_BASE_SX_SFP

  Connector Type                : LC

  Wavelength(nm)                : 850

  Transfer Distance(m)          : 550(50um),270(62.5um)

  Digital Diagnostic Monitoring : YES

  Vendor Name                   : H3C

  Ordering Name                 : SFP-GE-SX-MM850

Table 1-8 display transceiver command output description

Field

Description

Connector Type

Type of the connectors of the transceiver:

l      Optical connectors, including SC (SC connector, developed by NTT) and LC (LC connector, 1.25 mm/RJ-45 optical connector developed by Lucent).

l      Other connectors, including RJ-45 and CX 4.

Wavelength(nm)

l      Optical transceiver: central wavelength of the laser sent, in nm. If the transceiver supports multiple wavelengths, every two wavelength values are separated by a comma.

l      Electrical transceiver: displayed as N/A.

Transfer distance(xx)

Transfer distance, with xx representing km for single-mode transceivers and m for other transceivers. If the transceiver supports multiple transfer medium, every two values of the transfer distance are separated by a comma. The corresponding transfer medium is included in the bracket following the transfer distance value. The following are the transfer media:

l      9 um: 9/125 um single-mode fiber

l      50 um: 50/125 um multi-mode fiber

l      62.5 um: 62.5/125 um multi-mode fiber

l      TP: Twisted pair

l      CX4: CX4 cable

Digital Diagnostic Monitoring

Whether the digital diagnosis function is supported, where:

l      YES: supported

l      NO: not supported

Vendor Name

Vendor name or name of the vendor who customizes the transceiver:

l      H3C customized anti-spoofing transceiver: H3C is displayed.

l      Other transceivers: The vendor name is displayed.

Ordering Name

Pluggable transceiver model

 

display transceiver manuinfo

Syntax

display transceiver manuinfo interface [ interface-type interface-number ]

View

Any view

Default Level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays part of the electrical label information of the H3C customized anti-spoofing pluggable transceiver plugged in the specified interface. interface-type interface-number represents interface type and interface number. If it is not specified, the command displays part of the electrical label information of the H3C customized anti-spoofing pluggable transceiver(s) in all the interfaces.

Description

Use the display transceiver manuinfo command to display part of the electrical label information of a single or all H3C customized anti-spoofing pluggable transceivers.

Examples

# Display the electrical label information of the H3C customized anti-spoofing pluggable transceiver plugged in interface GigabitEthernet 2/0/4.

<Sysname> display transceiver manuinfo interface gigabitethernet 2/0/4

GigabitEthernet2/0/4 transceiver manufacture information:

  Manu. Serial Number  : 213410A0000054000251

  Manufacturing Date   : 2006-09-01

  Vendor Name          : H3C

Table 1-9 display transceiver manuinfo command output description

Field

Description

Manu. Serial Number

Serial number generated during debugging and testing of the customized transceivers

Manufacturing Date

Debugging and testing date. The date takes the value of the system clock of the computer that performs debugging and testing.

Vendor Name

Name of vendor who customizes the transceiver, that is, H3C.

 

loadsharing enable

Syntax

loadsharing enable

undo loadsharing enable

View

System view

Default Level

2: System level

Parameters

None

Description

Use the loadsharing enable command to enable the load sharing function of the system.

Use the undo loadsharing enable command to disable the load sharing function of the system.

By default, the system load sharing function is disabled.

l          When the system load sharing function is enabled, the active SRPU and the standby SRPU share the traffic that needs inter-board forwarding.

l          When the system load sharing function is disabled, only the active SRPU forwards the traffic that needs inter-board forwarding.

 

l          Load sharing is applicable to unicast traffic only.

l          The S7502E switches are designed to work in the load sharing mode, and do not support the command.

 

Examples

# Enable the load sharing function of the system.

<Sysname> system-view

System View: return to User View with Ctrl+Z.

[Sysname] loadsharing enable

monitor handshake-timeout disable-port

Syntax

monitor handshake-timeout disable-port

undo monitor handshake-timeout disable-port

View

System view

Default Level

2: System level

Parameters

None

Description

Use the monitor handshake-timeout disable-port command to enable the port down function globally. With this function enabled, if the SRPU is plugged out or reboots abnormally, all service ports will be down immediately.

Use the undo monitor handshake-timeout disable-port command to disable the function.

By default, the port down function is disabled.

Examples

# Enable the port down function globally

<Sysname> system-view

System View: return to User View with Ctrl+Z.

[Sysname] monitor handshake-timeout disable-port

Open port-down function in slot 1 !

Open port-down function in slot 2 !

Open port-down function in slot 3 !

mmu-monitor enable

Syntax

mmu-monitor enable slot-number

undo mmu-monitor enable slot-number

View

System view

Default Level

2: System level

Parameters

slot-number: Slot number of a board. The value range varies with devices.

Description

Use the mmu-monitor enable command to enable expansion memory data recovery function on a board. After this function is enabled, data monitoring of the expansion memory on the specified EA LPU or LSQ1SRP1CB SRPU is performed. When data error occurs, data recovery will start automatically.

Use the undo mmu-monitor enable command to disable the function.

By default, data recovery function of the expansion memory is enabled.

Examples

# Disable the expansion memory data recovery function on the EA LPU in slot 1.

<Sysname> system-view

System View: return to User View with Ctrl+Z.

[Sysname] undo mmu-monitor enable 1

 

reboot

Syntax

reboot [ slot slot-number ]

View

User view

Default Level

2: System level

Parameters

slot slot-number: Specifies the slot number of a board. The value range varies with devices.

Description

Use the reboot command to reboot a board, or the whole system.

 

l          If you do not specify the slot keyword, or reboot the active main board, the execution of the reboot command results in the reboot of the whole device.

l          Device reboot may result in the interruption of the ongoing services. Be careful to use these commands.

l          If a main boot file fails or does not exist, the device cannot be rebooted with this command. In this case, you can re-specify a main boot file to reboot the device, or you can power off the device, then power it on and the system automatically uses the backup boot file to restart the device.

l          If you are performing file operations when the device is to be rebooted, the system does not execute the command for the sake of security.

 

Examples

# If the current configuration does not change, reboot the device.

<Sysname> reboot

 Start to check configuration with next startup configuration file, please wait.........DONE!

 This command will reboot the device. Continue? [Y/N]:y

Starting......

# If the current configuration changes, reboot the device.

<Sysname> reboot

 Start to check configuration with next startup configuration file, please wait.........DONE!

 This command will reboot the device. Current configuration will be lost in next startup if you continue. Continue? [Y/N]:y

Starting......

reset unused porttag

Syntax

reset unused porttag

View

User view

Default Level

1: Monitor level

Parameters

None

Description

Use the reset unused porttag command to clear the 16-bit index saved but not used in the current system.

A confirmation is required when you carry out this command. If you fail to make a confirmation within 30 seconds or enter “N” to cancel the operation, the command will not be carried out.

Examples

# Clear the 16-bit index saved but not used in the current system.

<Sysname> reset unused porttag

Current operation will delete all unused port tag(s). Continue? [Y/N]:y

<Sysname>

schedule job

Syntax

schedule job { at time1 [ date ] | delay time2 } view view command

undo schedule job

View

User view

Default Level

3: Manage level

Parameters

at time1 [ date ]: Specifies the execution time of a specified command.

l          time1: Execution time of the command, in the format of hh:mm (hour/minute). The hh value ranges from 0 to 23, and the mm value ranges from 0 to 59. The value of hh:mm cannot exceed 23:59.

l          date: Execution date of the command, in the format of MM/DD/YYYY (month/day/year) or YYYY/MM/DD (year/month/day). The YYYY value ranges from 2000 to 2035, the MM value ranges from 1 to 12, and the DD value range depends on a specific month.

delay time2: Specifies the execution waiting time of a specified command. time2 represents the waiting time, which can be in the following format:

l          hh:mm (hour/minute): The hh value ranges from 0 to 720, and the mm value ranges from 0 to 59. The value of hh:mm cannot exceed 720:00.

l          mm (minute): It ranges from 0 to 432000, with 0 indicating that a command is executed immediately without any delay.

view view: Specifies the view in which a command is executed. view represents the view name, and it takes the following values at present:

l          shell, represents user view.

l          system, represents system view.

command: The command string to be automatically executed at the scheduled time.

Description

Use the schedule job command to automatically execute a specified command at the scheduled time.

Use the undo schedule job command to remove the configuration.

Note the following:

l          If you provide both the time1 and date arguments, the execution time must be a future time.

l          If you only provide the time1 argument, when time1 is earlier than the current system time, the specified command is executed at time1 of the next day; when time1 is later than the current system time, the specified command is executed at time1 of the current day.

l          No matter whether you use the at or delay keyword, the difference between the execution time of a command and the current system time cannot exceed 720 hours (namely, 30 days).

l          At present, you can specify only user view and system view. To automatically execute the specified commands in other views or automatically execute multiple commands at a time, you can configure the system to automatically execute a batch file at a specified time (note that you must provide a complete file path for the system to execute the batch file.).

l          The system does not check the view and command arguments. Therefore, ensure the correctness of the command argument (including the correct format of command and the correct relationship between the command and view arguments.).

l          After the specified automatic execution time is reached, the system executes the specified commands without displaying any information except system information such as log, trap and debug.

l          When the system is executing the specified command, you do not need to input any information. If there is information for you to confirm, the system automatically inputs Y or Yes; if certain characters need to be input, the system automatically inputs a default character string, and inputs an empty character string when there is no default character string.

l          For the commands used to switch user interfaces, such as telnet, ftp, and ssh2, the commands used to switch views, such as system-view, quit and interface ethernet, and the commands used to modify status of the user that is executing commands, such as super, the operation interface, command view and status of the current user are not changed after the automatic execution function is performed.

l          If you modify the system time after the automatic execution function is configured, the scheduled automatic execution configuration turns invalid automatically.

l          Only the latest configuration takes effect if you execute the schedule job command repeatedly.

l          This feature does not support the active main board (AMB) and standby main board (SMB) switchover function. That is, after this feature is configured on the AMB, the configuration is not backed up to the SMB.

Examples

# Configure that the device will execute the batch file 1.bat in system view in 60 minutes (supposing that the current time is 11:43).

<Sysname> schedule job delay 60 view system execute 1.bat

Info: Command execute 1.bat in system view will be executed at 12:43 10/31/2007 (in 1 hours and 0 minutes).

# Configure that the device will execute the batch file 1.bat in system view at 12:00 in the current day (supposing that the current time is 11:43).

<Sysname> schedule job at 12:00 view system execute 1.bat

Info: Command execute 1.bat in system view will be executed at 12:00 10/31/2007 (in 0 hours and 16 minutes).

schedule reboot at

Syntax

schedule reboot at hh:mm [ date ]

undo schedule reboot

View

User view

Default Level

3: Manage level

Parameters

hh:mm: Reboot time of a device, in the format of hh:mm (hours:minutes). The value of the hh argument ranges from 0 to 23, and the value of the mm argument ranges from 0 to 59.

date: Reboot date of a device, in the format mm/dd/yyyy (month/day/year) or in the format yyyy/mm/dd (year/month/day) The yyyy value ranges from 2000 to 2035, the mm value ranges from 1 to 12, and the dd value depends on a specific month.

Description

Use the schedule reboot at command to enable the scheduled reboot function and specify a specific reboot time and date.

Use the undo schedule reboot command to disable the scheduled reboot function.

By default, the scheduled reboot function is disabled.

There are two cases if no specific reboot date is specified:

l          When the specified reboot time is later than the current time, the device will be rebooted at the reboot time of the current day.

l          When the specified reboot time is earlier than the current time, the device will be rebooted at the reboot time the next day.

l          If you are performing file operations when the device is to be rebooted, the system does not execute the command for the sake of security.

Note that:

l          The precision of the device timer is 1 minute. One minute before the reboot time, the device will prompt “REBOOT IN ONE MINUTE” and will be rebooted in one minute.

l          The difference between the reboot date and the current date cannot exceed 30 x 24 hours (namely, 30 days).

l          After you execute the above command, the device will prompt you to confirm the configuration. You must enter <Y> or <y> to make the configuration take effect. The original configuration will be overwritten at the same time.

l          If a date (month/day/year or year/month/day) later than the current date is specified for the schedule reboot at command, the device will be rebooted at the reboot time.

l          If you use the clock command after the schedule reboot at command to adjust the system time, the reboot time set by the schedule reboot at command will become invalid.

 

This command reboots the device in a future time, thus resulting in service interruption. Please use it with caution.

 

Examples

# Configure the device to reboot at 12:00 AM (supposing that the current time is 11:43).

<Sysname> schedule reboot at 12:00

Reboot system at 12:00 06/06/2006(in 0 hour(s) and 16 minute(s))

confirm? [Y/N]:

# If you have used the terminal logging command to enable the log display function on the terminal before setting a reboot time, the system will automatically display related log information after you enter <y>. By default, the log display function is enabled.

<Sysname>

%Jun  6 11:43:11:629 2006 Sysname CMD/5/REBOOT:

vty0(192.168.1.54): Set schedule reboot parameters at 11:43:11 06/06/2006, and system will reboot at 12:00 06/06/2006.

schedule reboot delay

Syntax

schedule reboot delay { hh:mm | mm }

undo schedule reboot

View

User view

Default Level

3: Manage level

Parameters

hh:mm: Device reboot wait time, in the format of hh:mm (hours:minutes). The value of the hh argument ranges from 0 to 720, and the value of the mm argument ranges from 0 to 59, and the value of the hh:mm argument cannot exceed 720:00.

mm: Device reboot wait time in minutes, in the range of 0 to 43,200.

Description

Use the schedule reboot delay command to enable the scheduled reboot function and set a reboot wait time.

Use the undo schedule reboot command to disable the scheduled reboot function.

By default, the scheduled reboot function is disabled.

Note that:

l          The reboot wait time can be in the format of hh:mm (hours:minutes) or mm (absolute minutes). The absolute minutes cannot exceed 30 x 24 x 60 minutes, namely, 30 days.

l          The precision of the device timer is 1 minute. One minute before the reboot time, the device will prompt “REBOOT IN ONE MINUTE” and will be rebooted in one minute.

l          After you execute the above command, the device will prompt you to confirm the configuration. You must enter <Y> or <y> to make the configuration take effect. The original configuration will be overwritten at the same time.

l          If you use the clock command after the schedule reboot delay command to adjust the system time, the reboot wait time set by the schedule reboot delay command will become invalid.

l          If you are performing file operations when the device is to be rebooted, the system does not execute the command for the sake of security.

 

This command reboots the device after the specified delay time, thus resulting in service interruption. Please use it with caution.

 

Examples

# Configure the device to reboot in 88 minutes (supposing the current time is 11:48).

<Sysname> schedule reboot delay 88

Reboot system at 13:16 06/06/2006 in 1 hour(s) and 28 minute(s))

confirm? [Y/N]:

# If you have used the terminal logging command to enable the log display function on the terminal before setting a reboot time, the system will automatically display related log information after you enter <y>. By default, the log display function is enabled on the terminal.

<Sysname>

%Jun  6 11:48:44:860 2006 Sysname CMD/5/REBOOT:

vty0(192.168.1.54): Set schedule reboot parameters at 11:48:44 06/06/2006, and system will reboot at 13:16 06/06/2006.

shutdown-interval

Syntax

shutdown-interval time

undo shutdown-interval

View

System view

Default Level

2: System level

Parameters

time: Detection interval in seconds, in the range of 1 to 300.

Description

Use the shutdown-interval command to set a detection interval.

Use the undo shutdown-interval command to restore the default.

By default, the detection interval is 30 seconds.

Note that:

l          If a protocol module such as the operation, administration and maintenance (OAM) module detects an exception on a port (for example, signal loss of the link on the peer end), the port will be closed automatically, without execution of the shutdown command. You can set the automatic recovery time of the port by using the shutdown-interval command.

l          The shutdown-interval command helps you to dynamically set a detection interval to cooperate with the OAM module.

l          If you change the detection interval to T1 during interface detection, the interval from when you change the interval to the time when detection starts is T. If T<T1, the interface which is down will be brought up after T1-T time; if T>=T1, the interface which is down will be brought up immediately.

Examples

# Set the detection interval to 100 seconds.

<Sysname> system-view

[Sysname] shutdown-interval 100

strict-standby enable

Syntax

strict-standby enable

undo strict-standby enable

View

System view

Default Level

2: System level

Parameters

None

Description

Use the strict-standby enable command to enable active/standby mode for service ports on SRPUs.

Use the undo strict-standby enable command to disable active/standby mode for service ports on SRPUs.

 

The active/standby mode of service ports is only applicable when the S7503E, S7506E, S7506E-V, or S7510E switch uses LSQ1SRP2XB or LSQ1SRP12GB to operate in dual-SRPU mode.

 

Examples

# Enable active/standby mode for service ports on SRPUs.

<Sysname> system-view

[Sysname] strict-standby enable

switch-mode (for SRPU)

Syntax

When the SRPU is LSQ1SRP1CB:

switch-mode { l2-enhanced | standard-bridging | standard-routing }

undo switch-mode

When the SRPU is LSQ1SRP2XB, LSQ1SRPB, or LSQ1MPUA:

switch-mode { l2-enhanced | standard }

undo switch-mode

View

System view

Default Level

2: System level

Parameters

l2-enhanced: Indicates the enhanced Layer 2 forwarding mode with the MAC extension function when the SRPU is LSQ1SRP1CB, and the enhanced Layer 2 forwarding mode when the SRPU is LSQ1SRP2XB, LSQ1SRPB, or LSQ1MPUA.

standard: Indicates the standard forwarding mode.

standard-bridging: Indicates the standard forwarding mode with the MAC extension function.

standard-routing: Indicates the standard forwarding mode with the route extension function.

Description

Use the switch-mode command to configure the traffic forwarding mode of an SRPU.

Use the undo switch-mode command to restore the default traffic forwarding mode of the SRPU.

l          The default traffic forwarding mode of LSQ1SRP1CB is standard-routing.

l          The default traffic forwarding mode of LSQ1SRP2XB, LSQ1SRPB, or LSQ1MPUA is standard.

 

To make the configured forwarding mode take effect, you need to save the configuration and restart the switch.

 

Examples

# Configure the traffic forwarding mode of the SRPU (LSQ1MPUA) as the enhanced Layer 2 forwarding mode.

<Sysname> system-view

[Sysname] switch-mode l2-enhanced

# Restore the default traffic forwarding mode of the SRPU.

<Sysname> system-view

[Sysname] undo switch-mode

switch-mode (for LPU)

Syntax

switch-mode { bridging | routing } slot slot-num

undo switch-mode slot slot-num

View

System view

Default Level

2: System level

Parameters

bridging: Indicates the MAC extension mode.

routing: Indicates the route extension mode.

slot-num: Number of the slot where the LPU resides.

Description

Use the switch-mode command to configure the working mode of an EA LPU.

Use the undo switch-mode command to restore the default working mode of the EA LPU.

By default, the working mode of an EA LPU is determined by the SRPU model and the current traffic forwarding mode of the SRPU. Refer to Table 1-10 for details.

Table 1-10 Default working mode of EA LPUs

nSRPU model

Current traffic forwarding mode of the SRPU

Default working mode of EA LPUs

LSQ1SRP2XB, LSQ1SRPB, LSQ1MPUA

l2-enhanced or standard

routing

LSQ1SRP1CB

l2-enhanced or standard-bridging

bridging

standard-routing

routing

 

l          When the SRPU of the S7500E switch is LSQ1SRP1CB, it is recommended not to modify the default working mode the EA LPUs.

l          When the SRPU of the S7500E switch is LSQ1SRP2XB, LSQ1SRPB, or LSQ1MPUA, if an EA LPU is connected to a Layer 2 forwarding network with a large number of MAC addresses, you can configure the EA LPU to work in the MAC extension mode.

l          To make the configured working mode take effect, you need to save the configuration and restart the switch.

 

Examples

# Configure the working mode of the EA LPU on slot 2 of the S7502E switch as the MAC extension mode.

<Sysname> system-view

[Sysname] switch-mode bridging slot 2

# Restore the default working mode of the EA LPU on slot 2 of the S7502E switch.

<Sysname> system-view

[Sysname] undo switch-mode slot 2

 

temperature-limit

Syntax

temperature-limit slot-number lower-value upper-value

undo temperature-limit slot-number

View

System view

Default Level

2: System level

Parameters

slot-number: Slot number.

lower-value: Lower temperature limit in Celsius degrees, in the range 0°C to 70°C (32°F to 158°F).

upper-value: Upper temperature limit in Celsius degrees, in the range 20°C to 90°C (68°F to 194°F).Description

Use the temperature-limit command to set the temperature alarm threshold on a board.

Use the undo temperature-limit command to restore the temperature alarm threshold to the default.

By default, the temperature alarm thresholds for a board are as follows:

l          Upper limit: 80°C (176°F)

l          Lower limit: 0°C (32°F)

 

The upper-value argument must be bigger than the lower-level argument.

 

Examples

# Set the lower temperature limit on board 1 to 10 Celsius degrees and the upper temperature limit to 75 Celsius degrees.

<Sysname> system-view

[Sysname] temperature-limit 1 10 75

Setting temperature limit succeeded.

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网