save attack-source-trace

Function

The save attack-source-trace linktype command saves information about attack source tracing saved in the memory as a file.

By default, the information about attack source tracing saved in the memory of an interface board does not save as a file.

Format

save attack-source-trace slot { slot-id | all } [ file filename ] linktype { ethernet | ppp | hdlc }

save attack-source-trace slot { slot-id | all } [ file filename ] linktype atm

Parameters

Parameter Description Value
all

Specifies all slot IDs.

-

file filename

Specifies the name of the file for saving information about attack source tracing.

The value is a string of 1 to 128 characters.

linktype

Linktype protocol.

-

ethernet

Ethernet protocol.

-

ppp

Specifies the PPP protocol.

-

hdlc

Specifies the link layer protocol is HDLC protocol.

-

slot slot-id

Specifies the slot ID.

The value is an integer that ranges from 1 to 31.

atm

Specifies the ATM protocol.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

linktype indicates that the system saves packets by link layer type. For example, if the PPP parameter is used, the system saves the packets encapsulated with PPP or with the link layer protocol being PPP.

In VS mode, this command is supported only by the admin VS.

Example

# Save information in the memory of the interface board in slot 1 as an ethernet file named aaa.
<HUAWEI> save attack-source-trace slot 1 file aaa linktype ethernet
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >