Configuring the Domain Name and Domain Name Server
Examples
In the following example, the Management Ethernet interface on the RP in slot RP1 is configured with
an IP address:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface MgmtEth0/RP1/CPU0/0
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.255.255.0
RP/0/RP0/CPU0:router (config-if)# no shutdown
RP/0/RP0/CPU0:router (config-if)# commit
RP/0/RP0/CPU0:router (config-if)# end
RP/0/RP0/CPU0:router#
RP/0/RP0/CPU0:router# show interfaces MgmtEth 0/RP1/CPU0/0
MgmtEth0/RP1/CPU0/0 is up, line protocol is up
Hardware is Management Ethernet, address is 0005.9a39.910c (bia 0005.9a39.910c
)
Internet address is 10.1.1.1
MTU 1514 bytes, BW 100000 Kbit
Encapsulation ARPA,
Full-duplex, 100Mb/s
loopback not set
ARP type ARPA, ARP timeout 01:00:00
Last clearing of "show interface" counters never
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
--More--
Related Documents
Related Topic
Additional information on configuring management
interfaces
Configuring the Domain Name and Domain Name Server
Configure a domain name and domain name server (DNS) for your router to make contacting other
devices on your network more efficient. Use the following guidelines:
•
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
5-6
reliability 255/255, txload 1/255, rxload 1/255
15205 packets input, 7467959 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 2352 broadcast packets, 0 multicast packets
0 runts, 0 giants, 0 throttles, 0 parity
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
13528 packets output, 656060 bytes, 0 total output drops
Output 56 broadcast packets, 0 multicast packets
0 output errors, 0 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
To define a default domain name that the Cisco IOS XR software uses to complete unqualified
hostnames (names without a dotted-decimal domain name), use the domain-name command in
global configuration mode.
Chapter 5
Document Title
Cisco IOS XR Interface and Hardware Component Configuration
Guide
Initial Configuration of the Cisco IOS XR Software