location

Use location to authorize an MDC to use an interface card.

Use undo location to cancel the authorization.

Syntax

In standalone mode:

location slot slot-number

undo location slot slot-number

In IRF mode:

location chassis chassis-number slot slot-number

undo location chassis chassis-number slot slot-number

Default

All interface cards of the device belong to the default MDC. A non-default MDC cannot use any interface cards.

Views

MDC view

Predefined user roles

network-admin

mdc-admin

Parameters

slot slot-number: Specifies an interface card. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies an interface card on an IRF member device. (In IRF mode.)

Usage guidelines

To assign physical interfaces to an MDC, you must authorize the MDC to use the interface cards to which the physical interfaces belong.

You can enter different MDC views to authorize multiple MDCs to use the same interface card.

If you configure this command and then remove the interface card, save the running configuration, and reboot the device, the configuration is removed. You must configure this command again.

Examples

# (In standalone mode.) Authorize MDC sub1 to use the interface card in a slot.

<Sysname> system-view
[Sysname] mdc sub1
[Sysname-mdc-2-sub1] location slot 2