1、 配置Telnet的登录密码及密码Level
su
User privilege level is 3, and only those commands can be used
whose level is equal or less than this.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
<Quidway>sys
System View: return to User View with Ctrl+Z.
[Quidway]user-interface vty 0 4
[Quidway-ui-vty0-4]set authentication password cipher XXXXX
[Quidway-ui-vty0-4]user privilege level 0
2、 设置SU密码
[Quidway-ui-vty0-4]quit
[Quidway]su password
3、 配置管理IP地址以及网关
[Quidway]interface Vlan-interface 1
[Quidway-Vlan-interface1]ip address .4 255.255.255.240
[Quidway-Vlan-interface1]quit
[Quidway]ip route-static .0 0.0.0.0 10.0.13.1 preference 60
4、 配置一个Trunk口用户通信
[Quidway]int g
[Quidway-GigabitEthernet]port link-type trunk
[Quidway-GigabitEthernet]port trunk permit vlan all
Please wait........................................... Done.
[Quidway-GigabitEthernet]quit
5、 建立一个Vlan,将其余端口用静态的方式分配给该Vlan
[Quidway]vlan 78
[Quidway-vlan78]port Ethernet 1/0/1 to Ethernet 1/0/24
[Quidway-vlan78]quit
6、 保存配置
[Quidway]sa
The configuration will be written to the device.
Are you sure?[Y/N]y
Please input the file name(*.cfg)(To leave the existing filename
unchanged press the enter key):
Now saving current configuration to the device.
Saving configuration. Please wait...
.......
Unit1 save configuration flash:/vrpcfg.cfg successfully
文转自gaodi2002 51CTO博客,原文链接:http://blog.51cto.com/gaodi2002/1618210