核心交换机进行vlan204的DHCP下发
接入交换机能ping通VLAN204的网关
接口也port access vlan 204了
但是地址无法下发
H3C E152作为接入交换机
(0)
最佳答案
配置发出来看看吧,大概率dhcp server没有enable或者接口没调用,或者其它地方配置错误
(0)
# 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 # 这个是接入
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
参考案例http://www.h3c.com/cn/d_201312/807742_30005_0.htm#_Toc374028667