華為交換器Telnet配置

來源:互聯網
上載者:User

標籤:華為交換器   telnet   telnet配置   

本文主要總結了華為S57xx系列交換器Telnet常用配置:


1.配置telnet功能及參數

<Huawei>system-view #進入系統檢視表

[Huawei]telnet server enable #配置開啟telnet(預設開啟)

[Huawei]telnet server port 23 #配置telnet連接埠(預設為23)


2.配置telnet使用者登陸介面

[Huawei]user-interface vty 0 4 #進入vty使用者介面視圖

[Huawei-ui-vty0-4]protocol inbound telnet #配置使用者介面支援Telnet服務

[Huawei-ui-vty0-4]authentication-mode ? #使用者驗證方式(aaa驗證、none不驗證、passwd驗證)

# aaa    AAA authentication

# none   Login without checking

# password Authentication through the password of a user terminal interface


3.三種驗證方式的不同配置(3選1)

3.1 配置AAA驗證

[Huawei-ui-vty0-4]authentication-mode aaa #配置驗證模式為aaa

[Huawei-ui-vty0-4]quit #退出使用者介面視圖

[Huawei]aaa #進入aaa驗證

[Huawei-aaa]local-user root password cipher Huawei12#$ #設定登陸使用者:root和密碼:Huawei12#$

[Huawei-aaa]local-user root privilege level 3  #配置使用者層級

[Huawei-aaa]local-user root service-type telnet # 配置使用者登入方式

3.2 配置不驗證密碼

[Huawei-ui-vty0-4]authentication-mode none

3.3 配置passwd驗證方式

[Huawei-ui-vty0-4]authentication-mode password #配置驗證方式為password

[Huawei-ui-vty0-4]set authentication password cipher Huawei12#$ #配置驗證密碼:Huawei12#$

[Huawei-ui-vty0-4]user privilege level 3 # 配置使用者層級


4.設定管理口IP

[Huawei]interface MEth 0/0/1

[Huawei-MEth0/0/1]ip address 192.168.1.250 24


5.Telnet登入

AAA方式需要輸入配置的使用者名稱和密碼,如上述配置的root/Huawei12#$。

none方式則直接進入。

password方式需要輸入密碼,如上述配置中的Huawei12#$


備忘1:使用者登陸層級說明:

共(0-15級)

0參觀級
網路診斷工具命令(ping、tracert)、從本裝置出發訪問外部裝置的命令(Telnet用戶端)、部分display命令等。
1監控級
用於系統維護,包括display等命令。並不是所有display命令都是監控級,比如display current-configuration命令和display saved-configuration命令是3級管理級。
2配置級
業務配置命令,包括路由、各個網路層次的命令,向使用者提供直接網路服務。
3~15管理級
用於系統基本啟動並執行命令,對業務提供支撐作用,包括檔案系統、FTP、TFTP下載、命令層級設定命令以及用於業務故障診斷的debugging命令等。



本文出自 “黃海的技術空間” 部落格,請務必保留此出處http://huanghai.blog.51cto.com/2466276/1902831

華為交換器Telnet配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.