The MD-CLI command prompt displays on two lines. The first line contains the following information:
baseline status indicator
This indicator displays an exclamation mark (!) to indicate an out-of-date baseline when in a configuration mode.
uncommitted changes indicator
This indicator displays an asterisk (*) to indicate uncommitted configuration changes when in a configuration mode.
configuration mode reference
When in a configuration mode, a configuration mode reference is displayed:
in round brackets for an explicit configuration workflow
prepended to the context, separated by a colon for an implicit configuration workflow
The configuration mode reference can be one of the following:
context
The present working context is displayed in square brackets ([]) when in operational or configuration mode.
For an explicit configuration workflow, the format of the first line is as follows:
<baseline status indicator > <uncommitted changes indicator> (<configuration mode>) [context]
(ro)[/]
(ex)[/configure router "Base" bgp]
For an implicit configuration workflow, the format of the first line is as follows:
<baseline status indicator> <uncommitted changes indicator> [<configuration mode>:context]
[ro:/configure]
*[ex:/configure]
The second line contains the following information:
CPM
The active CPM slot can be A or B on 7450 ESS and 7750 SR routers, and A,B,C, or D on 7950 XRS routers.
user
The user is the name of the current user for this session.
name
The name is the system name, as configured with the configure system name command. The system name can change dynamically during the session if it is configured to a different name.
The format of the second line is as follows:
CPM:user@name#
The following examples display the two-line prompt in different modes.
[/]
A:admin@node-2#
(ex)[/]
A:admin@node-2#
[/show router "Base" bgp]
A:admin@node-2#
(ex)[/configure router "Base" bgp]
A:admin@node-2#
*(ex)[/configure router "Base" bgp]
A:admin@node-2#
!*[pr:/configure router "Base" bgp]
A:admin@node-2#