protocol packet process-fail

Function

The protocol packet process-fail passthrough command configures a python script to use the original packet when it fails to modify information in a packet.

The undo protocol packet process-fail command cancels the configuration.

By default, a python script directly discards a packet when it fails to modify information in the packet.

This command is supported only on the NetEngine 8000 F1A.

Format

protocol protocol-type packet process-fail passthrough

undo protocol protocol-type packet process-fail [ passthrough ]

Parameters

Parameter Description Value
protocol-type

Specifies a protocol type.

The value is a string of characters, which can be radius, dhcp, or diameter. Currently, only radius is supported.

Views

Python policy template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

When a python script fails to modify information in a packet, the default processing policy is to discard the packet without processing it. To configure a python script to use the original packet when it fails to modify information in a packet, run the protocol packet process-fail passthrough command so that packet information will not be lost and services are not affected.

Example

# Configure a python script to use the original packet when it fails to modify information in the packet.
<HUAWEI> system-view
[~HUAWEI] access python-policy test1
[~HUAWEI-python-policy-test1] protocol radius packet process-fail passthrough
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >