< Home

terminal trapping

Function

The terminal trapping command enables trap display on the user terminal.

The undo terminal trapping command disables trap display on the user terminal.

By default, trap display is enabled on the user terminal.

Format

terminal trapping

undo terminal trapping

Parameters

None

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To view traps on a terminal, run the terminal trapping command to enable trap display on the user terminal.

Prerequisites

The terminal monitor command has been executed to enable display of logs, traps, and debugging message output on the user terminal.

Example

# Disable trap display on the user terminal.

<HUAWEI> undo terminal trapping
Info: Current terminal trapping is off. 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic