some CLI command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

some CLI command

L2 Linker

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

1 accepted solution

Accepted Solutions

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

3 REPLIES 3

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

about 2)

How to show current value ?

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)#

  • 1 accepted solution
  • 2276 Views
  • 3 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!