network-slice data-plane

Function

The network-slice command configures an affinity-based network slice ID for an interface.

The network-slice data-plane or network-slice flex-channel command configures a network slice ID for an interface.

The undo network-slice command deletes the network slice ID configured on an interface.

By default, no network slice ID is configured for an interface.

Format

network-slice slice-id

network-slice slice-id { data-plane | flex-channel flex-channel-value }

undo network-slice slice-id [ data-plane | flex-channel flex-channel-value ]

Parameters

Parameter Description Value
slice-id

Specifies the network slice ID of an interface.

The value is an integer ranging from 0 to 4294967295.

flex-channel flex-channel-value

Specifies the bandwidth, in Mbit/s.

The value is an integer ranging from 1 to 4294967295.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
netslicing write

Usage Guidelines

Usage Scenario

Network slicing can logically divide a physical network into multiple network slices to flexibly and quickly meet diversified network requirements of various vertical industries.

Network slicing interfaces are classified into basic interfaces and slice interfaces. After a network slice ID is configured for an interface, the interface is a slice interface. When traffic is diverted to a basic interface, the local device searches for a slice interface with the same ID on the basic interface based on the network slice ID carried in the packet and forwards the packet through the corresponding slice interface.

Precautions

The rules for configuring slice IDs on an interface are as follows:

  1. Before configuring a network slice ID for an interface, you must configure a global network slice instance. Before performing deletion, you must specify a network slice ID.
  2. To configure a network slice ID for an interface with parameters, you must enable IPv6 first. When an interface functions as a basic interface, you need to configure a global IPv6 address on the interface. When the interface functions as a slice interface and the interface type is FlexE, the basic-slice command is mutually exclusive with the command used for configuring a global IPv6 address on the interface.
  3. If the network-slice data-plane or network-slice flex-channel command is run for non-FlexE interfaces that belong to the same main interface, configured slice IDs must be different.
  4. If the network-slice data-plane or network-slice flex-channel command is run for FlexE interfaces with the same group ID, configured slice IDs must be different.

The rules for configuring the slice ID on an interface are as follows:

  1. Before configuring a network slice ID for an interface, you must configure a global slice instance and specify a network slice ID when deleting a network slice instance.
  2. IPv6 must be enabled before configuring a network slice ID with parameters on an interface.
  3. If the network-slice data-plane or network-slice flex-channel command is configured on the same main interface range, the value of the slice-id parameter must be different.

Example

# Set the network slice ID without parameters on GE 0/1/0 to 10.
<HUAWEI> system-view
[~HUAWEI] network-slice instance 10
[*HUAWEI-network-slice-instance-10] quit
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] network-slice 10
# Set the network slice ID with parameters on GE 0/1/0 to 10.
<HUAWEI> system-view
[~HUAWEI] network-slice instance 10
[*HUAWEI-network-slice-instance-10] quit
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ipv6 address 2001:DB8:1::1 32
[*HUAWEI-GigabitEthernet0/1/0] network-slice 10 flex-channel 10
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >