Vous êtes sur la page 1sur 15

switch 1

C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)


Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memor
y.
2960-24TT starting...
Base ethernet MAC Address: 0090.0C56.5045
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 1 files, 0 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 64016384
flashfs[0]: Bytes used: 4414921
flashfs[0]: Bytes available: 59601463
flashfs[0]: flashfs fsck took 1 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...
########################################################################## [OK]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEAS


E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Image text-base: 0x80008098, data-base: 0x814129C4

Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memor
y.
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
63488K bytes of flash-simulated
Base ethernet MAC Address
Motherboard assembly number
Power supply part number
Motherboard serial number
Power supply serial number
Model revision number

non-volatile configuration memory.


: 0090.0C56.5045
: 73-9832-06
: 341-0097-02
: FOC103248MJ
: DCA102133JA
: B0

Motherboard revision number


Model number
System serial number
Top Assembly Part Number
Top Assembly Revision Number
Version ID
CLEI Code Number
Hardware Board Revision Number
Switch
-----*
1

Ports Model
----- ----26
WS-C2960-24TT

:
:
:
:
:
:
:
:

C0
WS-C2960-24TT
FOC1033Z1EY
800-26671-02
B0
V02
COM3K00BRA
0x01
SW Version
---------12.2

SW Image
---------C2960-LANBASE-M

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEAS


E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Press RETURN to get started!
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o up
%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state t
o up
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#
S1(config)#
S1(config)#
S1(config)#
S1(config)#
S1(config)#no ip domain-lookup
S1(config)#inter valn 1
^
% Invalid input detected at '^' marker.
S1(config)#inter
S1(config-if)#ip
S1(config-if)#ip
S1(config-if)#no
S1(config-if)#no

vlan 1
add
address 192.168.1.11 255.255.255.0
sh
shutdown

