


免费预览已结束,剩余4页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
华为s5700交换机配置全局地址池dhcp服务器_TonySW1配置如下:HuaweiHuaweisyHuaweisystem-view (进入全局模式)Enter system view, return user view with Ctrl+Z.HuaweisyHuaweisysname SW1 ( 设备命名)SW1SW1dSW1dhcp enSW1dhcp enable (使用DHCP功能)Info: The operation may take a few seconds. Please wait for a moment.done.SW1SW1ip pool 10 (创建全局地址池,同时进入全局地址池视图)Info:Its successful to create an IP address pool.SW1-ip-pool-10netwSW1-ip-pool-10network 192.168.10.0 mSW1-ip-pool-10network 192.168.10.0 mask 24(配置全局地址池可动态分配的IP地址范围)SW1-ip-pool-10SW1-ip-pool-10dns-list 8.8.8.8 (配置DNS )SW1-ip-pool-10SW1-ip-pool-10gateway-list 192.168.10.1 (配置网关)SW1-ip-pool-10exSW1-ip-pool-10excluded-ip-address 192.168.10.201 192.168.10.254 (保留不被分配的地址)SW1-ip-pool-10SW1-ip-pool-10lease dSW1-ip-pool-10lease day 7 (IP租约期限)SW1-ip-pool-10SW1-ip-pool-10dis this (查询当前模式的配置)#ip pool 10 gateway-list 192.168.10.1 (网关) network 192.168.10.0 mask 255.255.255.0 (IP地址范围) excluded-ip-address 192.168.10.201 192.168.10.254 (保留IP地址范围) lease day 7 hour 0 minute 0 (IP租约周期) dns-list 8.8.8.8#returnSW1-ip-pool-10SW1-ip-pool-10SW1-ip-pool-10quit (退出)SW1SW1SW1SW1ip pool 20Info:Its successful to create an IP address pool.SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20netwSW1-ip-pool-20network 192.168.20.0 mSW1-ip-pool-20network 192.168.20.0 mask 24SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20dSW1-ip-pool-20dns-list 8.8.8.8SW1-ip-pool-20SW1-ip-pool-20gSW1-ip-pool-20gateway-list 192.168.20.1SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20exSW1-ip-pool-20excluded-ip-address 192.168.20.201 192.168.20.254SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20lSW1-ip-pool-20lease dSW1-ip-pool-20lease day 7SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20dis this#ip pool 20 gateway-list 192.168.20.1 network 192.168.20.0 mask 255.255.255.0 excluded-ip-address 192.168.20.201 192.168.20.254 lease day 7 hour 0 minute 0 dns-list 8.8.8.8#returnSW1-ip-pool-20SW1-ip-pool-20SW1-ip-pool-20qSW1SW1SW1vSW1vlan bSW1vlan batch 10 20 (批量创建vlan)Info: This operation may take a few seconds. Please wait for a moment.done.SW1SW1SW1intSW1interface gSW1interface GigabitEthernet 0/0/1 (进入port 1)SW1-GigabitEthernet0/0/1porSW1-GigabitEthernet0/0/1port lSW1-GigabitEthernet0/0/1port link-tSW1-GigabitEthernet0/0/1port link-type aSW1-GigabitEthernet0/0/1port link-type access (配置port 1 类型)SW1-GigabitEthernet0/0/1SW1-GigabitEthernet0/0/1SW1-GigabitEthernet0/0/1portSW1-GigabitEthernet0/0/1port defSW1-GigabitEthernet0/0/1port default vSW1-GigabitEthernet0/0/1port default vlan 10 (配置port 1 vlan)SW1-GigabitEthernet0/0/1SW1-GigabitEthernet0/0/1quit (退出)SW1SW1intSW1interface gSW1interface GigabitEthernet 0/0/2SW1-GigabitEthernet0/0/2SW1-GigabitEthernet0/0/2SW1-GigabitEthernet0/0/2SW1-GigabitEthernet0/0/2porSW1-GigabitEthernet0/0/2port lSW1-GigabitEthernet0/0/2port link-tSW1-GigabitEthernet0/0/2port link-type aSW1-GigabitEthernet0/0/2port link-type access SW1-GigabitEthernet0/0/2SW1-GigabitEthernet0/0/2porSW1-GigabitEthernet0/0/2port defSW1-GigabitEthernet0/0/2port default vSW1-GigabitEthernet0/0/2port default vlan 20SW1-GigabitEthernet0/0/2SW1-GigabitEthernet0/0/2quitSW1SW1SW1SW1intSW1interface v( 配置VLANIF10接口下的客户端从全局地址池中获取IP地址)SW1interface Vlanif 10 (创建vlanif 10)SW1-Vlanif10SW1-Vlanif10SW1-Vlanif10ip addSW1-Vlanif10ip address 192.168.10.1 24 (配置IP地址)SW1-Vlanif10SW1-Vlanif10dhcp selSW1-Vlanif10dhcp select gSW1-Vlanif10dhcp select global (在vlanif 10模式下调用全局地址池)SW1-Vlanif10SW1-Vlanif10SW1-Vlanif10disSW1-Vlanif10display this (查询当前配置参数)#interface Vlanif10 ip address 192.168.10.1 255.255.255.0 dhcp select global#returnSW1-Vlanif10SW1-Vlanif10SW1-Vlanif10quitSW1SW1SW1intSW1interface vSW1interface Vlanif 20SW1-Vlanif20SW1-Vlanif20SW1-Vlanif20ip addSW1-Vlanif20ip address 192.168.20.1 24SW1-Vlanif20SW1-Vlanif20dhcpSW1-Vlanif20dhcp selSW1-Vlanif20dhcp select gSW1-Vlanif20dhcp select global SW1-Vlanif20SW1-Vlanif20dis this#interface Vlanif20 ip address 192.168.20.1 255.255.255.0 dhcp select global#returnSW1-Vlanif20SW1-Vlanif20SW1-Vlanif20quitSW1SW1disSW1display ip pool (查看IP地址池配置情况) - Pool-name : 10 Pool-No : 0 Position : Local Status : Unlocked Gateway-0 : 192.168.10.1 Mask : 255.255.255.0 VPN instance : - - Pool-name : 20 Pool-No : 1 Position : Local Status : Unlocked Gateway-0 : 192.168.20.1 Mask : 255.255.255.0 VPN instance : - IP address Statistic Total :506 Used :0 Idle :398 Expired :0 Conflict :0 Disable :108 SW1SW1SW1quitSW1SW1SW1save (保存配置,写入设备)The current configuration will be written to the device.Are you sure to cont
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 包头市2025内蒙古包头市招商投资促进局所属事业单位人才引进1人笔试历年参考题库附带答案详解
- 上海市2025上海应用技术大学大学生心理健康教育中心专职人员招聘2人笔试历年参考题库附带答案详解
- 2025福建晋江市市政工程建设有限公司权属公司招聘6人笔试参考题库附带答案详解
- 2025浙江金华金开宏业产业运营管理有限公司招聘5人笔试参考题库附带答案详解
- 2025年度河南西沟电力有限责任公司招聘工作人员2名笔试参考题库附带答案详解
- 2025年安徽国控资本有限公司社会招聘17人笔试参考题库附带答案详解
- 2025年亳州公用事业发展有限公司古井供水工程项目人员招聘10人笔试参考题库附带答案详解
- 2025山东农科生物科技发展有限公司招聘16人笔试参考题库附带答案详解
- 2025四川虹微技术有限公司招聘软件开发工程师等岗位8人笔试参考题库附带答案详解
- 2025内蒙古锡林郭勒盟阿巴嘎旗城乡建设投资集团有限公司招聘12人笔试参考题库附带答案详解
- 考务资格审核培训
- 2025四川成都蒲江县国有资产监督管理局县属国有企业招聘管理人员7人考试参考题库及答案解析
- 人工智能算力中心项目技术方案
- 电动车骑行安全培训课件
- 2025-2026学年北师大版(2024)小学数学三年级上册《综合实践:校园里的八个方向》教学设计
- GB/T 46238-2025淡水水下搜救机器人通用技术条件
- 创造性思维训练题库及答案
- 2025版施工合同主体变更与工程竣工结算协议
- 选矿技术基础知识培训课件
- 掼蛋教学课件
- 机关档案管理工作培训PPT课件
评论
0/150
提交评论