location
Use location to authorize an MDC to use an LPU.
Use undo location to reclaim 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 LPUs of the device belong to the default MDC. A non-default MDC cannot use any LPUs.
Views
MDC view
Predefined user roles
network-admin
mdc-admin
Parameters
slot slot-number: Specifies an LPU by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an LPU on an IRF member device by the member ID and slot number. (In IRF mode.)
Usage guidelines
You can authorize multiple MDCs to use the same LPU.
After you configure this command for an LPU, performing the following operations removes all authorization configurations for the LPU:
Remove the LPU.
Save the running configuration.
Reboot the device.
If you want to retain the LPU authorization configurations, reconfigure LPU authorization.
Examples
# In standalone mode, authorize MDC sub1 to use the LPU in slot 3.
<Sysname> system-view [Sysname] mdc Admin [Sysname-mdc-1-Admin] undo location slot 3 The configuration associated with the specified slot of MDC will be lost. Continue? [Y/N]:y [Sysname-mdc-1-Admin] quit [Sysname] mdc sub1 [Sysname-mdc-2-sub1] location slot 3
# In IRF mode, authorize MDC sub1 to use the LPU in slot 3 on IRF member device 2.
<Sysname> system-view [Sysname] mdc Admin [Sysname-mdc-1-Admin] undo location chassis 2 slot 3 The configuration associated with the specified slot of MDC will be lost. Continue? [Y/N]:y [Sysname] mdc sub1 [Sysname-mdc-2-sub1] location chassis 2 slot 3