some CLI command

Announcements

ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.

Reply
Highlighted
L2 Linker

some CLI command

One requirment is :  infos need come from CLI ( not GUI) , PLs advise :

1. We can view all admin-accout infos (name,role etc.) in GUI Device->Administrators , what's CLI cmd could show these list ?

2. Web console or CLI console login  timeout value --how to show and set ? 

3. SNMP setting show ?

Thanks

Jeff

Tags (1)

Accepted Solutions
Highlighted
L6 Presenter

You need to enter the configure mode and execute the following:

admin@lab-85-PA-2050(active-primary)> configure

1) admin@lab-85-PA-2050(active-primary)# show mgt-config users 'user' permissions role-based

   custom            custom

   deviceadmin    deviceadmin

   devicereader   devicereader

   <Enter>            Finish input

2) admin@lab-85-PA-2050(active-primary)# set deviceconfig setting management idle-timeout  0        never  <value>  <1-1440>

3) admin@lab-85-PA-2050(active-primary)# show deviceconfig system snmp-setting  access-setting   access-setting  snmp-system      snmp-system  <Enter>          Finish input

View solution in original post


All Replies
Highlighted
L6 Presenter

You need to enter the configure mode and execute the following:

admin@lab-85-PA-2050(active-primary)> configure

1) admin@lab-85-PA-2050(active-primary)# show mgt-config users 'user' permissions role-based

   custom            custom

   deviceadmin    deviceadmin

   devicereader   devicereader

   <Enter>            Finish input

2) admin@lab-85-PA-2050(active-primary)# set deviceconfig setting management idle-timeout  0        never  <value>  <1-1440>

3) admin@lab-85-PA-2050(active-primary)# show deviceconfig system snmp-setting  access-setting   access-setting  snmp-system      snmp-system  <Enter>          Finish input

View solution in original post

Highlighted
L2 Linker

about 2)

How to show current value ?

Highlighted
L6 Presenter

Once configured, enter the following command:

admin@lab-85-PA-2050(active-primary)# show deviceconfig setting management

management {  idle-timeout 10;}[edit]

admin@lab-85-PA-2050(active-primary)#

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!