组网
S3100V3-52TP-SI-----S5500
网关在5500上 在S3100V3-52TP-SI上vlanif1里面配置了172.168.0.4 24位掩码 配置了默认路由指向网关0.1
在两端互联口起trunk口 port trunk permit vlan all 但是0.4 ping不通0.1 0.1也ping不通0.4 arp时却都学到了地址
这是什么情况
(0)
您好,对应的vlan是否都创建
trunk是否放通对应的vlan
(0)
在vlan1里配置了ip trunk也是直接配置port trunk permit vlan all 没有做什么限制
现在是端设备都走vlan1 trunk接口也都是一样的配置
%Jan 1 03:12:51:290 2013 h3c-4 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/48 received an inferior BPDU from a designated port which is in forwarding or learning state. The designated bridge ID contained in the BPDU is 32768.f063-f965-e400, and the designated port ID contained in the BPDU is 128.23. 但是一直会弹出这个
带源地址ping一下
形成环了?
#
version 7.1.070, Release 6331P02
#
sysname h3c-4
#
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 to 7
#
vlan 10
#
vlan 13
#
vlan 15
#
vlan 88
#
stp global enable
#
interface NULL0
#
interface Vlan-interface1
ip address 172.168.0.4 255.255.255.0
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
port access vlan 7
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
port access vlan 7
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
port access vlan 5
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
port access vlan 10
#
interface Ethernet1/0/9
port access vlan 13
#
interface Ethernet1/0/10
port access vlan 10
#
interface Ethernet1/0/11
port access vlan 7
#
interface Ethernet1/0/12
port access vlan 13
#
interface Ethernet1/0/13
port access vlan 4
#
interface Ethernet1/0/14
port access vlan 4
#
interface Ethernet1/0/15
port access vlan 7
#
interface Ethernet1/0/16
port access vlan 4
#
interface Ethernet1/0/17
port access vlan 4
#
interface Ethernet1/0/18
port access vlan 7
#
interface Ethernet1/0/19
port access vlan 7
#
interface Ethernet1/0/20
port access vlan 7
#
interface Ethernet1/0/21
port access vlan 4
#
interface Ethernet1/0/22
port access vlan 7
#
interface Ethernet1/0/23
port access vlan 7
#
interface Ethernet1/0/24
port access vlan 7
#
interface Ethernet1/0/25
port access vlan 7
#
interface Ethernet1/0/26
port access vlan 7
#
interface Ethernet1/0/27
port access vlan 7
#
interface Ethernet1/0/28
port access vlan 7
#
interface Ethernet1/0/29
port access vlan 7
#
interface Ethernet1/0/30
port access vlan 7
#
interface Ethernet1/0/31
port access vlan 7
#
interface Ethernet1/0/32
port access vlan 7
#
interface GigabitEthernet1/0/33
port access vlan 7
#
interface GigabitEthernet1/0/34
port access vlan 7
#
interface GigabitEthernet1/0/35
port access vlan 7
#
interface GigabitEthernet1/0/36
port access vlan 7
#
interface GigabitEthernet1/0/37
port access vlan 7
#
interface GigabitEthernet1/0/38
port access vlan 7
#
interface GigabitEthernet1/0/39
port access vlan 7
#
interface GigabitEthernet1/0/40
port access vlan 7
#
interface GigabitEthernet1/0/41
port access vlan 5
#
interface GigabitEthernet1/0/42
port access vlan 5
#
interface GigabitEthernet1/0/43
port access vlan 5
#
interface GigabitEthernet1/0/44
port access vlan 5
#
interface GigabitEthernet1/0/45
#
interface GigabitEthernet1/0/46
#
interface GigabitEthernet1/0/47
port access vlan 15
#
interface GigabitEthernet1/0/48
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/49
#
interface GigabitEthernet1/0/50
#
interface GigabitEthernet1/0/51
#
interface GigabitEthernet1/0/52
#
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
user-role network-admin
user-role network-operator
set authentication password hash $h$6$6hvB/B9YUt3oMqs5$brG9GV5nMBC9s58rfjUQgwUD1wsujUTs/MLTx27KmePWflfKiv1zilucNWAXOHpMMNxWoW1wBjcHcogltgw4TQ==
protocol inbound telnet
#
line vty 5 63
user-role network-operator
#
ip route-static 0.0.0.0 0 172.168.0.1
#
undo info-center enable
#
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 yy class manage
password hash $h$6$Qo+a1ygrq8DAa0zc$6iUYHtgWqddXocYzIv2gMf0VM4Xle8xSu+zso/M5fnnyf70iq8aUsirMMEq2/2INO46PbmgYRcWj6maZVnqhAg==
service-type telnet
authorization-attribute user-role network-operator
#
cloud-management server domain cloudnet.h3c.com
#
return
这个是S3100V3-52TP-SI的配置
[H3C-0]display current-configuration
#
version 5.20, Release 2202
#
sysname H3C-0
#
super password level 3 simple 331331abcd
#
undo info-center enable
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
telnet server enable
#
undo ip ttl-expires
#
dhcp-snooping
#
acl number 3000
rule 0 permit ip source 172.168.25.0 0.0.0.255 destination 172.168.0.0 0.0.255.
255
#
vlan 1
#
vlan 2 to 10
#
vlan 13
#
vlan 15 to 17
#
vlan 20
#
vlan 25
#
vlan 88
#
vlan 100
#
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
traffic classifier 1 operator and
if-match acl 3000
#
traffic behavior 1
filter deny
#
qos policy 1
classifier 1 behavior 1
#
dhcp server ip-pool 1
network 172.168.25.0 mask 255.255.255.0
gateway-list 172.168.25.1
dns-list 202.96.104.17 202.96.104.26
expired day 0 hour 2
#
dhcp server ip-pool 100
network 172.168.100.0 mask 255.255.255.0
gateway-list 172.168.100.1
dns-list 202.96.104.17
#
dhcp server ip-pool vlan2
network 172.168.2.0 mask 255.255.255.0
gateway-list 172.168.2.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan3
network 172.168.3.0 mask 255.255.255.0
gateway-list 172.168.3.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan4
network 172.168.4.0 mask 255.255.255.0
gateway-list 172.168.4.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan5
network 172.168.5.0 mask 255.255.255.0
gateway-list 172.168.5.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan6
network 172.168.6.0 mask 255.255.255.0
gateway-list 172.168.6.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan7
network 172.168.7.0 mask 255.255.255.0
gateway-list 172.168.7.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan8
network 172.168.8.0 mask 255.255.255.0
gateway-list 172.168.8.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan9
network 172.168.9.0 mask 255.255.255.0
gateway-list 172.168.9.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan10
network 172.168.10.0 mask 255.255.255.0
gateway-list 172.168.10.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan13
network 172.168.13.0 mask 255.255.255.0
gateway-list 172.168.13.1
dns-list 202.96.104.17 202.96.104.27
#
dhcp server ip-pool vlan15
network 172.168.15.0 mask 255.255.255.0
gateway-list 172.168.15.1
dns-list 202.96.104.17 202.96.104.27
#
user-group system
#
local-user yang
password simple 331331abcd
service-type lan-access
local-user yy
password simple 331331abcd
authorization-attribute level 3
service-type lan-access
service-type telnet
#
interface NULL0
#
interface Vlan-interface1
ip address 172.168.0.1 255.255.255.0
#
interface Vlan-interface2
ip address 172.168.2.1 255.255.255.0
#
interface Vlan-interface3
ip address 172.168.3.1 255.255.255.0
#
interface Vlan-interface4
ip address 172.168.4.1 255.255.255.0
#
interface Vlan-interface5
ip address 172.168.5.1 255.255.255.0
#
interface Vlan-interface6
ip address 172.168.6.1 255.255.255.0
#
interface Vlan-interface7
ip address 172.168.7.1 255.255.255.0
#
interface Vlan-interface8
ip address 172.168.8.1 255.255.255.0
#
interface Vlan-interface9
ip address 172.168.9.1 255.255.255.0
#
interface Vlan-interface10
ip address 172.168.10.1 255.255.255.0
#
interface Vlan-interface13
ip address 172.168.13.1 255.255.255.0
#
interface Vlan-interface15
ip address 172.168.15.1 255.255.255.0
#
interface Vlan-interface16
ip address 172.168.16.1 255.255.255.0
#
interface Vlan-interface20
ip address 172.168.20.1 255.255.255.0
#
interface Vlan-interface25
ip address 172.168.25.1 255.255.255.0
#
interface Vlan-interface88
ip address 192.168.88.2 255.255.255.0
#
interface Vlan-interface100
ip address 172.168.100.1 255.255.255.0
#
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/3
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/4
port access vlan 9
#
interface GigabitEthernet1/0/5
port access vlan 88
#
interface GigabitEthernet1/0/6
port access vlan 9
#
interface GigabitEthernet1/0/7
port access vlan 9
#
interface GigabitEthernet1/0/8
port access vlan 9
#
interface GigabitEthernet1/0/9
port access vlan 9
#
interface GigabitEthernet1/0/10
port access vlan 9
#
interface GigabitEthernet1/0/11
port access vlan 9
#
interface GigabitEthernet1/0/12
port access vlan 9
#
interface GigabitEthernet1/0/13
port access vlan 9
#
interface GigabitEthernet1/0/14
port access vlan 8
#
interface GigabitEthernet1/0/15
#
interface GigabitEthernet1/0/16
port access vlan 8
#
interface GigabitEthernet1/0/17
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/18
port access vlan 8
#
interface GigabitEthernet1/0/19
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/20
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/21
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/22
port access vlan 8
shutdown
#
interface GigabitEthernet1/0/23
port link-type trunk
port trunk permit vlan all
shutdown
#
interface GigabitEthernet1/0/24
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/25
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/26
port link-type trunk
port trunk permit vlan all
shutdown
#
interface GigabitEthernet1/0/27
shutdown shutdown
#
interface GigabitEthernet1/0/28
port link-type trunk
port trunk permit vlan all
#
ip route-static 0.0.0.0 0.0.0.0 172.168.0.254
ip route-static 192.168.0.0 255.255.0.0 192.168.88.1
#
dhcp server forbidden-ip 172.168.8.1
dhcp server forbidden-ip 172.168.3.1 172.168.3.50
dhcp server forbidden-ip 172.168.4.1 172.168.4.50
dhcp server forbidden-ip 172.168.6.1 172.168.6.50
dhcp server forbidden-ip 172.168.2.1
dhcp server forbidden-ip 172.168.5.1 172.168.5.120
dhcp server forbidden-ip 172.168.10.1 172.168.10.150
dhcp server forbidden-ip 172.168.7.1 172.168.7.100
dhcp server forbidden-ip 172.168.13.1 172.168.13.100
dhcpserverforbidden-ip192.168.16.240192.168.16.250
#
dhcp enable
#
qos vlan-policy 1 vlan 25 inbound
#
user-interface aux 0
authentication-mode password
set authentication password
user-interface aux 1 8
user-interface vty 0 4
user privilege level 3
set authentication password
#
return
这个是5500的配置
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
形成环了?