Anda di halaman 1dari 3

Press RETURN to get started!

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int g0/0
R1(config-if)#no sh

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)#int g0/0.10
R1(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.10, changed


state to up

R1(config-subif)#encapsul
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip add 10.8.32.1 255.255.224.0
R1(config-subif)#int g0/0.20
R1(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.20, changed


state to up

R1(config-subif)#encapsulation dot1Q 20
R1(config-subif)#ip add 10.17.4.1 255.255.255.0
R1(config-subif)#int g0/1
R1(config-if)#no sh

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)#int g0/1.30
R1(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.30, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.30, changed


state to up

R1(config-subif)#encapsulation dot1Q 30
R1(config-subif)#ip add 172.31.4.1 255.255.252.0
R1(config-subif)#int g0/1.40
R1(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.40, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.40, changed


state to up

R1(config-subif)#encapsulation dot1Q 40
R1(config-subif)#ip add 172.18.4.1 255.255.255.0
R1(config-subif)#int s0/0/0
R1(config-if)#ip add 192.168.80.9 255.255.255.252
R1(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down


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

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

R1 con0 is now available

Press RETURN to get started.

R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 192.168.0.0 255.255.192.0
% Incomplete command.
R1(config)#int s0/0/0
R1(config-if)#ip route 192.168.0.0 255.255.192.0
^
% Invalid input detected at '^' marker.

R1(config-if)#ip route 192.168.0.0 255.255.192.0 192.168.80.9


%Invalid next hop address (it's this router)
R1(config)#ip route 192.168.0.0 255.255.192.0 192.168.80.10
R1(config)#ip route 192.168.0.0 255.255.128.0 192.168.80.10
R1(config)#
R1(config)#router eigrp 1
R1(config-router)#eigrp router-id 1.1.1.1
R1(config-router)#network 10.8.32.0 0.0.31.255
R1(config-router)#network 10.17.4.0 0.0.0.255
R1(config-router)#network 172.31.4.0 0.0.3.255
R1(config-router)#network 172.18.4.0 0.0.0.255
R1(config-router)#network 192.168.80.8 0.0.0.3
R1(config-router)#

Anda mungkin juga menyukai