二十七、快速配置中小型园区网络
1、 display cpu-usage
显示CPU占用率。
2、 display this include-default
查看默认配置
3、 clear configuration this
一键式清除接口下的配置
4、 interface range
端口批量操作命令
如:[Quidway] interface range GigabitEthernet 1/0/1 to GigabitEthernet 1/0/20
1、配置管理地址
system-view
[HUAWEI] interface meth 0/0/1 //盒式交换机的管理网口为MEth 0/0/1
[HUAWEI-MEth0/0/1] ip address 10.10.1.1 24
[HUAWEI-MEth0/0/1] quit
2、配置Telnet。
[HUAWEI] telnet server enable //Telnet出厂时是关闭的,需要开打。
[HUAWEI] user-interface vty 0 4 //Telnet常用于设备管理员登录,推荐使用AAA认证。
[HUAWEI-ui-vty0-4] authentication-mode aaa
[HUAWEI-ui-vty0-4] quit
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin password irreversible-cipher
Helloworld@6789 //配置管理员Telnet登录交换机的用户名和密码。用
户名不区分大小写,密码区分大小写。
[HUAWEI-aaa] local-user admin privilege level 15 //将管理员的账号权限设置为15
(最高)
3、在维护终端上Telnet到交换机。出现用户视图的命令行提示符表示登录成功。
C:Documents and SettingsAdministrator> telnet 10.10.1.1 //输入交换机管
理IP,并回车
Login authentication
Username:admin //输入用户名和密码
Password:
Info: The max number of VTY users is 5, and the number
of current VTY users on line is 1.
The current login time is 2014-05-06 18:33:18+00:00.
//用户视图命令行提示符
1、 配置接入层交换机,以接入交换机ACC1为例,