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