Description

This article explains how to disable or enable the EX3200 and EX4200 LCD menus using a command from the CLI.

Symptoms

How to disable the LCD menus using a command on the Command Line Interface.

Solution

The LCD menu for EX Switches are enabled by default.

The LCD menus are listed as below:

{master:0}
user@switch> show chassis lcd menu
fpc0:
status-menu
status-menu vcp-status
status-menu power-status
status-menu environ-menu
status-menu show-version
maintenance-menu
maintenance-menu halt-menu
maintenance-menu system-reboot
maintenance-menu rescue-config
maintenance-menu vc-uplink-config
maintenance-menu factory-default
The following command shows how to disable the maintenance menu and similarly all the menus listed above can be disabled:
[edit]
user@switch# set chassis lcd-menu fpc 0 menu-item maintenance-menu disable;

[edit]
user@switch# show | compare
[edit chassis]
-     lcd {
-           fpc 0 maintenance-menu disable;
-      }
+     lcd-menu {
+            fpc 0 {
+                  menu-item {
+                           maintenance-menu disable;
+                       }
+                }
+ }

[edit]
user@switch#commit
commit complete

And then when the command "show chassis lcd menu" is issued the maintenance  menu does not exist.
user@switch# run show chassis lcd menu
status-menu
status-menu power-status
status-menu environ-menu
status-menu
show-version
And in the same manner the Maintenance menu will be disabled in the LCD.