欢迎来到天天文库
浏览记录
ID:55128351
大小:17.64 KB
页数:9页
时间:2020-04-28
《华为常用命令.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Return退到用户试图。Ctrl+z退到用户试图terminaldebuggingdebuggingospfpacket如何打问号,显示中文语言帮助?ensp支持的设备类型【3700、5700、Router】language-modeChineseChangelanguagemode,confirm?[Y/N]YJul4201717:33:42-08:00Huawei%%01CMD/4/LAN_MODE(l)[50]:TheuserchoseYwhendecidingwhethert
2、ochangethelanguagemode.提示:改变语言模式成功。显示某个协议配置[R1]discurrent-configurationsectionospf[V200R003C00]#ospf1router-id10.0.1.1area0.0.0.0authentication-modesimpleplainhuaweinetwork10.0.1.10.0.0.0network10.0.123.10.0.0.0#return[R1]查看某协议路由表:disiprouting-tableprotocolos
3、pfdisiprouting-tableprotocolospfRouteFlags:R-relay,D-downloadtofib------------------------------------------------------------------------------Publicroutingtable:OSPFDestinations:6Routes:6OSPFroutingtablestatus:Destinations:6Routes:6Destination/MaskP
4、rotoPreCostFlagsNextHopInterface10.0.2.0/24OSPF1048D10.0.23.2Serial2/0/010.0.4.0/24OSPF1049D10.0.23.2Serial2/0/010.0.5.0/24OSPF1048D10.0.35.5Serial3/0/010.0.124.0/24OSPF1049D10.0.23.2Serial2/0/010.1.0.0/24OSPF1048D10.0.35.5Serial3/0/010.1.1.0/24OSPF1048D10.0.35.5
5、Serial3/0/0OSPFroutingtablestatus:Destinations:0Routes:0华为交换机常用命令:关闭/开启终端显示UndoterminalmonitorUtmDebuggingstp?Displayportvlanactive显示端口vlan信息。预配置:undoterminaltrappingsystem-viewuser-interfacecon0idle-time0sysnameSWvlanbatch1020intg0/0/1portlink-type
6、accessportdefaultvlan10intg0/0/2portlink-typeaccessportdefaultvlan20 port-group1group-mg0/0/22tog0/0/24portlink-typetrunkporttrunkallvlanall vlanbatch1020inte0/0/1portlink-typeaccessportdefaultvlan10inte0/0/2portlink-typeaccessportdefaultvlan201、displaycurrent
7、-configuration//显示当前配置2、displayinterfaceGigabitEthernet1/1/4//显示接口信息3、displaypacket-filterinterfaceGigabitEthernet1/1/4//显示接口acl应用信息4、displayaclall//显示所有acl设置3900系列交换机5、displayaclconfigall//显示所有acl设置6500系列交换机6、displayarp10.78.4.1//显示该ip地址的mac地址,所接交换机的端口位置7、displa
8、ycpu//显示cpu信息8、system-view//进入系统图(配置交换机),等于configt命令9、aclnumber5000//在system-view命令后使用,进入acl配置状态10、rule0deny0806ffff240a4e0401ffffffff40//在上面的命令后使用,,acl配置例子11、
此文档下载收益归作者所有