< Home

filter-lsa-out peer

Function

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

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

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

Format

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

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.

-
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.
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 routers, you can configure the local router to filter the outgoing LSAs on the specified link. This can reduce unnecessary LSA retransmission attempts and save bandwidth resources.

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. The network type has been changed to the P2MP by 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 router to filter the outgoing LSAs on the specified OSPF interface by using the ospf filter-lsa-out command.

Example

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

<sysname> system-view 
[sysname] ospf 1
[sysname-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 >