核心的G1/0/18光纤直连汇聚XG1/0/33
【核心】
<hexin>dis cu
#
version 5.20, Release 2220P02
#
sysname 5500-waiwang
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
undo ip http enable
#
password-recovery enable
#
acl number 2000
rule 0 permit source 10.100.50.0 0.0.0.15
rule 999 deny
#
vlan 1
#
vlan 11
description AP-IP
#
vlan 12
description sta-ip
#
vlan 20
description Fank
#
vlan 30
description Fulou
#
vlan 40
description yikatong
#
vlan 50
description tv
#
vlan 60
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool vlan11
network 10.10.1.0 mask 255.255.255.0
gateway-list 10.10.1.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 8
#
dhcp server ip-pool vlan12
network 10.10.2.0 mask 255.255.254.0
gateway-list 10.10.2.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 2
#
dhcp server ip-pool vlan20
network 192.168.20.0 mask 255.255.254.0
gateway-list 192.168.20.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 8
#
dhcp server ip-pool vlan30
network 10.10.30.0 mask 255.255.254.0
gateway-list 10.10.30.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 8
#
dhcp server ip-pool vlan40
network 10.10.40.0 mask 255.255.254.0
gateway-list 10.10.40.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 8
#
dhcp server ip-pool vlan50
network 10.10.50.0 mask 255.255.255.0
gateway-list 10.10.50.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 4
#
dhcp server ip-pool vlan60
network 10.10.60.0 mask 255.255.255.0
gateway-list 10.10.60.1
dns-list 202.96.209.5 202.96.209.133
expired day 0 hour 8
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$t7MIrefh----------------My5rc2HsQ==
authorization-attribute level 3
service-type ssh terminal
service-type web
#
interface NULL0
#
interface Vlan-interface1
ip address 10.100.2.1 255.255.255.0
#
interface Vlan-interface11
ip address 10.10.1.1 255.255.255.0
#
interface Vlan-interface12
ip address 10.10.2.1 255.255.254.0
#
interface Vlan-interface20
ip address 192.168.20.1 255.255.254.0
#
interface Vlan-interface30
ip address 10.10.30.1 255.255.254.0
#
interface Vlan-interface40
ip address 10.10.40.1 255.255.254.0
#
interface Vlan-interface50
ip address 10.10.50.1 255.255.255.0
#
interface Vlan-interface60
ip address 10.10.60.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
#此处省略端口
interface GigabitEthernet1/0/18
port link-mode bridge
port link-type trunk
port trunk permit vlan all
ip route-static 0.0.0.0 0.0.0.0 10.100.2.254
ip route-static 10.100.50.0 255.255.255.240 10.100.2.251
ip route-static 10.100.50.36 255.255.255.255 10.100.2.251
ip route-static 192.168.20.0 255.255.254.0 10.100.2.254
#
info-center loghost 192.168.171.1
#
snmp-agent
snmp-agent local-engineid 800063A2033891D54C6161
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 192.168.171.1 params securityname cluster
snmp-agent trap source Vlan-interface1
#
dhcp server forbidden-ip 10.10.1.254
dhcp server forbidden-ip 10.10.3.254
dhcp server forbidden-ip 10.10.40.1 10.10.40.10
dhcp server forbidden-ip 10.10.60.1
dhcp server forbidden-ip 10.10.60.10
dhcp server forbidden-ip 192.168.16.1
dhcp server forbidden-ip 192.168.20.1
dhcp server forbidden-ip 10.10.1.2
dhcp server forbidden-ip 10.10.1.3
#
dhcp enable
#
ssh server enable
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0
authentication-mode scheme
user-interface vty 0 4
acl 2000 inbound
authentication-mode scheme
user-interface vty 5 15
acl 2000 inbound
#
return
【汇聚】
[ehaolou_huiju_waiwang]dis cu
#
version 7.1.070, Release 1115
#
sysname ehaolou_huiju_waiwang
#
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 40
#
stp global enable
#
interface NULL0
#
interface Vlan-interface1
ip address 10.100.2.62 255.255.255.0
#
interface GigabitEthernet1/0/1
#
#此处省略N个端口
interface Ten-GigabitEthernet1/0/33
port link-type trunk
port trunk permit vlan 1 40
#
interface Ten-GigabitEthernet1/0/34
#
interface Ten-GigabitEthernet1/0/35
#
interface Ten-GigabitEthernet1/0/36
#
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 63
user-role network-operator
#
ip route-static 0.0.0.0 0 10.100.2.1
#
snmp-agent
snmp-agent local-engineid 800063A2809C097149755B00000001
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 192.168.171.1 params securityname cluster
snmp-agent trap source Vlan-interface1
#
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 clouduser class manage
password hash $h$6$0kiIpv2cuP72dDXx$knTj72aOeodz7JC6Zu7lA7f9aKiqiSPP9vWUM4iWY7Q6stE5cXBpFEiu2NjEcYF23RYiAi0QMdgFmZl/ldKmQQ==
service-type http
authorization-attribute user-role network-admin
#
netconf soap http enable
#
ip http enable
#
cloud-management server domain cloudnet.h3c.com
#
return
[huiju]ping 10.100.2.1
Ping 10.100.2.1 (10.100.2.1): 56 data bytes, press CTRL+C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- Ping statistics for 10.100.2.1 ---
5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
[ehaolou_huiju_waiwang]%Feb 7 19:58:22:721 2013 ehaolou_huiju_waiwang PING/6/PING_STATISTICS: Ping statistics for 10.100.2.1: 5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss.
(0)
最佳答案
建议进行以下修改:
interface GigabitEthernet1/0/18
port link-mode bridge
port link-type trunk
port trunk permit vlan all
interface Ten-GigabitEthernet1/0/33
port link-type trunk
port trunk permit vlan all
(0)
试过,不行。还是ping不通。
看配置没什么问题,接口起来没一端千兆一端万兆
(0)
汇聚是H3C 5120 V3 , 接口都是up的,两端都是千兆模块。 换另一个型号S3110 V2 的交换机,同样的配置,就能ping通过。
汇聚是H3C 5120 V3 , 接口都是up的,两端都是千兆模块。 换另一个型号S3110 V2 的交换机,同样的配置,就能ping通过。
看下接口物理和协议是否up,都up的话dis stp brief看下接口有没有被阻塞。
如果阻塞了可以undo stp dispute-protection试下。
(0)
https://www.h3c.com/cn/d_202106/1413091_30005_0.htm#_Toc73552353 //2.24.10 关闭Dispute保护功能
对的,是这个原因, 请问下大神原理是啥
Dispute机制: 目的:主要在于处理单通情况下的STP异常,通过阻塞端口来防止环路产生。 效果:更加针对性地处理单通问题,确保网络稳定性。 详细的可以找找官网手册
https://www.h3c.com/cn/d_202106/1413091_30005_0.htm#_Toc73552353 //2.24.10 关闭Dispute保护功能
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
试过,不行。还是ping不通。