思科12.10

C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)

cisco WS-C3560-24PS (PowerPC405) processor (revision P0) with 122880K/8184K bytes of memory.

3560-24PS starting...

Base ethernet MAC Address: 0002.4AEE.848A

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 3 files, 0 directories

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

flashfs[0]: Total bytes: 64016384

flashfs[0]: Bytes used: 8918011

flashfs[0]: Bytes available: 55098373

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:/c3560-advipservicesk9-mz.122-37.SE1.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, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(37)SE1, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Thu 05-Jul-07 22:22 by pt_team

Image text-base: 0x00003000, data-base: 0x01500000

POST: CPU MIC register Tests : Begin

POST: CPU MIC register Tests : End, Status Passed

POST: PortASIC Memory Tests : Begin

POST: PortASIC Memory Tests : End, Status Passed

POST: CPU MIC interface Loopback Tests : Begin

POST: CPU MIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin

POST: PortASIC RingLoopback Tests : End, Status Passed

POST: Inline Power Controller Tests : Begin

POST: Inline Power Controller Tests : End, Status Passed

POST: PortASIC CAM Subsystem Tests : Begin

POST: PortASIC CAM Subsystem Tests : End, Status Passed

POST: PortASIC Port Loopback Tests : Begin

POST: PortASIC Port Loopback Tests : End, Status Passed

Waiting for Port download...Complete

--More--

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

[email protected].

cisco WS-C3560-24PS (PowerPC405) processor (revision P0) with 122880K/8184K bytes of memory.

Processor board ID CAT1037RJF7

24 FastEthernet/IEEE 802.3 interface(s)

2 Gigabit Ethernet/IEEE 802.3 interface(s)

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

Base ethernet MAC Address : 0002.4AEE.848A

Motherboard assembly number : 73-9673-09

Power supply part number : 341-0029-05

Motherboard serial number : CAT103758VY

Power supply serial number : DTH1036C7UB

Model revision number : P0

Motherboard revision number : A0

Model number : WS-C3560-24PS-E

System serial number : CAT1037RJF7

Top Assembly Part Number : 800-26380-04

Top Assembly Revision Number : B0

Version ID : V06

CLEI Code Number : COM1100ARC

Hardware Board Revision Number : 0x01

Switch Ports Model SW Version SW Image


* 1 26 WS-C3560-24PS 12.2(37)SE1 C3560-ADVIPSERVICESK

Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(37)SE1, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Thu 05-Jul-07 22:22 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 to up

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up

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

Switch>en

Switch#conf t

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

Switch(config)#int f0/1

Switch(config-if)#ip address 192.168.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Switch(config-if)#exit

Switch(config)#int f0/1

Switch(config-if)#no switchport

Switch(config-if)#

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

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

Switch(config-if)#ip address 192.168.1.100 255.255.255.0

Switch(config-if)#exit

Switch(config)#int f0/2

Switch(config-if)#no switchport

Switch(config-if)#

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

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

Switch(config-if)#ip address 192.168.2.100 255.255.255.0

Switch(config-if)#end

Switch#

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

Switch#

解析

这是一台 Cisco Catalyst 3560 交换机的启动和配置日志,以下是详细解释:


1. 交换机启动过程

  • 启动信息

    复制代码
    C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)

    表示交换机运行的是 Cisco Catalyst 3560 的 Boot Loader,版本为 12.2(25r)SEC。

  • 硬件信息

    复制代码
    cisco WS-C3560-24PS (PowerPC405) processor

    型号为 WS-C3560-24PS 的交换机,包含 24 个 FastEthernet 接口和 2 个 Gigabit Ethernet 接口。

  • 内存和 Flash 文件系统

    复制代码
    flashfs[0]: Total bytes: 64016384
    flashfs[0]: Bytes used: 8918011

    Flash 内存总容量约为 64MB,已使用约 8.9MB。

  • 加载 IOS 软件

    复制代码
    Loading "flash:/c3560-advipservicesk9-mz.122-37.SE1.bin"...

    交换机从 Flash 中加载了 c3560-advipservicesk9-mz.122-37.SE1.bin,这是运行的 Cisco IOS 文件。

  • POST 测试

    复制代码
    POST: PortASIC Memory Tests : End, Status Passed

    交换机完成了一系列硬件自检(POST),包括 CPU 测试、接口环回测试和电源管理测试,均显示通过。


