• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

VLAN 不通问题 小学生求助

2023-11-24提问
  • 0关注
  • 0收藏,339浏览
粉丝:0人 关注:0人

问题描述:

SW1 机器型号为  S5500V2-28C-EI

SW2 机器型号为  S5120V2-28P-LI

以上图为例

二台交换机直链

只要是vlan IP地址配置成192.168.1.1到192.168.31.1 

SW2都是可以成功ping通 1.1到31.1

但是配置成 192.168.32.1 到192.168.100.1

SW2就ping不通 192.168.32.1 到 192.168.100.1

搞得我很迷惑。。

大神 能帮忙看看啥子问题么


组网及组网描述:


1 个回答
粉丝:0人 关注:0人

1.先检查SW1上有没有存在192.168.32.1到192.168.100.1

2.再检查SW1和SW2的接口上trunk是否放通这些vlan

3.然后检查SW2上是否存在这些vlan并配置有地址

你说的一 二 2点都配置过了。 SW2 没有配置过192.168.32.1 只在sw1上配置了192.168.32.1 24 很奇怪的一个问题。还有没有其它原因

zhiliao_LJTHca 发表时间:2023-11-24

有没有这两台的配置,做个文本发出来看看

zhiliao_vag1co 发表时间:2023-11-24

先发个SW1的配置 <D-0>sys System View: return to User View with Ctrl+Z. [D-0]dis int b Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description GE1/0/23 UP UP 1.1.1.2 yidong-192.168.60.254-19 GE1/0/24 UP UP 10.10.2.2 dianxin-192.168.60.254-23 InLoop0 UP UP(s) -- MGE0/0/0 DOWN DOWN -- NULL0 UP UP(s) -- REG0 UP -- -- Vlan1 ADM DOWN -- Vlan17 UP UP 192.168.17.1 Vlan18 UP UP 192.168.18.1 Vlan19 UP UP 192.168.19.1 Vlan20 UP UP 192.168.20.1 Vlan21 ADM DOWN 192.168.21.1 Vlan30 UP UP -- Vlan31 UP UP 192.168.31.1 Vlan32 UP UP 192.168.32.1 Vlan61 UP UP -- Vlan62 UP UP 192.168.62.1 Wireless Brief information on interfaces in bridge mode: Link: ADM - administratively down; Stby - standby Speed: (a) - auto Duplex: (a)/A - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Link Speed Duplex Type PVID Description GE1/0/1 UP 1G(a) F(a) T 1 192.168.17.14 GE1/0/2 UP 1G(a) F(a) T 1 192.168.17.13 GE1/0/3 UP 1G(a) F(a) T 1 192.168.17.12 GE1/0/4 UP 1G(a) F(a) T 1 192.168.17.11 GE1/0/5 UP 1G(a) F(a) A 20 GE1/0/6 DOWN auto A A 20 GE1/0/7 ADM auto A T 1 h3c ac GE1/0/8 UP 1G(a) F(a) A 20 JK GE1/0/9 UP 1G(a) F(a) A 20 JK GE1/0/10 UP 1G(a) F(a) A 20 JK GE1/0/11 UP 1G(a) F(a) A 20 JK GE1/0/12 UP 1G(a) F(a) A 20 JK GE1/0/13 UP 1G(a) F(a) A 20 JK GE1/0/14 UP 100M(a) F(a) A 18 Server GE1/0/15 UP 1G(a) F(a) A 61 AP GE1/0/16 UP 1G(a) F(a) A 18 AC GE1/0/17 UP 1G(a) F(a) A 18 MW-network GE1/0/18 UP 1G(a) F(a) A 20 MW-JK GE1/0/19 UP 1G(a) F(a) A 20 4 hao JK GE1/0/20 UP 1G(a) F(a) A 18 4 hao OFFICE GE1/0/21 UP 1G(a) F(a) T 1 h3c ac GE1/0/22 UP 100M(a) F(a) A 18 office LED XGE1/0/25 UP 1G(a) F(a) T 1 1 zongxian XGE1/0/26 UP 1G(a) F(a) T 1 2 zongxian XGE1/0/27 UP 1G(a) F(a) T 1 3 zongxian XGE1/0/28 DOWN auto A T 1 [D-0] [D-0] [D-0]dis cu # version 7.1.070, Release 6312P01 # sysname D-0 # clock timezone Beijing add 08:00:00 clock protocol none # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable dhcp server forbidden-ip 192.168.62.2 192.168.62.3 # lldp global enable # password-recovery enable # vlan 1 # vlan 2 to 21 # vlan 30 to 32 # vlan 61 to 62 # dhcp server ip-pool 62 gateway-list 192.168.62.1 network 192.168.62.0 mask 255.255.255.0 dns-list 114.114.114.114 # policy-based-route aaa permit node 5 if-match acl 3498 apply next-hop 1.1.1.1 # policy-based-route aaa permit node 10 if-match acl 3499 apply next-hop 10.10.2.1 # interface NULL0 # interface Vlan-interface1 shutdown ip address dhcp-alloc dhcp client identifier ascii 9023b4cf2e82-VLAN0001 # interface Vlan-interface17 ip address 192.168.17.1 255.255.255.0 ip policy-based-route aaa # interface Vlan-interface18 ip address 192.168.18.1 255.255.255.0 ip policy-based-route aaa # interface Vlan-interface19 ip address 192.168.19.1 255.255.255.0 ip policy-based-route aaa # interface Vlan-interface20 ip address 192.168.20.1 255.255.255.0 ip policy-based-route aaa # interface Vlan-interface21 shutdown ip address 192.168.21.1 255.255.255.0 # interface Vlan-interface30 # interface Vlan-interface31 ip address 192.168.31.1 255.255.255.0 # interface Vlan-interface32 ip address 192.168.32.1 255.255.255.0 ip policy-based-route aaa # interface Vlan-interface61 # interface Vlan-interface62 description Wireless ip address 192.168.62.1 255.255.255.0 dhcp server apply ip-pool 62 # interface GigabitEthernet1/0/23 port link-mode route description yidong-192.168.60.254-19 combo enable auto ip address 1.1.1.2 255.255.255.252 # interface GigabitEthernet1/0/24 port link-mode route description dianxin-192.168.60.254-23 combo enable auto ip address 10.10.2.2 255.255.255.252 # interface GigabitEthernet1/0/1 port link-mode bridge description 192.168.17.14 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/2 port link-mode bridge description 192.168.17.13 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/3 port link-mode bridge description 192.168.17.12 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/4 port link-mode bridge description 192.168.17.11 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 20 # interface GigabitEthernet1/0/6 port link-mode bridge port access vlan 20 # interface GigabitEthernet1/0/7 port link-mode bridge description h3c ac port link-type trunk port trunk permit vlan all shutdown # interface GigabitEthernet1/0/8 port link-mode bridge description JK port access vlan 20 # interface GigabitEthernet1/0/9 port link-mode bridge description JK port access vlan 20 # interface GigabitEthernet1/0/10 port link-mode bridge description JK port access vlan 20 # interface GigabitEthernet1/0/11 port link-mode bridge description JK port access vlan 20 # interface GigabitEthernet1/0/12 port link-mode bridge description JK port access vlan 20 # interface GigabitEthernet1/0/13 port link-mode bridge description JK port access vlan 20 # interface GigabitEthernet1/0/14 port link-mode bridge description Server port access vlan 18 # interface GigabitEthernet1/0/15 port link-mode bridge description AP port access vlan 61 # interface GigabitEthernet1/0/16 port link-mode bridge description AC port access vlan 18 # interface GigabitEthernet1/0/17 port link-mode bridge description MW-network port access vlan 18 combo enable auto # interface GigabitEthernet1/0/18 port link-mode bridge description MW-JK port access vlan 20 combo enable auto # interface GigabitEthernet1/0/19 port link-mode bridge description 4 hao JK port access vlan 20 combo enable auto # interface GigabitEthernet1/0/20 port link-mode bridge description 4 hao OFFICE port access vlan 18 combo enable auto # interface GigabitEthernet1/0/21 port link-mode bridge description h3c ac port link-type trunk port trunk permit vlan all combo enable auto # interface GigabitEthernet1/0/22 port link-mode bridge description office LED port access vlan 18 combo enable auto # interface M-GigabitEthernet0/0/0 # interface Ten-GigabitEthernet1/0/25 port link-mode bridge description 1 zongxian port link-type trunk port trunk permit vlan all # interface Ten-GigabitEthernet1/0/26 port link-mode bridge description 2 zongxian port link-type trunk port trunk permit vlan all # interface Ten-GigabitEthernet1/0/27 port link-mode bridge description 3 zongxian port link-type trunk port trunk permit vlan all # interface Ten-GigabitEthernet1/0/28 port link-mode bridge port link-type trunk port trunk permit vlan all # scheduler logfile size 16 # line class aux user-role network-admin # line class usb user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 4 authentication-mode scheme user-role network-operator # line vty 5 63 user-role network-operator # ip route-static 0.0.0.0 0 10.10.2.1 preference 50 ip route-static 0.0.0.0 0 1.1.1.1 preference 52 # snmp-agent snmp-agent local-engineid 800063A2809023B4CF2E8600000001 snmp-agent community Fushanpaper user-role network-operator snmp-agent sys-info version v2c v3 # ssh server enable # acl number 3000 rule 100 deny tcp destination-port eq 443 rule 200 deny tcp destination-port eq www # acl advanced 3498 description vlan19,20-yidong rule 0 permit ip source 192.168.19.0 0.0.0.255 rule 5 permit ip source 192.168.20.0 0.0.0.255 # acl advanced 3499 description vlan17,18-dianxin rule 0 permit ip source 192.168.17.0 0.0.0.255 rule 5 permit ip source 192.168.18.0 0.0.0.255 rule 10 permit ip source 192.168.32.0 0.0.0.255 # radius scheme system user-name-format without-domain # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$Rmwgi/b9oKvTRTOn$YRZynPFBYOsHIo40WkS7MyV29WXL1oCDLh0IrZ2hKNy1jP97g0Kq540S1mPfOnjhcXxyEM5j9nrQhvAoUxdiGA== service-type telnet http https ssh authorization-attribute user-role level-15 authorization-attribute user-role network-operator # local-user root class manage password hash $h$6$mrxM4rF5jGGKGNDw$8a1Lbl9HSKJYPO44ceB1TENDN4cPnURknVB6TWzAGpbArOQg3Ht0hJ6eJ4vcTALV11cAsS/yUbfkwigZkerkSQ== service-type telnet http https ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ip http enable # cloud-management server domain oasis.h3c.com # return [D-0]

zhiliao_LJTHca 发表时间:2023-11-25

我去乱码。。。。。

zhiliao_LJTHca 发表时间:2023-11-25

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明