cisco2950配置

来源:百度知道 编辑:UC知道 时间:2024/05/28 19:53:43
cisco2950为什么ping不通自己和别人,telnet也不行,小弟实在太……

Switch#show running-config
Building configuration...

Current configuration : 1281 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
username admin password 0 abcdef level 15
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
!

你的vlan 1接口是shutdown的 能ping通就出鬼了
no shutdown一下!!!

vlan 1 没有启用
可以进特权模式,把以下命令复制进去:
conf t
int vlan 1
no shu
end
wr

conf t
int vlan1
no sh
wr

是不是没有指定的硬件端口(interface)指定到该vlan(interface vlan1),导致vlan1没有被激活?

使用命令switchport access vlan 1