5130交换机做接入,上联口是汇聚5560,一开始配的是port trunk permit vlan all,后来剪裁vlan,改为了port trunk permit vlan 300 305 to 306 311 to 312 356 to 357 401 420 to 422,PC就获取不到地址了,汇聚和核心都可以获取到ip,PC配固定地址可上网。保存配置重启后PC就可以获取到ip,本网络中DHCP服务器在Windowsserver2012上。请问这是什么原因?怎么才可以不用重启就能自动获取ip。配置如下:
#
version 7.1.070, Release 6113
#
sysname 9F_OFFICE_ACCESS-SW03
#
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 300
name IT_SRV
#
vlan 305
description DEV_MGT
#
vlan 306
#
vlan 311
#
vlan 312
description 9F_LAN02
#
vlan 356 to 357
#
vlan 401
#
vlan 420
#
vlan 422
description DOOR_CT
#
stp global enable
#
interface Bridge-Aggregation1
#
interface NULL0
#
interface Vlan-interface305
description DEV_MGT
ip address 172.16.128.13 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/2
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/3
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/4
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/5
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/6
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/7
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/8
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/9
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/10
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/11
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/12
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/13
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/14
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/15
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/16
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/17
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/18
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/19
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/20
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/21
description printer
port access vlan 300
stp edged-port
#
interface GigabitEthernet1/0/22
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/23
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/24
port access vlan 311
stp edged-port
#
interface GigabitEthernet1/0/25
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/26
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/27
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/28
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/29
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/30
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/31
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/32
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/33
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/34
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/35
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/36
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/37
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/38
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/39
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/40
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/41
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/42
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/43
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/44
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/45
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/46
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/47
port access vlan 312
stp edged-port
#
interface GigabitEthernet1/0/48
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 300 305 to 306 311 to 312 356 to 357 401 420 to 422
#
interface GigabitEthernet1/0/49
#
interface GigabitEthernet1/0/50
#
interface GigabitEthernet1/0/51
#
interface GigabitEthernet1/0/52
description TO-9F_Core-Sw
port link-type trunk
port trunk permit vlan all
#
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 172.16.128.1
#
ssh server 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 admin class manage
password hash $h$6$ixal2iaV0w91qouB$g5nIJvuYqc8E7Bwm5dCdkmd81iAYRTDjpWUzxjAWX9cZjRjqm0SJH4W0lWN3Q4sicoGYM/GFbiRtY04PqqDEbQ==
service-type ssh
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
return
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
重启后就可以了,现在就想知道没重启之前为什么不能获取到ip,怎么解决,重启太费时间了,客户要求最好不要重启