


下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、华为S2000交换机典型配置配置一台华为S3000交换机,要求数据如下:1, 将交换机的名称设置为 BinXian,并配置三个VLAN ,分别为VLAN 20为 静态 VLAN VLAN 30为 DSLAM 管理 VLAN VLAN 40为动态 PPPOEVLAN2, 将交换机1, 2端口做链路聚合,配置为上行端口,允许通过所有的VLAN, 并将1端口 2端口配置为百兆全双工模式,定义端口名称。3, 将交换机3端口连接一台UT-100设备数据,配置VLAN为VLAN30和VLAN40,并定义端口的名称。4, 将交换机4端口连接一个光纤专线用户,此用户名称为县政府。并将此用户的下行速率限制为20
2、M,上行速率限制为10M5, 将交换机5端口连接一个光纤小区,此用户名称为工行小区。并将此端口可 学习的MAC地址数限制为306, 将交换机管理IP设置为61.185.41.12,网关为61.185.41.1,掩码为此IP属于VLAN 20,并使交换机可以远程登陆上,登陆的密码为3252644配置过程如下:1, 通过超级终端进入交换机界面尖括号为查看模式,不能进展数据配置。2, 输入system-view,进入配置模式配置模式为方括号。用display current-configuration查看交换机所有的配置数据3, 进入配置模式后,首先配置交换机的系统名称sys name Bin Xi
3、an4, 配置 VLANvia n 20via n 30via n 405, 配置端口#in terface EthernetO/1description UpLi nk_1定义端口的名称duplex full将端口模式改为全双工模式系统默认为自适应,建议在设备对接时,两端的模式改为一样。speed 100将端口速率设置为 100M如果不用line-rate准确限制端口速率,端口默认只能设置为10M,或100Mport link-type trunk将端口连接类型改为 trunk模式,即给端口打上标签。port trunk permit vlan 1 20 30 40 允许此端口通过 VLAN
4、 20 , VLAN 30 , VLAN 40#in terface EthernetO/2description UpLink_2duplex fullspeed 100port lin k-type trunkport trunk permit vlan 1 20 30 40#in terface Ethernet0/3description To_UT100port lin k-type trunkport trunk permit vlan 1 30 40#in terface Ethernet0/4description XianZhengFuport access vlan 20将
5、端口模式改为 access模式,并给该端口添加VLAN20端口在 access模式下只能通过一个VLANline-rate inbound 37限制进入此端口即用户发送至该端口的速率,也是用户的上行速率的速率为10Mline-rate outbound 47限制流出此端口即该端口发送给用户的速率,也是用户的下行速率的速率为20M备注:在设置line-rate时,后面需要配置INTEGER,数值围为1-127。当需要限制的速率为2M以上时,那么用需要限制的速率加上27,即为所需要配置的数值。例如将用户的上行速率限制为10M,那么配置命令如下:line-rate inbound 37 10+27当
6、需要限制的速率为2M以下时,那么用需要限制的速率除以64K,即为所需要配置的数值。例如将用户的上行速率限制为1M,那么配置命令如下:line-rate inbound 16 1000/64#in terface Ethernet0/5descripti on Gon gHa ngXiaoQu_LANmac-address max-mac-count 30将该端口可以学习到的最大 MAC地址数,限制为 30此命 令可以控制小区总的用户数目port access vla n 406, 将1端口和2端口做成链路聚合link-aggregation Ethernet0/1 to Ethernet0/2
7、 both 将 1 端口和 2 端口做成链路聚合7, 配置交换机管理IPin terface Vla n-i nterface20 交换机管理 VLAN 为 20ip address 61.185.41.12 255.255.255.0 设置交换机的管理IP8, 为了使交换机能够远程管理上,配置一条静态路由,并设置交换码ip route-static 0.0.0.0 0.0.0.0 super password level 3 simple 3252644user- in terface vty 0 4set authentication password simple 3252644 设置交
8、换机的密码为 32526449, 配置端口镜像在处理故障抓包时可以用到monitor-port Ethernet 0/3 将 3 端口配置为监视端口mirroring-port Ethernet 0/4 both将4端口的双向流量分别镜像到监视端口3端口附:以上要求的 S2000的配置信息此配置信息可以直接复制,粘贴至交换机配置界面 dis cur#sys name Bi nXia n#super password level 3 simple 3252644#radius scheme systemserver-type huaweiprimary authe nticati on 127.
9、0.0.1 1645 primary accou nting 127.0.0.1 1646 user- name-format without-doma indomai n systemradius-scheme systemaccess-limit disablestate activeidle-cut disableself-service-url disablemesse nger time disabledoma in default en able system#local-server n as-ip 127.0.0.1 key huawei#queue-scheduler wrr
10、 1 2 4 8#vlan 1#vlan 20#vlan 30#vlan 40#in terface Vlan-i nterface20#in terface Aux0/0#in terface Ethernet0/1description UpLink_1duplex fullspeed 100port lin k-type trunkport trunk permit vlan 1 20 30 40#in terface Ethernet0/2description UpLink_2duplex fullspeed 100port lin k-type trunkport trunk pe
11、rmit vlan 1 20 30 40#in terface Ethernet0/3description To_UT100port lin k-type trunkport trunk permit vlan 1 30 40#in terface Ethernet0/4description XianZhengFuport access vla n 20lin e-rate inbound 37lin e-rate outbo und 47#in terface Ethernet0/5descripti on Gon gHa ngXiaoQu_LANmac-address max-mac-
12、co unt 30port access vla n 40#in terface Ethernet0/6#in terface EthernetO/7#in terface EthernetO/8#in terface EthernetO/9#in terface EthernetO/1O#in terface EthernetO/11#in terface EthernetO/12#in terface EthernetO/13#in terface EthernetO/14#in terface EthernetO/15#in terface EthernetO/16 in terface Ethernet0/17#in terface Ethernet0/18#in terface Ethernet0/19 #in terface Ethernet0/20#in terface Ethernet0/21#in terface Ethernet0/22# in terface Ethernet0/23#in terface Ethernet0/24#in terface Ethernet0/25# in terface NULLO#lin k
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 跟岗协议书范本
- 欧美减产协议书
- 公司聘用会计劳动合同
- 避税车位买卖合同协议
- 海外承包协议书
- 生活用水供应合作合同协议
- 车位分期协议书范本
- 儿女赡养老人协议书
- 灵魂签订协议书
- 水田租赁协议书
- 2025年中考语文备考之课内文言文主题阅读训练主题二:治国劝谏篇(解析版)
- 计算机毕设管理系统答辩
- 2025年湖北行测试题及答案
- 闽教版四年级英语下册全册单元知识点
- 2025视频号内容生态发展白皮书
- 新高考背景下2025年高考物理命题趋势分析与复习备考策略讲座
- 管道焊接施工方案
- 2025年四川成都农业科技职业学院招聘工作人员16人高频重点模拟试卷提升(共500题附带答案详解)
- 2024年全国高考甲卷历史试题含答案解析
- 八年级数学下册 第4章 单元综合测试卷(北师版 2025年春)
- 酒店智能化系统工程的施工方法与流程
评论
0/150
提交评论