Cisco Systems IOS XR Laptop User Manual


 
Implementing Static Routes on Cisco IOS XR Software
How to Implement Static Routes on Cisco IOS XR Software
RC-252
Cisco IOS XR Routing Configuration Guide
3. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
route {ipv4 | ipv6} {unicast | multicast}
prefix mask
{
ip-address
|
interface-type
interface-instance
} [
distance
] [tag
tag
]
[permanent]
Example:
RP/0/RP0/CPU0:router(config)# route ipv6
unicast 2001:0DB8::/32 2001:0DB8:3000::1 201
In this example, a floating static IPv6 route is being
configured. An administrative distance of 201 is configured
Default administrative distances are as follows:
Connected interface—0
Static route—1
Step 3
end
or
commit
Example:
RP/0/RP0/CPU0:router(config)# end
or
RP/0/RP0/CPU0:router(config)# 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.