Configuring Virtual IPv4 Interfaces
Configuring Virtual IPv4 Interfaces
This task explains how to configure an IPv4 virtual interface.
SUMMARY STEPS
1. configure
2. ipv4 address virtual address ipv4 address/mask
3. Do one of the following:
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 2
ipv4 address virtual address ipv4 address/mask
Example:
RP/0/RP0/CPU0:router(config)# ipv4 virtual address
10.3.32.154/8
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
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
108
• end
•
• commit
Configuring Virtual Loopback and Null Interfaces
Purpose
Enters XR configuration mode.
Defines an IPv4 virtual address for the management Ethernet
interface.
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.