S1(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S1(config-if)#exit
S1(config)#ena sec class

S1(config)#line vty 0 4
S1(config-line)#pass cisco
S1(config-line)#login
S1(config-line)#exit
S1(config)#line cons 0
S1(config-line)#loo
S1(config-line)#logg
S1(config-line)#logging syn
S1(config-line)#logging synchronous
S1(config-line)#banner motd #acceso denegado#
S1(config)#^Z
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#
S1#
S1#copy runn
S1#copy running-config s
S1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
S1#
S1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#inter rang fast 0/1-24
S1(config-if-range)#shu
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/12, changed state to administratively d
own

%LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively d


own
%LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/17, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/19, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/20, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/21, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively d
own
S1(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively do
wn
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o down
%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively do
wn
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state t
o down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
S1(config-if-range)#
S1(config-if-range)#exit
S1(config-if-range)#
S1(config-if-range)#exit
S1(config)#inter vlan 1
S1(config-if)#ip add
S1(config-if)#exit
S1(config)#exit
S1#

%SYS-5-CONFIG_I: Configured from console by console


S1#show inter bri
^
% Invalid input detected at '^' marker.
S1#show
S1#show
S1#show
S1#show
S1#show

inter br
inter bri
inter
interfaces bri
interfaces brief
^
% Invalid input detected at '^' marker.
S1#show interfaces vlan brief
^
% Invalid input detected at '^' marker.
S1#show interfaces ?
Ethernet
IEEE 802.3
FastEthernet
FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
Vlan
Catalyst Vlans
etherchannel
Show interface etherchannel information
switchport
Show interface switchport information
trunk
Show interface trunk information
<cr>
S1#show inter brief
^
% Invalid input detected at '^' marker.
S1#show inter vlan
% Incomplete command.
S1#
S1#con ter
% Ambiguous command: "con ter"
S1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 10
S1(config-vlan)#name ETUDIANTES
S1(config-vlan)#exit
S1(config)#vlan 20
S1(config-vlan)#name DOCENTES
S1(config-vlan)#exit
S1(config)#^Z
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#show ip vlan bri
^
% Invalid input detected at '^' marker.
S1#show ip inter bri
Interface

IP-Address

OK? Method Status

FastEthernet0/1

unassigned

YES manual administratively down down

FastEthernet0/2

unassigned

YES manual administratively down down

FastEthernet0/3

unassigned

YES manual administratively down down

Protocol

FastEthernet0/4

unassigned

YES manual administratively down down

FastEthernet0/5

unassigned

YES manual administratively down down

FastEthernet0/6

unassigned

YES manual administratively down down

FastEthernet0/7

unassigned

YES manual administratively down down

FastEthernet0/8

unassigned

YES manual administratively down down

FastEthernet0/9

unassigned

YES manual administratively down down

FastEthernet0/10

unassigned

YES manual administratively down down

FastEthernet0/11

unassigned

YES manual administratively down down

FastEthernet0/12

unassigned

YES manual administratively down down

FastEthernet0/13

unassigned

YES manual administratively down down

FastEthernet0/14

unassigned

YES manual administratively down down

FastEthernet0/15

unassigned

YES manual administratively down down

FastEthernet0/16

unassigned

YES manual administratively down down

FastEthernet0/17

unassigned

YES manual administratively down down

FastEthernet0/18

unassigned

YES manual administratively down down

FastEthernet0/19

unassigned

YES manual administratively down down

FastEthernet0/20

unassigned

YES manual administratively down down

FastEthernet0/21

unassigned

YES manual administratively down down

FastEthernet0/22

unassigned

YES manual administratively down down

FastEthernet0/23

unassigned

YES manual administratively down down

FastEthernet0/24

unassigned

YES manual administratively down down

GigabitEthernet0/1

unassigned

YES manual down

down

GigabitEthernet0/2

unassigned

YES manual down

down

Vlan1
S1#show vlan bri
S1#show vlan brief

192.168.1.11

YES manual up

down

VLAN Name
Status
Ports
---- -------------------------------- --------- ------------------------------1
default
active
Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig0/1, Gig0/2

10
20
1002
1003
1004
1005

ETUDIANTES
DOCENTES
fddi-default
token-ring-default
fddinet-default
trnet-default

active
active
active
active
active
active

S1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#inter fast 0/6
S1(config-if)#swi
S1(config-if)#switchport mod acc
S1(config-if)#swi
S1(config-if)#swit
S1(config-if)#switchport acc vlan 10
S1(config-if)#no sh
S1(config-if)#no shutdown
S1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state t
o up
S1(config-if)#
S1(config-if)#exit
S1(config)#inter fast 0/1
S1(config-if)#swi mode trunk
S1(config-if)#swi trunk native vlan 1
S1(config-if)#no sh
S1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down
S1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S1(config-if)#^Z
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#show inter tru
Port
Mode
Fa0/1
on

Encapsulation Status
802.1q
trunking

Native vlan
1

Port
Fa0/1

Vlans allowed on trunk


1-1005

Port
Fa0/1

Vlans allowed and active in management domain


1,10,20

Port
Fa0/1
S1#

Vlans in spanning tree forwarding state and not pruned


none

S1#conf ter

Enter configuration commands, one per line. End with CNTL/Z.


S1(config)#ip gate
S1(config)#ip def
S1(config)#ip default-gateway 192.168.1.1
S1(config)#exit
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#copy runn
S1#copy running-config s
S1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
S1#
S1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#show vlan
^
% Invalid input detected at '^' marker.
S1(config)#exit
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#show vlan
VLAN Name
Status
Ports
---- -------------------------------- --------- ------------------------------1
default
active
Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/1, Gig0/2
10 ETUDIANTES
active
Fa0/6
20 DOCENTES
active
1002 fddi-default
act/unsup
1003 token-ring-default
act/unsup
1004 fddinet-default
act/unsup
1005 trnet-default
act/unsup
VLAN
---1
10
20
1002
1003
1004
1005

Type
----enet
enet
enet
fddi
tr
fdnet
trnet

SAID
---------100001
100010
100020
101002
101003
101004
101005

MTU
----1500
1500
1500
1500
1500
1500
1500

Parent
------

RingNo
------

BridgeNo
--------

Stp
---ieee
ibm

BrdgMode
--------

Trans1
-----0
0
0
0
0
0
0

Trans2
-----0
0
0
0
0
0
0

Remote SPAN VLANs


-----------------------------------------------------------------------------Primary Secondary Type
Ports
------- --------- ----------------- -----------------------------------------S1# conf ter
Enter configuration commands, one per line. End with CNTL/Z.

S1(config)#vlan 30
S1(config-vlan)#name NO-USADOS
S1(config-vlan)#exit
S1(config)#inter range fast 0/2-5, fa0/7-24
S1(config-if-range)#swi mode acc
S1(config-if-range)#swi acc vlan 30
S1(config-if-range)#^Z
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#
S1#show vlan bri
VLAN
---1
10
20
30

Name
-------------------------------default
ETUDIANTES
DOCENTES
NO-USADOS

Status
--------active
active
active
active

1002
1003
1004
1005

fddi-default
token-ring-default
fddinet-default
trnet-default

active
active
active
active

Ports
------------------------------Gig0/1, Gig0/2
Fa0/6
Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24

S1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 40
S1(config-vlan)#name directores
S1(config-vlan)#exit
S1(config)#^Z
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#show vlan bri
VLAN
---1
10
20
30

Name
-------------------------------default
ETUDIANTES
DOCENTES
NO-USADOS

40 directores
1002 fddi-default
1003 token-ring-default
1004 fddinet-default
1005 trnet-default
S1#conf ter
Enter configuration commands, one per
S1(config)#no vlan 40
S1(config)#^Z

Status
--------active
active
active
active

Ports
------------------------------Gig0/1, Gig0/2
Fa0/6
Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24

active
active
active
active
active
line. End with CNTL/Z.

S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#show vlan brie
VLAN
---1
10
20
30

Name
-------------------------------default
ETUDIANTES
DOCENTES
NO-USADOS

Status
--------active
active
active
active

1002
1003
1004
1005

fddi-default
token-ring-default
fddinet-default
trnet-default

active
active
active
active

S1#copy runn
S1#copy running-config st
S1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
S1#
S1#
S1#show running
Building configuration...
Current configuration : 2638 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S1
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/3
switchport access vlan 30

Ports
------------------------------Gig0/1, Gig0/2
Fa0/6
Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24

switchport mode access


shutdown
!
interface FastEthernet0/4
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/5
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/8
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/9
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/10
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/11
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/12
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/13
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/14
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/15
switchport access vlan 30
switchport mode access

shutdown
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/21
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/22
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/23
switchport access vlan 30
switchport mode access
shutdown
!
interface FastEthernet0/24
switchport access vlan 30
switchport mode access
shutdown
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.11 255.255.255.0
!
ip default-gateway 192.168.1.1
!
banner motd ^Cacceso denegado^C
!
!
!

line con 0
logging synchronous
!
line vty 0 4
password cisco
login
line vty 5 15
login
!
!
end

S1#
S1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#inter fast 0/5
S1(config-if)#swi
S1(config-if)#swi mode acc
S1(config-if)#swi acc
% Incomplete command.
S1(config-if)#swi acc
S1(config-if)#swi access
% Incomplete command.
S1(config-if)#swi access vlan 10
S1(config-if)#no sh
S1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state t
o up
S1(config-if)#
S1(config-if)#exit
S1(config)#copy runnTFTP
^
% Invalid input detected at '^' marker.
S1(config)#copy runn TFTP
S1(config)#copy runn TFTP
^
% Invalid input detected at '^' marker.
S1(config)#EXIT
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#COPY RUNN
S1#COPY RUNNing-config TFTP
Address or name of remote host []?
?Host name or address not specified
S1#COPY RUNNing-config TFTP
Address or name of remote host []? 192.168.10.13
Destination filename [S1-confg]? S
Writing running-config........
%Error opening tftp://192.168.10.13/S (Timed out)

S1#PINF 192.168.1.13
^
% Invalid input detected at '^' marker.
S1#ping 192.168.1.13
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.13, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
S1#ping 192.168.1.13
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.13, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
S1#copy runn
S1#copy running-config t
S1#copy running-config tftp:
Address or name of remote host []? 192.168.1.13
Destination filename [S1-confg]?
Writing running-config........
%Error opening tftp://192.168.1.13/S1-confg (Timed out)
S1#
%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state t
o down
S1#

S1 con0 is now available

Press RETURN to get started.

acceso denegado
S1>ena
Password:
S1#shoe inter trun
^
% Invalid input detected at '^' marker.
S1#shoe inter tru
^
% Invalid input detected at '^' marker.
S1#show inter tru
Port
Mode
Fa0/1
on

Encapsulation Status
802.1q
trunking

Native vlan
1

Port
Fa0/1

Vlans allowed on trunk


1-1005

Port
Fa0/1

Vlans allowed and active in management domain


1,10,20,30

Port
Fa0/1
S1#

Vlans in spanning tree forwarding state and not pruned


1,10,20,30

Vous aimerez peut-être aussi