Cisco Systems IOS XR Laptop User Manual


 
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-169
Cisco IOS XR Routing Configuration Guide
Step 5
summary-prefix
address mask
[not-advertise]
[tag
tag
]
or
summary-prefix
ipv6-prefix
/
prefix-length
[not-advertise] [tag
tag
]
Example:
RP/0/RP0/CPU0:router(config-ospf)#
summary-prefix 10.1.0.0 255.255.0.0
or
RP/0/RP0/CPU0:router(config-router)#
summary-prefix 2010:11:22::/32
(Optional) Creates aggregate addresses for OSPF.
or
(Optional) Creates aggregate addresses for OSPFv3.
This command provides external route summarization
of the non-OSPF routes.
External ranges that are being summarized should be
contiguous. Summarization of overlapping ranges from
two different routers could cause packets to be sent to
the wrong destination.
This command is optional. If you do not specify it, each
route is included in the link-state database and
advertised in LSAs.
In the OSPFv2 example, the summary address 10.1.0.0
includes address 10.1.1.0, 10.1.2.0, 10.1.3.0, and so on.
Only the address 10.1.0.0 is advertised in an external
LSA.
In the OSPFv3 example, the summary address
2010:11:22::/32 has addresses such as
2010:11:22:0:1000::1, 2010:11:22:0:2000:679:1, and
so on. Only the address 2010:11:22::/32 is advertised in
the external LSA.
Step 6
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-ospf)# end
or
RP/0/RP0/CPU0:router(config-ospf)# commit
Saves configuration changes.
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Command or Action Purpose