h3c DHCP-学习篇

SW1-GigabitEthernet1/0/2dis cur

version 7.1.075, Alpha 7571

sysname SW1

irf mac-address persistent timer

irf auto-update enable

undo irf link-delay

irf member 1 priority 1

dhcp enable

dhcp snooping enable

lldp global enable

system-working-mode standard

xbar load-single

password-recovery enable

lpu-type f-series

vlan 1

vlan 10

vlan 20

stp global enable

dhcp server ip-pool vll_10

gateway-list 192.168.10.1

network 192.168.10.0 mask 255.255.255.0

dns-list 114.114.114.114

dhcp server ip-pool vll_20//名字与vla无关

gateway-list 192.168.20.1

network 192.168.20.0 mask 255.255.255.0

dns-list 114.114.114.114

interface Bridge-Aggregation1

dhcp snooping trust

interface NULL0

interface Vlan-interface10

ip address 192.168.10.1 255.255.255.0

interface Vlan-interface20

ip address 192.168.20.1 255.255.255.0

interface FortyGigE1/0/53

port link-mode bridge

interface FortyGigE1/0/54

port link-mode bridge

interface GigabitEthernet1/0/1

port link-mode bridge

port access vlan 10

combo enable fiber

interface GigabitEthernet1/0/2

port link-mode bridge

port access vlan 20

combo enable fiber

SW1display dhcp server ip-in-use

IP address Client identifier/ Lease expiration Type

Hardware address

192.168.10.2 0031-6136-662e-3438- Jan 5 21:08:17 2026 Auto(C)

6466-2e30-3230-362d-

4745-302f-302f-31

192.168.20.2 0031-6136-662e-3534- Jan 5 21:08:31 2026 Auto(C)

6333-2e30-3330-362d-

4745-302f-302f-31

相关推荐
小小de风呀37 分钟前
de风——【从零开始学习C++】(十八):AVL树——让二叉搜索树自己“站起来“的自平衡黑科技
c++·科技·学习
MartinYeung51 小时前
[论文学习]MCPTox:面向真实世界MCP服务器的工具投毒攻击基准测试
运维·服务器·学习
math_hongfan1 小时前
事务下单与状态流转:ArkTS 的 JOIN 联表在鸿蒙订单里实战
android·学习·华为·harmonyos
weixin_431600442 小时前
NestJS 入门(9):连上数据库,SQL 写在哪?
数据库·后端·sql·学习·nest.js
举手2 小时前
Epoll模型
linux·c++·学习
MartinYeung52 小时前
[论文学习]JBShield:通过激活概念分析与操纵防御大语言模型越狱攻击
人工智能·学习·语言模型
MartinYeung52 小时前
[论文学习]SMSR:带平滑检索的签名记忆——针对持久化LLM智能体系统运行时内存投毒的认证防御
人工智能·学习
橙橙笔记3 小时前
C++的学习第三部分
开发语言·c++·学习
小席是个热心肠12 小时前
AI相关的自我学习
java·人工智能·学习
何事误红尘14 小时前
Mqtt学习笔记(一):Mosquitto服务器搭建、MQTTX安装测试
学习