96
Step
Command
Remarks
3.
Set the number of
OSPF logs.
event-log
{
lsa-flush
|
peer
|
spf
}
size
count
By default, the number of OSPF logs is
10 for each type, including LSA aging
logs, route calculation logs, and
neighbor logs.
Filtering outbound LSAs on an interface
To reduce the LSDB size for the neighbor and save bandwidth, you can perform this task on an
interface to filter LSAs to be sent to the neighbor.
To filter outbound LSAs on an interface:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface
view.
interface
interface-type
interface-number
N/A
3.
Filter outbound
LSAs on the
interface.
ospf database-filter
{
all
| {
ase
[
acl
ipv4-acl-number
] |
nssa
[
acl
ipv4-acl-number
] |
summary
[
acl
ipv4-acl-number
] } * }
By default, the outbound LSAs are not
filtered on the interface.
Filtering LSAs for the specified neighbor
On an P2MP network, a router might have multiple OSPF neighbors with the P2MP type. Perform
this task to prevent the router from sending LSAs to the specified neighbor.
To filter LSAs for the specified neighbor:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
]
*
N/A
3.
Filter LSAs for the
specified neighbor.
database-filter peer ip-address
{
all
| {
ase
[
acl ipv4-acl-number
] |
nssa
[
acl ipv4-acl-number
] |
summary
[
acl ipv4-acl-number
] } * }
By default, the LSAs for the specified
neighbor are not filtered.
Configuring GTSM for OSPF
The Generalized TTL Security Mechanism (GTSM) protects the device by comparing the TTL value
in the IP header of incoming OSPF packets against a valid TTL range. If the TTL value is within the
valid TTL range, the packet is accepted. If not, the packet is discarded.
The valid TTL range is from 255 – the configured hop count
+ 1 to 255.
When GTSM is configured, the OSPF packets sent by the device have a TTL of 255.
GTSM checks OSPF packets from common neighbors and virtual link neighbors. It does not check
OSPF packets from sham link neighbors. For information about GTSM for OSPF sham links, see
MPLS Configuration Guide
.
Содержание HPE FlexNetwork 7500 series
Страница 505: ...493 Connector N A ...