欢迎来到天天文库
浏览记录
ID:62012428
大小:136.68 KB
页数:7页
时间:2021-04-12
《华为s5700交换机配置全局地址池dhcp.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、华为s5700交换机配置全局地址池dhcp服务器_TonySW1配置如下:sysystem-view(进入全局模式)Entersystemview,returnuserviewwithCtrl+Z.[Huawei]sy[Huawei]sysnameSW1(设备命名)[SW1][SW1]d[SW1]dhcpen[SW1]dhcpenable(使用DHCP功能)Info:Theoperationmaytakeafewseconds.Pleasewaitforamoment.done.[SW1][SW1]ip
2、pool10(创建全局地址池,同时进入全局地址池视图)Info:It'ssuccessfultocreateanIPaddresspool.[SW1-ip-pool-10]netw[SW1-ip-pool-10]network192.168.10.0m[SW1-ip-pool-10]network192.168.10.0mask24(配置全局地址池可动态分配的IP地址范围)[SW1-ip-pool-10][SW1-ip-pool-10]dns-list8.8.8.8(配置DNS)[SW1-ip-pool-10][SW1-ip-pool-10]gate
3、way-list192.168.10.1(配置网关)华为s5700交换机配置全局地址池dhcp服务器_Tony[SW1-ip-pool-10]ex[SW1-ip-pool-10]excluded-ip-address192.168.10.201192.168.10.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(查询当前模式的配置)#ippool10g
4、ateway-list192.168.10.1(网关)network192.168.10.0mask255.255.255.0(IP地址范围)excluded-ip-address192.168.10.201192.168.10.254(保留IP地址范围)leaseday7hour0minute0(IP租约周期)dns-list8.8.8.8#return[SW1-ip-pool-10][SW1-ip-pool-10][SW1-ip-pool-10]quit(退出)[SW1][SW1][SW1][SW1]ippool20Info:It'ssucces
5、sfultocreateanIPaddresspool.[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]netw[SW1-ip-pool-20]network192.168.20.0m[SW1-ip-pool-20]network192.168.20.0mask24[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]d[SW1-ip-pool-20]dns-list8.8.8.8[SW1-ip-pool-20][SW1-ip-pool-20]g[SW1-ip-
6、pool-20]gateway-list192.168.20.1[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]ex[SW1-ip-pool-20]excluded-ip-address192.168.20.201192.168.20.254[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]l华为s5700交换机配置全局地址池dhcp服务器_Tony[SW1-ip-pool-20]leased[SW1-ip-pool-20]leaseday7[SW1-ip-
7、pool-20][SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]disthis#ippool20gateway-list192.168.20.1network192.168.20.0mask255.255.255.0excluded-ip-address192.168.20.201192.168.20.254leaseday7hour0minute0dns-list8.8.8.8#return[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-
8、pool-20]q[SW1][SW1][SW1]v[SW1]vlanb[SW1]vlanbatch1020(
此文档下载收益归作者所有