service

Invokes service commands

Supported in the following platforms:

Syntax

service [prompt|show]
service [prompt crash-info|show cli]

Parameters

service [prompt crash-info|show cli]

service prompt crash-info

Updates CLI prompt settings

  • crash-info – Includes an asterix at the end of the prompt if the device has crashfiles in flash:/crashinfo

service show cli

Displays running system information

  • cli – Displays the current mode's CLI tree

Examples

nx9500-6C8809(config-management-policy-default)#service show cli
Management Mode mode:
+-help [help]
  +-search
    +-WORD [help search WORD (|detailed|only-show|skip-show|skip-no)]
      +-detailed [help search WORD (|detailed|only-show|skip-show|skip-no)]
      +-only-show [help search WORD (|detailed|only-show|skip-show|skip-no)]
      +-skip-show [help search WORD (|detailed|only-show|skip-show|skip-no)]
      +-skip-no [help search WORD (|detailed|only-show|skip-show|skip-no)]
+-show
  +-commands [show commands]
  +-adoption
    +-log
      +-adoptee [show adoption log adoptee(|on DEVICE-NAME)]
        +-on
          +-DEVICE-NAME [show adoption log adoptee(|on DEVICE-NAME)]
      +-adopter [show adoption log adopter (|mac AA-BB-CC-DD-EE-FF)(|on DEVICE-NAME)]
        +-mac
          +-AA-BB-CC-DD-EE-FF [show adoption log adopter (|mac AA-BB-CC-DD-EE-FF)(|on DEVICE-NAME)]
            +-on
              +-DEVICE-NAME [show adoption log adopter (|mac AA-BB-CC-DD-EE-FF)(|on DEVICE-NAME)]
--More--
nx9500-6C8809(config-management-policy-default)#

Related Commands

no

Disables the inclusion of an asterix indicator notifying the presence of crash files