dhcp

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dhcp相关的知识,希望对你有一定的参考价值。

[Huawei]dis cu

[V200R003C00]

#

 snmp-agent local-engineid 800007DB03000000000000

 snmp-agent 

#

 clock timezone China-Standard-Time minus 08:00:00

#

portal local-server load portalpage.zip

#

 drop illegal-mac alarm

#

 set cpu-usage threshold 80 restore 75

#

dhcp enable

#

ip pool dhcp

 gateway-list 192.168.1.254 

 network 192.168.1.0 mask 255.255.255.0 

 excluded-ip-address 192.168.1.253 

 lease day 8 hour 0 minute 0 

 dns-list 114.114.114.114 8.8.8.8 

#

aaa 

 authentication-scheme default

 authorization-scheme default

 accounting-scheme default

 domain default 

 domain default_admin 

 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

 local-user admin service-type http

#

firewall zone Local

 priority 15

#

interface GigabitEthernet0/0/0

 ip address 192.168.1.254 255.255.255.0 

 dhcp select global

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[Huawei]

[Huawei]dis cu

[V200R003C00]

#

 snmp-agent local-engineid 800007DB03000000000000

 snmp-agent 

#

 clock timezone China-Standard-Time minus 08:00:00

#

portal local-server load portalpage.zip

#

 drop illegal-mac alarm

#

 set cpu-usage threshold 80 restore 75

#

dhcp enable

#

ip pool dhcp

 gateway-list 192.168.1.254 

 network 192.168.1.0 mask 255.255.255.0 

 excluded-ip-address 192.168.1.253 

 lease day 8 hour 0 minute 0 

 dns-list 114.114.114.114 8.8.8.8 

#

aaa 

 authentication-scheme default

 authorization-scheme default

 accounting-scheme default

 domain default 

 domain default_admin 

 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

 local-user admin service-type http

#

firewall zone Local

 priority 15

#

interface GigabitEthernet0/0/0

 ip address 192.168.1.254 255.255.255.0 

 dhcp select global

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return


以上是关于dhcp的主要内容,如果未能解决你的问题,请参考以下文章

那些你不得不知道的网络协议——DHCPDHCP中继VRRP

DHCP服务

关于各个协议

笔记 DHCP

DHCP原理和配置

DHCP原理及实验