免费注册 查看新帖 |

Chinaunix

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

2950问题... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-17 14:23 |只看该作者 |倒序浏览
配置如下
Switch#show ru
Building configuration...
Current configuration : 1261 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime

!
hostname Switch
!

!
ip subnet-zero
no ip finger
!
!
!
interface FastEthernet0/1
switchport access vlan 10
!
interface FastEthernet0/2
switchport access vlan 20
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport access vlan 20
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport mode trunk
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
exec-timeout 0 0
transport input none
line vty 0 4
password 7
login
line vty 5 15
password 7
login
!
end


现在是 1口无法ping通24口
2口无法ping通24口
7口无法ping通24口
2口可以ping通7口

如何能使24口透传,,,偶不明白了,,,,,都作trunk了。 。

论坛徽章:
0
2 [报告]
发表于 2004-11-17 14:37 |只看该作者

2950问题...

interface FastEthernet0/24
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan add 10,20
end

你再看看

论坛徽章:
0
3 [报告]
发表于 2004-11-17 14:45 |只看该作者

2950问题...

没有
switchport trunk encapsulation dot1q 命令.
使用了
switchport trunk allowed vlan add 10,20

但是依然无法ping通...
请再指点...小弟拜了 

论坛徽章:
0
4 [报告]
发表于 2004-11-17 14:58 |只看该作者

2950问题...

1、你对端接的什么。什么配置
2、switchport trunk encapsulation 后面接negotiate可以用吗,你看看。

论坛徽章:
0
5 [报告]
发表于 2004-11-17 15:05 |只看该作者

2950问题...

哦,2950好像不能改封装的,应该不是这个问题。你还是看看你的对端是什么,怎么配置的先。

论坛徽章:
0
6 [报告]
发表于 2004-11-17 15:12 |只看该作者

2950问题...

?中没有 encapsulation
我用了2台笔记本作测试。
本来是1口一个internet出口,2口7口一个internet出口,24口作透传连接于内网是7206,7206作了策略,内网成2部分从1口2口上网,7口单独是一台服务器。。。。

论坛徽章:
0
7 [报告]
发表于 2004-11-17 15:18 |只看该作者

2950问题...

那你7206接2950的以太网口做了配置了吗,听你的意思,你不会是把笔记本插在24口上ping的吧。
在链路两端都必须启用trunking,传送的帧打上相同标记(isl或者802.1q)

论坛徽章:
0
8 [报告]
发表于 2004-11-17 15:20 |只看该作者

2950问题...

7206作配置了。但是上次突然无法出口,于是就用了一个出口,越过了2950。
我使用了2台笔记本分别插在1口和24口上作的测试,是否不行?请指点。

论坛徽章:
0
9 [报告]
发表于 2004-11-17 15:24 |只看该作者

2950问题...

笔记本插在24口不通是正常的,你还在接在72上再试吧,配置就几条,应该没什么问题。

论坛徽章:
0
10 [报告]
发表于 2004-11-17 15:26 |只看该作者

2950问题...

interface FastEthernet0/24
switchport access vlan 120
switchport trunk native vlan 120
switchport mode trunk
no ip address
channel-group 1 mode on
我的是这样的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP