Password:
Password:
Password:
switch1>;en
Password:
switch1#rel ?
LINE Reason for reload
at Reload at a specific time/date
cancel Cancel pending reload
in Reload after a time interval
<cr>;
switch1#rel lin
switch1#rel LINE ?
LINE <cr>;
switch1#show run
Building configuration...
Current configuration : 2307 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname switch1
!
enable secret 5 $1$eLHy$wmJ54ACKy.yMuOvZxu9Ai0
enable password 123456
!
ip subnet-zero
ip domain-name 192.168.13.12
!
shutdown vlan 2
shutdown vlan 3
!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
no ip address
!
interface FastEthernet0/2
no ip address
!
interface FastEthernet0/3
no ip address
!
interface FastEthernet0/4
no ip address
!
interface FastEthernet0/5
no ip address
!
interface FastEthernet0/6
no ip address
!
interface FastEthernet0/7
no ip address
!
interface FastEthernet0/8
no ip address
!
interface FastEthernet0/9
no ip address
!
interface FastEthernet0/10
no ip address
!
interface FastEthernet0/11
no ip address
!
interface FastEthernet0/12
no ip address
!
interface FastEthernet0/13
no ip address
!
interface FastEthernet0/14
no ip address
!
interface FastEthernet0/15
no ip address
!
interface FastEthernet0/16
no ip address
!
interface FastEthernet0/17
no ip address
!
interface FastEthernet0/18
no ip address
!
interface FastEthernet0/19
no ip address
!
interface FastEthernet0/20
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
no ip address
!
interface FastEthernet0/24
no ip address
!
interface Vlan1
ip address 192.168.0.5 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.0.1
ip http server
!
snmp-server engineID local 800000090300000C8553AB41
snmp-server community softer RO
snmp-server trap-source Vlan1
snmp-server contact 123@163.com
snmp-server enable traps snmp authentication warmstart linkdown linkup coldstart
snmp-server enable traps config
snmp-server enable traps syslog
snmp-server enable traps entity
snmp-server enable traps rtr
snmp-server enable traps c2900
snmp-server enable traps vtp
snmp-server enable traps vlan-membership
snmp-server enable traps MAC-Notification
snmp-server enable traps envmon
snmp-server enable traps hsrp
snmp-server enable traps cluster
snmp-server host 192.168.0.38 softer
!
line con 0
line vty 0 4
password 123456
login
line vty 5 15
password 123456
login
!
end
是进入fastethernet 0/1的配置里面吗,具体怎么操作(因为兄弟基础差,上网查了半天no switchport也没弄出个所以然来 ,所以还请指点--敬礼 )作者: tianshanhanshui 时间: 2005-08-02 16:42 标题: 求助:怎么恢复Cisco2950的出厂设置 现在我已经把默认vlan的ip地址给no 掉了
但进入fastethernet 0/1配置,用ip address x.x.x.x y.y.y.y之后提示我,"Ip address may not configured on L2 links.
虚心等待中 作者: saman 时间: 2005-08-02 17:18 标题: 求助:怎么恢复Cisco2950的出厂设置
原帖由 "tianshanhanshui" 发表:
现在我已经把默认vlan的ip地址给no 掉了
但进入fastethernet 0/1配置,用ip address x.x.x.x y.y.y.y之后提示我,"Ip address may not configured on L2 links.
虚心等待中
int f0/1
no switchport作者: tianshanhanshui 时间: 2005-08-02 17:48 标题: 求助:怎么恢复Cisco2950的出厂设置 no switchport 是个不完整的命令
switch2(config)#int f0/1
switch2(config-if)#no swi
switch2(config-if)#no switchport ?
access Set access mode characteristics of the interface
host Set port host
mode Set trunking mode of the interface
nonegotiate Device will not engage in negotiation protocol on this
interface
port-security Security related command
priority Set appliance 802.1p priority
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes