交换机(功能、工作原理、常用命令) |
您所在的位置:网站首页 › 交换机mac地址表的基本作用 › 交换机(功能、工作原理、常用命令) |
用户视图模式切换至系统视图模式[Huawei]system-view/sys 退回用户视图ctrl+z[Huawei] quit/q 1、历史命令查询[Huawei] display history-command 2、配置主机名 system-view/sys[Huawei] sysname Router1 3、状态信息查询display version ------查看VRP版本display users ------查看用户终端信息 4、进入接口模式并查看信息 sys [Huawei] int e0/0/1 [Huawei-GigabitEthernet0/0/1]dis this /dis th ------查看当前视图下的配置信息 5、配置文件管理命令 [Huawei]display saved-configuration ------查看设备保存的信息 [Huawei]display current-configuration ------查看设备当前配置的信息 save ------保存配置 reset saved-configuration ------擦除存储设备中的配置文件(初始化) compare configuration ------比较当前配置信息与存储设备中的保存文件是否一致 6、关闭华为的信息提示 [Huawei]undo info-center enable 或者 undo terminal monitor/undo t m 7、永不超时 [Huawei]user-interface console 0 [Huawei-ui-console0]idle-timeout 0 0 8、配置双工及速率命令 sys [Huawei]int g0/0/1 [SW1-Ethernet0/0/1]undo negotiation auto ------关闭自动协商 [SW1-Ethernet0/0/1]speed 100 ------调至速率100M [SW1-Ethernet0/0/1]duplex full ------调至全双工模式, 解释:full:Full-Duplex(全双工模式) half:Half-Duplex(半双工模式) 9、保存配置 save |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |