< Home

filter-lsa-out peer

Function

The filter-lsa-out peer command configures a switch to filter the LSAs that are sent by specified neighbors on a P2MP network.

The undo filter-lsa-out peer command cancels the configuration.

By default, the LSAs that are sent by specified neighbors on a P2MP network are not filtered.

Format

filter-lsa-out peer ip-address { all | { summary [ acl { acl-number | acl-name } ] | ase [ acl { acl-number | acl-name } ] | nssa [ acl { acl-number | acl-name } ] } * }

undo filter-lsa-out peer ip-address

Parameters

Parameter Description Value
ip-address

Specifies the IP address of a P2MP neighbor. This parameter is configured by the neighbor using the ip address command.

The value is in dotted decimal notation.
all Filters all the outgoing LSAs except Grace LSAs. -
summary Filters the outgoing network summary LSAs (Type 3). -
acl acl-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl acl-name Specifies the name of a named ACL. The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.
ase Filters the outgoing AS external LSAs (Type 5). -
nssa Filters the outgoing NSSA LSAs (Type 7). -

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a P2MP network, when multiple P2MP links exist between two devices, you can configure the local device to filter the outgoing LSAs on the specified link. This reduces unnecessary LSA retransmission attempts and saves bandwidth resources.

For an ACL, when the rule command is used to configure filtering rules, only the source address range that is specified by the source parameter and the period of time that is specified by the time-range parameter take effect.

Prerequisites

OSPF does not regard a network as a P2MP network by default regardless of any link layer protocol. A P2MP network is forcibly changed from the network of another type using the ospf network-type p2mp command.

Configuration Impact

This command is valid for all the interfaces of the OSPF process.

Follow-up Procedure

Configure a device to filter the outgoing LSAs on the specified OSPF interface by using the ospf filter-lsa-out command.

Example

# On a P2MP network, configure a switch to filter all the LSAs (except Grace LSAs) sent to neighbor 10.1.1.1.

<HUAWEI> system-view
[HUAWEI] ospf 1
[HUAWEI-ospf-1] filter-lsa-out peer 10.1.1.1 all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >