Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

R1>enable

Password:
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# interface gigabitethernet 0/0
R1(config-if)# ip address 192.168.10.1 255.255.255.0
R1(config-if)# no shutdown

R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to


up

R1(config-if)# description LAN connection to S1


R1(config-if)# END
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1# PING 192.168.10.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/2 ms

R1# CONFIG T
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# INTERFACE GIGABITETHERNET 0/1
R1(config-if)# IP ADDRESS 192.168.11.1 255.255.255.0
R1(config-if)# NO SHUTDOWN

R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to


up

R1(config-if)# DESCRIPTION LAN CONNECTION TO S2


R1(config-if)# END
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1# PING 192.168.11.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.11.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/1/3 ms

R2>enable
Password:
R2# config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)# interface gigabitethernet 0/0
R2(config-if)# ip address 10.1.1.1 255.255.255.0
R2(config-if)# no shutdown

R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to


up

R2(config-if)# description LAN connection to S3


R2(config-if)# END
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2# PING 10.1.1.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 ms

R2# CONFIG T
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#INTERFACE GIGABITETHERNET 0/1
R2(config-if)# IP ADDRESS 10.1.2.1 255.255.255.0
R2(config-if)#NO SHUTDOWN

R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
up

R2(config-if)# DISCRIPTION LAN CONNECTION TO S4


^
% Invalid input detected at '^' marker.
R2(config-if)# END
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2# PING 10.1.2.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.1.2.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/3 ms

You might also like