< Home

lspv packet-filter

Function

The lspv packet-filter command enables the filtering of MPLS Echo Request packets based on source addresses. Filtering rules are defined in ACL configurations.

The undo lspv packet-filter command disables the filtering of MPLS Echo Request packets based on source addresses.

By default, the filtering of MPLS Echo Request packets based on source addresses is disabled.

Format

lspv packet-filter acl-number

undo lspv packet-filter

Parameters

Parameter Description Value
acl-number Specifies the number of an ACL. The ACL number is a decimal integer that ranges from 2000 to 3999.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The lspv packet-filter command often runs on the destination device of the LSPV check. In the case that the filtering of MPLS Echo Request packets based on source addresses is enabled, upon receiving MPLS Echo Request packets, the device matches the source addresses of the packets with a specified ACL. The packets permitted by the ACL are processed; those denied by the ACL are discarded.

Example

# Enable the filtering of the MPLS Echo Request packets based on source addresses based on ACL 2100.

<HUAWEI> system-view
[HUAWEI] lspv packet-filter 2100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >