
Purpose
Command or Action
Example:
• Replace
ip-address
with the primary IPv4 address for
the interface.
RP/0/RP0/CPU0:router(config-if)# ipv4 address
172.18.189.38 255.255.255.224
• Replace
mask
with the mask for the associated IP
subnet. The network mask can be specified in either
of two ways:
• The network mask can be a four-part dotted
decimal address. For example, 255.0.0.0 indicates
that each bit equal to 1 means that the
corresponding address bit belongs to the network
address.
• The network mask can be indicated as a slash (/)
and number. For example, /8 indicates that the
first 8 bits of the mask are ones, and the
corresponding bits of the address are network
address.
(Optional) Sets the maximum transmission unit (MTU) byte
value for the interface. The default is 1514.
mtu bytes
Example:
Step 4
• The default is 1514 bytes.
RP/0/RP0/CPU0:router(config-if# mtu 1448
• The range for the Management Ethernet interface
Interface
mtu
values is 64 to 1514 bytes.
Removes the shutdown configuration, which removes the
forced administrative down on the interface, enabling it to
move to an up or down state.
no shutdown
Example:
RP/0/RP0/CPU0:router(config-if)# no shutdown
Step 5
Saves configuration changes.
Do one of the following:
Step 6
•
end
• When you issue the
end
command, the system prompts
you to commit changes:
• or
•
commit
Uncommitted changes found, commit them before
• or
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.
RP/0/RP0/CPU0:router(config-if)# end
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-if)# 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
14
Advanced Configuration and Modification of the Management Ethernet Interface
Configuring a Management Ethernet Interface