4. Настройка Cisco2950

Минимальная настройка cвича:

Проверка версии:

Switch# show version

Вывод команды:

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

ROM: Bootstrap program is C2950 boot loader

 

Switch uptime is 18 minutes

System returned to ROM by power-on

System image file is "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"

 

cisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

 

 

 

Минимальная настройка

Предупреждение :  .

 

 

KOD:

Linux SED

В этой статье мы рассмотрим sed, известный потоковый редактор, и поделимся 15 советами по его использовани

 

Подсказка:

Switch# ?

Вывод команды:

log_bin=mysql-bin
log_error=mysql-bin.err
binlog-ignore-db=information_schema,mysql,test

 

 

Switch>?

Exec commands:

  access-enable    Create a temporary Access-List entry

  clear            Reset functions

  connect          Open a terminal connection

  disable          Turn off privileged commands

  disconnect       Disconnect an existing network connection

  enable           Turn on privileged commands

  exit             Exit from the EXEC

  help             Description of the interactive help system

  lock             Lock the terminal

  login            Log in as a particular user

  logout           Exit from the EXEC

  name-connection  Name an existing network connection

  ping             Send echo messages

  rcommand         Run command on remote switch

  resume           Resume an active network connection

  set              Set system parameter (not config)

  show             Show running system information

  systat           Display information about terminal lines

  telnet           Open a telnet connection

  terminal         Set terminal line parameters

  traceroute       Trace route to destination

  tunnel           Open a tunnel connection

  where            List active connections

 

Switch>enable

Password:

Switch#

Switch#

Switch#

Switch#

Switch#?

Exec commands:

  access-enable    Create a temporary Access-List entry

  access-template  Create a temporary Access-List entry

  archive          manage archive files

  cd               Change current directory

  clear            Reset functions

  clock            Manage the system clock

  cns              CNS agents

  configure        Enter configuration mode

  connect          Open a terminal connection

  copy             Copy from one file to another

  debug            Debugging functions (see also 'undebug')

  delete           Delete a file

  dir              List files on a filesystem

  disable          Turn off privileged commands

  disconnect       Disconnect an existing network connection

  dot1x            Dot1x Exec Commands

  enable           Turn on privileged commands

  erase            Erase a filesystem

  exit             Exit from the EXEC

  format           Format a filesystem

  fsck             Fsck a filesystem

  help             Description of the interactive help system

  lock             Lock the terminal

  login            Log in as a particular user

  logout           Exit from the EXEC

  mkdir            Create new directory

  more             Display the contents of a file

  name-connection  Name an existing network connection

  no               Disable debugging functions

  ping             Send echo messages

  pwd              Display current working directory

  rcommand         Run command on remote switch

  reload           Halt and perform a cold restart

  rename           Rename a file

  resume           Resume an active network connection

  rmdir            Remove existing directory

  rsh              Execute a remote command

  rtr              RTR Exec Configuration

  send             Send a message to other tty lines

  set              Set system parameter (not config)

  setup            Run the SETUP command facility

  show             Show running system information

  systat           Display information about terminal lines

  telnet           Open a telnet connection

  terminal         Set terminal line parameters

  test             Test subsystems, memory, and interfaces

  traceroute       Trace route to destination

  tunnel           Open a tunnel connection

  udld             UDLD protocol commands

  undebug          Disable debugging functions (see also 'debug')

  verify           Verify a file

  vlan             Configure VLAN parameters

  vmps             VMPS actions

  vtp              Configure global VTP state

  where            List active connections

  write            Write running configuration to memory, network, or terminal

 

 

 

 

 

 

 

 

 

 

-------------------------------------------------------------------------------------------------------

 

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

 

Press RETURN to get started!

 

 

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

 

Press RETURN to get started!

 

 

00:00:14: %ENVIRONMENT-2-FAN_FAULT: System Fault: FAN FAULT is detected.

00:00:15: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan

00:00:17: %SYS-5-CONFIG_I: Configured from memory by console

00:00:18: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

00:00:18: %SNMP-5-COLDSTAR

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>T: SNMP agent on host SW1 is undergoing a cold start

