两台交换机,型号分别是H3C S5130S-28S-LI(简称1#),H3C S5130S-52S-LI(简称2#),1#的27口和2#的50口都使用SFP-GE-LX-SM1310-D 光模块连接,用命令查看如下
交换机上两个端口的灯和状态都是正常的。1#的27口和9、10、15口同属一个VLAN,PC接15号口能ping通接9和10口的服务器IP地址,2#的50口和35口同属于该VLAN,PC接到35口不能ping通前面提到的服务器IP,请问这会是什么原因呢,这些端口都是access模式,没有做trunk。模块确实是正常的,在其他的千兆交换机S5110-52P-SI与S5130S-52P-EI上连接测试可以通的说明模块没问题
(0)
最佳答案
这个是S5130S-28S-LI的配置
#
version 7.1.070, Release 6310
#
sysname H3C
#
clock timezone Lisbon add 00: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
#
lldp global enable
#
password-recovery enable
#
vlan 1
#
vlan 300
description TO10.0.10.0
#
vlan 1010
#
stp global enable
#
interface Bridge-Aggregation1015
link-aggregation mode dynamic
#
interface Bridge-Aggregation1018
link-aggregation mode dynamic
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.101.1 255.255.255.0
dhcp client identifier ascii 00bed5a83284-VLAN0001
#
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
#
interface GigabitEthernet1/0/3
port access vlan 1010
#
interface GigabitEthernet1/0/4
#
interface GigabitEthernet1/0/5
port link-aggregation group 1015
#
interface GigabitEthernet1/0/6
port link-aggregation group 1015
#
interface GigabitEthernet1/0/7
port link-aggregation group 1015
#
interface GigabitEthernet1/0/8
port link-aggregation group 1015
#
interface GigabitEthernet1/0/9
port access vlan 1010
#
interface GigabitEthernet1/0/10
port access vlan 1010
#
interface GigabitEthernet1/0/11
shutdown
#
interface GigabitEthernet1/0/12
port access vlan 300
#
interface GigabitEthernet1/0/13
port link-aggregation group 1018
#
interface GigabitEthernet1/0/14
port link-aggregation group 1018
#
interface GigabitEthernet1/0/15
port access vlan 1010
#
interface GigabitEthernet1/0/16
#
interface GigabitEthernet1/0/17
shutdown
#
interface GigabitEthernet1/0/18
#
interface GigabitEthernet1/0/19
#
interface GigabitEthernet1/0/20
#
interface GigabitEthernet1/0/21
#
interface GigabitEthernet1/0/22
port access vlan 300
#
interface GigabitEthernet1/0/23
#
interface GigabitEthernet1/0/24
#
interface Ten-GigabitEthernet1/0/25
#
interface Ten-GigabitEthernet1/0/26
#
interface Ten-GigabitEthernet1/0/27
port access vlan 1010
duplex full
#
interface Ten-GigabitEthernet1/0/28
#
scheduler logfile size 16
#
line class aux
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
#
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$0sDOElkMnEKIjzbr$DvY7ULuxVLBR6rRsGuZkxF60V9cYtEK2KBXkMWaIBheiuekaAKc1X0nGvvyR7XLIunlqNWszqILXjVN14xHRsg==
service-type telnet http
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ip http enable
#
cloud-management server domain oasis.h3c.com
#
return
(0)
这个是S5130S-52S-LI的配置 # version 7.1.070, Release 6318P01 # sysname H3CS5130S-52S-LI # clock timezone Lisbon add 00: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 # lldp global enable # password-recovery enable # vlan 1 # vlan 2 # vlan 3 # vlan 4 # vlan 5 # vlan 6 # vlan 7 # vlan 8 # vlan 9 # vlan 10 # vlan 11 # vlan 13 # vlan 15 # vlan 16 # vlan 17 # vlan 19 # vlan 23 # vlan 30 to 31 # vlan 32 # vlan 33 # vlan 35 # vlan 50 # vlan 60 # vlan 102 # vlan 111 # vlan 130 # vlan 192 # vlan 200 # vlan 300 # vlan 301 # vlan 302 # vlan 303 # vlan 304 # vlan 310 # vlan 320 # vlan 602 # vlan 1010 # vlan 1920 # vlan 1921 # vlan 1923 # # stp global enable # interface Bridge-Aggregation1 port access vlan 7 link-aggregation mode dynamic # interface NULL0 # interface Vlan-interface192 ip address 192.0.0.5 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 192 # interface GigabitEthernet1/0/2 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/3 port link-type trunk port trunk permit vlan 1 to 2 4 to 11 15 to 17 19 23 50 111 192 200 320 port trunk permit vlan 602 1920 to 1921 1923 # interface GigabitEthernet1/0/4 description 接H3C-F100-C-G2/2口GigabitEthernet1/0/4 Interface port access vlan 13 speed 1000 # interface GigabitEthernet1/0/5 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/6 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/7 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/8 port access vlan 102 # interface GigabitEthernet1/0/9 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/10 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/11 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/12 port access vlan 192 # interface GigabitEthernet1/0/13 port access vlan 192 # interface GigabitEthernet1/0/14 port access vlan 320 # interface GigabitEthernet1/0/15 port access vlan 130 # interface GigabitEthernet1/0/16 port access vlan 130 # interface GigabitEthernet1/0/17 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/18 port link-type trunk port trunk permit vlan 1 to 2 9 13 15 19 23 30 to 31 35 60 102 port trunk permit vlan 192 300 to 304 310 320 1923 to 1925 port trunk pvid vlan 192 # interface GigabitEthernet1/0/19 port link-type trunk port trunk permit vlan 1 9 33 60 130 200 # interface GigabitEthernet1/0/20 port access vlan 7 port link-aggregation group 1 # interface GigabitEthernet1/0/21 port access vlan 33 # interface GigabitEthernet1/0/22 port access vlan 7 port link-aggregation group 1 # interface GigabitEthernet1/0/23 port link-type trunk port trunk permit vlan 1 to 2 4 to 5 8 10 13 16 to 17 19 31 to 33 111 130 port trunk permit vlan 192 200 301 303 to 304 320 602 1920 to 1921 1923 to 1925 # interface GigabitEthernet1/0/24 port link-type trunk port trunk permit vlan 1 192 300 to 304 310 1923 1925 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan 1 192 301 to 304 310 1923 1925 # interface GigabitEthernet1/0/26 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 300 to 302 port trunk pvid vlan 300 # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan 1 to 2 111 192 301 310 1923 # interface GigabitEthernet1/0/28 port access vlan 310 # interface GigabitEthernet1/0/29 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 30 to 32 35 300 to 301 320 port trunk pvid vlan 99 # interface GigabitEthernet1/0/30 # interface GigabitEthernet1/0/31 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/32 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/33 port access vlan 304 # interface GigabitEthernet1/0/34 port access vlan 13 # interface GigabitEthernet1/0/35 port access vlan 1010 # interface GigabitEthernet1/0/36 port access vlan 1923 # interface GigabitEthernet1/0/37 port access vlan 300 # interface GigabitEthernet1/0/38 port access vlan 1923 # interface GigabitEthernet1/0/39 port link-type trunk port trunk permit vlan 1 to 2 15 111 320 1923 # interface GigabitEthernet1/0/40 port access vlan 1923 # interface GigabitEthernet1/0/41 port access vlan 2 # interface GigabitEthernet1/0/42 port link-type trunk port trunk permit vlan 1 to 2 111 192 # interface GigabitEthernet1/0/43 port link-type trunk port trunk permit vlan 1 to 2 111 192 320 1923 # interface GigabitEthernet1/0/44 port link-type trunk port trunk permit vlan 1 to 2 111 192 # interface GigabitEthernet1/0/45 # interface GigabitEthernet1/0/46 port link-type trunk port trunk permit vlan 1 to 2 111 192 1923 # interface GigabitEthernet1/0/47 port link-type trunk port trunk permit vlan 1 to 2 15 33 111 192 1923 port trunk pvid vlan 111 # interface GigabitEthernet1/0/48 port access vlan 200 # interface Ten-GigabitEthernet1/0/49 port link-type trunk port trunk permit vlan 1 to 6 8 to 9 11 15 31 33 60 111 192 200 port trunk permit vlan 310 1923 # interface Ten-GigabitEthernet1/0/50 port access vlan 1010 duplex full # interface Ten-GigabitEthernet1/0/51 # interface Ten-GigabitEthernet1/0/52 port access vlan 310 # scheduler logfile size 16 # line class aux 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 Vlan-interface192 192.0.0.2 # snmp-agent snmp-agent local-engineid 800063A28014517EC8ED1F00000001 snmp-agent sys-info location fuwuqijifang snmp-agent sys-info version v3 # 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$4CWcAoDarogmKTlD$jr+Z/+SSp2AH+W09oCR+j1XgepWWHxGCb8/sQ0ogAnJxxn63WL7PlBcq1CXJXyUnA3Wi9/vYWcIaHlQLqnAKWQ== service-type telnet http authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ip http enable # cloud-management server domain oasis.h3c.com # return
格式怎么改不了呢
配置发出来看下 模块光衰正常 型号也没问题
(0)
直接复制到留言里面就行
没找到哪里能把配置作为附件传上来呢
直接复制到留言里面就行
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
格式怎么改不了呢