mdc

Use mdc to create an MDC and enter MDC view. If the MDC already exists, you enter the MDC view directly.

Use undo mdc to delete an MDC.

Syntax

mdc mdc-name [ id mdc-id ]

undo mdc mdc-name

Default

There is a default MDC with the name Admin and the ID 1.

Views

System view

Predefined user roles

network-admin

Parameters

mdc-name: Specifies the MDC name, a case-sensitive string of 1 to 15 characters.

id mdc-id: Specifies the MDC ID in the range of 1 to 9. If you do not specify this option, the system assigns the lowest ID number among the available IDs to the MDC.

Usage guidelines

The default MDC is system predefined. You cannot delete it.

You can create up to eight MDCs.

To enter the view of an existing MDC, you can specify the MDC name, or specify both the MDC name and the MDC ID. If you specify both the MDC name and the MDC ID, make sure the two arguments identify the same MDC.

Delete an MDC with caution. Deleting an MDC removes all configurations and hard disk files of the MDC, and the configurations and files cannot be restored.

Examples

# Create an MDC named sub1.

<Sysname> system-view
[Sysname] mdc sub1
It will take some time to create MDC...
MDC created successfully.

Related commands

display mdc