SW1>

SW1>

SW1>

SW1>

SW1>en

Password:

Password:

Password:

% Bad secrets

 

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>en

Password:

Password:

Password:

% Bad secrets

 

SW1>en

Password:

Password:

Password:

% Bad secrets

 

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>er

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-0-

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

 

Press RETURN to get started!

 

T: SNMP agent on host SW1 is undergoing a cold start

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>sh ip int b

Interface                  IP-Address      OK? Method Status                Protocol

Vlan1                      192.168.1.122   YES NVRAM  up                    down

Vlan10                     10.0.1.1        YES NVRAM  down                  down

FastEthernet0/1            unassigned      YES unset  down                  down

FastEthernet0/2            unassigned      YES unset  down                  down

FastEthernet0/3            unassigned      YES unset  down                  down

FastEthernet0/4            unassigned      YES unset  down                  down

FastEthernet0/5            unassigned      YES unset  down                  down

FastEthernet0/6            unassigned      YES unset  down                  down

FastEthernet0/7            unassigned      YES unset  down                  down

FastEthernet0/8            unassigned      YES unset  down                  down

FastEthernet0/9            unassigned      YES unset  down                  down

FastEthernet0/10           unassigned      YES unset  down                  down

FastEthernet0/11           unassigned      YES unset  down                  down

FastEthernet0/12           unassigned      YES unset  down                  down

SW1>

SW1>

SW1>

SW1>sh run

        ^

% Invalid input detected at '^' marker.

 

SW1>sh use

SW1>sh users

    Line       User       Host(s)              Idle       Location

*  0 con 0                idle                 00:00:00

 

  Interface      User        Mode                     Idle     Peer Address

 

SW1>

SW1>

SW1>

SW1>

SW1>

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

 

Press RETURN to get started!

 

 

00:00:14: %ENVIRONMENT-2-FAN_FAULT: System Fault: FAN FAULT is detected.

00:00:15: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan

00:00:17: %SYS-5-CONFIG_I: Configured from memory by console

00:00:18: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

00:00:18: %SNMP-5-COLDSTAR

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>T: SNMP agent on host SW1 is undergoing a cold start

SW1>

SW1>

SW1>

SW1>

SW1>

SW1>sh ver

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

ROM: Bootstrap program is C2950 boot loader

 

SW1 uptime is 0 minutes

System returned to ROM by power-on

System image file is "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"

 

cisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

Configuration register is 0xF

 

SW1>

SW1>

SW1>

SW1>

SW1>

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

 

Press RETURN to get started!

 

T

00:00:27: %EXPRESS_SETUP-6-CONFIG_IS_RESET: The configuration is reset and the system will now reboot

00:00:28: %SYS-5-RELOAD: Reload requested

SW1>

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

 

The system has been interrupted prior to initializing the

flash filesystem.  The following commands will initialize

the flash filesystem, and finish loading the operating

system software:

 

    flash_init

    load_helper

    boot

 

switch:

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950-12 starting...

Base ethernet MAC Address: 00:15:63:b0:54:40

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 359 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4683776

flashfs[0]: Bytes available: 3057664

flashfs[0]: flashfs fsck took 8 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2950-i6q4l2-mz.121-22.EA7.bin"...######################################################################################################################################################################

 

File "flash:/c2950-i6q4l2-mz.121-22.EA7.bin" uncompressed and installed, entry point: 0x80010000

executing...

 

              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 Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

Image text-base: 0x80010000, data-base: 0x8056A000

 

 

Initializing flashfs...

flashfs[1]: 359 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4683776

flashfs[1]: Bytes available: 3057664

flashfs[1]: flashfs fsck took 8 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

 

POST: FRONT-END LOOPBACK TEST : Passedcisco WS-C2950-12 (RC32300) processor (revision R0) with 21004K bytes of memory.

Processor board ID FCZ0939W0T7

Last reset from system-reset

Running Standard Image

12 FastEthernet/IEEE 802.3 interface(s)

 

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:15:63:B0:54:40

Motherboard assembly number: 73-5782-13

