7-17
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 7 RP Redundancy and Hardware Administration on Cisco IOS XR Software
Configure Routing Interfaces
Step 3
ipv4 address ipv4-address subnet-mask
Example:
RP/0/RP0/CPU0:router(config-if)# ipv4 address
1.1.1.1 255.0.0.0
Configures the IP address and subnet mask for the interface.
• The subnet mask is the subnet mask for the attached
network. 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 the corresponding address bit
belongs to the network address.
–
The network mask can be indicated as a slash mark
(/) and number. For example, /8 indicates that the
first eight bits of the mask are 1s, and the
corresponding bits of the address are the network
address.
• You can also configure an IPv6 address for the interface.
See the “Related Documents” section on page 7-18 for
the location of additional information on this subject.
Step 4
Configure additional features on the interface. (Optional) Configures additional interface features.
• From interface configuration mode for the specified
interface, you can configure a wide range of options.
• To find the possible configuration commands for your
interface, enter a question mark in interface
configuration mode to display the online help.
• See the “Related Documents” section on page 7-18 for
the location of additional configuration and command
reference information.
Step 5
no shutdown
Example:
RP/0/RP0/CPU0:router(config-if)# no shutdown
Activates the interface (administratively brings the interface
up) so that traffic can flow through the interface.
Step 6
commit
Example:
RP/0/RP0/CPU0:router(config)# commit
Commits the target configuration to the router running
configuration.
Step 7
end
Example:
RP/0/RP0/CPU0:router(config)# end
Ends the configuration session and returns to EXEC mode.
Step 8
show interfaces
Example:
RP/0/RP0/CPU0:router(config)# show interfaces
pos 0/2/0/0
Displays interface configurations.
Command or Action Purpose