交换机使用默认的vlan1设置IP地址 电脑接入交换机时获取ip速度很慢 有时又获取不到
以下是交换机的配置
<5500v2>sys System View: return to User View with Ctrl+Z.
[5500v2]dis cu
#
version 7.1.070, ESS 1110P05
#
sysname 5500v2
#
clock timezone Beijing add 08: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
# dhcp enable
dhcp server forbidden-ip 192.168.0.8
dhcp server forbidden-ip 192.168.0.12
dhcp server forbidden-ip 192.168.0.214
dhcp server forbidden-ip 192.168.0.215
dhcp server forbidden-ip 192.168.0.217
dhcp server forbidden-ip 192.168.0.219
dhcp server forbidden-ip 192.168.16.119
dhcp server forbidden-ip 192.168.16.135
dhcp server forbidden-ip 192.168.16.192
dhcp server forbidden-ip 192.168.16.193
dhcp server forbidden-ip 192.168.16.202
dhcp server forbidden-ip 192.168.16.209
dhcp server forbidden-ip 192.168.16.210
dhcp server forbidden-ip 192.168.16.230
dhcp server forbidden-ip 192.168.16.240
dhcp server forbidden-ip 192.168.16.247
dhcp server forbidden-ip 192.168.16.251
dhcp server forbidden-ip 192.168.100.2
#
lldp global enable
# password-recovery enable
#
vlan 1
#
vlan 2 to 5
#
vlan 70
#
stp mode rstp
stp global enable
#
dhcp server ip-pool 0
gateway-list 192.168.0.254
network 192.168.0.0 mask 255.255.255.0
dns-list 114.114.114.114 202.96.104.15
expired day 0 hour 4
static-bind ip-address 192.168.0.2 mask 255.255.255.0 hardware-address 0894-ef34-f4da
static-bind ip-address 192.168.0.3 mask 255.255.255.0 hardware-address 0050-56bd-e1db
static-bind ip-address 192.168.0.4 mask 255.255.255.0 hardware-address 000d-606f-85a4
static-bind ip-address 192.168.0.6 mask 255.255.255.0 hardware-address 0a94-efb5-4bf9
static-bind ip-address 192.168.0.7 mask 255.255.255.0 hardware-address b42e-99c3-4820
static-bind ip-address 192.168.0.8 mask 255.255.255.0 hardware-address 0050-56bd-67cc
static-bind ip-address 192.168.0.12 mask 255.255.255.0 hardware-address 0050-56bd-f3da
static-bind ip-address 192.168.0.16 mask 255.255.255.0 hardware-address 0050-56bd-08b0
static-bind ip-address 192.168.0.31 mask 255.255.255.0 hardware-address 52dd-154e-25e2
static-bind ip-address 192.168.0.101 mask 255.255.255.0 hardware-address 0050-56bd-a0b1
static-bind ip-address 192.168.0.144 mask 255.255.255.0 hardware-address 0050-56bd-75e7
static-bind ip-address 192.168.0.178 mask 255.255.255.0 hardware-address 52dd-154e-25e3
static-bind ip-address 192.168.0.244 mask 255.255.255.0 hardware-address 0017-6110-02cf
static-bind ip-address 192.168.0.247 mask 255.255.255.0 hardware-address 107b-4481-968a
static-bind ip-address 192.168.0.249 mask 255.255.255.0 hardware-address c85b-763a-44ab
static-bind ip-address 192.168.0.251 mask 255.255.255.0 hardware-address 50e5-4959-e6af
static-bind ip-address 192.168.0.252 mask 255.255.255.0 hardware-address 3c2a-f420-601c
static-bind ip-address 192.168.0.253 mask 255.255.255.0 hardware-address c434-6b15-b31f
#
dhcp server ip-pool 2
gateway-list 192.168.2.254
network 192.168.2.0 mask 255.255.255.0
dns-list 114.114.114.114 202.96.104.15
expired unlimited
#
dhcp server ip-pool 16
gateway-list 192.168.16.1
network 192.168.16.0 mask 255.255.255.0
dns-list 114.114.114.114 202.96.104.15
expired day 0 hour 4
static-bind ip-address 192.168.16.2 mask 255.255.255.0 hardware-address 7427-eac1-7f92
static-bind ip-address 192.168.16.6 mask 255.255.255.0 hardware-address 7427-eac9-859a
static-bind ip-address 192.168.16.7 mask 255.255.255.0 hardware-address c03f-d5e0-203b
static-bind ip-address 192.168.16.11 mask 255.255.255.0 hardware-address 507b-9d6b-7d15
static-bind ip-address 192.168.16.13 mask 255.255.255.0 hardware-address c03f-d5e0-25a0
static-bind ip-address 192.168.16.14 mask 255.255.255.0 hardware-address eca8-6b3b-5fc0
static-bind ip-address 192.168.16.15 mask 255.255.255.0 hardware-address 448a-5b4f-622d
static-bind ip-address 192.168.16.16 mask 255.255.255.0 hardware-address 0023-243d-56cb
static-bind ip-address 192.168.16.17 mask 255.255.255.0 hardware-address 448a-5b4f-614e
static-bind ip-address 192.168.16.20 mask 255.255.255.0 hardware-address 54e1-ad02-e865
static-bind ip-address 192.168.16.21 mask 255.255.255.0 hardware-address 7427-ea1a-e6af
static-bind ip-address 192.168.16.27 mask 255.255.255.0 hardware-address 507b-9d52-0aeb
static-bind ip-address 192.168.16.30 mask 255.255.255.0 hardware-address 98e7-f4a6-2a1f
static-bind ip-address 192.168.16.31 mask 255.255.255.0 hardware-address c03f-d5e7-e1b0
static-bind ip-address 192.168.16.39 mask 255.255.255.0 hardware-address d8cb-8a2f-3027
static-bind ip-address 192.168.16.47 mask 255.255.255.0 hardware-address 60eb-69f2-7e3a
static-bind ip-address 192.168.16.56 mask 255.255.255.0 hardware-address 2c4d-544c-15d0
static-bind ip-address 192.168.16.62 mask 255.255.255.0 hardware-address 107b-44f2-c5ef
static-bind ip-address 192.168.16.64 mask 255.255.255.0 hardware-address 107b-447e-7326
static-bind ip-address 192.168.16.67 mask 255.255.255.0 hardware-address 3c2a-f420-d261
static-bind ip-address 192.168.16.68 mask 255.255.255.0 hardware-address 6045-cb7f-18a5
static-bind ip-address 192.168.16.69 mask 255.255.255.0 hardware-address 18c0-4d74-ad53
static-bind ip-address 192.168.16.70 mask 255.255.255.0 hardware-address f02f-74b1-249f
static-bind ip-address 192.168.16.72 mask 255.255.255.0 hardware-address 6045-cb7f-18a5
static-bind ip-address 192.168.16.73 mask 255.255.255.0 hardware-address d43d-7e10-8471
static-bind ip-address 192.168.16.74 mask 255.255.255.0 hardware-address eca8-6bca-fb9b
static-bind ip-address 192.168.16.76 mask 255.255.255.0 hardware-address 6045-cb81-a82c
static-bind ip-address 192.168.16.78 mask 255.255.255.0 hardware-address 6045-cb81-c517
static-bind ip-address 192.168.16.81 mask 255.255.255.0 hardware-address 6666-6666-6666
static-bind ip-address 192.168.16.83 mask 255.255.255.0 hardware-address d43d-7e44-b9be
static-bind ip-address 192.168.16.84 mask 255.255.255.0 hardware-address 448a-5b4d-a9a9
static-bind ip-address 192.168.16.87 mask 255.255.255.0 hardware-address eca8-6b64-e8fc
static-bind ip-address 192.168.16.89 mask 255.255.255.0 hardware-address 6045-cb81-b373
static-bind ip-address 192.168.16.90 mask 255.255.255.0 hardware-address 448a-5b0f-9304
static-bind ip-address 192.168.16.91 mask 255.255.255.0 hardware-address 0009-040a-0139
static-bind ip-address 192.168.16.96 mask 255.255.255.0 hardware-address 6091-f3d0-49fb
static-bind ip-address 192.168.16.102 mask 255.255.255.0 hardware-address 7427-ea1a-e467
static-bind ip-address 192.168.16.107 mask 255.255.255.0 hardware-address 38d5-477e-5975
static-bind ip-address 192.168.16.112 mask 255.255.255.0 hardware-address 2c9e-fc3e-f271
static-bind ip-address 192.168.16.115 mask 255.255.255.0 hardware-address 6045-cb81-bf32
static-bind ip-address 192.168.16.120 mask 255.255.255.0 hardware-address 6045-cb81-c470
static-bind ip-address 192.168.16.121 mask 255.255.255.0 hardware-address 6045-cb81-c59b
static-bind ip-address 192.168.16.122 mask 255.255.255.0 hardware-address 708b-cdbb-a94b
static-bind ip-address 192.168.16.125 mask 255.255.255.0 hardware-address 448a-5baf-b41b
static-bind ip-address 192.168.16.126 mask 255.255.255.0 hardware-address 38d5-477e-591b
static-bind ip-address 192.168.16.128 mask 255.255.255.0 hardware-address 448a-5b7d-5482
static-bind ip-address 192.168.16.130 mask 255.255.255.0 hardware-address 38d5-477e-592e
static-bind ip-address 192.168.16.131 mask 255.255.255.0 hardware-address 6045-cb81-b022
static-bind ip-address 192.168.16.138 mask 255.255.255.0 hardware-address 6045-cb81-b236
static-bind ip-address 192.168.16.142 mask 255.255.255.0 hardware-address d8cb-8ada-e6d1
static-bind ip-address 192.168.16.159 mask 255.255.255.0 hardware-address 6045-cb7f-1ba2
static-bind ip-address 192.168.16.163 mask 255.255.255.0 hardware-address 6045-cb7f-172b
static-bind ip-address 192.168.16.185 mask 255.255.255.0 hardware-address 4ced-fb6b-24ec
static-bind ip-address 192.168.16.188 mask 255.255.255.0 hardware-address 509a-4c99-72e5
static-bind ip-address 192.168.16.198 mask 255.255.255.0 hardware-address 2c4d-544c-1650
static-bind ip-address 192.168.16.199 mask 255.255.255.0 hardware-address 38d5-477c-b54e
static-bind ip-address 192.168.16.208 mask 255.255.255.0 hardware-address 2c4d-544c-1674
static-bind ip-address 192.168.16.212 mask 255.255.255.0 hardware-address 6045-cb81-b0bd
static-bind ip-address 192.168.16.222 mask 255.255.255.0 hardware-address 2c4d-544d-57ba
static-bind ip-address 192.168.16.235 mask 255.255.255.0 hardware-address 3497-f634-a318
static-bind ip-address 192.168.16.241 mask 255.255.255.0 hardware-address 0017-6111-4483
static-bind ip-address 192.168.16.242 mask 255.255.255.0 hardware-address 0017-6111-47b9
static-bind ip-address 192.168.16.243 mask 255.255.255.0 hardware-address 0017-6111-4d71
static-bind ip-address 192.168.16.244 mask 255.255.255.0 hardware-address 0017-6110-701c
static-bind ip-address 192.168.16.245 mask 255.255.255.0 hardware-address 0017-6110-730c
static-bind ip-address 192.168.16.246 mask 255.255.255.0 hardware-address 0c9d-920d-7a76
#
dhcp server ip-pool wangduan1
gateway-list 192.168.1.254
network 192.168.1.0 mask 255.255.255.0
dns-list 114.114.114.114 202.96.104.15
expired day 0 hour 4
static-bind ip-address 192.168.1.3 mask 255.255.255.0 hardware-address bcee-7bdf-86b1
static-bind ip-address 192.168.1.36 mask 255.255.255.0 hardware-address c03f-d5e0-2682
static-bind ip-address 192.168.1.38 mask 255.255.255.0 hardware-address 448a-5b80-0859
static-bind ip-address 192.168.1.47 mask 255.255.255.0 hardware-address 7824-af37-3362
static-bind ip-address 192.168.1.60 mask 255.255.255.0 hardware-address 708b-cd7d-4f64
static-bind ip-address 192.168.1.63 mask 255.255.255.0 hardware-address c03f-d59f-94ef
static-bind ip-address 192.168.1.65 mask 255.255.255.0 hardware-address 6cf0-494d-c645
static-bind ip-address 192.168.1.67 mask 255.255.255.0 hardware-address 708b-cd51-6fcf
static-bind ip-address 192.168.1.81 mask 255.255.255.0 hardware-address bcee-7bdf-86b1
static-bind ip-address 192.168.1.88 mask 255.255.255.0 hardware-address d43d-7e44-b9be
static-bind ip-address 192.168.1.95 mask 255.255.255.0 hardware-address 18c0-4d1b-1265
static-bind ip-address 192.168.1.100 mask 255.255.255.0 hardware-address 0894-ef3b-d844
static-bind ip-address 192.168.1.108 mask 255.255.255.0 hardware-address 507b-9dea-e2d6
static-bind ip-address 192.168.1.118 mask 255.255.255.0 hardware-address 9c5c-8e77-a2ee
static-bind ip-address 192.168.1.123 mask 255.255.255.0 hardware-address 448a-5be1-32d3
static-bind ip-address 192.168.1.130 mask 255.255.255.0 hardware-address 0024-1d34-d7ea
static-bind ip-address 192.168.1.132 mask 255.255.255.0 hardware-address 6045-cb81-b439
static-bind ip-address 192.168.1.137 mask 255.255.255.0 hardware-address c03f-d5e0-1f19
static-bind ip-address 192.168.1.153 mask 255.255.255.0 hardware-address 3c2a-f450-548e
static-bind ip-address 192.168.1.167 mask 255.255.255.0 hardware-address 3c2a-f403-cfd5
static-bind ip-address 192.168.1.184 mask 255.255.255.0 hardware-address 6cf0-4962-c493
static-bind ip-address 192.168.1.215 mask 255.255.255.0 hardware-address 50e5-4959-e6af
static-bind ip-address 192.168.1.217 mask 255.255.255.0 hardware-address 0017-c80a-7b92
static-bind ip-address 192.168.1.227 mask 255.255.255.0 hardware-address 60a4-4cab-f8f6
static-bind ip-address 192.168.1.250 mask 255.255.255.0 hardware-address 54a0-5053-e23f
static-bind ip-address 192.168.1.253 mask 255.255.255.0 hardware-address 0857-00e1-883a
#
interface Bridge-Aggregation70
port link-type trunk
port trunk permit vlan all
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.254 255.255.255.0
ip address 10.10.0.254 255.255.255.0 sub
#
interface Vlan-interface2
ip address 192.168.1.254 255.255.255.0
ip address 10.10.1.254 255.255.255.0 sub
#
interface Vlan-interface3
ip address 192.168.2.254 255.255.255.0
#
interface Vlan-interface4
ip address 192.168.16.1 255.255.255.0
ip address 10.10.16.254 255.255.255.0 sub
ip address 192.168.17.1 255.255.255.0 sub
#
interface Vlan-interface5
ip address 192.168.100.254 255.255.255.0
#
interface Vlan-interface70
ip address 192.168.70.254 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode route
duplex full
ip address 10.10.10.254 255.255.255.0
#
interface GigabitEthernet1/0/2
port link-mode bridge
#
interface GigabitEthernet1/0/3
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 70
#
interface GigabitEthernet1/0/4
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 70
#
interface GigabitEthernet1/0/5
port link-mode bridge
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/6
port link-mode bridge
#
interface GigabitEthernet1/0/7
port link-mode bridge
#
interface GigabitEthernet1/0/8
port link-mode bridge
#
interface GigabitEthernet1/0/9
port link-mode bridge
#
interface GigabitEthernet1/0/10
port link-mode bridge
#
interface GigabitEthernet1/0/11
port link-mode bridge
#
interface GigabitEthernet1/0/12
port link-mode bridge
#
interface GigabitEthernet1/0/13
port link-mode bridge
#
interface GigabitEthernet1/0/14
port link-mode bridge
#
interface GigabitEthernet1/0/15
port link-mode bridge
#
interface GigabitEthernet1/0/16
port link-mode bridge
#
interface GigabitEthernet1/0/17
port link-mode bridge
combo enable copper
#
interface GigabitEthernet1/0/18
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable copper
#
interface GigabitEthernet1/0/19
port link-mode bridge
port access vlan 2
combo enable copper
#
interface GigabitEthernet1/0/20
port link-mode bridge
port access vlan 5
combo enable copper
#
interface GigabitEthernet1/0/21
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable copper
#
interface GigabitEthernet1/0/22
port link-mode bridge
port access vlan 5
combo enable copper
#
interface GigabitEthernet1/0/23
port link-mode bridge
port access vlan 4
combo enable copper
#
interface GigabitEthernet1/0/24
port link-mode bridge
combo enable copper
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/25
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/26
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/27
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/28
port link-mode bridge
#
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
authentication-mode scheme
user-role network-operator
#
ip route-static 0.0.0.0 0 192.168.100.1
ip route-static 10.218.0.0 16 192.168.100.6
ip route-static 192.168.51.0 24 10.10.10.1
ip route-static 192.168.52.0 24 10.10.10.1
ip route-static 192.168.53.0 24 10.10.10.1
ip route-static 192.168.54.0 24 10.10.10.1
ip route-static 192.168.61.0 24 10.10.10.1
ip route-static 192.168.62.0 24 10.10.10.1
ip route-static 192.168.254.0 24 192.168.100.254
#
snmp-agent
snmp-agent local-engineid 800063A28038ADBE9770E300000001
snmp-agent community read private
snmp-agent sys-info version v2c
#
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
# r
ole 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$rmgu68fjruH/r42q$+ksISVXumd6vk+K2/JuKt8G/8eEMMhC38zOamV4Rpj/63n5LFmaAfPYd31F7CHdESSoaC+dIhEuZJDFZxPdM/A==
service-type telnet http https
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ip http enable
ip https enable
#
return
(0)
最佳答案
如果获取ip等待时间在40秒左右是正常的。前提是你的配置没问题(DHCP、网关啥的都写对了),如果这些没问题,可以进入你电脑插在交换机上的那个网口上写(以g1/0/5举例):
interface g1/0/5
stp-edgeport
(0)
其他网段都能正常速度获取 就是vlan1里配置的网段获取很慢
长ping 交换机地址看下是否丢包
另外看下交换机是否有日志提示
(0)
其他网段都能正常速度获取 就是vlan1里配置的网段获取很慢
其他网段都能正常速度获取 就是vlan1里配置的网段获取很慢
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这边要尽可能不更改原先的配置