首页 交换机限速及配置命令

交换机限速及配置命令

举报
开通vip

交换机限速及配置命令交换机限速及配置命令 HUAWEI switch port speed limit 1 functional requirements and networking instructions Port speed limit configuration Configure the environment parameter 1. PC1 and PC2 IP addresses are 10.10.1.1/24 and 10.10.1.2/24 respectively Networking requi...

交换机限速及配置命令
交换机限速及配置命令 HUAWEI switch port speed limit 1 functional requirements and networking instructions Port speed limit configuration Configure the environment parameter 1. PC1 and PC2 IP addresses are 10.10.1.1/24 and 10.10.1.2/24 respectively Networking requirements 1. configure port speed limits on SwitchA, limiting the download speed of PC1 to 3Mbps, while limiting the upload speed of PC1 to 1Mbps 2 data configuration steps Port speed limit configuration flow for S2000EI series switches Use the line-rate command below the Ethernet physical port to speed the traffic out and out of the port. [SwitchA related configuration] 1. enter the configuration view of port E0/1 [SwitchA]interface Ethernet 0/1 2. speed limit of traffic to port E0/1 is limited to 3Mbps [SwitchA- Ethernet0/1]line-rate outbound 30 3. speed limit of traffic to port E0/1 is limited to 1Mbps [SwitchA- Ethernet0/1]line-rate inbound 16 [supplementary instructions] The message rate limit level is 1~127. If the rate limiting value level in 1 ~ 28 range, size is rate limiting for 64Kbps, in this case, when setting the level of N, the rate of size limit for the N*64K port; if the rate limit value in the 29 to 127 range, the size is rate limiting for 1Mbps, in this case when set, the level of N, the size of the port on the rate limit for (N-27) *1Mbps. The specific models for this series of switches include: S2008-EI, S2016-EI, and S2403H-EI. Port speed limit configuration flow for S2000-SI and S3000-SI series switches Use the line-rate command below the Ethernet physical port to speed the traffic out and out of the port. [SwitchA related configuration] 1. enter the configuration view of port E0/1 [SwitchA]interface Ethernet 0/1 2. speed limit of traffic to port E0/1 is limited to 6Mbps [SwitchA- Ethernet0/1]line-rate outbound 2 3. speed limit of traffic to port E0/1 is limited to 3Mbps [SwitchA- Ethernet0/1]line-rate inbound 1 [supplementary instructions] The total rate of port sending and receiving message limit, here to represent the 8 levels, ranging from 1 to 8, meaning: port at 10M rate, from 1 to 8 respectively, 312K, 625K, 938K, 1.25M, 2M, 4M, 6M, 8M; port at 100M rate. 1 ~ 8 3.12M respectively, 6.25M, 9.38M, 12.5M, 20M, 40M, 60M, 80M. The specific models for this series of switches include: S2026C/Z-SI, S3026C/G/S-SI, and E026-SI. Port speed limit configuration process for S3026E, S3526E, S3050, S5012, S5024 series switches Use the following Ethernet physical port line-rate command flow speed of message direction of the port; combined with ACL, using the Ethernet physical port of the traffic-limit command, the flow speed of the incoming message port. [ switcha-acl-link-4000 ]规则允许进入任何出口任何 4。对端口E0 / 1的入方向报文进行流量限速,限制到1mbps [访问-功能/ 0 / 1 ]交通限入站链接4000组超过1000滴 【补充说明】 线速度命令直接对端口的所有出方向数据报文进行流量限制,而流量限制命令必须结合使用对匹配了指定访问控制列 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf 规则的数据报文进行流量限制ACL,ACL。在配置的时候,也可以通过配置三层访问规则,来对指定的源或目的网段报文,进行端口的入方向数据报文进行流量限制。 端口出入方向限速的粒度为64kbps。 此系列交换机的具体型号包括:s3924、s3928p / F / TP和s3952p。 『s5600系列交换机端口限速配置流程』 使用以太网物理端口下面的线率命令,对该端口的出方向报文进行流量限速;结合ACL,使用以太网物理端口下面的流量限制命令,对匹配指定访问控制列表规则的端口入方向数据报文进行流量限制。 【相关配置】访问 1。进入端口E1 / 0 / 1的配置视图 [访问]以太网接口的1 / 0 / 1 2。对端口E0 / 1的出方向报文进行流量限速,限制到3mbps [访问-功能/ 0 / 1 ]线率3000 三.配置ACL,定义符合速率限制的数据流 [访问] ACL 4000号 [ switcha-acl-link-4000 ]规则允许进入任何出口任何 4。对端口E0 / 1的入方向报文进行流量限速,限制到1mbps [访问-功能/ 0 / 1 ]交通限入站链接4000组超过1000滴 【补充说明】 线速度命令直接对端口的所有出方向数据报文进行流量限制,而流量限制命令必须结合使用对匹配了指定访问控制列表规则的数据报文进行流量限制ACL,ACL。在配置的时候,也可以通过配置三层访问规则,来对指定的源或目的网段报文,进行端口的入方向数据报文进行流量限制。 端口出入方向限速的粒度为64kbps。 此系列交换机的具体型号包括:s5624p / F和sp. 交换机配置命令 类别命令格式命令含义 基本配置的>使进入特权模式 的#配置终端进入全局配置模式 S(config)#主机名称改变交换机名称 S(config)#启用密码水平level_ #密码设置用户口令(level_ # = 1)或特权口令(level_ # = 15) S(config)#线0进入控制台接口控制台 S(配置线)#密码console_password接上一条命令,设置控制台口令 S(config)# VTY 0线15进入虚拟终端 S(配置线)#密码telnet_password接上一条命令,设置Telnet口令 S(配置线)# telnet登录允许登录 S(config)#启用密码|秘密privilege_password配置特权口令(加密或不加密) S(config)#以太网接口FastEthernet | |千兆以太网slot_ # / port_ #进入接口子配置模式 S(config-if)# [不]关机关闭或启用该接口(默认启用) S(config)# IP地址ip_address sunbet_mask指定IP地址 S(config)# IP默认网关router's_ip_address指定哪台路由器地址为默认网关 的#显示运行配置查看当前的配置 的#保存配置将RAM中的当前配置保存到NVRAM中 >显示界面的[型slot_ # / port_ # ]查看所有或指定接口的信息 s >显示IP显示交换机的IP配置(只在1900系列上可用) 显示版本查看设备信息的> 的#显示接口的IP配置验证 S(config-if)#速度10 | 100 |汽车设置接口速率 S(config-if)#双工自动|全|半设置接口双工模式 s >显示MAC地址表查看凸轮表 清晰的# MAC地址表清除凸轮表中的动态条目 1900(config)# MAC地址表永久mac_address型[ slot_ # / ] port_ #在凸轮表中创建静态条目 2950(config)#静态VLAN的MAC地址表mac_address vlan_ #接口类型[ slot_ # / ] port_ #在凸轮表中创建静态条目 1900(config)# MAC地址表限制静态mac_address source_port list_of_allowed_interface设置静态端口安全措施 1900(config-if)#端口安全启用粘性学习 1900(config-if)#端口安全最大的MAC值设置粘性学习特性能够学 到的地址数量(默认132,取值范围是1-132) 1900(config)#地址冲突暂停|忽略|禁用改变安全选项 1900 >显示MAC地址表的安全验证端口安全措施 2950(config)#是访问模式定义接口为主机端口而不是中继端口 2950(config)#交换机端口安全启用端口安全措施 2950(config)#交换机端口安全的最大值指定可与此接口相关的设备的最大数量 2950(config)#交换机端口安全保护|违反限制|关机指定出现安全违规时应该发生的事 2950(config)#交换机端口的MAC地址mac_address指定允许与此接口相关的确切的MAC地址 2950(config)#指定端口的地址粘贴启用粘性学习特性 2950(config)#显示端口接口类型[ slot_ # / ] port_ #验证接口配置 2950(config-if)描述的名字设置接口描述信息 2950 #显示缓冲区查看系统缓存的大小 1900 #拷贝NVRAM TFTP:/ / ip_address_of_tftp_server / file_name 将配置文件备份到TFTP服务器上 1900 # COPY TFTP:/ / ip_address_of_tftp_server / file_name NVRAM从TFTP服务器上恢复配置到NVRAM 1900 #删除NVRAM删除配置文件 2950 #擦除启动配置删除配置文件 3550 # TCAM的QoS tcam_id统计显示查看TCAM剩余容量 4000、使进入特权模式 4000 >(使)设置密码设置用户模式密码 4000 >(使)设置enablepass设置授权密码 4000 >(使)设置界面配合ip_address面具配置IP地址 4000 >(使)设置端口使|禁用slot_ # / port_ #启用/禁用接口 4000 >(使)显示端口[ slot_ # / port_ # ]显示接口信息 4000 >(使)设置端口名称slot_ # / port_ #名字设置交换机接口描述信息 4000 >(使)设置端口速度slot_ # / port_ # 4 | 10 | 16 | 100 |汽车设置交换机接口速率 4000 >(使)设置端口双工slot_ # / port_ #全|半设置交换机接口双工模式 4000 >(使)明确的配置都删除NVRAM中的配置信息 4000 >(使)清除所有删除闪光中的 内容 财务内部控制制度的内容财务内部控制制度的内容人员招聘与配置的内容项目成本控制的内容消防安全演练内容 4000 >(使)显示Flash闪存中的内容显示 4000 >(使)显示[数]凸轮动态|静态|永|系统[ vlan_ # ]显示凸轮表 VLAN 1900(config)# VTP域vtp_domain_name定义交换机域名 1900(config)# VTP服务器|客户端|定义交换机VTP透明模式(默认服务器) 1900(config)# VTP密码vtp_password配置VTP口令 1900(config)# VTP修剪使|禁用启用/禁用修剪(默认启用) 1900(config)# VTP陷阱使启用SNMP陷阱(默认启用) 1900 #表明VTP验证VTP配置 2950 # VTP数据库访问VLAN和VTP配置(以下均是在ios12.1前用,12.1后全是在全局配置模式下) 2950(VLAN)# VTP域vtp_domain_name定义交换机域名 2950(VLAN)# VTP服务器|客户端|定义交换机VTP透明模式(默认服务器) 2950 # VTP(VLAN)密码vtp_password配置VTP口令 2950(VLAN)# VTP修剪启用/禁用修剪(默认启用) 2950(config)# SNMP服务器启用VTP启用SNMP陷阱陷阱(默认启用) 2950 #显示状态检查VTP VTP配置 2950 #显示计数器显示与VTP VTP消息发送与接收相关的VTP统计信息 1900(config-if)#干了| |可取的|汽车指定中继类型 1900 #显示树干| B验证接口中继(一是粮农/ 26,B是粮农/ 27) 2950(config-if)# switchport mode trunk |动态期望|动态自动|非协商指定中继类型(默认自动协商) 2950(config-if)#主干交换机VLAN允许本地| |修剪vlan_ #配置中继 2950(config-if)#主干交换机VLAN删除vlan_ #清除不希望消减的VLAN修剪 2950 #显示界面【0型/ port_ # ]是|躯干验证接口中继 1900(config)# VLAN vlan_ # [名字]创建vlan_name VLAN 1900(config-if)# VLAN静态vlan_ #将该接口静态地分配给一个VLAN 1900 #显示VLAN验证VLAN 1900 #显示VLAN的成员查看VLAN成员关系 1900 #显示生成树[ vlan_ # ]查看VLAN的STP信息 2950 # VLAN数据库进入VLAN数据库(iso12.1前用) 2950(VLAN)# VLAN vlan_ # [名字]创建vlan_name VLAN 2950(config)# VLAN vlan_ #进入VLAN数据库(iso12.1后用) 2950(配置VLAN)#名字vlan_name创建VLAN 2950(config-if)#是访问模式指定连接是接入链路连接 2950(config-if)#交换机接入VLAN vlan_ #指定VLAN是接入链路连接 4000 >(使)设置VLAN vlan_ #名字vlan_name配置VLAN 4000 >(使)设置VLAN vlan_ # slot_ # / port_ # - port_ #为VLAN分配端口 4000 >(使)设置中继slot_ # / port_ # [ |了|可取的|汽车|非协商] [ vlan_ # ] [ ISL | dot1q | dot10 |车道|配置中继谈判] 4000 >(使)清晰的树干slot_ # / port_ # vlan_ #删除VLAN 4000 >(使)显示干slot_ # / port_ #验证中继端口 4000 >(使)设置VTP V2使配置vtpv2 4000 >(使)设置VTP [域名] [客户端服务器模式| |透明] [口令密码] [修剪使|禁用] [禁用]设置VTP V2使| 4000 >(使)表明VTP域验证VTP域的信息 4000 >(使)显示统计显示发出或收到的VTP VTP通告信息的摘要内容 4000 >(使)设置VTP pruneeligible vlan_ #设置VTP消减 4000 >(使)清除VTP pruneeligible vlan_ #清除不希望消减的VLAN STP 4000 >(使)设置交换机使|禁用vlan_ #启用/禁用STP(默认启用) 2950(config)# [不]生成树协议vlan_ #启用/禁用STP(默认启用) 4000 >(使)显示生成树[ vlan_ # ]验证STP状态 2950 #显示状态验证STP生成树 4000 >(使)设置交换机的根[二] vlan_ # [直径] [你好network_diameter hello_time ]设置主根节点桥、备份节点桥、最大桥数量(2-7)、持续时间(1-10,默认2) 4000 >(使)设置交换机的portcost slot_ # / port_ # cost_ # 设置端口开销 2950(config-if)#生成树的成本cost_ #设置端口开销 4000 >(使)设置交换机的portpri slot_ # / port_ # priority_ #设置端口优先级 4000 >(使)设置交换机的portvlanpri slot_ # / port_ # priority_ # [ vlan_ # ]改变VLAN的优先级设置 2950(config-if)#生成树协议vlan_ #端口优先级priority_ #设置端口优先级 4000 >(使)设置交换机的fwddelay delay_ # [ vlan_ # ]设置从侦听状态到学习状态再到转发状态的时间间隔(默认15秒,取值范围是4-30秒) 4000 >(使)设置树你好interval_time [ vlan_ # ]设置根节点交换机发送BPDU的时间间隔(默认2秒,取值范围是1-10秒) 4000 >(使)设置交换机的时间# ] [ vlan_ MAXAGE设置交换机持有BPDU的时间(默认20秒,取值范围是6-40秒) 2950(config)#生成树协议vlan_ #提出时间forward_time设置从侦听状态到学习状态再到转发状态的时间间隔(默认15秒,取值范围是4-30秒) 2950(config)#生成树协议vlan_ #你好时间hello_time设置根节点交换机发送BPDU的时间间隔(默认2秒,取值范围是1-10秒) 2950(config)#生成树协议vlan_ #最大年龄MAXAGE设置交换机持有BPDU的时间(默认20秒,取值范围是6-40秒) 4000 >(使)设置端口通道slot_ # / port_ #在建立以太通道集合 4000 >(使)显示端口的能力slot_ # / port_ #查看端口的配置 4000 >(使)显示端口通道验证以太通道集合的配置 2950(config-if)#通道组group_number模式自动|可取的|在建立以太通道集合 2950 #显示以太通道group_number |简要|细节|负载平衡|港口|港口航道|总结验证以太通道集合的配置 4000 >(使)设置交换机的portfast slot_ # / port_ #使配置portfast 2950(config-if)#生成树portfast配置portfast 4000 >(使)设置交换机的uplinkfast使|禁用[率] [ station_update_rate所有协议下| ]启用/禁用uplinkfast 4000 >(使)显示生成树uplinkfast验证uplinkfast配置 2950(config)#生成树uplinkfast [ max_update_rate ]启用/禁用uplinkfast 2950 #显示生成树uplinkfast验证uplinkfast配置 4000 >(使)设置交换机的快速骨干使|禁用启用/禁用快速骨干 4000 >(使)显示生成树快速骨干验证快速骨干配置 2950(config)#生成树快速骨干启用快速骨干 虚拟网间路由 2600(config)#接口类型slot_ # / port_ # subint_number配置子接口。 2600(config-subif)# dot1q | ISL封装| SDE | TR ISL vlan_ # 配置封装类型 4000 >(使)显示模块查看交换机的硬件配置 4000 >(使)会议module_ #访问l3sm l3sm(config-if)# MAC地址mac_address分配MAC地址 MLS 2600(config)# MLS RP IP启动MLS 2600(config-if)# MLS RP VTP域domain_name分配路由器接口到VTP域中 2600(config-if)# MLS RP VLAN ID vlan_ #向接口分配VLAN 2600(config-if)# MLS RP管理界面指定该接口为管理接口 2600 #显示MLS RP提供全局MLS信息 2600 #显示MLS RP接口类型slot_ # / port_ #提供指定接口的MLS信息 2600 #显示MLS RP VTP域domain_name提供VTP域的MLS信息 6500 >(使)设置使在mls-se上启动MLS 6500 >(使)设置了包括rp_ip_address告诉交换机哪一个IP地址 是正确的 6500 >(使)显示MLS包括显示外部路由处理器的IP地址列表 6500 >(使)设置流[目的地|目标源|满]告诉MLS交换机要缓存候选 数据包的哪些信息 6500 >(使)显示MLS进入显示第三层缓存表 6500 >(使)设置时间aging_time改变缓存的衰老时间(默认256 秒, The range is 8 times the value in 8-2032 seconds 6500> (enable), set, MLS, agingtime, fast, fast_aging_time, pkt_threshold change the fast aging cycle and Packet Threshold 6500> (enable) show MLS IP verifies the configuration of MLS-SE 6500> (enable), clear, MLS, entry, [destination, IP_address], [source, IP_address], [flow, protocol], [source_port], [destination_port], [all], delete all or specify the MLS cache record 3550 (config) # IP routing start IP routing 3550 (config) # IP CEF start CEF 3550 (config-if) # no switchport second layer interface into third layer interface 3550 (config-if) # IP route-cache CEF CEF boot interface 3550#, show, IP, CEF validation, CEF Multicast 3640 IP multicast-routing (config) # start multicast services on the router 3640 (config-if) # IP PIM dense-mode will be set to PIM dense mode interface 3640 (config-if) # IP PIM sparse-mode will be set to PIM in sparse mode interface 3640 (config-if) # IP PIM sparsed-dense-mode will be set to PIM interface sparse dense mode 3640 (config) IP PIM rp-address IP_address group_ACL_# [override] # manual configuration RP 3640 (config) IP send-rp-announce type slot_#/port_# # distribution PIM scope ttl_value group-list ACL_# notice RP group 3640 (config) IP PIM send-rp-discovery scope ttl_value # configuration RP mapping agent 3640 (config-if) IP multicast ttl-threshold ttl_value TTL # set threshold value 3640 (config-if) # IP IGMP join-group group_address to join a multicast group 3640# show ip mroute to view multicast information 3640# Ping verifies connections between RP or other multicast routers 3640#, mtrace, source_IP_address, [destination_IP_address], [group] multicast traceroute 3640 (config-if) # IP cGMP CGMP router configuration 4000> (enable) set cGMP enable starts CGMP 4000> (enable) show cGMP statistics to view CGMP statistics 4000> (enable) show multicast group cGMP views the multicast group information learned by the switch The 4000> (enable) set cGMP leave enable checks the leaving information of the IGMPv2 generated by the client 4000> (enable) set IGMP enable starts IGMP 4000> (enable) IP IGMP snooping starts IGMP snooping The 4000> (enable) set IGMP fastleave enable starts the quick departure process 4000> (enable) show IGMP statistics displays the status information of IGMP snooping on the switch QoS 2950 (config) wrr-queue cos-map queue_ID cos_value # queue 2950 (config) # wrr-queue bandwidth bandwidth_value set the queue threshold 2950(config)#类映射名称定义对信息传输分类时的匹配标准 2950(config CMAP)#匹配访问组acl_ #识别被分类的信息传输 2950(config)#政策地图名称确定为接入信息传输所设置的分类标 准 2950(config PMAP)#类名称 2950(config-pmap-c)#设置IP DSCP数 2950(config-if)#服务政策输入的名字对该接口应用策略 3550(config)# MLS启动QoS QoS 3550(config-if)#自动QoS的VoIP在接口上启动自动服务质量 3550(config)#优先级列表priority_queue_ #协议高|介质|正常| 低[列出acl_ # ]为优先级队列定义信息流 3550(config)#优先级列表priority_queue_ #队列限制limit_ # 定义特定优先级队列的最大队列空间 3550(config-if)#优先级组priority_queue_ #向特定输出接口分配优先级队列 3550(config)#队列列表queue_list_ #接口类型slot_ # / port_ # queue_number为一个特定的定制队列定义信息流 3550(config)#队列列表queue_list_ #队列queue_number字节计数size_in_bytes [限制]为特定的定制队列定义队列的最大空间number_of_queue 3550(config-if)#定制队列custom_queue_number为特定的输出接口分配优先级队列 4840(config)# IP SLB serverfarm serverfarm_name配置SLB冗余 4840(config SLB电场)#房ip_address [ port_ # ]指定虚拟IP地址 4840(config SLB电场)#在职启动服务器 4840(config)#虚拟ip_address [ network_mask TCP UDP [ ] | port_number | WSP | WSP WTP | WSP WTLS | WSP WTP WTLS ] [服务service_name ]
本文档为【交换机限速及配置命令】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_314871
暂无简介~
格式:doc
大小:45KB
软件:Word
页数:15
分类:生活休闲
上传时间:2017-12-19
浏览量:29