发新话题
打印

[求助] [已解决]新手求助:想查看2950交换机的ip,

[已解决]新手求助:想查看2950交换机的ip,

本文网址:http://bbs.bitscn.com/175554 复制

cisco 2950,
目的是telnet到2950,但不知道交换机ip,想查看2950交换机的ip,
运行Switch#show run命令结果


Switch con0 is now available         down           down





Press RETURN to get started.ps/flushes); Tot
Fa0/19     




Switch>enable  down      
Password:ress is 0
Switch#show runddress21-Oc
  Q
!

enable password cisco            up      
!
ip subnet-zerorted output fl
!-
!n
spanning-tree mode pvsth#show versionRC, 0 fra
no spanning-tree optimize bpdu transmissionem SoftwareARPA, ARP Timeout 04:00:00
     
spanning-tree extend system-idtware (C2950-I6Q4L2-M), Versio
!1
!1
!2
!A
interface FastEthernet0/1ets with dribble conditio
!d
interface FastEthernet0/2y 255/255, txload
(fc1)
!l
interface FastEthernet0/3by cisco Systems, Inc.s  
!
interface FastEthernet0/4PA, loopback

Compiled F
!
interface FastEthernet0/5erface resetspe: ARPA, AR
!T
interface FastEthernet0/6 0x80010000, d           
!
System returne
!t
interface FastEthernet0/10     0 output buffer fai
S
!t
interface FastEthernet0/11950-i6q4l2-mz.121-22.EA6.b
!"
interface FastEthernet0/12ge   
FastEthernet0/3 is
!w
interface FastEthernet0/1332300) processor (revision
!0
interface FastEthernet0/14ry./40 (size/
  Hardware i
!F
interface FastEthernet0/1508.a33b.ad03 (bia 0008.a33
!

interface FastEthernet0/16020, 0 overrun, 0 ignored
!d
interface FastEthernet0/17-reset0 bytes, BW 100000 K
!t
interface FastEthernet0/18e0 pause input73
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
login
!
!
end

Switch#


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
运行Switch#sh ru命令结果

Switch#sh ruPort channel
Building configuration...ice password-encryption  

Current configuration : 1136 bytes information underruns   
!
enab
!
version 12.1o  
  locati
no service padsplay the syst
service timestamps debug uptimee mode pvst   
Image te
  
  l
service timestamps log uptimetents of logging buffers 0 de
no service password-encryption
spanning-tree extend
  mac   
!
hostname SwitchnfigurationS
!o
!p
enable password ciscothernet0/
  mac-addre
!-
ip subnet-zeroarding tablest
!h
!n
spanning-tree mode pvsted out
!
  memory     
no spanning-tree optimize bpdu transmissionerface FastEthernet
  mls                Sh
spanning-tree extend system-idtionang never   


        
!
!n
!r
!c
!F
interface FastEthernet0/11information0/17ut flow-con
!o
interface FastEthernet0/12astE
  post               
!w
interface FastEthernet0/13astEthernet0/19           
!
interface FastEthernet0/14 ip ?hernet0/20:00:00
  ac
!s
interface FastEthernet0/15tstEthernet0/21t never, ou
!u
interface FastEthernet0/16he active IP accounting da
!b
interface FastEthernet0/17astEthernet0/23g of "show

interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
login
!
!
end

Switch#

[ 本帖最后由 windring 于 2008-6-24 10:02 编辑 ]

TOP

回复 楼主 windring 的帖子

你不是看到了VLAN1中没有配置IP吗,你当然是自己设置啊,进入特权管理模式。在你现在环境下:
conf t
int vlan 1
ip address 局域网内的IP地址 子网掩码。
完成后就行了,
记得要 wr一下保存一下你的配置,还有你没有将你的密码进行加密保存
在switch(config)#下输入service password-encryption将你的那个Cisco的密码加密一下吧


本帖最近评分记录
  • yonx 威望 +5 乐于助人 2008-6-24 09:13
楼上说的对,2950是二层交换机,本身没有IP的,出于管理需要可以在VLAN1上自己设置一个IP,用于telnet等应用

太感谢了,小弟初来乍到,还有很多东西需要学习啊。呵呵

好东西~~~~~~~能看明白了

看不懂  学习了

发新话题
版块跳转 
沪ICP备08026629号 / 管理员木木 / QQ58284700 / MSNjacro|at|bitscn.net / TEL13641763379 /