Configuring Network Slice Interfaces

You can configure network slice interfaces and specify the network slice instances to which they belong.

Context

Basic and network slice interfaces can be constructed on the same main interface (or FlexE interfaces in the same group). Interfaces in network slicing scenarios are classified as basic or network slice interfaces, which are defined as follows:

  • Basic interface: An address prefix is configured for route calculation. It can also be used as a network slice interface.
  • Network slice interface: No address prefix is configured, and only the network slices to which the interface belongs are specified.

After a basic interface is configured for network slicing, traffic diverted to that basic interface is forwarded through the corresponding network slice interface based on network slicing requirements.

Procedure

  1. Configure a basic interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ipv6 enable

      IPv6 is enabled on the interface.

    4. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

      A global unicast address is configured for the interface.

    5. Run ipv6 address { ipv6-address | auto } link-local

      A link-local address is configured for the interface.

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

      A slice ID is configured for the basic interface.

    7. Run commit

      The configuration is committed.

  2. Configure a network slice interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.subinterface-number

      The sub-interface view is displayed.

    3. Run vlan-type dot1q vlan-id

      The sub-interface is associated with a VLAN.

    4. Run ipv6 enable

      IPv6 is enabled on the sub-interface.

    5. Run ipv6 address { ipv6-address | auto } link-local

      A link-local address is configured for the sub-interface.

    6. Run mode channel enable

      Channelization is enabled for the sub-interface.

    7. (Optional) Run mode channel bandwidth bwvalue

      The bandwidth is configured for the channelized sub-interface.

    8. Run basic-slice slice-id

      The basic interface is configured for the network slice interface.

      The value of slice-id here must be the same as the slice ID of the basic interface. Multiple network slice interfaces that belong to the same basic interface form a network slice interface group. When forwarding an SRv6 packet, a device searches the network slice interface group corresponding to the outbound interface for the network slice interface that has the same slice ID as that in the HBH header.

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

      A slice ID is configured for the network slice interface.

      • Before configuring a slice ID for a network slice interface, you must configure a global network slice instance. When deleting a network slice interface, you must specify the slice ID.
      • Before configuring a slice ID with parameters specified for an interface, enable IPv6. If a FlexE interface functions as a basic interface, configure a global IPv6 address for this interface first. On a slice interface, the basic-slice command and the command for configuring a global IPv6 address are mutually exclusive.
      • The slice-id values configured for sub-interfaces of the same main interface cannot be the same for non-FlexE interfaces.
      • The slice-id values configured for FlexE interfaces in the same group cannot be the same.

    10. Run commit

      The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >