![background image](http://html.mh-extra.com/html/cisco/6000-series/6000-series_configuration-manual_65166118.webp)
Purpose
Command or Action
RP/0/RP0/CPU0:router# configure
Enters interface configuration mode and names the new
loopback interface.
interface loopback interface-path-id
Example:
Step 2
RP/0/RP0/CPU0:router#(config)# interface Loopback
3
Assigns an IP address and subnet mask to the virtual
loopback interface using the
ipv4 address
configuration
command.
ipv4 address ip-address
Example:
RP/0/RP0/CPU0:router(config-if)# ipv4 address
172.18.189.38/32
Step 3
Saves configuration changes.
Do one of the following:
Step 4
•
end
• When you issue the
end
command, the system prompts
you to commit changes:
•
commit
Uncommitted changes found, commit them before
Example:
RP/0/RP0/CPU0:router(config-if)# end
exiting(yes/no/cancel)?
[cancel]:
Example:
•
• Entering
yes
saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to XR EXEC mode.
Example:
RP/0/RP0/CPU0:router(config-if)# commit
• 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.
(Optional) Displays the configuration of the loopback
interface.
show interfaces type interface-path-id
Example:
Step 5
RP/0/RP0/CPU0:router# show interfaces Loopback 3
Configuring Null Interfaces
This task explains how to configure a basic null interface.
SUMMARY STEPS
1.
configure
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
106
Configuring Virtual Loopback and Null Interfaces
Configuring Null Interfaces