S 5500V2-28C 配置了 DHCP无法正常获取IP地址
# version 7.1.070, Release 6312P01 # sysname H3C # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # lldp global enable # password-recovery enable # vlan 1 # vlan 51 to 52 # stp global enable # dhcp server ip-pool 51 network 192.168.51.0 mask 255.255.255.0 dns-list 192.168.31.10 netbios-type b-node # dhcp server ip-pool 52 network 192.168.52.0 mask 255.255.255.0 dns-list 192.168.31.30 domain-name .com netbios-type p-node # interface NULL0 # interface Vlan-interface1 ip address 192.168.31.72 255.255.255.0 dhcp client identifier ascii 703aa60bb438-VLAN0001 # interface Vlan-interface51 ip address 192.168.51.1 255.255.255.0 # interface Vlan-interface52 ip address 192.168.52.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route ip address 192.168.32.254 255.255.255.252 # interface GigabitEthernet1/0/2 port link-mode route # interface GigabitEthernet1/0/3 port link-mode bridge port access vlan 51 # interface GigabitEthernet1/0/4 port link-mode bridge port link-type hybrid port hybrid vlan 51 tagged port hybrid vlan 1 untagged # interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 51 # 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 port access vlan 52 # interface GigabitEthernet1/0/11 port link-mode bridge port link-type hybrid port hybrid vlan 52 tagged port hybrid vlan 1 untagged # 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 auto # interface GigabitEthernet1/0/18 port link-mode bridge combo enable auto # interface GigabitEthernet1/0/19 port link-mode bridge combo enable auto # interface GigabitEthernet1/0/20 port link-mode bridge combo enable auto # interface GigabitEthernet1/0/21 port link-mode bridge combo enable auto # interface GigabitEthernet1/0/22 port link-mode bridge combo enable auto # interface GigabitEthernet1/0/23 port link-mode bridge combo enable auto # interface GigabitEthernet1/0/24 port link-mode bridge combo enable auto # 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 usb user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 4 authentication-mode scheme user-role network-operator # line vty 5 63 user-role network-operator # ip route-static 0.0.0.0 0 GigabitEthernet1/0/1 192.168.32.253 preference 25 ip route-static 192.168.0.0 24 GigabitEthernet1/0/1 192.168.32.253 preference 25 tag 25 ip route-static 192.168.18.0 24 GigabitEthernet1/0/1 192.168.32.253 preference 25 ip route-static 192.168.21.0 24 GigabitEthernet1/0/1 192.168.32.253 preference 25 tag 25 ip route-static 192.168.31.0 24 GigabitEthernet1/0/1 192.168.32.253 preference 25 tag 25 ip route-static 192.168.41.0 24 GigabitEthernet1/0/1 192.168.32.253 preference 25 tag 25 # 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 admin class manage password hash $h$6$AGvd9/fDSjWXFC1D$zLiXZGVpvqB+TihMdYV63//IbwNd29QIaeDe63Tu5/iqtVdgt5Xk/N+DcIiyosd9goX0h+3EQ7ewvcn5+CwwEw== service-type telnet http https authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ip http enable ip https enable # cloud-management server domain oasis.h3c.com # return
(0)
您好,请知:
以下是DHCP无法自动获取IP地址的参考思路及命令:
1、检查终端接入的端口是否已划分到了相应的VLAN中,且交换机是否能学习到终端的MAC地址:
dis vlan
dis mac-address int gi 1/0/1
2、检查VLAN IP和DHCP地址池分配的IP网段是否在同一个子网内:
dis cu int vlan
dis dhcp server ip-pool
3、检查DHCP内的IP地址是否足够使用:
dis dhcp server ip-in-use
4、如果是在远端的DHCP服务器上,检查路由是否可达:
dis ip routing-table
5、如果是在远端的DHCP服务器上,检查是否配置了DHCP中继:
dis cu int vlan
dis dhcp relay server-address
6、如果配置了DHCP snooping防止获取到其他私接路由器LAN口的DHCP的地址,以下是检查dhcp snooping的配置:
dis dhcp snooping trust
dis dhcp snooping information all
dis dhcp snooping packet statistics
(0)
VLAN 51 端口 3、5不能自动获取IP
(0)
刚才联系了客服,才知道DHCP地址池未配置网关,web界面无法保存网关导致
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
新配的交换机 VLAN 51 端口 3、5不能自动获取IP 地址 还没要到原因,