新華三常用配置命令


H3C交換機配置命令大全

 

基本配置

1、system-view 進入系統視圖模式

2、sysname 為設備命名

3、display current-configuration 當前配置情況

4、language-mode Chinese|English 中英文切換

5、interface Ethernet 1/0/1 進入以太網端口視圖

6、port link-type Access|Trunk|Hybrid 設置端口訪問模式

7、undo shutdown 打開以太網端口

8、shutdown 關閉以太網端口

9、quit 退出當前視圖模式

10、vlan 10 創建VLAN 10並進入VLAN 10的視圖模式

11、port access vlan 10 在端口模式下將當前端口加入到vlan 10中

12、port E1/0/2 to E1/0/5 在VLAN模式下將指定端口加入到當前vlan中

13、port trunk permit vlan all 允許所有的vlan通過

 

 

管理

文件系統命令、FTP命令、TFTP命令、XMODEM命令

telnet僅用密碼登錄,管理員權限

[Router]user-interface vty 0 4

[Router-ui-vty0-4]user privilege level 3

[Router-ui-vty0-4]set authentication password simple abc

telnet僅用密碼登錄,非管理員權限

[Router]super password level 3 simple super

[Router]user-interface vty 0 4

[Router-ui-vty0-4]user privilege level 1

[Router-ui-vty0-4]set authentication password simple abc

telnet使用路由器上配置的用戶名密碼登錄,管理員權限

[Router]local-user admin password simple admin

[Router]local-user admin service-type telnet

[Router]local-user admin level 3

[Router]user-interface vty 0 4

[Router-ui-vty0-4]authentication-mode local

telnet使用路由器上配置的用戶名密碼登錄,非管理員權限

[Router]super password level 3 simple super

[Router]local-user manage password simple manage

[Router]local-user manage service-type telnet

[Router]local-user manage level 2

[Router]user-interface vty 0 4

[Router-ui-vty0-4]authentication-mode local

對console口設置密碼,登錄后使用管理員權限

[Router]user-interface con 0

[Router-ui-console0]user privilege level 3

[Router-ui-console0]set authentication password simple abc

對console口設置密碼,登錄后使用非管理員權限

[Router]super password level 3 simple super

[Router]user-interface con 0

[Router-ui-console0]user privilege level 1

[Router-ui-console0]set authentication password simple abc

對console口設置用戶名和密碼,登錄后使用管理員權限

[Router]local-user admin password simple admin

[Router]local-user admin service-type terminal

[Router]local-user admin level 3

[Router]user-interface con 0

[Router-ui-console0]authentication-mode local

對console口設置用戶名和密碼,登錄后使用非管理員權限

[Router]super password level 3 simple super

[Router]local-user manage password simple manage

[Router]local-user


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM