
2.
interface null 0
3.
Do one of the following:
•
end
•
•
commit
4.
show interfaces null 0
DETAILED STEPS
Purpose
Command or Action
Enters XR configuration mode.
configure
Example:
Step 1
RP/0/RP0/CPU0:router# configure
Enters null0 interface configuration mode.
interface null 0
Example:
Step 2
RP/0/RP0/CPU0:router#(config)# interface null 0
Saves configuration changes.
Do one of the following:
Step 3
•
end
• When you issue the
end
command, the system prompts
you to commit changes:
•
•
commit
Uncommitted changes found, commit them before
Example:
exiting(yes/no/cancel)?
[cancel]:
RP/0/RP0/CPU0:router(config-null0)# end
•
• Entering
yes
saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to XR EXEC mode.
Example:
Example:
• Entering
no
exits the configuration session and
returns the router to XR EXEC mode without
committing the configuration changes.
RP/0/RP0/CPU0:router(config-null0)# commit
• 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.
Verifies the configuration of the null interface.
show interfaces null 0
Example:
Step 4
RP/0/RP0/CPU0:router# show interfaces null0
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
107
Configuring Virtual Loopback and Null Interfaces
Configuring Null Interfaces