2. 软件信息

  • 运行的 Cisco IOS

    复制代码
    Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(37)SE1

    交换机运行的是 C3560-ADVIPSERVICESK9-M(带高级服务功能的版本),版本为 12.2(37)SE1。

  • 设备序列号和硬件信息

    复制代码
    Processor board ID CAT1037RJF7
    Model number                    : WS-C3560-24PS-E
    • 主板序列号为 CAT1037RJF7
    • 型号为 WS-C3560-24PS-E,支持 PoE 功能。

3. 配置日志

配置接口 IP 地址

以下日志展示了如何配置接口 IP 地址。

遇到的错误
复制代码
Switch(config-if)#ip address 192.168.1.1 255.255.255.0
                     ^
% Invalid input detected at '^' marker.

这个错误的原因是接口默认处于二层(Layer 2)模式,而 ip address 命令只能在三层(Layer 3)模式下使用。

解决方法

通过命令 no switchport 将接口切换为三层模式:

复制代码
Switch(config)#int f0/1
Switch(config-if)#no switchport
成功配置 IP
  • 配置 FastEthernet0/1

    复制代码
    Switch(config-if)#ip address 192.168.1.100 255.255.255.0

    将接口 FastEthernet0/1 配置为三层接口,IP 地址为 192.168.1.100,子网掩码为 255.255.255.0

  • 配置 FastEthernet0/2

    复制代码
    Switch(config)#int f0/2
    Switch(config-if)#no switchport
    Switch(config-if)#ip address 192.168.2.100 255.255.255.0

    将接口 FastEthernet0/2 配置为三层接口,IP 地址为 192.168.2.100,子网掩码为 255.255.255.0

保存配置
复制代码
%SYS-5-CONFIG_I: Configured from console by console

这条日志表示配置已被保存到交换机的运行配置中。


4. 其他日志解释

  • 链路状态变化

    复制代码
    %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

    表示接口 FastEthernet0/1FastEthernet0/2 的链路状态发生了变化,从 down 变为 up

  • 协议状态变化

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

    表示接口的协议状态也从 down 变为 up


总结

  1. 设备启动正常

    • 硬件和软件均通过自检。
    • 加载了 c3560-advipservicesk9-mz.122-37.SE1.bin
  2. 配置三层接口

    • 默认接口为二层模式,需要使用 no switchport 切换到三层模式。
    • 成功为 FastEthernet0/1FastEthernet0/2 配置了 IP 地址。
  3. 链路状态正常

    • 两个接口链路均已启用,状态为 up

通过以上步骤,这台交换机可以作为路由器处理三层流量。若有其他需求或配置问题,可以进一步探讨!

相关推荐
laowangpython13 小时前
MySQL基础面试通关秘籍(附高频考点解析)
数据库·mysql·其他·面试
职坐标在线2 天前
职坐标AIoT技能培训课程实战解析
其他
草莓熊Lotso2 天前
【C语言字符函数和字符串函数(一)】--字符分类函数,字符转换函数,strlen,strcpy,strcat函数的使用和模拟实现
c语言·开发语言·经验分享·笔记·其他
xiaobin889992 天前
【2025最新版】VMware虚拟机下载安装教程 保姆级图文详解(附安装包+常用镜像Linux,win11,ubuntu,centos)
linux·其他·ubuntu·centos
橘子洲头3 天前
有关知名分析品牌默克Supelco®的前世今生
其他
生态笔记4 天前
R利用spaa包计算植物/微生物的生态位宽度和重叠指数
经验分享·其他
向北威威5 天前
PC Cleaner软件,它能帮助用户轻松清理和优化电脑,提升系统性能。
其他
职坐标在线5 天前
职坐标AIoT开发技能精讲培训
其他
安装虚拟机的老师傅5 天前
【2025最新】Windows系统装VSCode搭建C/C++开发环境(附带所有安装包)
c语言·windows·vscode·其他
安德胜SMT贴片7 天前
深圳SMT贴片加工厂制造流程解析
其他