s7503 , 两个互联,开了stp。
原来的vlan之间能够互通,但新建的vlan无法互通,原来的vlan加新的端口,也无法与原来的vlan互通。
无论新的端口设为access;trunk,并permit vlan all;还是用link-mode route, 并设ip。都无法跨vlan通信。
pc到交换机的端口可以互相ping通,但跨vlan就是不行。
比如27号口是以前就有的,vlan 1100。接一个设备 ip:10.87.181.13 /29.
现在把25号口加入vlan 1100. 接一个设备 ip:10.87.181.9/29。
一个pc接入通过另一个交换机接入 s7503的一个Trunk口,这个pc可以ping通27口,无法ping通25口。
27可以和交换机互相ping通。25口也可以和交换机互相ping通。
如果关了stp,整个网络都不通了,还无法连接到交换机。
配置如下:代码粘贴过来换行符就没了。。。。。(Linux系统)
Trying 192.168.5.1... Connected to 192.168.5.1. Escape character is '^]'. ****************************************************************************** * Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * ****************************************************************************** Login authentication Password: <S7503_E_S_1>d ^ % Ambiguous command found at '^' position. <S7503_E_S_1>sys System View: return to User View with Ctrl+Z. [S7503_E_S_1]dis ^ % Incomplete command found at '^' position. [S7503_E_S_1]dis c ^ % Ambiguous command found at '^' position. [S7503_E_S_1]dis cur # version 5.20, Release 6616P05 # sysname S7503_E_S_1 # domain default enable system # telnet server enable # switch-mode standard # acl number 2000 rule 0 permit source 192.168.5.110 0 # vlan 1 # vlan 20 description to S5700-28C # vlan 50 # vlan 100 # vlan 200 # vlan 300 # vlan 600 # vlan 700 description hongxinjieyong # vlan 800 to 801 # vlan 999 # vlan 1100 # domain system access-limit disable state active idle-cut disable self-service-url disable # traffic classifier cl_1 operator and if-match acl 2000 # traffic behavior tj_1 accounting # qos policy p_1 classifier cl_1 behavior tj_1 # user-group system # local-user admin service-type ssh telnet service-type portal # stp instance 0 priority 0 stp enable # interface NULL0 # interface Vlan-interface20 description to S5700-28C ip address 192.168.20.4 255.255.255.0 vrrp vrid 13 virtual-ip 192.168.20.1 vrrp vrid 13 priority 250 vrrp vrid 13 preempt-mode timer delay 5 vrrp vrid 13 timer advertise 2 # interface Vlan-interface50 ip address 192.168.10.1 255.255.255.252 # interface Vlan-interface100 ip address 192.168.0.2 255.255.255.0 vrrp vrid 10 virtual-ip 192.168.0.1 vrrp vrid 10 priority 250 vrrp vrid 10 preempt-mode timer delay 5 vrrp vrid 10 timer advertise 2 # interface Vlan-interface200 ip address 192.168.3.2 255.255.255.0 vrrp vrid 11 virtual-ip 192.168.3.1 vrrp vrid 11 priority 250 vrrp vrid 11 preempt-mode timer delay 5 vrrp vrid 11 timer advertise 2 # interface Vlan-interface600 ip address 192.168.5.2 255.255.255.0 vrrp vrid 12 virtual-ip 192.168.5.1 vrrp vrid 12 priority 250 vrrp vrid 12 preempt-mode timer delay 5 vrrp vrid 12 timer advertise 2 # interface Vlan-interface801 ip address 192.168.1.2 255.255.255.0 # interface Vlan-interface999 ip address 192.168.2.1 255.255.255.0 # interface Vlan-interface1100 ip address 10.87.181.12 255.255.255.248 vrrp vrid 15 virtual-ip 10.87.181.14 vrrp vrid 15 priority 250 vrrp vrid 15 preempt-mode timer delay 5 vrrp vrid 15 timer advertise 2 # interface GigabitEthernet0/0/22 port link-mode route ip address 200.1.1.2 255.255.255.0 # interface GigabitEthernet0/0/1 port link-mode bridge port access vlan 300 # interface GigabitEthernet0/0/2 port link-mode bridge port access vlan 100 # interface GigabitEthernet0/0/3 port link-mode bridge port access vlan 50 # interface GigabitEthernet0/0/4 port link-mode bridge # interface GigabitEthernet0/0/5 port link-mode bridge shutdown # interface GigabitEthernet0/0/6 port link-mode bridge shutdown # interface GigabitEthernet0/0/7 port link-mode bridge shutdown # interface GigabitEthernet0/0/8 port link-mode bridge shutdown # interface GigabitEthernet0/0/9 port link-mode bridge description link_up_to S7503_E_S_2 port link-type trunk port trunk permit vlan all # interface GigabitEthernet0/0/10 port link-mode bridge description link_up_to S5120_Server_1 port link-type trunk port trunk permit vlan all qos apply policy p_1 inbound # interface GigabitEthernet0/0/11 port link-mode bridge description link_up_to S5120-Server_2 port link-type trunk port trunk permit vlan all # interface GigabitEthernet0/0/12 port link-mode bridge description link_up_to S5120-access_1 port link-type trunk port trunk permit vlan all # interface GigabitEthernet0/0/13 port link-mode bridge description to S5700-28C port access vlan 20 speed 1000 duplex full # interface GigabitEthernet0/0/14 port link-mode bridge description to S5700-28C port access vlan 20 speed 1000 duplex full # interface GigabitEthernet0/0/15 port link-mode bridge # interface GigabitEthernet0/0/16 port link-mode bridge # interface GigabitEthernet0/0/17 port link-mode bridge # interface GigabitEthernet0/0/18 port link-mode bridge # interface GigabitEthernet0/0/19 port link-mode bridge port access vlan 600 # interface GigabitEthernet0/0/20 port link-mode bridge port link-type trunk port trunk permit vlan all # interface GigabitEthernet0/0/21 port link-mode bridge # interface GigabitEthernet0/0/23 port link-mode bridge # interface GigabitEthernet0/0/24 port link-mode bridge # interface GigabitEthernet0/0/25 port link-mode bridge port access vlan 1100 # interface GigabitEthernet0/0/26 port link-mode bridge port access vlan 300 # interface GigabitEthernet0/0/27 port link-mode bridge port access vlan 1100 # interface GigabitEthernet0/0/28 port link-mode bridge port access vlan 300 # interface M-Ethernet0/0/0 # ip route-static 0.0.0.0 0.0.0.0 10.87.181.13 ip route-static 25.30.2.0 255.255.255.0 192.168.10.2 ip route-static 25.30.3.0 255.255.255.0 192.168.10.2 ip route-static 172.16.129.0 255.255.255.0 192.168.10.2 ip route-static 192.168.1.0 255.255.255.0 192.168.20.2 ip route-static 192.168.110.0 255.255.255.0 192.168.20.2 ip route-static 192.168.120.0 255.255.255.0 192.168.20.2 ip route-static 192.168.150.0 255.255.255.0 192.168.20.2 # ssh server enable # load xml-configuration # user-interface aux 0 user-interface vty 0 15 user privilege level 3 set authentication password simple ******** # return
(0)
最佳答案
原来的vlan之间能够互通,但新建的vlan无法互通
==》这个放通vlan了吗?
原来的vlan加新的端口
==》这个新加端口,就好成环
也无法与原来的vlan互通。
==》没看明白啥意思
pc到交换机的端口可以互相ping通,但跨vlan就是不行。
==》 跨vlan ping不通是吗?配置网关和路由了吗
(0)
放通vlan了。这么说吧,新建两个vlan,无法互通。也无法与原来的vlan互通。原来的vlan600可以访问vlan1100,现在把端口25加入vlan100,也无法与vlan600互通。关于网关,配置的是交换机对应的vlan ip,至于路由,新建vlan就自动生成了Direct路由表。应该没问题。
现在把端口25加入vlan1100 (刚刚打成了vlan100)
S7503核心交换机上,把25号口加入vlan 1100.access口, 接一个设备 ip:10.87.181.9/29。 vlan 1100的ip是:10.87.181.12/29 从交换机上ping 10.87.181.9 OK. 从10.87.181.9上ping 10.87.181.12 OK。 有一台pc接入s5120, s5120接入S7503核心交换机的Trunk口 (permit vlan all), pc ping 10.87.181.12 , OK. pc ping 27口连接的10.87.181.13,OK. pc ping 25口连接的10.87.181.9 , 不通。 25口无论用access + ip add, 还是 trunk +permit vlan all, 还是 link-mode route ,均无法ping通。 把25换成其他空着的口,也是如此。 如果从另一个口设为和25口同一个vlan,则可以ping通。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
有没有什么建议啊