• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

H3C E152

2023-05-23提问
  • 0关注
  • 0收藏,413浏览
粉丝:0人 关注:0人

问题描述:

核心交换机进行vlan204的DHCP下发

接入交换机能ping通VLAN204的网关

接口也port access vlan 204了

但是地址无法下发


H3C E152作为接入交换机

组网及组网描述:


最佳答案

粉丝:207人 关注:1人

配置发出来看看吧,大概率dhcp server没有enable或者接口没调用,或者其它地方配置错误

# sysname E152-11#2A # loopback-detection enable # ip http acl 2012 # radius scheme system # domain system # local-user yanzhi password simple yanzhi@#cisco service-type ssh level 3 # acl number 2012 rule 0 permit source 10.10.10.0 0.0.0.255 rule 1 permit source 10.172.8.0 0.0.0.255 rule 2 permit source 10.172.204.0 0.0.0.255 rule 3 permit source 10.172.205.0 0.0.0.255 rule 4 permit source 10.172.206.0 0.0.0.255 rule 5 permit source 10.172.207.0 0.0.0.255 rule 6 permit source 10.172.208.0 0.0.0.255 rule 7 permit source 10.172.209.0 0.0.0.255 rule 8 permit source 10.172.210.0 0.0.0.255 # vlan 1 # vlan 55 description jiaxuekaoqin # vlan 111 description danei1 # vlan 112 description danei2 # vlan 201 # vlan 204 to 210 # vlan 1101 # vlan 2222 description xiaoyuan-jiankong # vlan 2223 description xiaoyuan-jiankong # interface Vlan-interface1 ip address 10.1.1.5 255.255.255.0 # interface Aux1/0/0 # interface Ethernet1/0/1 port access vlan 201 loopback-detection enable description link_to_11#a101 # interface Ethernet1/0/2 port access vlan 201 loopback-detection enable description link_to_11#a101_jiaoshi # interface Ethernet1/0/3 port access vlan 201 loopback-detection enable description 11#A102 # interface Ethernet1/0/4 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/5 port access vlan 1101 loopback-detection enable description link_to_11#a105 # interface Ethernet1/0/6 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/7 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/8 port access vlan 201 loopback-detection enable # interface Ethernet1/0/9 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/10 port access vlan 201 loopback-detection enable description link_to_dashuji_danei_jiaoshi203 # interface Ethernet1/0/11 port access vlan 201 loopback-detection enable description 11#a201 # interface Ethernet1/0/12 port access vlan 201 loopback-detection enable description link_to_danei_jiaoshi_202 # interface Ethernet1/0/13 port access vlan 1101 loopback-detection enable description link_to_11#a204 # interface Ethernet1/0/14 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/15 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/16 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/17 port access vlan 1101 loopback-detection enable description link_11A311 # interface Ethernet1/0/18 port access vlan 1101 loopback-detection enable description link to 8#517 liuyong # interface Ethernet1/0/19 port access vlan 201 loopback-detection enable description link_to_danei_jiaoshi_302 # interface Ethernet1/0/20 port access vlan 201 loopback-detection enable description link_to_dashuji_danei_jiaoshi_304 # interface Ethernet1/0/21 port access vlan 201 loopback-detection enable description link_to_dashuji_danei_jiaoshi_304 # interface Ethernet1/0/22 port access vlan 201 loopback-detection enable description link_to_dashuji_danei_jiaoshi_306 # interface Ethernet1/0/23 port access vlan 201 loopback-detection enable description link_to_dashuji_danei_jiaoshi_307 # interface Ethernet1/0/24 port access vlan 201 loopback-detection enable # interface Ethernet1/0/25 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/26 port access vlan 55 loopback-detection enable description jiaoxuekaoqin # interface Ethernet1/0/27 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/28 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/29 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/30 port access vlan 204 loopback-detection enable # interface Ethernet1/0/31 port access vlan 206 loopback-detection enable # interface Ethernet1/0/32 port access vlan 205 loopback-detection enable # interface Ethernet1/0/33 port access vlan 210 loopback-detection enable # interface Ethernet1/0/34 port access vlan 209 loopback-detection enable # interface Ethernet1/0/35 port access vlan 208 loopback-detection enable # interface Ethernet1/0/36 port access vlan 207 loopback-detection enable # interface Ethernet1/0/37 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/38 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/39 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/40 port link-type trunk port trunk permit vlan 1 111 to 112 201 1101 loopback-detection enable dhcp-snooping trust description link-to-11#5A-E1/0/24 # interface Ethernet1/0/41 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/42 port access vlan 1101 loopback-detection enable # interface Ethernet1/0/43 port access vlan 2223 loopback-detection enable # interface Ethernet1/0/44 port access vlan 2223 loopback-detection enable # interface Ethernet1/0/45 port access vlan 2223 loopback-detection enable # interface Ethernet1/0/46 port access vlan 2223 loopback-detection enable # interface Ethernet1/0/47 port link-type trunk port trunk permit vlan 1 111 to 112 201 1101 loopback-detection enable dhcp-snooping trust # interface Ethernet1/0/48 port link-type trunk port trunk permit vlan all dhcp-snooping trust description to 5A # interface GigabitEthernet1/1/1 port link-type trunk port trunk permit vlan 1 to 25 201 # interface GigabitEthernet1/1/2 # interface GigabitEthernet1/1/3 # interface GigabitEthernet1/1/4 port link-type trunk port trunk permit vlan 1 55 111 to 112 201 1101 2222 to 2223 dhcp-snooping trust description link to 5500EI-G2 # interface NULL0 # telnet source-ip 10.1.1.5 # dhcp-snooping # voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000 # ip route-static 0.0.0.0 0.0.0.0 10.1.1.1 preference 60 # snmp-agent snmp-agent local-engineid 800063A2000FE266EED56877 snmp-agent community write bdmr86 snmp-agent community read viewread snmp-agent sys-info version v2c v3 snmp-agent target-host trap address udp-domain 10.10.10.2 params securityname viewread snmp-agent trap source Vlan-interface1 # ssh authentication-type default password # user-interface aux 0 7 user-interface vty 0 4 authentication-mode scheme protocol inbound ssh # 这个是接入

王asdzx 发表时间:2023-05-23
回复王asdzx:

没看到dhcp server enable

叫我靓仔 发表时间:2023-05-23
回复王asdzx:

dhcp enable

叫我靓仔 发表时间:2023-05-23
回复王asdzx:

参考案例http://www.h3c.com/cn/d_201312/807742_30005_0.htm#_Toc374028667

叫我靓仔 发表时间:2023-05-23
1 个回答
粉丝:20人 关注:2人

1.核心设备开启dhcp enable功能、设置地址池参数,地址池的ip段与网关确保无误

2.接入设备和核心互联设备配置trunk,并放行对应vlan

3.接入设备是否配置dhcp snooping功能,如果使能需将上联核心的端口设置为trust


编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明