How to View the Management Interface Service Settings from the CLI?

How to View the Management Interface Service Settings from the CLI?

113201
Created On 09/26/18 13:51 PM - Last Modified 06/09/23 09:05 AM


Resolution


Steps

  1. Enter Configuration mode:

    admin@lab-82-PA500> configure

    Entering configuration mode

    [edit]

  2. Run the following command to view the current Management Interface service settings:

    admin@lab-82-PA500# show deviceconfig system service

    service {

    disable-http yes;

    disable-https no;

    disable-telnet yes;

    disable-ssh no;

    disable-icmp no;

    disable-snmp no;

    }

    [edit]

    Note: The command above is useful for troubleshooting issues.  For example, if connectivity to WEB UI is lost check the setting disable-https.

  3. To change the Management Interface service settings, run the following commands:

    admin@lab-82-PA500# set deviceconfig system service

    + disable-http     disable-http

    + disable-https    disable-https

    + disable-icmp     disable-icmp

    + disable-snmp     disable-snmp

    + disable-ssh      disable-ssh

    + disable-telnet   disable-telnet

      <Enter>    Finish input

    • Enable/Disable icmp

      admin@lab-82-PA500# set deviceconfig system service disable-icmp

      no    no

      yes   yes

    • Enable/Disable http

      admin@lab-82-PA500# set deviceconfig system service disable-http

      no    no

      yes   yes

    • Enable/Disable snmp

      admin@lab-82-PA500# set deviceconfig system service disable-snmp

      no    no

      yes   yes

  4. Commit the changes to the configuration.

    admin@lab-82-PA500# commit

owner: ppatel



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CltrCAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language