18.0.1 172.16.0.1
10.13.0.0
10.13.0.1
172.18.0.2
172.17.0.2
172.17.0.1
192.168.1.0
192.168.1.1
172.16.0.2
HDR SA DA DATA
Configuring a Cisco Router 289
Step 3 Set the IP address and subnet mask for the interface by using the ip
address ip-address mask command:
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Step 4 Enable the interface to change the state from administratively down to up
by using the no shutdown command:
Router(config-if)# no shutdown
Step 5 Exit con?¬?guration mode for the interface by using the exit command:
Router(config-if)# exit
Verifying the Interface Configuration
When you have completed the router interface con?¬?guration, you can verify the
con?¬?guration by using the show interfaces command.
The show interfaces command displays the status and statistics of all network interfaces
on the router. Alternatively, the status for a speci?¬?c interface can be displayed by using the
show interfaces type slot command. Example 4-14 shows common output for the show
interfaces command.
Example 4-14 show interfaces Command Output
RouterA# sshhooww iinntteerrffaacceess
Ethernet0 is up, line protocol is up
Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f)
Internet address is 10.
Pages:
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412