核心:192.168.10.1
接入交换机:192.168.10.100
核心的interface GigabitEthernet3/0/13接接入交换机的25口
配置看上去没有问题,VLAN11设正确IP可以ping通VLAN1核心IP
VLAN1不能ping同VLAN11 的IP,IP是192.168.11.X 掩码是:255.255.248.0
192.168.10.100配置:
vlan 1
#
vlan 10 to 13
interface Vlan-interface1
ip address 192.168.10.100 255.255.255.0
#
interface Ethernet1/0/1
port access vlan 11
poe enable
#
interface Ethernet1/0/2
port access vlan 11
poe enable
#
interface Ethernet1/0/3
port access vlan 11
poe enable
#
interface Ethernet1/0/4
port access vlan 11
poe enable
#
interface Ethernet1/0/5
port access vlan 11
poe enable
#
interface Ethernet1/0/6
port access vlan 11
poe enable
#
interface Ethernet1/0/7
port access vlan 11
poe enable
#
interface Ethernet1/0/8
port access vlan 11
poe enable
#
interface Ethernet1/0/9
port access vlan 11
poe enable
#
interface Ethernet1/0/10
port access vlan 11
poe enable
#
interface Ethernet1/0/11
port access vlan 11
poe enable
#
interface Ethernet1/0/12
port access vlan 11
poe enable
#
interface Ethernet1/0/13
port access vlan 11
poe enable
#
interface Ethernet1/0/14
port access vlan 11
poe enable
#
interface Ethernet1/0/15
port access vlan 11
poe enable
#
interface Ethernet1/0/16
port access vlan 11
poe enable
#
interface Ethernet1/0/17
port access vlan 11
poe enable
#
interface Ethernet1/0/18
port access vlan 11
poe enable
#
interface Ethernet1/0/19
port access vlan 11
poe enable
#
interface Ethernet1/0/20
port access vlan 11
poe enable
#
interface Ethernet1/0/21
port access vlan 11
poe enable
#
interface Ethernet1/0/22
port access vlan 11
poe enable
#
interface Ethernet1/0/23
port access vlan 11
poe enable
#
interface Ethernet1/0/24
port access vlan 11
poe enable
#
interface GigabitEthernet1/0/25
port link-type trunk
port trunk permit vlan 1 10 to 20
#
interface GigabitEthernet1/0/26
port link-type trunk
port trunk permit vlan 1 10 to 20
combo enable copper
#
ip route-static 0.0.0.0 0.0.0.0 192.168.10.1
#
info-center loghost 192.168.10.11
192.168.10.1配置:
#
vlan 1
#
vlan 10 to 20
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$ORfbtMm/oMjHkJyqPXBAJkOtcrmTs5rQfcvMFA==
authorization-attribute level 3
service-type telnet
#
stp region-configuration
region-name h3c
active region-configuration
#
stp enable
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.10.1 255.255.240.0
#
interface Vlan-interface11
ip address 192.168.11.254 255.255.255.0
#
interface Vlan-interface12
ip address 192.168.12.254 255.255.255.0
#
interface Vlan-interface13
ip address 192.168.13.254 255.255.255.0
#
interface GigabitEthernet3/0/1
port link-mode bridge
#
interface GigabitEthernet3/0/2
port link-mode bridge
#
interface GigabitEthernet3/0/3
port link-mode bridge
#
interface GigabitEthernet3/0/4
port link-mode bridge
#
interface GigabitEthernet3/0/5
port link-mode bridge
#
interface GigabitEthernet3/0/6
port link-mode bridge
#
interface GigabitEthernet3/0/7
port link-mode bridge
#
interface GigabitEthernet3/0/8
port link-mode bridge
#
interface GigabitEthernet3/0/9
port link-mode bridge
#
interface GigabitEthernet3/0/10
port link-mode bridge
#
interface GigabitEthernet3/0/11
port link-mode bridge
#
interface GigabitEthernet3/0/12
port link-mode bridge
#
interface GigabitEthernet3/0/13
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 10 to 20
#
interface GigabitEthernet3/0/14
port link-mode bridge
#
interface GigabitEthernet3/0/15
port link-mode bridge
#
interface GigabitEthernet3/0/16
port link-mode bridge
#
interface GigabitEthernet3/0/17
port link-mode bridge
#
interface GigabitEthernet3/0/18
port link-mode bridge
#
interface GigabitEthernet3/0/19
port link-mode bridge
#
interface GigabitEthernet3/0/20
port link-mode bridge
#
interface GigabitEthernet3/0/21
port link-mode bridge
#
interface GigabitEthernet3/0/22
port link-mode bridge
#
interface GigabitEthernet3/0/23
port link-mode bridge
#
interface GigabitEthernet3/0/24
port link-mode bridge
#
interface GigabitEthernet3/0/25
port link-mode bridge
#
interface GigabitEthernet3/0/26
port link-mode bridge
#
interface GigabitEthernet3/0/27
port link-mode bridge
#
interface GigabitEthernet3/0/28
port link-mode bridge
#
interface GigabitEthernet3/0/29
port link-mode bridge
#
interface GigabitEthernet3/0/30
port link-mode bridge
#
interface GigabitEthernet3/0/31
port link-mode bridge
#
interface GigabitEthernet3/0/32
port link-mode bridge
#
interface GigabitEthernet3/0/33
port link-mode bridge
#
interface GigabitEthernet3/0/34
port link-mode bridge
#
interface GigabitEthernet3/0/35
port link-mode bridge
#
interface GigabitEthernet3/0/36
port link-mode bridge
#
interface GigabitEthernet3/0/37
port link-mode bridge
#
interface GigabitEthernet3/0/38
port link-mode bridge
#
interface GigabitEthernet3/0/39
port link-mode bridge
#
interface GigabitEthernet3/0/40
port link-mode bridge
#
interface GigabitEthernet3/0/41
port link-mode bridge
#
interface GigabitEthernet3/0/42
port link-mode bridge
#
interface GigabitEthernet3/0/43
port link-mode bridge
#
interface GigabitEthernet3/0/44
port link-mode bridge
#
interface GigabitEthernet3/0/45
port link-mode bridge
#
interface GigabitEthernet3/0/46
port link-mode bridge
#
interface GigabitEthernet3/0/47
port link-mode bridge
#
interface GigabitEthernet3/0/48
port link-mode bridge
#
interface GigabitEthernet5/0/1
port link-mode bridge
#
interface GigabitEthernet5/0/2
port link-mode bridge
#
interface GigabitEthernet5/0/3
port link-mode bridge
#
interface GigabitEthernet5/0/4
port link-mode bridge
#
interface GigabitEthernet5/0/5
port link-mode bridge
#
interface GigabitEthernet5/0/6
port link-mode bridge
#
interface GigabitEthernet5/0/7
port link-mode bridge
#
interface GigabitEthernet5/0/8
port link-mode bridge
#
interface GigabitEthernet5/0/9
port link-mode bridge
#
interface GigabitEthernet5/0/10
port link-mode bridge
port access vlan 11
#
interface GigabitEthernet5/0/11
port link-mode bridge
#
interface GigabitEthernet5/0/12
port link-mode bridge
#
interface GigabitEthernet5/0/13
port link-mode bridge
#
interface GigabitEthernet5/0/14
port link-mode bridge
#
interface GigabitEthernet5/0/15
port link-mode bridge
#
interface GigabitEthernet5/0/16
port link-mode bridge
#
interface GigabitEthernet5/0/17
port link-mode bridge
#
interface GigabitEthernet5/0/18
port link-mode bridge
#
interface GigabitEthernet5/0/19
port link-mode bridge
#
interface GigabitEthernet5/0/20
port link-mode bridge
#
interface GigabitEthernet5/0/21
port link-mode bridge
#
interface GigabitEthernet5/0/22
port link-mode bridge
#
interface GigabitEthernet5/0/23
port link-mode bridge
#
interface GigabitEthernet5/0/24
port link-mode bridge
#
interface GigabitEthernet5/0/25
port link-mode bridge
#
interface GigabitEthernet5/0/26
port link-mode bridge
#
interface GigabitEthernet5/0/27
port link-mode bridge
#
interface GigabitEthernet5/0/28
port link-mode bridge
#
interface GigabitEthernet5/0/29
port link-mode bridge
#
interface GigabitEthernet5/0/30
port link-mode bridge
#
interface GigabitEthernet5/0/31
port link-mode bridge
#
interface GigabitEthernet5/0/32
port link-mode bridge
#
interface GigabitEthernet5/0/33
port link-mode bridge
#
interface GigabitEthernet5/0/34
port link-mode bridge
#
interface GigabitEthernet5/0/35
port link-mode bridge
#
interface GigabitEthernet5/0/36
port link-mode bridge
#
interface GigabitEthernet5/0/37
port link-mode bridge
#
interface GigabitEthernet5/0/38
port link-mode bridge
#
interface GigabitEthernet5/0/39
port link-mode bridge
#
interface GigabitEthernet5/0/40
port link-mode bridge
#
interface GigabitEthernet5/0/41
port link-mode bridge
#
interface GigabitEthernet5/0/42
port link-mode bridge
#
interface GigabitEthernet5/0/43
port link-mode bridge
#
interface GigabitEthernet5/0/44
port link-mode bridge
#
interface GigabitEthernet5/0/45
port link-mode bridge
#
interface GigabitEthernet5/0/46
port link-mode bridge
#
interface GigabitEthernet5/0/47
port link-mode bridge
#
interface GigabitEthernet5/0/48
port link-mode bridge
#
interface M-Ethernet0/0/0
#
undo info-center logfile enable
#
snmp-agent
snmp-agent local-engineid 800063A20370BAEF03CB0A
snmp-agent sys-info version v3
snmp-agent group v3 snmpgroup privacy write-view ViewDefault
snmp-agent usm-user v3 h3c snmpgroup cipher authentication-mode md5 $c$3$WYB/736Qr3bKrIDavZR6yOpBEJp16PzZvPds4/tkJlhR1w== privacy-mode des56 $c$3$L6BZrQ4ZcZX5byOi+b9hXqBNlFL5IrHaGa1WF8DsVy14zA==
#
ntp-service unicast-server 192.168.10.19
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0 1
user-interface vty 0 15
authentication-mode scheme
#
return
(0)
1,在核心上,输入dis ip int bri,看看int vlan 11 接口有没有up
2,你是从哪里ping vlan11的?vlan11 的掩码设置似乎和描述不一致啊,看看这里,问题描述中(VLAN1不能ping同VLAN11 的IP,IP是192.168.11.X 掩码是:255.255.248.0),而核心上:
interface Vlan-interface11
ip address 192.168.11.254 255.255.255.0
(0)
在核心上,输入dis ip int bri,看看int vlan 11 接口有没有up 核心和接入交换机都没有up
接入交换机VLAN11是接有设备,VLAN11 应该up.
要怎么样才up
接入交换机只能1个VLAN的,现在是vlan1。核心的就是没有up。
找到原因了,是vlan11的IP的掩码,与核心交换机VLAN11的掩码不一致。设定一样就OK了。
核心的VLAN11 还是没有up,可以ping通了。为什么还有up。
(0)
通常情况下,某个方向可以ping通,而另一个方向无法ping通的原因有两个:
1、两个中间某个二层链路中的掩码位数不同
2、链路中间存在某个单方向的防火墙。
你的Vlan11是不是只有虚接口,没有接口啊?
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明