Basic Router Configuration


Download 305.58 Kb.
Pdf ko'rish
bet10/17
Sana16.02.2023
Hajmi305.58 Kb.
#1203501
1   ...   6   7   8   9   10   11   12   13   ...   17
Bog'liq
routconf

Command
Purpose
Step 1
interface type number
Example:
Router(config)# interface Loopback 0
Router(config-int)# 
Enters interface configuration mode.
Step 2
ip address ip-address mask
Example:
Router(config-int)# ip address 10.108.1.1 
255.255.255.0
Router(config-int)# 
Sets the IP address and subnet mask for the 
loopback interface.
Step 3
exit
Example:
Router(config-int)# exit
Router(config)# 
Exits configuration mode for the loopback 
interface and returns to global configuration 
mode.


 
1-10
Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide
OL-6426-02
Chapter 1 Basic Router Configuration
Configuring Basic Parameters
Verifying Your Configuration
To verify that you have properly configured the loopback interface, enter the show interface loopback 
command. You should see verification output similar to the following example.
Router# show interface loopback 0
Loopback0 is up, line protocol is up 
Hardware is Loopback
Internet address is 200.200.100.1/24
MTU 1514 bytes, BW 8000000 Kbit, DLY 5000 usec, 
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation LOOPBACK, loopback not set
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/0, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
Another way to verify the loopback interface is to ping it:
Router# ping 200.200.100.1 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Download 305.58 Kb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   ...   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling