欢迎来到天天文库
浏览记录
ID:57647064
大小:47.00 KB
页数:6页
时间:2020-08-30
《华为交换机.思科交换机限制带宽.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、交换机命令:华为交换机:sys //进入系统[LinkIDC-LF-J5]dicu//系统[LinkIDC-LF-J5]inte1/0/2 //进入端口[LinkIDC-LF-J5-Ethernet1/0/2]inte1/0/3 //更换成3端口[LinkIDC-LF-J5-Ethernet1/0/3]linei5120//进的带宽为5120K[LinkIDC-LF-J5-Ethernet1/0/3]lineo5120//出的带宽为5120K[LinkIDC-LF-J
2、5-Ethernet1/0/3]q //quit退出[LinkIDC-LF-J5]q//quit退出sa//save保存,如不保存,重启交换机后,将恢复原始设置注意:本命令使用了短命令,如果想查看全命令,请使用tab键补全命令。-------------------------------------------------------------------------------------------------------思科交换机:enable//进入
3、特权模式s1#showrun//显示系统配置s1#conft //进入配置终端模式[s1-config]?//可以通过打问号提示所要找的命令Switch#conft //进入配置模式Switch(config)#interfacefastEthernet0/22 //进入端口Switch(config-if)#storm-controlunicastlevel2 //限制单播风暴为2%,如果100Mb带宽则为2MbSwitch(config-if)#exit //退出端口管理Switch(confi
4、g)#exit //退出配置模式Switch#write//保存------------------------------------------------------------------------------------------------------思科交换机实例操作:PC>telnet10.0.0.60Trying10.0.0.60...OpenUserAccessVerificationPassword:Switch>enPassword:Switch#shruBuilding
5、configuration...Currentconfiguration:1157bytes!version12.1noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameSwitch!enablepassword123321!!!interfaceFastEthernet0/1storm-controlbroadcastlevel1!inte
6、rfaceFastEthernet0/2storm-controlbroadcastlevel1!interfaceFastEthernet0/3!interfaceFastEthernet0/4!interfaceFastEthernet0/5!interfaceFastEthernet0/6!interfaceFastEthernet0/7!interfaceFastEthernet0/8!interfaceFastEthernet0/9!interfaceFastEthernet0/10!in
7、terfaceFastEthernet0/11!interfaceFastEthernet0/12!interfaceFastEthernet0/13!interfaceFastEthernet0/14!interfaceFastEthernet0/15!interfaceFastEthernet0/16!interfaceFastEthernet0/17!interfaceFastEthernet0/18!interfaceFastEthernet0/19!interfaceFastEtherne
8、t0/20!interfaceFastEthernet0/21!interfaceFastEthernet0/22!interfaceFastEthernet0/23!interfaceFastEthernet0/24!interfaceGigabitEthernet1/1!interfaceGigabitEthernet1/2!interfaceVlan1ipaddress10.0.0.60255.255.0.0!ipdefault-gateway10.0.0.60
此文档下载收益归作者所有