华为s5700交换机配置全局地址池dhcp服务器_TonySW1配置如下:sysystem-view(进入全局模式)Entersystemview,returnuserviewwithCtrl+Z
[Huawei]sy[Huawei]sysnameSW1(设备命名)[SW1][SW1]d[SW1]dhcpen[SW1]dhcpenable(使用DHCP功能)Info:Theoperationmaytakeafewseconds
Pleasewaitforamoment
[SW1][SW1]ippool10(创建全局地址池,同时进入全局地址池视图)Info:It'ssuccessfultocreateanIPaddresspool
[SW1-ip-pool-10]netw[SW1-ip-pool-10]network192
0m[SW1-ip-pool-10]network192
0mask24(配置全局地址池可动态分配的IP地址范围)[SW1-ip-pool-10][SW1-ip-pool-10]dns-list8
8(配置DNS)[SW1-ip-pool-10][SW1-ip-pool-10]gateway-list192
1(配置网关)华为s5700交换机配置全局地址池dhcp服务器_Tony[SW1-ip-pool-10]ex[SW1-ip-pool-10]excluded-ip-address192
201192
254(保留不被分配的地址)[SW1-ip-pool-10][SW1-ip-pool-10]leased[SW1-ip-pool-10]leaseday7(IP租约期限)[SW1-ip-pool-10][SW1-ip-pool-10]disthis(查询当前模