HCNA網絡技術命令


1、display version    顯示系統軟件版本及硬件信息

2、system-view    切換到系統視圖

3、quit        切換回用戶視圖

4、return        從任意非用戶視圖退回到用戶視圖

5、sysname X      更改設備的名字

6、interface GigabitEthernet 0/0/1    進入接口  g0/0/1

  int g0/0/1

7、interface Ethernet 0/0/1      進入接口    e0/0/1

  int e0/0/1

8、ip address 10.1.1.1 24       設置接口ip地址和子網掩碼

9、clock datetime           修改系統日期和時間

  clock datetime 11:23:24 2018-06-12

10、header login information ""      設置登錄時文本內容

11、header shell information ""      設置登錄成功的標題文本信息

12、display version           查看路由器信息

13、display current-configuration     查看路由器當前配置

14、display interface GigabitEthernet 0/0/0    查看路由器GE0/0/0接口的狀態信息

15、save                在用戶視圖用save命令保存當前配置

 


16、display ip interface brief        查看IP和接口的摘要信息

17、display ip routing-table         查看IP v4路由表信息

配置通過Telnet登錄系統:

18、user-interface vty 0 4

  authentication-mode password      配置Telnet驗證方式為密碼驗證方式

19、display users            查看已經登錄的用戶信息

20、user-interface vty 0 4

  authentication-mode password

  set authentication password cipher huawei    設置登錄密碼為huawei

  user privilege 1          配置Telnet的用戶級別為1(監控級),只能使用display等命令監控設備

21、undo authentication-mode      刪除密碼認證模式

 

22、aaa

  local-user admin password cipher hello privilege level 3      進入aaa模式下配置本地用戶名admin和密文密碼hello

23、local-user admin server-type telnet      配置該用戶的接入類型為telnet

24、user-interface vty 0 4

  authentication-mode password        進入vty用戶界面視圖下將認證模式改為aaa


免責聲明!

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



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