免费注册 查看新帖 |

Chinaunix

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

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-11 23:31 |只看该作者 |倒序浏览
我的voip设备接在一口走vlan 2,始终不能从DHCP主机得到ip.下面是配置文件:\r\n\r\nUsing 1344 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$u2ga$RyDImBjLUdwgxs3iNuxqQ1\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 switchport access vlan 2\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 ip directed-broadcast\r\n no ip route-cache\r\n shutdown\r\n!\r\nip default-gateway 192.168.107.213\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\r\n\r\n为什么vlan 2总是shutdown,我用no shutdown也改不过来,如何改?\r\n谢谢.

论坛徽章:
0
2 [报告]
发表于 2003-02-12 00:35 |只看该作者

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了

这里的VLAN2是在29XX上创建的,还是从别的VTP SERVER学来的?

论坛徽章:
0
3 [报告]
发表于 2003-02-12 10:06 |只看该作者

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了

楼上的,对不起,我不太明白你的意思?\"从别的vtp server学来的是什么意思?\r\n我在2900上肯定已经创建了vlan2.\r\n\r\n另外请问:如何是2900恢复到最初状态?就是和新买来的一样?\r\n\r\n请各位帮帮忙,我被困异乡,解决不了回不了家呀!!!!555!!!!

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

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了

兄弟,你到http://forums.ultratechnology.net/forumdisplay.php?s=&forumid=33这里问问或许可以解决

论坛徽章:
0
5 [报告]
发表于 2003-02-12 10:44 |只看该作者

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了

但是这里就没人能帮我一下吗?

论坛徽章:
0
6 [报告]
发表于 2003-02-12 13:08 |只看该作者

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了

我只懂一点,用一WINDOWSPC连接2900控制口,用TELNET进入2900,然后就试试看吧!

论坛徽章:
0
7 [报告]
发表于 2003-02-12 13:51 |只看该作者

请各位大虾和斑竹帮帮忙:一个关于2900和vlan的问题,多谢了

我问那些的意思是,29XX(XL系列)上创建VLAN不应该是你用的命令,你的配置让我以为VLAN2是从别的VTP SERVRE上学来的,这台29是VTP CLIENT.\r\n至于什么是VTP SERVER,什么是VTP CLIENT,说来话长。\r\n具体的在29上配置VLAN,请参阅:\r\nhttp://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/29_35wc6/scg/swvlan.htm#xtocid35\r\n恢复出场配置的方法:\r\nhttp://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/29_35wc6/scg/swtrbl.htm#xtocid16

论坛徽章:
0
8 [报告]
发表于 2003-02-12 14:51 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP