< Home

card register-permit

Function

The card register-permit command configures a slot-to-card name mapping.

The undo card register-permit command disables the slot-to-card name mapping.

By default, the name of the card that can be installed in a specific slot is not specified. That is, any card can be installed in the slot.

Format

card register-permit card-id card-id card-name card-name

undo card register-permit card-id card-id

Parameters

Parameter Description Value

card-id card-id

Specifies the slot ID of a card.

The value is in the format of Slot ID/CARD+Card slot ID and is case-insensitive, for example, 1/CARD1.

The slot ID is in the range 0 to 8 and the card slot ID is in the range 1 to 4.

card-name card-name

Specifies the name of a card.

The value is a string of 1 to 32 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In NETCONF over SSH Callhome mode, you need to specify the name of the card that can be installed in a specific slot on iMaster NCE-Campus before registering the switch with iMaster NCE-Campus. The switch can register with iMaster NCE-Campus successfully only when the required cards are installed in their corresponding slots. If the name of the card installed in a specific slot is inconsistent with that configured on iMaster NCE-Campus, the switch will set this card to the PowerOff state.

In NETCONF over SSH mode, after enabling the NETCONF function on the switch, run the card register-permit command to specify the name of the card that can be installed in a specific slot. If the name of the card installed in a specific slot is inconsistent with the configured one, the switch will set this card to the PowerOff state. When the NETCONF function is disabled, the slot-to-card name mappings will be automatically cleared.

Example

# Specify the name of the card that can be installed on card slot 1 of the switch in slot 1 after the NETCONF function is enabled on the switch.

<HUAWEI> system-view
[HUAWEI] card register-permit card-id 1/card1 card-name ES5D21X08S00
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >