telnet下面什么命令可以查看思科的交换机的软硬件版本?

RT。请写清步骤。
2024-12-02 15:54:01
推荐回答(5个)
回答1:

假设:
你在用一台电脑,这台电脑连着一个思科交换机,你知道相关IP地址和密码。
步骤如下:
1、在电脑的CMD下,telnet交换机IP地址,例如:C:\Documents and Settings\Administrator>telnet 192.168.1.1
2、如果连接上交换机,则会提示你输入相关密码,成功后显示:Switch>
3、输入:Switch>show version ,即可查看软硬件版本。
************************************
题外话:在“Switch>”状态下,输入Switch>en,表示进入特权模式,可以进行高级操作,输入正确的密码后,显示“Switch#”。(注意>变成#了。)

回答2:

首先 交换机必须有一个地址 那么这个地址通常称作交换机的管理地址,通过telnet此管理地址 方能登陆到设备上:
步骤如下:
如图
()

交换机配置:(如vlan 1为管理vlan)

Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.254 255.255.255.0
Switch(config-if)#no sh

Switch(config)#line vty 0 4
Switch(config-line)#password cisco 设置远程登陆时的密码 cisco
Switch(config-line)#login 允许登陆
Switch(config-line)#exit

Switch(config)#enable password center 设置进入特权模式下的密码 center

(交换机telnet配置完毕)

PC>ping 192.168.1.254 pc机ping 交换机的管理地址 ---------互通

Pinging 192.168.1.254 with 32 bytes of data:

Reply from 192.168.1.254: bytes=32 time=31ms TTL=255
Reply from 192.168.1.254: bytes=32 time=31ms TTL=255
Reply from 192.168.1.254: bytes=32 time=31ms TTL=255
Reply from 192.168.1.254: bytes=32 time=31ms TTL=255

Ping statistics for 192.168.1.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 31ms, Maximum = 31ms, Average = 31ms

PC>

PC>telnet 192.168.1.254 此时在pc上telnet 交换机的管理地址
Trying 192.168.1.254 ...Open

User Access Verification

Password: 要求输入 远程登陆时的密码 (不显示 cisco)
Switch>enable 进入特权模式
Password: 要求输入 进入特权模式时的密码(不显示center)
Switch# 进入到交换机的特权模式

Switch#show version (查看设备的版本 show version)
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 18-May-05 22:31 by jharirba
Image text-base: 0x80010000, data-base: 0x80562000

ROM: Bootstrap program is is C2950 boot loader

Switch uptime is 8 minutes, 28 seconds
System returned to ROM by power-on

Cisco WS-C2950T-24 (RC32300) processor (revision C0) with 21039K bytes of memory.
Processor board ID FHK0610Z0WC
Last reset from system-reset
Running Standard Image
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: 0060.3E32.A942
Motherboard assembly number: 73-5781-09
Power supply part number: 34-0965-01
Motherboard serial number: FOC061004SZ
Power supply serial number: DAB0609127D
Model revision number: C0
Motherboard revision number: A0
Model number: WS-C2950T-24
System serial number: FHK0610Z0WC
Configuration register is 0xF

Switch#

回答3:

Switch#show version (查看设备的版本 show version)

以下是软件及硬件信息:
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 18-May-05 22:31 by jharirba
Image text-base: 0x80010000, data-base: 0x80562000
ROM: Bootstrap program is is C2950 boot loader
Switch uptime is 8 minutes, 28 seconds
System returned to ROM by power-on
Cisco WS-C2950T-24 (RC32300) processor (revision C0) with 21039K bytes of memory.
Processor board ID FHK0610Z0WC
Last reset from system-reset
Running Standard Image
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: 0060.3E32.A942
Motherboard assembly number: 73-5781-09
Power supply part number: 34-0965-01
Motherboard serial number: FOC061004SZ
Power supply serial number: DAB0609127D
Model revision number: C0
Motherboard revision number: A0
Model number: WS-C2950T-24
System serial number: FHK0610Z0WC
Configuration register is 0xF
Switch#

回答4:

telnet 设备IP

enable

show version

回答5:

show version