欢迎来到天天文库
浏览记录
ID:41151682
大小:112.63 KB
页数:4页
时间:2019-08-17
《思科华为命令对照表》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、编号思科(cisco)华为(huawei)H3C(华三)功能描述1noundoundo取消/关闭当前设置2showdisplaydisplay查看、显示3exitquitquit退回上级4hostnamesysnamesysname设置主机名5en,configterminalsystem-viewsystem-view进入全局模式6deletedeletedelete删除文件7reloadrebootreboot重启Write,8Copyrunning-configsavesave保存当前配置Startup-config
2、9usernamelocal-userlocal-user创建用户10shutdownshutdownshutdown禁止、关闭11showversiondisplayversiondisplayversion显示当前系统版本displaydisplay12showstartup-config查看已保存过的配置saved-configurationsaved-configurationdisplaydisplay13showrunning-config显示当前配置current-configurationcurrent-c
3、onfiguration14nodebugallctrl+dctrl+d取消所有debug命令eraseresetreset15删除配置startup-configsaved-configurationsaved-configuration16endreturnreturn退到用户视图17exitlogoutlogout登出18logginginfo-centerinfo-center指定信息中心配置信息进入线路配置(用户接19lineuser-interfaceuser-interface口)模式20start-conf
4、igsaved-configurationsaved-configuration启动配置21running-configcurrent-configurationcurrent-configuration当前配置22hostiphostiphosthost名字和ip地址对应交换部分:setauthenticationsetauthentication23enablepassword配置明文密码passwordsimplepasswordsimpleinterface24porttype/numberporttype/num
5、ber进入接口type/number进入vlan配置vlan管理25interfacevlan1interfacevlan1interfacevlan1地址26interfaceranginterfaceethIDtoIDinterfaceethIDtoID定议多个端口的组27enablesecretsuperpasswordsuperpassword设置特权口令duplexduplexduplex28配置接口状态(half
6、full
7、auto)(half
8、full
9、auto)(half
10、full
11、auto)29speed
12、(10/100/1000)speed(10/100/1000)speed(10/100/1000)配置端口速率switchportmode30portlink-typetrunkportlink-typetrunk配置trunktrunk31vlanID/novlanIDvlanID/undovlanIDvlanID/undovlanID添加、删除vlanswitchportaccess32portvlanIDportvlanID将端口接入vlanvlanID33showinterfacedisplayinterfaced
13、isplayinterface查看接口34showvlanIDdisplayvlanIDdisplayvlanID查看vlan35encapsulationlink-protocollink-protocol封装协议channel-group1modeportlink-aggregationportlink-aggregation36链路聚合ongroup1group1开启三层交换的路由功37iprouting默认开启默认开启能38noswitchport不支持不支持开启接口三层功能对跨以太网交换机的39vtpdomain
14、GVRPGVRPVLAN进行动态注册和删除spanning-treevlan40stp配置根网桥IDrootprimaryspanning-treevlan41配置网桥优先级IDpriority42showspanning-tree查看STP配置路由部分分:分:iproute0.0.0.0iproute
此文档下载收益归作者所有