Cisco Systems OL-7396-01 Network Router User Manual


 
3-9
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter 3 Initially Configuring the ATM Switch Router
Configuring the IP Interface
Examples
The following example shows how to use the show interfaces command to display the IP address of
interface ethernet 0:
Switch# show interfaces ethernet 0
Ethernet0 is up, line protocol is up
Hardware is SonicT, address is 0040.0b0a.1080 (bia 0040.0b0a.1080)
Internet address is 172.20.40.93/24
<information deleted>
The following example uses the more system:running-config command to display the IP address of
interface ethernet 0:
Switch# more system:running-config
!
version XX.X
<information deleted>
!
interface Ethernet0
ip address 172.20.40.93 255.255.255.0
!
<information deleted>
Testing the Ethernet Connection
After you have configured the IP address(es) for the Ethernet interface, test for connectivity between the
switch and a host. The host can reside anywhere in your network. To test for Ethernet connectivity, use
the following EXEC command:
The following example show how to test the Ethernet connectivity from the switch to a workstation with
an IP address of 172.20.40.201:
Switch# ping ip 172.20.40.201
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.20.40.201, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000 ms
Command Purpose
ping ip ip-address Tests the configuration using the ping command. The ping
command sends an echo request to the host specified in the
command line.