免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2983 | 回复: 2
打印 上一主题 下一主题

再问关于2900和vlan的问题!!!请帮帮我!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-13 11:47 |只看该作者 |倒序浏览
这是2900的配置:\r\n\r\nUsing 1511 out of 32768 bytes\r\n!\r\nversion 12.0\r\nno service pad\r\nservice timestamps debug uptime\r\nservice timestamps log uptime\r\nno service password-encryption\r\n!\r\nhostname SGZVOICE21\r\n!\r\nenable secret 5 $1$E1DC$gsEcnPHRfMcLX1v1GF07N/\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nip subnet-zero\r\n!\r\n!\r\n!\r\ninterface FastEthernet0/1\r\n duplex half\r\n speed 10\r\n switchport access vlan 2\r\n spanning-tree portfast\r\n!\r\ninterface FastEthernet0/2\r\n!\r\ninterface FastEthernet0/3\r\n!\r\ninterface FastEthernet0/4\r\n!\r\ninterface FastEthernet0/5\r\n!\r\ninterface FastEthernet0/6\r\n!\r\ninterface FastEthernet0/7\r\n!\r\ninterface FastEthernet0/8\r\n!\r\ninterface FastEthernet0/9\r\n!\r\ninterface FastEthernet0/10\r\n!\r\ninterface FastEthernet0/11\r\n!\r\ninterface FastEthernet0/12\r\n!\r\ninterface FastEthernet0/13\r\n!\r\ninterface FastEthernet0/14\r\n!\r\ninterface FastEthernet0/15\r\n!\r\ninterface FastEthernet0/16\r\n!\r\ninterface FastEthernet0/17\r\n!\r\ninterface FastEthernet0/18\r\n!\r\ninterface FastEthernet0/19\r\n!\r\ninterface FastEthernet0/20\r\n!\r\ninterface FastEthernet0/21\r\n!\r\ninterface FastEthernet0/22\r\n!\r\ninterface FastEthernet0/23\r\n!\r\ninterface FastEthernet0/24\r\n switchport trunk encapsulation dot1q\r\n switchport mode trunk\r\n!\r\ninterface VLAN1\r\n ip address 192.168.107.121 255.255.255.0\r\n no ip directed-broadcast\r\n no ip route-cache\r\n!\r\ninterface VLAN2\r\n no ip directed-broadcast\r\n no ip route-cache\r\n shutdown\r\n!\r\nip default-gateway 192.168.107.213\r\nsnmp-server engineID local 0000000902000006D7813580\r\nsnmp-server community private RW\r\nsnmp-server community public RO\r\n!\r\nline con 0\r\n transport input none\r\n stopbits 1\r\nline vty 0 4\r\n password password\r\n login\r\nline vty 5 15\r\n password password\r\n login\r\n!\r\nend\r\n我的voip设备接在2900的第一口,走vlan2\r\n这台2900上联3550通过光纤接到机房,机房里有三台2950,上面接的voip设备走vlan2都可以用了,另外一个地方也有一套2950上联3550通过光纤接到机房,这个2950上的voip设备也走vlan2可以使用没问题.\r\n我不明白为什么2900上就不行?是否有些地方和2950不一样?\r\n\r\n现在我的电脑在2900上可以ping到我的dhcp server,但是2900上的voip设备就是不能从dhcp server获得ip address,这是为什么呢?\r\n我试过在vlan 2中作ip help-address指向我的dhcp server也不行.我其它的2950上也没做这个.\r\n\r\n真是伤脑筋,请各位帮帮忙,我已经被这个问题困扰好些天了?

论坛徽章:
0
2 [报告]
发表于 2003-02-14 13:10 |只看该作者

再问关于2900和vlan的问题!!!请帮帮我!!!

我也不知道,解决了发个贴告诉我们怎么解决的

论坛徽章:
0
3 [报告]
发表于 2003-02-14 13:46 |只看该作者

再问关于2900和vlan的问题!!!请帮帮我!!!

现在问题的得到了解决,但是为什么呢?\r\n\r\n我把一端口改称如下配置:\r\n\r\nsw trunk enc dot1\r\nsw mode trunk\r\nsw trunk native vlan 2\r\n\r\n我的voip设备终于可以使用了,但是为什么原来不行,我还是不明白,哪位高手能够指点以下谜精.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP