Chapter 5
Setup and Configuration
Section 5.21.4
Managing Prefix Lists and Entries
Neighbors can be associated with prefix lists, which allow the OSPF daemon to filter incoming or outgoing routes
based on the allow and deny entries in the prefix list.
The following sections describe how to configure and manage prefix lists and entries for dynamic OSPF routes:
•
Section 5.21.4.1, "Viewing a List of Prefix Lists"
•
Section 5.21.4.2, "Viewing a List of Prefix Entries"
•
Section 5.21.4.3, "Adding a Prefix List"
•
Section 5.21.4.4, "Adding a Prefix Entry"
•
Section 5.21.4.5, "Deleting a Prefix List"
•
Section 5.21.4.6, "Deleting a Prefix Entry"
Section 5.21.4.1
Viewing a List of Prefix Lists
To view a list of prefix lists for dynamic OSPF routes, type:
• For Standard OSPF Routes
routing ospf filter prefix-list
• For VRF Routes via OSPF
routing ospf vrf vrf filter prefix-list
Where:
• vrf is the name of the chosen VRF
If prefix lists have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config routing ospf filter prefix-list | tab
NAME
-------------------------------------------------------------------------
list-permit-lan-22
list-withdraw-lan-11
!
If no prefix lists have been configured, add lists as needed. For more information, refer to
"Adding a Prefix
List".
Section 5.21.4.2
Viewing a List of Prefix Entries
To view a list of entries for dynamic OSPF, OSPF, or OSPF prefix lists, type:
• For Standard OSPF Routes
routing ospf filter prefix-list name entry
362
DESCOSPFTION
SEQ
ACTION
-
100
permit
-
100
permit
200
permit
SUBNET
LE
192.168.33.0/24
-
-
192.168.33.0/24
-
-
192.168.33.0/24
32
-
RUGGEDCOM ROX II
CLI User Guide
GE
Section 5.21.4.3,
Managing Prefix Lists and Entries