Вы находитесь на странице: 1из 3

Router>ENABLE

Router#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/1
R1(config-if)#ip addr 12.12.12.1 255.255.255.0
R1(config-if)#no shutdown

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

R1(config-if)#exit
R1(config)#int fa0/0
R1(config-if)#ip add 192.168.1.254 255.255.255.0
R1(config-if)#no shutdown

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

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

R1(config-if)#exit
R1(config)#int lo1

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

R1(config-if)#ip add
% Incomplete command.
R1(config-if)#ip address 172.16.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#int lo2

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to up

R1(config-if)#ip add
% Incomplete command.
R1(config-if)#ip address 172.16.2.2 255.255.255.0
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R1(config-if)#show ip int bri
^
% Invalid input detected at '^' marker.
R1(config-if)#show ip int bri
^
% Invalid input detected at '^' marker.
R1(config-if)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#show ip int bri


Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.254 YES manual up up
FastEthernet0/1 12.12.12.1 YES manual up up
Loopback1 172.16.1.1 YES manual up up
Loopback2 172.16.2.2 YES manual up up
Vlan1 unassigned YES unset administratively down down
R1#
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#
R2(config)#int fa0/1
R2(config-if)#ip add
% Incomplete command.
R2(config-if)#ip address 12.12.12.2 255.255.255.0
R2(config-if)#no shut

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

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

R2(config-if)#int fa0/0
R2(config-if)#ip add
% Incomplete command.
R2(config-if)#ip address 192.168.2.254 255.255.255.0
R2(config-if)#no shut

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

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

R2(config-if)#exit
R2(config)#int lo3

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback3, changed state to up


ip
% Incomplete command.
R2(config-if)#ip add
% Incomplete command.
R2(config-if)#ip address 172.16.3.3 255.255.255.0
R2(config-if)#exit
R2(config)#
R2(config)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console

Вам также может понравиться