mdc
Use mdc to create an MDC and enter its view, or enter the view of an existing MDC.
Use undo mdc to delete an MDC.
Syntax
mdc mdc-name [ id mdc-id ]
undo mdc mdc-name
Default
A default MDC exists. The MDC name is Admin and the MDC ID is 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. The value range is 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
Delete an MDC with caution. Deleting an MDC deletes all settings and hard disk files of the MDC. The deleted settings and files cannot be restored.
The default MDC is system defined. You cannot delete it.
The switch supports a maximum of eight non-default 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.
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