设置列表
接入交换机做了基于IP子网的配置,现在测试VLan50,
笔记本拼不通网关,也拼不通同在此交换机下同一网段的服务器,
但奇怪的是,服务器却可以拼通Vlan 50的网关,
笔记本连接1/0/48口(基于端口vlan 50),可以拼通基于子网的服务器和Vlan 50的网关,哪里出了问题?
[Test]
[Test]display curr
#
version 7.1.070, Release 6113
#
sysname Test
#
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
ip-subnet-vlan 2 ip 30.0.0.0 255.255.255.0
#
vlan 11
ip-subnet-vlan 11 ip 192.168.0.0 255.255.255.0
#
vlan 12
ip-subnet-vlan 12 ip 192.0.0.0 255.255.255.0
#
vlan 13
ip-subnet-vlan 13 ip 192.168.1.0 255.255.255.0
#
vlan 16
ip-subnet-vlan 16 ip 192.168.150.0 255.255.255.0
#
vlan 30
ip-subnet-vlan 30 ip 192.168.3.0 255.255.255.0
#
vlan 50
ip-subnet-vlan 50 ip 192.168.50.0 255.255.255.0
#
vlan 100
ip-subnet-vlan 100 ip 192.168.100.0 255.255.255.0
#
vlan 110
ip-subnet-vlan 110 ip 192.168.110.0 255.255.255.0
#
vlan 111
ip-subnet-vlan 111 ip 192.168.111.0 255.255.255.0
#
vlan 120
ip-subnet-vlan 120 ip 192.168.120.0 255.255.255.0
#
vlan 121
ip-subnet-vlan 121 ip 192.168.121.0 255.255.255.0
#
vlan 122
ip-subnet-vlan 122 ip 192.168.122.0 255.255.255.0
#
vlan 150
#
vlan 151
ip-subnet-vlan 151 ip 192.168.151.0 255.255.255.0
#
vlan 152
ip-subnet-vlan 152 ip 192.168.152.0 255.255.255.0
#
vlan 500
ip-subnet-vlan 500 ip 192.168.250.0 255.255.255.0
#
stp global enable
#
interface NULL0
#
interface Vlan-interface152
ip address 192.168.152.10 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/2
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/3
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/4
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/5
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/6
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/6
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/7
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
interface GigabitEthernet1/0/8
port link-type hybrid
port hybrid vlan 1 to 2 11 to 13 16 30 50 100 110 to 111 120 to 122 151 to 152
500 untagged
port hybrid ip-subnet-vlan vlan 2
port hybrid ip-subnet-vlan vlan 11
port hybrid ip-subnet-vlan vlan 12
port hybrid ip-subnet-vlan vlan 13
port hybrid ip-subnet-vlan vlan 50
#
……
#
interface GigabitEthernet1/0/47
port access vlan 50
#
interface GigabitEthernet1/0/48
port access vlan 50
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/49
port link-type trunk
port trunk permit vlan all
#
接入交换机1/0/49口上联至核心交换机
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论