Sunteți pe pagina 1din 9

SWITCH

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan 1
Switch(config-if)#ip adrres 192.168.194 255.255.255.192
^
% Invalid input detected at '^' marker.
Switch(config-if)#ip address 192.168.194 255.255.255.192
^
% Invalid input detected at '^' marker.
Switch(config-if)#ip address 192.168.1.194 255.255.255.192
Switch(config-if)#nos shutdown
^
% Invalid input detected at '^' marker.
Switch(config-if)#nos shutdwon
^
% Invalid input detected at '^' marker.
Switch(config-if)#no shutdwon
^
% Invalid input detected at '^' marker.
Switch(config-if)#no shutdown
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#exit
Switch(config)#ip default-gateway 192.168.1.193
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch con0 is now available

Press RETURN to get started.

ROUTER 2
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.192
Router(config-if)#no shotdown
^
% Invalid input detected at '^' marker.
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to
up
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#shof ip interface brief
^
% Invalid input detected at '^' marker.
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 192.168.1.2 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
Router#configure termina
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/1
Router(config-if)#ip address 192.168.1.129 255.255.255.192
Router(config-if)#no shutdown
Router(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
Router(config-if)#exit
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.1.193 255.255.255.192
Router(config-if)#no shutdown
Router(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
Router(config-if)#

Router con0 is now available

Press RETURN to get started.

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


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

Router>ENABLE
Router#en
Router#show run
Building configuration...
Current configuration : 734 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.193 255.255.255.192
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.129 255.255.255.192
duplex auto

speed auto
!
interface Serial0/0/0
ip address 192.168.1.2 255.255.255.192
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

ROUTER 2

R2>ENABLE
Password:
Password:

Password:
% Bad secrets
R2>enable
Password:
Password:
R2#en
R2#show run
Building configuration...
Current configuration : 825 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
enable password class
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0

ip address 192.168.1.193 255.255.255.192


duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.129 255.255.255.192
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/0/1
ip address 192.168.1.1 255.255.255.192
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
banner motd ^C^C
!
!
!
!
line con 0
password cisco
!
line aux 0
!
line vty 0 4
password ciscoline
login
!
!
!
end

William programacin
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#banner motd "solo acceso autorizado"
R1(config)#line console 0
R1(config-line)#password ciscocon
R1(config-line)#login
R1(config-line)#exit
R1(config)#enable password ciscoen
R1(config)#line vty 0 4
R1(config-line)#password ciscoline
R1(config-line)#login
R1(config-line)#exit
R1(config)#interface serial 0/0/0
R1(config-if)#ip address 192.168.1.193 255.255.255.194
Bad mask 0xFFFFFFC2 for address 192.168.1.193
R1(config-if)#clockrate 64000
^
% Invalid input detected at '^' marker.
R1(config-if)#clockrate 64000
^
% Invalid input detected at '^' marker.
R1(config-if)#clockrate 56000
^
% Invalid input detected at '^' marker.
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 192.168.1.1 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)#interface fastethernet 0/1
R1(config-if)#ip address 192.168.1.65 255.255.255.0
% 192.168.1.0 overlaps with FastEthernet0/0
R1(config-if)#no shutdown

% 192.168.1.0 overlaps with FastEthernet0/0


FastEthernet0/1: incorrect IP address assignment
R1(config-if)#ip address 192.168.1.65 255.255.255.192
% 192.168.1.64 overlaps with FastEthernet0/0
R1(config-if)#no shutdown
% 192.168.1.64 overlaps with FastEthernet0/0
FastEthernet0/1: incorrect IP address assignment
R1(config-if)#ip address 192.168.1.64 255.255.255.192
Bad mask /26 for address 192.168.1.64
R1(config-if)#no shutdown
% 192.168.1.64 overlaps with FastEthernet0/0
FastEthernet0/1: incorrect IP address assignment
R1(config-if)#ip address 192.168.1.67 255.255.255.192
% 192.168.1.64 overlaps with FastEthernet0/0
R1(config-if)#no shutdown
% 192.168.1.64 overlaps with FastEthernet0/0
FastEthernet0/1: incorrect IP address assignment
R1(config-if)#

S-ar putea să vă placă și