H3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)

HomeSupportSwitchesH3C S7500 Switch SeriesReference GuidesCommand ReferencesH3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)
42-Hardware-Dependent Software Configuration Commands

Chapter 1  Hardware-Dependent Software Configuration Commands

1.1  Commands for Boot ROM Upgrade with App File

1.1.1  boot bootrom default

Syntax

boot bootrom default [ slot slot-number-list ]

View

User view

Parameters

slot-number-list: Specifies a slot number list of the switch. slot-number-list = { slot-number [ to slot-number ] }&<1-N>. &<1-N> means you can enter the previous parameters up to N times. For the S7506 and S7506R, N is 7; and for the S7503, N is 4.

Description

Use the boot bootrom default command to use the current startup file to upgrade the Boot ROMs.

Examples

# Use the current startup file to upgrade the Boot ROMs of all normal service cards in position.

<H3C> boot bootrom default

1.1.2  boot bootrom file-url

Syntax

boot bootrom file-url [ slot slot-number-list ]

View

User view

Parameters

file-url: Specifies the Boot ROM file path and file name in the Flash memory.

slot-number-list: Specifies a slot number list of the switch. slot-number-list = { slot-number [ to slot-number ] }&<1-N>. &<1-N> means you can enter the previous parameters up to N times. For the S7506 and S7506R, N is 7; and for the S7503, N is 4.

Description

Use the boot bootrom file-url command to use the specified App file to upgrade the Boot ROMs.

Examples

# Use the specified App file (abcd.app) to upgrade the Boot ROMs of all normal service cards in position.

<H3C> boot bootrom abcd.app

1.1.3  boot boot-loader primary

Syntax

boot boot-loader primary file-url

View

User view

Parameters

file-url: Specifies the Boot ROM file path and file name in the Flash memory.

Description

Use the boot boot-loader primary command to specify the primary startup file for next booting and use it to upgrade the Boot ROMs.

Examples

# Specify the App file abcd.app as the primary startup file for next booting and use it to upgrade the Boot ROMs.

<H3C> boot boot-loader primary abcd.app

1.2  Inter-Card Link State Adjustment Configuration Commands

1.2.1  set inlink

Syntax

set inlink { auto | fix }

View

System view

Parameters

auto: Sets the inter-card links are established in the auto negotiation mode.

fix: Sets the inter-card links are established the fix mode.

Description

Use the set inlink command to set the mode in which inter-card links are established. By default, inter-card links are established in the auto negotiation mode.

Examples

# Configure the inter-card links to be established in the fix mode.

<H3C> system-view

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

[H3C] set inlink fix

1.3  Internal Channel Monitor Commands

1.3.1  monitor inner-channel

Syntax

monitor inner-channel [ reboot-lpu | reboot-switch ]

undo monitor inner-channel [ reboot-lpu | reboot-switch ]

View

System view

Parameters

reboot-lpu: Restarts a service card.

reboot-switch: Restarts a switch.

Description

Use the monitor inner-channel command to enable the function of monitoring internal channels.

Use the undo monitor inner-channel command to disable the function of monitoring internal channels.

By default, the function of monitoring internal channels is enabled.

An internal channel refers to the interface channel between the SRPU and the service cards. The SRPU sends handshake packets to each service card every second. After receiving the handshake packets, the service cards report the result to the SRPU. In this case, the SRPU knows that the service cards are operating normally. Through this process, the SRPU can judge whether each service card in the device operates normally.

S7500 Ethernet switches support this feature. Through this feature, you can monitor internal channels.

You can also set the maximum number of times the SRPU fails to receive handshake packets. If the number of times the SRPU fails to receive handshake packets exceeds the upper limit, the switch resets the processing chip automatically. When the SRPU receives handshake packets, it resets the counter automatically.

You can also set whether to restart the service card or the switch when the number of times the SRPU fails to receive handshake packets exceeds the upper limit.

Examples

# Enable the function of monitoring internal channels

<H3C> system-view

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

[H3C] monitor inner-channel

1.3.2  monitor inner-channel

Syntax

monitor inner-channel upper-limit upper-timers

undo monitor inner-channel

View

System view

Parameters

upper-times: Specifies the upper limit.

Description

Use the monitor inner-channel upper-limit command to set the maximum number of times of monitoring internal channels.

Use the undo monitor inner-channel command to disable the function of setting the maximum number of times of monitoring internal channels.

The default value is 10.

An internal channel refers to the interface channel between the SRPU and the service cards. The SRPU sends handshake packets to each service card every second. After receiving the handshake packets, the service cards report the result to the SRPU. In this case, the SRPU knows that the service cards are operating normally. Through this process, the SRPU can judge whether each service card in the device operates normally.

S7500 Ethernet switches support this feature. Through this feature, you can monitor internal channels.

You can also set the maximum number of times the SRPU fails to receive handshake packets. If the number of times the SRPU fails to receive handshake packets exceeds the upper limit, the switch resets the processing chip automatically. When the SRPU receives handshake packets, it resets the counter automatically.

Examples

# Set the upper limit to 50.

<H3C> system-view

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

[H3C] monitor inner-channel upper-limit 50

1.4  Switch Chip Auto-reset Configuration Commands

1.4.1  monitor slot

Syntax

monitor slot slot-id enable

monitor slot slot-id disable

View

System view

Parameters

slot-id: Slot ID. The value range depends on the products (S7502: 0 to 2; S7503: 0 to 3; S7506: 0 to 6; S7506R: 0 to 7).

Description

Use the monitor slot enable command to enable switch chip auto-reset.

Use the monitor slot disable command to disable switch chip auto-reset.

By default, switch chips cannot be reset automatically when the internal channel handshake fails.

In actual application, a switch may fail to process services normally due to internal channel block or because the switch chip is busy.

The S7500 series switches support the function of resetting switch chips automatically. In case that the function of monitoring internal channels is enabled, when the internal channel handshake between a card and the backplane fails, the switch resets the switch chip automatically to resume the corresponding card.

When the function of resetting switch chips is disabled, even if the switch finds that the internal channel handshake fails, it cannot reset the switch chip automatically.

Examples

# Enable switch chip auto-reset for the card in slot 2.

<H3C> system-view

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

[H3C] monitor inner-channel

[H3C] monitor slot 2 enable

 

  • 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
新华三官网