< Home

hsb-resource map

Function

The hsb-resource map command configures HSB resource mapping information.

The undo hsb-resource map command deletes HSB resource mapping information.

By default, no HSB resource mapping is configured.

Format

hsb-resource map interface interface-type interface-number hsb-interface hsb-interface-number

undo hsb-resource map interface interface-type interface-number hsb-interface hsb-interface-number

Parameters

Parameter

Description

Value

interface interface-type interface-number

Specifies the type and number of an interface:

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

hsb-interface hsb-interface-number

Specifies the index of an HSB logical interface.

The value is an integer in the range from 1 to 512.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If the interface types and numbers on the active and standby devices are different, the standby device cannot back up interface-related entry information of the active device by default. As a result, services are interrupted after an active/standby switchover. To solve this problem, run the hsb-resource map command on the active and standby devices to configure mappings between interfaces and HSB logical interfaces. The configuration will map interfaces of the active and standby devices to the same HSB logical interface so that the standby device can back up interface-related entry information of the active device based on the mappings.

Example

# Configure mappings between interfaces and a specific HSB logical interface.

<HUAWEI> system-view
[HUAWEI] hsb-resource map interface vlanif 10 hsb-interface 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >