华为路由命令大全

华为路由命令大全

ID:14007869

大小:38.00 KB

页数:3页

时间:2018-07-25

华为路由命令大全_第1页
华为路由命令大全_第2页
华为路由命令大全_第3页
资源描述:

《华为路由命令大全》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、华为路由常用命令大全displayipstatisticsdispprocesscpu查看CPU使用频率disiprouting-table(disiprou)discur   displaycurrent-configuration      ;显示当前配置displayinterfaces      ;显示接口displayvlanall      ;显示路由信息displayversion      ;显示版本信息superpassword;修改特权用户密码sysname;交换机命名interfaceethernet0/1;进入接口视图interfacevl

2、anx;进入接口视图ipaddress10.65.1.1255.255.0.0;配置VLAN的IP地址route-static0.0.0.00.0.0.010.65.1.2;静态路由=网关]rip;三层交换支持local-userftpuser-interfacevty04;进入虚拟终端authentication-modepassword;设置口令模式setauthentication-modepasswordsimple222;设置口令(simple简单的)serprivilegelevel3;用户级别(当用户远程登陆时,其默认级别为1,不能作任何设置,3为最

3、高级别,可以作修改)interfaceethernet0/1;进入端口模式inte0/1;进入端口模式duplex{half

4、full

5、auto};配置端口工作状态(端口聚合时是全双工,而CISCO的为半双工)speed{10

6、100

7、auto};配置端口工作速率flow-control;配置端口流控mdi{across

8、auto

9、normal};配置端口平接扭接portlink-type{trunk

10、access

11、hybrid};设置端口工作模式portaccessvlan3     ;当前端口加入到VLANporttrunkpermitvlan{ID

12、All}

13、  ;设trunk允许的VLANporttrunkpvidvlan3     ;设置trunk端口的PVIDundoshutdown;激活端口shutdown;关闭端口quit;返回vlan3      ;创建VLANportethernet0/1             ;在VLAN中增加端口porte0/1     ;简写方式portethernet0/1toethernet0/4     ;在VLAN中增加端口porte0/1toe0/4     ;简写方式descriptionstring     ;指定VLAN描述字符description       

14、;删除VLAN描述字符displayvlan[vlan_id];查看VLAN设置stp{enable

15、disable};设置生成树,默认关闭(思科是打开的)stppriority4096     ;设置交换机的优先级stproot{primary

16、secondary}     ;设置为根或根的备份stpcost200     ;设置交换机端口的花费link-aggregatione0/1toe0/4ingress

17、both; 端口的聚合undolink-aggregatione0/1

18、all;始端口为通道号[SwitchA-vlanx]isolate-user-v

19、lanenable     ;设置主vlan[SwitchA]isolate-user-vlansecondary     ;设置主vlan包括的子vlan作用为隔离主子VLAN间的主机访问,在同一网段下,主子VLAN可以访问,但是子VLAN间是不能访问的,这是华为的一个突色[switcha]port-iaolateenable这是隔离同一VLAN下的主机相互访问,isolate(隔离)porthybridpvidvlan     ;设置vlan的pvidporthybridpvid     ;删除vlan的pvidporthybridv

20、lanvlan_id_listuntagged ;设置无标识的vlan如果包的vlanid与PVId一致,则去掉vlan信息.默认PVID=1。所以设置PVID为所属vlanid,设置可以互通的vlan为untadisplayversion      ;显示版本信息displaycurrent-configuration      ;显示当前配置displayinterfaces      ;显示接口信息displayiproute      ;显示路由信息sysname      ;更改主机名superpasswrod      ;设置口令interfacese

21、rial0

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。