Basic probe commands -- view

Use view to display the contents of a file in the /proc/, /sys/, or /var/ directory.

Syntax

Centralized devices:

view file-path

Distributed devices in standalone mode:Centralized IRF devices:

view file-path [ slot slot-number ]

Distributed devices in IRF mode:

view file-path [ chassis chassis-number slot slot-number ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

file-path: Specifies a file by its path, which is case sensitive.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, the command displays the file contents for the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays the file contents for the master device. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or a specifies PEX by its virtual slot number. If you do not specify a member device or PEX, the command displays the file contents for the master device. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command displays the file contents for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. If you do not specify a card or PEX, the command displays the file contents for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 capable.)

Usage guidelines

The specified file path cannot contain file links. A file link is similar to a file shortcut and points to a file or directory. You can access a file or directory through a file link.

Basic probe commands -- list

Use list to display the subdirectory or file information in the /proc/, /sys/, or /var/ directory.

Syntax

Centralized devices:

list file-path

Distributed devices in standalone mode:Centralized IRF devices:

list file-path [ slot slot-number ]

Distributed devices in IRF mode:

list file-path [ chassis chassis-number slot slot-number ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

file-path: Specifies a subdirectory path or file path, which is case sensitive.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, the command displays the subdirectory or file information for the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, the command displays the subdirectory or file information for the master device. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. If you do not specify a member device or PEX, the command displays the subdirectory or file information for the master device. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command displays the subdirectory or file information for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. If you do not specify a card or PEX, the command displays the subdirectory or file information for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 capable.)

Usage guidelines

The file or subdirectory path specified cannot contain file links.

Basic probe commands -- probe

Use probe to enter probe view.

Syntax

probe

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

In probe view, you can use commands to view system status and information and diagnose system faults.