Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
3-24
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 3 Configuring OSPFv2
Configuring Advanced OSPFv2
This example shows how to configure a filter list in area 0.0.0.10:
switch# configure terminal
switch(config)# router ospf 201
switch(config-router)# area 0.0.0.10 filter-list route-map FilterLSAs in
switch(config-router)# copy running-config startup-config
Configuring Stub Areas
You can configure a stub area for part of an OSPFv2 domain where external traffic is not necessary. Stub
areas block AS External (type 5) LSAs, limiting unnecessary routing to and from selected networks. See
the “Stub Area” section on page 3-8. You can optionally block all summary routes from going into the
stub area.
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv2 Feature” section on
page 3-13).
Ensure that there are no virtual links or ASBRs in the proposed stub area.
SUMMARY STEPS
1. configure terminal
2. router ospf instance-tag
3. area area-id stub
4. (Optional) area area-id default-cost cost
5. (Optional) show ip ospf instance-tag
6. (Optional) copy running-config startup-config
Step 4
show ip ospf policy statistics area id
filter-list {in | out}
Example:
switch(config-if)# show ip ospf policy
statistics area 0.0.0.10 filter-list in
(Optional) Displays OSPF policy information.
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose