Cisco3550怎么设置Vlan间的互相访问?急~~

来源:百度知道 编辑:UC知道 时间:2024/05/17 03:46:33
我设置如下:
3550#sh run
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3550
ip name-server 0.0.0.0
!
!
!
ip subnet-zero
ip routing
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport mode access
switchport access vlan 2
!
interface FastEthernet0/2

switchport mode access
switchport access vlan 3
!
vtp domain bigdomain
interface Vlan 1
no ip address
no ip route-cache
shutdown
interface Vlan0002
ip address 172.16.2.1 255.255.255.0
no ip route-cache
interface Vlan0003
ip address 172.16.3.1 255.255.255.0
no ip route-cache
ip classless
no ip http server
3550#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- --------

看你配置是应该没有错的,只要开启了ip routing各vlan之间就可以互通了,
copy run start
reload 在试试

好久没有弄cisco了,都快还给老师了,要是上面那个方法不行,在试着使用vlan1 配的ip和别的vlan调下通不通,VLAN1和其它VLAN的区别就是当一个交换机收到没有打tag的frame会在vlan1广播,

vlan间的互访要通过路由功能的设备,比方说路由器,三层交换机!你的网关配置在哪?要配路由!

3层交换机要设置 ip routing