Configuring Virtual Loopback and Null Interfaces
2. interface null 0
3. Do one of the following:
4. show interfaces null 0
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface null 0
Example:
RP/0/RP0/CPU0:router#(config)# interface null 0
Step 3
Do one of the following:
• end
•
• commit
Example:
RP/0/RP0/CPU0:router(config-null0)# end
Example:
Example:
RP/0/RP0/CPU0:router(config-null0)# commit
Step 4
show interfaces null 0
Example:
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
• end
•
• commit
Purpose
Enters XR configuration mode.
Enters null0 interface configuration mode.
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 XR EXEC mode.
• Entering no exits the configuration session and
returns the router to XR 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.
Verifies the configuration of the null interface.
Configuring Null Interfaces
107