Power supply part number: 34-0965-01

Motherboard serial number: FOC093730UJ

Power supply serial number: DAB0924BJ87

Model revision number: R0

Motherboard revision number: A0

Model number: WS-C2950-12

System serial number: FCZ0939W0T7

 

         --- System Configuration Dialog ---

 

Would you like to enter the initial configuration dialog? [yes/no]: no

 

 

 

Press RETURN to get started!

 

 

00:00:14: %ENVIRONMENT-2-FAN_FAULT: System Fault: FAN FAULT is detected.

00:00:15: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan

00:00:19: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA7, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Fri 27-Jan-06 21:19 by antonino

00:00:19: %SNMP-5-COLDSTART: SNMP agent on host Switch is undergoing a cold start

Switch>

Switch>

Switch>

Switch>

Switch>

Switch>

00:00:24: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

Switch>

Switch>

Switch>

Switch>en

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh run

Building configuration...

 

Current configuration : 723 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch

!

!

ip subnet-zero

!

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

!

!

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface Vlan1

 no ip address

 no ip route-cache

 shutdown

!

ip http server

!

line con 0

line vty 5 15

!

!

end

 

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh fla

Switch#sh flash:

 

Directory of flash:/

 

    2  -rwx         110  Mar 01 1993 00:01:42 +00:00  info

    3  -rwx         269  Jan 01 1970 00:01:32 +00:00  env_vars

    4  -rwx           5  Jun 01 2017 14:00:14 +00:00  private-config.text.renamed

    6  -rwx        1167  Jun 01 2017 13:59:51 +00:00  switch-confg123

    7  -rwx     3117090  Mar 01 1993 00:31:45 +00:00  c2950-i6q4l2-mz.121-22.EA7.bin

    8  drwx        4032  Mar 01 1993 00:03:42 +00:00  html

  362  -rwx         110  Mar 01 1993 00:04:14 +00:00  info.ver

  363  -rwx        1186  Jun 01 2017 14:00:14 +00:00  config.text.renamed

  365  -rwx         796  Mar 01 1993 01:50:59 +00:00  vlan.dat.renamed

 

7741440 bytes total (3057664 bytes free)

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh vlan

 

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

1002 fddi-default                     act/unsup

1003 token-ring-default               act/unsup

1004 fddinet-default                  act/unsup

1005 trnet-default                    act/unsup

 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

1    enet  100001     1500  -      -      -        -    -        0      0

1002 fddi  101002     1500  -      -      -        -    -        0      0

1003 tr    101003     1500  -      -      -        -    -        0      0

1004 fdnet 101004     1500  -      -      -        ieee -        0      0

1005 trnet 101005     1500  -      -      -        ibm  -        0      0

 

Remote SPAN VLANs

------------------------------------------------------------------------------

 

 

Primary Secondary Type              Ports

------- --------- ----------------- ------------------------------------------

 

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh fla

Switch#sh flash:

 

Directory of flash:/

 

    2  -rwx         110  Mar 01 1993 00:01:42 +00:00  info

    3  -rwx         269  Jan 01 1970 00:01:32 +00:00  env_vars

    4  -rwx           5  Jun 01 2017 14:00:14 +00:00  private-config.text.renamed

    6  -rwx        1167  Jun 01 2017 13:59:51 +00:00  switch-confg123

    7  -rwx     3117090  Mar 01 1993 00:31:45 +00:00  c2950-i6q4l2-mz.121-22.EA7.bin

    8  drwx        4032  Mar 01 1993 00:03:42 +00:00  html

  362  -rwx         110  Mar 01 1993 00:04:14 +00:00  info.ver

  363  -rwx        1186  Jun 01 2017 14:00:14 +00:00  config.text.renamed

  365  -rwx         796  Mar 01 1993 01:50:59 +00:00  vlan.dat.renamed

 

7741440 bytes total (3057664 bytes free)

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#more private-config.text.renamed

%Error opening flash:private-config.text.renamed (Permission denied)

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#cat private-config.text.renamed

        ^

% Invalid input detected at '^' marker.

 

Switch#

Switch#

Switch#

