allocate interface

Use allocate interface to assign a physical interface to an MDC.

Use undo allocate interface to reclaim a physical interface 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 interface items. Each item specifies an interface by its type and number, or a range of interfaces in the form of interface-type start-interface-number to interface-type end-interface-number. The two interface-type arguments must have the same value. All interfaces in the range must be on the same LPU.

Usage guidelines

You can assign multiple physical interfaces to a non-default MDC. A physical interface must meet the following requirements to be assigned to a non-default MDC:

When you assign physical interfaces and LPUs to MDCs, follow these guidelines:

When you assign physical interfaces and LPUs to MDCs on an IRF fabric, also follow these guidelines:

Assigning an IRF physical interface to or reclaiming an IRF physical interface from an MDC causes the following problems:

To avoid IRF fabric split, make sure each member device always has a minimum of one IRF link in up state.

Examples

# Assign FortyGigE 1/0/1 through FortyGigE 1/0/6 to MDC sub1.

<Sysname> system-view
[Sysname] mdc sub1
[Sysname-mdc-2-sub1] allocate interface fortygige 1/0/1 to fortygige 1/0/6
Configuration of the interfaces will be lost. Continue? [Y/N]:y
Execute the location slot command in this view to make the configuration take effect.