华三交换机DHCP服务配置

SWB:

**<H3C>sys
System View: return to User View with Ctrl+Z.

H3C\]sysn SWB \[SWB\]vlan 10** **\[SWB-vlan10\]port g1/0/1 to g1/0/5** **\[SWB-vlan10\]vlan 20 \[SWB-vlan20\]port g1/0/6 to g1/0/10 \[SWB-vlan20\]int g1/0/24 \[SWB-GigabitEthernet1/0/24\]p l t \[SWB-GigabitEthernet1/0/24\]p t p v a \[SWB-GigabitEthernet1/0/24\]end** **\save** **SWA:** **\sys System View: return to User View with Ctrl+Z. \[H3C\]sysn SWA\[SWA\]vlan 10 \[SWA-vlan10\]vlan 20 \[SWA-vlan20\]int vlan 10 \[SWA-Vlan-interface10\]ip add 192.168.10.254 24 \[SWA-Vlan-interface10\]int vlan 20 \[SWA-Vlan-interface20\]ip add 192.168.20.254 24 \[SWA-Vlan-interface20\]exit \[SWA\]dhcp ena \[SWA\]dhcp server forbidden-ip 192.168.10.254 \[SWA\]dhcp server forbidden-ip 192.168.20.254 \[SWA\]dhcp server ip-pool vlan10 \[SWA-dhcp-pool-vlan10\]network 192.168.10.0 mask 255.255.255.0 \[SWA-dhcp-pool-vlan10\]gateway-list 192.168.10.254 \[SWA-dhcp-pool-vlan10\]dns-list 8.8.8.8 \[SWA-dhcp-pool-vlan10\]exit \[SWA\]dhcp server ip-pool vlan20 \[SWA-dhcp-pool-vlan20\]network 192.168.20.0 mask 255.255.255.0 \[SWA-dhcp-pool-vlan20\]gateway-list 192.168.20.254 \[SWA-dhcp-pool-vlan20\]dns-list 114.114.114.114\[SWA-dhcp-pool-vlan20\]expired day 8 \[SWA-dhcp-pool-vlan20\]int g1/0/24 \[SWA-GigabitEthernet1/0/24\]p l t \[SWA-GigabitEthernet1/0/24\]p t p v a \[SWA-GigabitEthernet1/0/24\]end \save** ![](https://i-blog.csdnimg.cn/direct/ef974bf5d2364cb1b525e56df4919a96.png)![](https://i-blog.csdnimg.cn/direct/7b30339ea02b4864abc1911e24face7f.png)![](https://i-blog.csdnimg.cn/direct/37c224515ac74cf19a1e90e19758cb2f.png)![](https://i-blog.csdnimg.cn/direct/d58cfb58047845bd9e1e1c72adfa61c0.png)

相关推荐
QuestLab12 小时前
【第20期】2026年4月23日 AI日报
运维·服务器·人工智能
第八学期13 小时前
如何解决挖矿病毒的攻击
运维·服务器·安全
爱莉希雅&&&13 小时前
Ansible+Docker案例(含ansible配置安装docker)
linux·运维·mysql·nginx·docker·容器·ansible
风曦Kisaki13 小时前
# 企业级网络架构Day03:网络层解析、路由原理、三层交换机、动态路由(OSPF)
网络·架构·智能路由器
wicb91wJ613 小时前
Linux服务器性能调优常用命令
linux·服务器·网络
treesforest13 小时前
Ipdatacloud IP 地址查询方案适合哪些场景?
大数据·网络·数据库·网络协议·tcp/ip·ip
TeDi TIVE13 小时前
C#数据库操作系列---SqlSugar完结篇
网络·数据库·c#
追兮兮13 小时前
基于 GD32 与 LwIP 的 TCP OTA 固件升级实现
网络·网络协议·tcp/ip·tcp·gd32·ota
zhang1338308907513 小时前
QY-18DL-1倾斜位移裂缝计:智能地质安全监测先锋
运维·网络·安全
你觉得脆皮鸡好吃吗13 小时前
SQL注入 高权限注入(引入概念)
网络·数据库·sql·oracle·网络安全学习