The CLI show commands can be used in the MD-CLI as well as in the classic CLI, in the following ways:
use /show or show (while in the operational root []) in the MD-CLI engine
use show in the classic CLI engine
(ex)[/]
A:admin@node-2# show port port-id 1/1/1 description
===============================================================================
Port Descriptions on Slot 1
===============================================================================
Port Id Description
-------------------------------------------------------------------------------
1/1/1 10-Gig Ethernet
===============================================================================
(ex)[/]
A:admin@node-2# configure router
(ex)[/configure router "Base"]
A:admin@node-2# show port port-id 1/1/1 description
^^^^
MINOR: MGMT_CORE #2201: Unknown element - 'show'
(ex)[/configure router "Base"]
A:admin@node-2# /show port port-id 1/1/1 description
===============================================================================
Port Descriptions on Slot 1
===============================================================================
Port Id Description
-------------------------------------------------------------------------------
1/1/1 10-Gig Ethernet
===============================================================================
Output modifiers (match, count, and no-more) can also be used with the show command. See Using Output Modifiers in the MD-CLI.
Classic CLI commands that are accessible in the MD-CLI show outputs of the same information and provide the same functionality in the MD-CLI as they do in the classic CLI. No additional outputs or enhancements are included in the MD-CLI.
The following classic CLI show commands are not available in the MD-CLI:
show alias
show bof (use the MD-CLI admin show configuration command or the info command in the bof configuration region instead)
show config (use the MD-CLI admin show configuration command or the info command in the configure configuration region instead)
show debug
show system candidate
show system rollback