华为配置基于全局地址池的DHCP

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

注意:如图

sy

system-view

Enter system view, return user view with Ctrl+Z. [Huawei]

[Huawei]sy

[Huawei]sysname Server

[Server]

[Server]su

[Server]super p

[Server]super password c

[Server]super password cipher 123456 [Server]

[Server]us

[Server]user-i

[Server]user-interface v

[Server]user-interface vty 0 4

[Server-ui-vty0-4]

[Server-ui-vty0-4]auth

[Server-ui-vty0-4]authentication-mode p [Server-ui-vty0-4]authentication-mode password

Please configure the login password (maximum length 16):123456 [Server-ui-vty0-4]

[Server-ui-vty0-4]set auth

[Server-ui-vty0-4]set authentication p

[Server-ui-vty0-4]set authentication password c

[Server-ui-vty0-4]set authentication password cipher 123456 [Server-ui-vty0-4]

[Server-ui-vty0-4]quit

[Server]

[Server]us

[Server]user-i

[Server]user-interface c

[Server]us

[Server]user-i

[Server]user-interface c

[Server]user-interface console 0

[Server-ui-console0]

[Server-ui-console0]

[Server-ui-console0]auth

[Server-ui-console0]authentication-mode p

[Server-ui-console0]authentication-mode password

Please configure the login password (maximum length 16):123456 [Server-ui-console0]

[Server-ui-console0]set

[Server-ui-console0]set auth

[Server-ui-console0]set authentication p

[Server-ui-console0]set authentication password c

[Server-ui-console0]set authentication password cipher 123456 [Server-ui-console0]

[Server-ui-console0]

[Server-ui-console0]quit

[Server]

[Server]aaa

[Server-aaa]

[Server-aaa]lo

[Server-aaa]local-user admin

[Server-aaa]local-user admin p

[Server-aaa]local-user admin password c

[Server-aaa]local-user admin password cipher 123456

[Server-aaa]

[Server-aaa]local-user admin s

[Server-aaa]local-user admin service-type t

[Server-aaa]local-user admin service-type telnet

[Server-aaa]

[Server-aaa]q

[Server]

[Server]

[Server]dhcp en

[Server]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done. [Server]

[Server]ip poo

[Server]ip pool tony1

Info: It's successful to create an IP address pool.

[Server-ip-pool-tony1]netw

[Server-ip-pool-tony1]network 192.168.1.0 m

[Server-ip-pool-tony1]network 192.168.1.0 mask 24

[Server-ip-pool-tony1]

[Server-ip-pool-tony1]ga

[Server-ip-pool-tony1]gateway-list 192.168.1.1

[Server-ip-pool-tony1]

[Server-ip-pool-tony1]dns

[Server-ip-pool-tony1]dns-list 114.114.114.114

[Server-ip-pool-tony1]

[Server-ip-pool-tony1]ex

[Server-ip-pool-tony1]excluded-ip-address 192.168.1.2 192.168.1.99 [Server-ip-pool-tony1]

[Server-ip-pool-tony1]l

[Server-ip-pool-tony1]lease d

[Server-ip-pool-tony1]lease day 7

[Server-ip-pool-tony1]

[Server-ip-pool-tony1]quit

[Server]

[Server]

[Server]ip pool tony2

Info: It's successful to create an IP address pool.

[Server-ip-pool-tony2]

[Server-ip-pool-tony2]netw

[Server-ip-pool-tony2]network 192.168.2.0 m

[Server-ip-pool-tony2]network 192.168.2.0 mask 24

[Server-ip-pool-tony2]

[Server-ip-pool-tony2]dns

[Server-ip-pool-tony2]dns-list 114.114.114.114

[Server-ip-pool-tony2]

[Server-ip-pool-tony2]g

[Server-ip-pool-tony2]gateway-list 192.168.2.1

相关文档
最新文档