active port-slicing

Function

The active port-slicing command activates the port slicing license in batches on the device.

The undo activeport-slicing command deactivates the port slicing license in batches on the device.

By default, the port slicing license is not activated on the device.

Format

active port-slicing slot slot-id card card-id port port-list

undo active port-slicing slot slot-id card card-id [ port port-list ]

Parameters

Parameter Description Value
card card-id

Specifies the ID of the subcard in a specified slot.

The value is an integer that ranges from 0 to 4294967295.

port port-list

Specifies the port list mapped to the license type on a subcard.

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

slot slot-id

Specifies a slot ID.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

License view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
license write

Usage Guidelines

Usage Scenario

Run the active port-slicing command to activate the port slicing license first. To deactivate the port slicing license, run the undo active port-slicing command. You can deactivate a license of a specific interface. If you do not specify an interface when deactivating a license, all the licenses on the board in the slot are deactivated.

Prerequisites

Before deactivating the port slicing license, the undo mode channel enable command has been run to cancel the channelized sub-interface configuration.

The undo flexethmode enable port command has been run to switch the interface from the FlexE mode to the standard Ethernet mode.

Before configuring the FlexE port license, the license file on the master main control board has been activated using the license active file-name command.

Configuration Impact

After the command is configured, if the license resources are insufficient, the port slicing function may not be activated on some interfaces, and the status of these interfaces is allocate.

Example

# Activate the port slicing license on a router.
<HUAWEI> system-view
[~HUAWEI] license
[~HUAWEI-license] active port-slicing slot 1 card 7 port 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >