《华为 思科 华三 基本命令对比全套.docx》由会员分享,可在线阅读,更多相关《华为 思科 华三 基本命令对比全套.docx(26页珍藏版)》请在第壹文秘上搜索。
1、华为/思科/华三基本命令对比CISCOH3CHUAWEI描述noundoundo取消关闭当前设置showdisp1.aydisp1.ay显示查看exitquitquit退回上级hostnasysnamesysname设me置主机名e11,system-viewsystem-view进全局模式删除文件重启保存当前配置创建用户禁止、关闭端configtermina1.de1.etede1.etede1.etere1.oadrebootrebootwritesavesaveusername1.oca1.-user1.oca1.-usershutdownshutdownshutdownshowdisp
2、1.ayversiondisp1.ayversion显version示当前系统版本showdisp1.aydisp1.ay杳startupconfigSaved-ConfigurationSaved-Configuration看己保存过的配冏showdisp1.aydisp1.ay显runningconfigcurrent-configurationcurrent-configuration示当前配置nodebuga1.1.ctr1.+dctr1.+d取消所有debugU1.-令eraseresetsaved-configurationresetsaved-configuration删star
3、tupconfig除配Sendreturnreturn退到用户视图exit1.ogout1.ogout登出1.ogginginfo-centerinfo-center指定信息心配置信息1.ineuser-interfaceuser-interface进用户接)模enab1.esetauthenticationsetauthenticationstart-coSaved-ConfigurationSaved-Configuration启nfig动配置runningcurrent-configurationcurrent-configuration当config前配置hostiphostiphos
4、thoSt名字和ip地址对应交换部分passworpasswordsimp1.epasswordsimp1.e明文密码interfacinterfacetyenumberinterfacetype/number进e入type/nu接mber口interfacinterfacev1.an1interfacev1.an1进ev1.an1入vian配Svian管理地址interfacinterfaceeth1.DtoIDinterfaceeth1.DtoID定erang议多个端的组enab1.superpasswordsuperpassword设esecret置特权令配置接11状态dup1.ex(h
5、a1.ffu1.1.auto)dup1.ex(ha1.ffu1.1.auto)dup1.ex(ha1.ffu1.1.auto)speed(10/100speed(10/100/1000)speed101001000)配置/1000)端口速率switchpport1.ink-typetrunkport1.ink-typetrunk配ort置modetrutrunknkv1.anIDv1.abatchID/undov1.anv1.anbatchID/undov1.an添/nov1.anbatchIDbatchID加ID删除viaswitchpportdefau1.tv1.anIDportacces
6、v1.anIDort端access口v1.an接入vianshowdisp1.ayinterfacedisp1.ayinterface查interfac看e接showdisp1.ayv1.anIDdisp1.ayv1.anID杳v1.anID看vianencapsu1.ink-protoco1.1.ink-protoco1.封Iation装协议channe1.-port1.ink-aggregationport1.ink-aggregation链group1group1group1路mode聚onZkip默认开启钛认开启开routing启层交换的路由功能no不支持不支持开switchp启ort
7、接I-I层功能vtpGVRPGVRP对domain跨以太网交换机的V1.AN进行动态注册和spanninstpinstanceidrootstpinstanceidrootStPg-treeprimaryprimary配v1.anID置root根primary网桥spanninstpprimaryV1.aUestpprimaryv1.aue配g-tree置v1.anID网priority桥优先级showdisstpbriefdisstpbrief杳spannin看g-treeSTP配置路由部分iprouteiproute-static0.0.0.0iproute-static0.0.0.0配0
8、.0.0.00.0.0.00.0.0.0置0.0.0.0默认路由iprouteiproute-static目标网段iproute-static目标网段配目标网+掩码下一跳+掩码下一跳置段+掩码下一跳睁态路由showiproutedisp1.ayiprouting-tab1.edisp1.ayiprouting-tab1.e查看路由表routerripnetwork网段rip/network网段rip/network网段启用rip并宜告网段routerospfospfospf启用OSPfnetworkareaarea配ip反码置areaOS区域noauto-summaryripsp1.it-ho
9、rizonripsp1.it-horizon配置RIPV2水平分割showipprotoco1.disp1.ayipprotoco1.disp1.ayipprotoco1.杳(1路由协议access-1.ist1-99permit/denyIPru1.eidpermitsourceIPru1.eidpermitsourceIP标准访问控制列表access-1.iru1.eru1.e扩st(norma1.specia1.)permitnorma1.specia1.permit展100-199denytcpudpsourcedenytcpudpsource访permit/PIanyJdestina
10、tionIanyJdestinationany(operatewi1.danyoperate制列表destinationIP+反码operatoroperanstandbyvrrvridnumbervrrpvridnumber配group-nvirtua1.-ipvirtua1.-ip置umberHSPRPvirtua1.-i组Pstandbyvrrpvridnumberpriorityvrrpvridnumberpriority配group-n置umberHSpriorityRP优先级standbyvrrpvridnumbervrrpvridnumber配group-npreempt-modepreempt-mode置umberHSpreemptRP占先权standby配gro