Switch#

Switch#mo

Switch#more

Switch#more

Switch#more switch-confg123

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch

!

enable secret 5 $1$A1mZ$HFEIXsEcfiIAA2PIPfrqh/

!

ip subnet-zero

!

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

!

!

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface Vlan1

 ip address 192.168.1.122 255.255.255.0

 no ip route-cache

!

interface Vlan10

 ip address 10.0.1.1 255.255.255.0

 no ip route-cache

!

interface Vlan11

 ip address 11.0.1.1 255.255.255.0

 no ip route-cache

!

interface Vlan12

 ip address 12.0.1.1 255.255.255.0

 no ip route-cache

!

ip default-gateway 192.168.1.1

ip http server

!

line con 0

line vty 0 4

 password cisco

 login

line vty 5 15

 login

!

!

!

monitor session 1 source interface Fa0/5

monitor session 1 destination interface Fa0/6

end

 

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#wr

Building configuration...

[OK]

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh star

Switch#sh startup-config

Using 723 out of 32768 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch

!

!

ip subnet-zero

!

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

!

!

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface Vlan1

 no ip address

 no ip route-cache

 shutdown

!

ip http server

!

line con 0

line vty 5 15

!

!

end

 

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh ip int b

Interface                  IP-Address      OK? Method Status                Protocol

Vlan1                      unassigned      YES unset  administratively down down

FastEthernet0/1            unassigned      YES unset  down                  down

FastEthernet0/2            unassigned      YES unset  down                  down

FastEthernet0/3            unassigned      YES unset  down                  down

FastEthernet0/4            unassigned      YES unset  down                  down

FastEthernet0/5            unassigned      YES unset  down                  down

FastEthernet0/6            unassigned      YES unset  down                  down

FastEthernet0/7            unassigned      YES unset  down                  down

FastEthernet0/8            unassigned      YES unset  down                  down

FastEthernet0/9            unassigned      YES unset  down                  down

FastEthernet0/10           unassigned      YES unset  down                  down

FastEthernet0/11           unassigned      YES unset  down                  down

FastEthernet0/12           unassigned      YES unset  down                  down

Switch#

Switch#

Switch#

Switch#

 

 

 

 

 

 

 

 

 

// Настроикамсвича телнет

 

 

 

 

 

 

 

 

 

 

Switch#

Switch#

Switch#

Switch#

Switch#conf t

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

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#int vl 1

Switch(config-if)#

Switch(config-if)#

Switch(config-if)#

Switch(config-if)#ip add 192.168.0.254 255.255.255.0

Switch(config-if)#ip def

Switch(config-if)#ip g

Switch(config-if)#gat

Switch(config-if)#gat?

% Unrecognized command

Switch(config-if)#ip ga?

% Unrecognized command

Switch(config-if)#ip d?

dhcp  directed-broadcast

 

Switch(config-if)#end

Switch#

Switch#

Switch#

Switch#

Switch#con

00:02:43: %SYS-5-CONFIG_I: Configured from console by consolef t

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

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#ip def

Switch(config)#ip default-gateway 192.168.0.1

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#wr

% Incomplete command.

 

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#^Z

Switch#

Switch#

Switch#

Switch#

Switch#wr

Building configuration...

 

00:02:58: %SYS-5-CONFIG_I: Configured from console by console[OK]

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#conf t

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

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#

Switch(config)#^Z

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#

00:03:46: %SYS-5-CONFIG_I: Configured from console by console

Switch#

Switch#sh run

Building configuration...

 

Current configuration : 779 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch

!

!

ip subnet-zero

!

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

!

!

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface Vlan1

 ip

  • Cisco2950
  • 0 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

2.Trablshuting - поиск проблем на Cisco (Найди то чего нет)

В данной заметке представлен абсолютный минимум необходимый для диагностики проблем на сетевом...

3. DHCP автоматическое назначение IP

DHCP Протокол DHCP — сетевой протокол, позволяющий сетевым устройствам...

1. Немного информации про Cisco IOS

Cisco IOS - это классическая операционная система предназначенная  конкретно для работы с...