allocate interface

Use allocate interface to assign physical interfaces to an MDC.

Use undo allocate interface to reclaim physical interfaces assigned to an MDC.

Syntax

allocate interface interface-list

undo allocate interface interface-list

Default

All physical interfaces on the device belong to the default MDC. A non-default MDC cannot use any physical interfaces.

Views

MDC view

Predefined user roles

network-admin

mdc-admin

Parameters

interface-list: Specifies a space-separated list of up to 24 interfaces. Each item specifies an interface by its type and number or a range of interfaces on the same card in the form of start-interface-type start-interface-name to end-interface-type end-interface-name. The values of the start-interface-type and end-interface-type arguments must be the same.

Usage guidelines

You can use this command multiple times to assign multiple physical interfaces to a non-default MDC.

For more information about interface assignment guidelines, see Virtual Technologies Configuration Guide.

Examples

# Assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/48 to MDC sub1.

<Sysname> system-view
[Sysname] mdc sub1
[Sysname-mdc-2-sub1] allocate interface gigabitethernet 1/0/1 to gigabitethernet 1/0/48
Configuration of the interfaces will be lost. Continue? [Y/N]:y