{"id":60548,"date":"2026-01-15T20:57:24","date_gmt":"2026-01-15T12:57:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/60548.html"},"modified":"2026-01-15T20:57:24","modified_gmt":"2026-01-15T12:57:24","slug":"%e5%8d%8e%e4%b8%ba%ef%bc%88ensp%ef%bc%89%e6%a8%a1%e6%8b%9f%e5%ae%9e%e9%aa%8c%ef%bc%883%ef%bc%89-%e4%ba%a4%e6%8d%a2%e6%9c%ba%e7%9a%84telnet%e8%bf%9c%e7%a8%8b%e7%99%bb%e5%bd%95%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/60548.html","title":{"rendered":"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e"},"content":{"rendered":"<h2>\u5b9e\u9a8c\u76ee\u7684&#xff1a;\u00a0<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u638c\u63e1\u4ea4\u6362\u673a\u7684vty\u7ebf\u8def\u914d\u7f6e&#xff0c;\u5b9e\u73b0telnet\u65b9\u5f0f\u5bf9\u4ea4\u6362\u673a\u7684\u8fdc\u7a0b\u7ba1\u7406\u3002<\/p>\n<h2>\u5b9e\u9a8c\u80cc\u666f&#xff1a;<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5728\u8bbe\u5907\u673a\u623f\u5bf9\u4ea4\u6362\u673a\u8fdb\u884c\u4e86\u521d\u6b21\u914d\u7f6e\u540e, \u4f60\u5e0c\u671b\u4ee5\u540e\u5728\u529e\u516c\u5ba4\u6216\u51fa\u5dee\u65f6\u4e5f\u53ef\u4ee5\u5bf9\u8bbe\u5907\u8fdb\u884c\u8fdc\u7a0b\u7ba1\u7406\u3002\u73b0\u8981\u5728\u4ea4\u6362\u673a\u4e0a\u505a\u9002\u5f53\u914d\u7f6e\u3002<\/p>\n<p>\u6280\u672f\u539f\u7406&#xff1a;<\/p>\n<h2>\u534e\u4e3a\u4ea4\u6362\u673a&#xff08;VRP \u7cfb\u7edf&#xff09;Telnet \u6280\u672f\u539f\u7406<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0telnet \u662f\u8fdc\u7a0b\u63a7\u5236\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u7b49\u7f51\u7edc\u8bbe\u5907\u7684\u5e38\u7528\u534f\u8bae (\u7aef\u53e3\u53f7\u4e3a 23)&#xff0c;\u4e3a\u7ba1\u7406\u5458\u8fdc\u7a0b\u96c6\u4e2d\u7ba1\u7406\u548c\u7ef4\u62a4\u7f51\u7edc\u8bbe\u5907\u63d0\u4f9b\u4fbf\u5229\u3002\u5728\u4e8c\u5c42\u4ea4\u6362\u673a\u4e2d&#xff0c;IP \u5730\u5740\u4ec5\u7528\u4e8e\u8fdc\u7a0b\u767b\u5f55\u7ba1\u7406\u4ea4\u6362\u673a&#xff0c;\u5bf9\u4e8e\u4ea4\u6362\u673a\u7684\u8fd0\u884c\u4e0d\u662f\u5fc5\u9700&#xff0c;\u4f46\u662f\u82e5\u6ca1\u6709\u914d\u7f6e\u7ba1\u7406 IP \u5730\u5740&#xff0c;\u5219\u4ea4\u6362\u673a\u53ea\u80fd\u91c7\u7528\u63a7\u5236\u7aef\u53e3 console \u8fdb\u884c\u672c\u5730\u914d\u7f6e\u548c\u7ba1\u7406\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u914d\u7f6e\u4ea4\u6362\u673a&#xff08;\u670d\u52a1\u7aef&#xff09;\u7684\u7ba1\u7406 IP \u5730\u5740&#xff0c;\u4fdd\u8bc1\u8ba1\u7b97\u673a&#xff08;\u5ba2\u6237\u7aef&#xff09;\u7684 IP \u5730\u5740\u4e0e\u4ea4\u6362\u673a\u7ba1\u7406 IP \u5730\u5740\u5728\u540c\u4e00\u4e2a\u7f51\u6bb5&#xff08;\u5373 \u201c\u7f51\u7edc\u53ef\u8fbe\u201d&#xff09;\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;\u4ea4\u6362\u673a\u7684\u6240\u6709\u7aef\u53e3\u5747\u5c5e\u4e8e VLAN1&#xff0c;VLAN1 \u662f\u4ea4\u6362\u673a\u81ea\u52a8\u521b\u5efa\u548c\u7ba1\u7406\u7684\u3002\u4e8c\u5c42\u4ea4\u6362\u673a\u65e0\u6cd5\u76f4\u63a5\u5728\u7269\u7406\u7aef\u53e3\u914d\u7f6e IP&#xff0c;\u7ba1\u7406 IP \u5fc5\u987b\u914d\u7f6e\u5728 VLAN \u5bf9\u5e94\u7684\u4e09\u5c42\u903b\u8f91\u63a5\u53e3 Vlanif \u4e0a&#xff0c;\u6bcf\u4e2a VLAN \u5bf9\u5e94\u7684 Vlanif \u63a5\u53e3\u4ec5\u6709\u4e00\u4e2a\u6709\u6548\u7ba1\u7406\u5730\u5740&#xff0c;\u4e14\u8be5 Vlanif \u63a5\u53e3\u9ed8\u8ba4\u5904\u4e8e\u5173\u95ed\u72b6\u6001&#xff0c;\u9700\u8981\u624b\u52a8\u914d\u7f6e IP \u5730\u5740\u6fc0\u6d3b&#xff08;\u6216\u624b\u52a8\u542f\u7528&#xff09;\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u534e\u4e3a\u8bbe\u5907\u4e0a\u7684\u6743\u9650\u7b49\u7ea7\u4ece 0&#xff5e;15&#xff0c;\u9ed8\u8ba4 Telnet \u65b9\u5f0f\u4e0b\u4e3a 1&#xff1b;\u6700\u9ad8\u6743\u9650\u4e3a 15\u3002(user privilege level [0-15])<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vty (Virtual Teletype Terminal&#xff0c;\u865a\u62df\u7ec8\u7aef) \u7ebf\u8def&#xff1a;\u4e3a\u6bcf\u4e00\u4e2a\u8fdc\u7a0b\u7528\u6237\u767b\u9646\u7f51\u7edc\u8bbe\u5907\u800c\u5f00\u653e\u7684\u865a\u62df\u7ebf\u8def&#xff0c;\u9ed8\u8ba4\u672a\u5f00\u542f\u8ba4\u8bc1\u529f\u80fd&#xff0c;\u8fd9\u610f\u5473\u7740\u6211\u4eec\u5fc5\u987b\u4e3a\u5176\u914d\u7f6e\u8ba4\u8bc1\u65b9\u5f0f\u548c\u767b\u5f55\u5bc6\u7801\u65b9\u53ef\u767b\u5f55\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5bc6\u7801\u914d\u7f6e\u7684 cipher \u5173\u952e\u5b57\u4e0d\u53ef\u7528\u4e8e\u8bbe\u7f6e\u660e\u6587\u3002\u4f8b\u5982&#xff1a;\u5f53\u8bbe\u7f6e set authentication password cipher Admin&#064;123&#xff0c;\u518d\u7528 password encryption aes \u547d\u4ee4\u5f00\u542f\u5168\u5c40\u5bc6\u7801\u52a0\u5bc6&#xff0c;\u5219\u53ef\u5728\u914d\u7f6e\u91cc\u770b\u5230 set authentication password cipher %&#064;%&#064;%&#064;%&#064;\u8fd9\u4e00\u6761&#xff0c;\u5176\u4e2d %&#064;%&#064;%&#064;%&#064;\u5c31\u662f\u660e\u6587 Admin&#064;123 \u7ecf\u8fc7 AES \u7b97\u6cd5\u52a0\u5bc6\u540e\u7684\u5bc6\u6587\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u76f8\u5f53\u4e8e\u5728\u4e0d\u5f00\u542f\u5168\u5c40\u5bc6\u7801\u52a0\u5bc6\u7684\u60c5\u51b5\u4e0b&#xff0c;\u76f4\u63a5\u8bbe\u7f6e set authentication password cipher %&#064;%&#064;******%&#064;%&#064;&#xff0c;\u8fd9\u5bc6\u6587\u5728\u5907\u4efd\u914d\u7f6e\u6062\u590d\u65f6&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u62f7\u8d1d\u4f7f\u7528\u3002\u53ef\u77e5\u8bbe\u7f6e\u5bc6\u7801\u4f7f\u7528 cipher \u5173\u952e\u5b57\u65f6&#xff0c;\u540e\u9762\u76f4\u63a5\u8f93\u5165\u5bc6\u6587\u5b57\u7b26\u4e32\u4e5f\u53ef\u751f\u6548&#xff08;\u8bbe\u5907\u53ef\u76f4\u63a5\u8bc6\u522b\u9a8c\u8bc1&#xff09;\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u57fa\u4e8e\u5bf9\u5b89\u5168\u7684\u8003\u8651&#xff0c;\u534e\u4e3a\u603b\u662f\u9ed8\u8ba4\u5173\u95ed telnet \u670d\u52a1&#xff0c;\u5e76\u4e14\u53ea\u6709\u914d\u7f6e\u4e86\u8fdc\u7a0b\u767b\u9646\u5bc6\u7801\u624d\u80fd\u4f7f\u7528\u3002\u540c\u65f6\u8fd8\u8981\u914d\u7f6e\u7279\u6743\u6743\u9650&#xff08;\u6216\u63d0\u5347\u7528\u6237\u6743\u9650\u7b49\u7ea7&#xff09;&#xff0c;\u5426\u5219\u4e0d\u80fd\u8fdb\u5165\u7cfb\u7edf\u914d\u7f6e\u89c6\u56fe\u6267\u884c\u6838\u5fc3\u914d\u7f6e\u64cd\u4f5c\u3002<\/p>\n<h2>\u4e00\u3001\u534e\u4e3a\u4ea4\u6362\u673a\u6838\u5fc3\u547d\u4ee4\u884c\u64cd\u4f5c\u6a21\u5f0f<\/h2>\n<table>\n<tr>\u6a21\u5f0f\u7c7b\u522b\u534e\u4e3a\u4ea4\u6362\u673a\u6a21\u5f0f\u6807\u8bc6\u6838\u5fc3\u7528\u9014<\/tr>\n<tbody>\n<tr>\n<td>\u7528\u6237\u6a21\u5f0f<\/td>\n<td>&lt;Huawei&gt;<\/td>\n<td>\u57fa\u7840\u67e5\u8be2&#xff08;\u5982\u67e5\u770b\u8bbe\u5907\u72b6\u6001\u3001\u7b80\u5355\u4fe1\u606f&#xff09;&#xff0c;\u65e0\u914d\u7f6e\u6743\u9650&#xff0c;\u64cd\u4f5c\u4e0d\u4f1a\u5f71\u54cd\u8bbe\u5907\u8fd0\u884c<\/td>\n<\/tr>\n<tr>\n<td>\u7279\u6743\u6a21\u5f0f<\/td>\n<td>[Huawei]<\/td>\n<td>\u8be6\u7ec6\u4fe1\u606f\u67e5\u8be2&#xff08;\u5982\u65e5\u5fd7\u3001\u63a5\u53e3\u7edf\u8ba1&#xff09;\u3001\u8bbe\u5907\u8c03\u8bd5\u3001\u914d\u7f6e\u6587\u4ef6\u7ba1\u7406&#xff0c;\u53ef\u8fdb\u5165\u5404\u7c7b\u914d\u7f6e\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>\u5168\u5c40\u914d\u7f6e\u6a21\u5f0f<\/td>\n<td>[Huawei]system-view \u6267\u884c\u540e\u8fdb\u5165 [Huawei]&#xff08;\u6ce8&#xff1a;\u534e\u4e3a\u65e0\u5355\u72ec \u201c\u5168\u5c40\u914d\u7f6e\u6a21\u5f0f\u201d \u6807\u8bc6&#xff0c;system-view \u8fdb\u5165\u7684\u914d\u7f6e\u89c6\u56fe\u5373\u4e3a\u5168\u5c40\u914d\u7f6e\u5c42\u7ea7&#xff09;<\/td>\n<td>\u914d\u7f6e\u8bbe\u5907\u5168\u5c40\u53c2\u6570&#xff08;\u5982\u4e3b\u673a\u540d\u3001\u7cfb\u7edf\u65f6\u95f4\u3001\u5168\u5c40\u8def\u7531\u7b56\u7565&#xff09;&#xff0c;\u53ef\u5411\u4e0b\u8fdb\u5165\u5404\u7c7b\u5177\u4f53\u914d\u7f6e\u89c6\u56fe<\/td>\n<\/tr>\n<tr>\n<td>\u7aef\u53e3\u6a21\u5f0f<\/td>\n<td>[Huawei-GigabitEthernet0\/0\/1]&#xff08;\u4ee5\u5343\u5146\u7535\u53e3 0\/0\/1 \u4e3a\u4f8b&#xff0c;\u63a5\u53e3\u7f16\u53f7\u683c\u5f0f\u4e3a\u69fd\u4f4d\/\u5b50\u5361\/\u7aef\u53e3&#xff09;<\/td>\n<td>\u914d\u7f6e\u5177\u4f53\u7aef\u53e3\u53c2\u6570&#xff08;\u5982 IP \u5730\u5740\u3001\u7aef\u53e3\u901f\u7387\u3001VLAN\u3001\u94fe\u8def\u7c7b\u578b&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u914d\u7f6e\u4ea4\u6362\u673a\u65f6&#xff0c;\u8981\u6ce8\u610f\u4ea4\u6362\u673a\u7aef\u53e3\u7684\u5355\u53cc\u5de5\u6a21\u5f0f\u7684\u5339\u914d&#xff0c;\u5982\u679c\u94fe\u8def\u4e00\u7aef\u8bbe\u7f6e\u7684\u662f\u5168\u53cc\u5de5&#xff0c;\u53e6\u4e00\u7aef\u662f\u81ea\u52a8\u534f\u5546&#xff0c;\u5219\u4f1a\u9020\u6210\u54cd\u5e94\u5dee\u548c\u9ad9\u51fa\u9519\u7387&#xff0c;\u4e22\u5305\u73b0\u8c61\u4f1a\u5f88\u4e25\u91cd\u3002\u901a\u5e38\u5e94\u4fdd\u8bc1\u4e24\u7aef\u8bbe\u7f6e\u4e3a\u76f8\u540c\u7684\u6a21\u5f0f\u3002<\/p>\n<p>\u7ebf\u8def\u914d\u7f6e\u6a21\u5f0f\u4e0b\u8bbe\u7f6e\u5bc6\u7801\u65f6&#xff0c;\u53ea\u6709passwod\u547d\u4ee4&#xff0c;\u6ca1\u6709secret\u547d\u4ee4&#xff0c;\u9ed8\u8ba4\u4e3a\u660e\u6587\u663e\u793a&#xff0c;\u9700\u542f\u7528\u5bc6\u7801\u52a0\u5bc6\u529f\u80fd(\u5168\u5c40)\u3002\u542f\u7528\u540e&#xff0c;\u914d\u7f6e\u5185\u6240\u6709\u5bc6\u7801\u90fd\u5c06\u88ab\u4ee5\u5bc6\u6587\u5f62\u5f0f\u663e\u793a\u3002<\/p>\n<p>\u5b9e\u9a8c\u8bbe\u5907&#xff1a;S5700\u00a01\u53f0&#xff1b;PC 2\u53f0&#xff1b;\u914d\u7f6e\u7ebf&#xff1b;\u76f4\u901a\u7ebf<\/p>\n<p>\u5b9e\u9a8c\u62d3\u6251&#xff1a;<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"294\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260115125723-6968e43329bdc.png\" width=\"360\" \/><\/p>\n<h2>\u534e\u4e3a\u4ea4\u6362\u673a&#xff08;VRP \u7cfb\u7edf&#xff09;\u5b9e\u9a8c\u6b65\u9aa4<\/h2>\n<ul>\n<li>\n<p>\u8fdb\u5165\u914d\u7f6e\u6a21\u5f0f ( system-view)<\/p>\n<p>\u8fdb\u5165 VLAN 1 \u4e09\u5c42\u903b\u8f91\u63a5\u53e3\u6a21\u5f0f (interface Vlanif 1)<\/p>\n<p>\u914d\u7f6e\u4ea4\u6362\u673a\u7ba1\u7406 IP \u5730\u5740 (ip address IP submask)<\/p>\n<p>\u9000\u51fa\u63a5\u53e3\u6a21\u5f0f\u5e76\u9009\u62e9 vty \u7ebf\u8def\u914d\u7f6e\u6a21\u5f0f (quit &amp;&amp; user-interface vty [0-4] [0-4])<\/p>\n<p>\u914d\u7f6e vty \u7ebf\u8def\u767b\u5f55\u5bc6\u7801 (set authentication password [simple\/cipher] ******)<\/p>\n<p>\u6fc0\u6d3b\u7269\u7406\u7aef\u53e3 (interface GigabitEthernet 0\/0\/1 &amp;&amp; undo shutdown)<\/p>\n<p>\u5f00\u542f Telnet \u670d\u52a1 (telnet server enable)<\/p>\n<p>\u5c06\u4e24\u53f0 PC \u4e0e\u4ea4\u6362\u673a\u8fde\u63a5&#xff0c;\u540c\u65f6\u4fdd\u8bc1\u5176 IP \u5730\u5740\u4e0e\u4ea4\u6362\u673a\u7ba1\u7406 IP \u5730\u5740\u5728\u540c\u4e00\u4e2a\u7f51\u6bb5<\/p>\n<p>\u4fdd\u5b58\u4ea4\u6362\u673a\u914d\u7f6e (save)<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e00\u3001PC0 \u7f51\u7edc\u53c2\u6570\u8bbe\u7f6e<\/h3>\n<li>IP \u5730\u5740&#xff1a;192.168.1.2<\/li>\n<li>\u5b50\u7f51\u63a9\u7801&#xff1a;255.255.255.0<\/li>\n<li>\u7f51\u5173&#xff1a;192.168.1.1&#xff08;\u5bf9\u5e94\u4ea4\u6362\u673a\u7ba1\u7406 IP&#xff09;<\/li>\n<li>\u9996\u9009 DNS&#xff08;\u53ef\u9009&#xff0c;\u5b9e\u9a8c\u73af\u5883\u53ef\u7559\u7a7a&#xff09;&#xff1a;\u65e0\u9700\u989d\u5916\u914d\u7f6e<\/li>\n<h3>\u4e8c\u3001PC1 \u7f51\u7edc\u53c2\u6570\u8bbe\u7f6e<\/h3>\n<li>IP \u5730\u5740&#xff1a;192.168.1.3<\/li>\n<li>\u5b50\u7f51\u63a9\u7801&#xff1a;255.255.255.0<\/li>\n<li>\u7f51\u5173&#xff1a;192.168.1.1&#xff08;\u5bf9\u5e94\u4ea4\u6362\u673a\u7ba1\u7406 IP&#xff09;<\/li>\n<li>\u9996\u9009 DNS&#xff08;\u53ef\u9009&#xff0c;\u5b9e\u9a8c\u73af\u5883\u53ef\u7559\u7a7a&#xff09;&#xff1a;\u65e0\u9700\u989d\u5916\u914d\u7f6e<\/li>\n<h3>\u4e09\u3001PC0&#xff08;\u8d85\u7ea7\u7ec8\u7aef&#xff0c;\u8fde\u63a5\u4ea4\u6362\u673a Console \u53e3&#xff09;\u914d\u7f6e\u6b65\u9aa4<\/h3>\n<p># 1. \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<br \/>\n&lt;Huawei&gt; system-view<\/p>\n<p># 2. \u914d\u7f6e\u7ba1\u7406VLAN\u548c\u63a5\u53e3<br \/>\n[Huawei] vlan 1<br \/>\n[Huawei-vlan1] quit<br \/>\n[Huawei] interface Vlanif 1<br \/>\n[Huawei-Vlanif1] ip address 192.168.1.1 255.255.255.0<br \/>\n[Huawei-Vlanif1] quit<\/p>\n<p># 3. \u521b\u5efaTelnet\u767b\u5f55\u7528\u6237&#xff08;\u5173\u952e\u6b65\u9aa4&#xff09;<br \/>\n[Huawei] aaa  # \u8fdb\u5165AAA\u8ba4\u8bc1\u89c6\u56fe<br \/>\n[Huawei-aaa] local-user admin password cipher Admin&#064;123  # \u521b\u5efa\u7528\u6237<br \/>\n[Huawei-aaa] local-user admin privilege level 15  # \u8bbe\u7f6e\u6743\u9650\u7ea7\u522b<br \/>\n[Huawei-aaa] local-user admin service-type telnet  # \u6307\u5b9a\u670d\u52a1\u7c7b\u578b\u4e3aTelnet<br \/>\n[Huawei-aaa] quit<\/p>\n<p># 4. \u914d\u7f6eVTY\u7ebf\u8def&#xff08;0-4&#xff09;<br \/>\n[Huawei] user-interface vty 0 4  # \u4e00\u6b21\u6027\u914d\u7f6e\u6240\u6709VTY\u7ebf\u8def<br \/>\n[Huawei-ui-vty0-4] authentication-mode aaa  # \u4f7f\u7528AAA\u8ba4\u8bc1&#xff08;\u5173\u952e&#xff01;&#xff09;<br \/>\n[Huawei-ui-vty0-4] protocol inbound telnet  # \u5141\u8bb8Telnet\u534f\u8bae<br \/>\n[Huawei-ui-vty0-4] user privilege level 15  # \u8bbe\u7f6e\u6743\u9650\u7ea7\u522b<br \/>\n[Huawei-ui-vty0-4] idle-timeout 15 0  # \u8bbe\u7f6e\u8d85\u65f6\u65f6\u95f4&#xff08;\u53ef\u9009&#xff09;<br \/>\n[Huawei-ui-vty0-4] quit<\/p>\n<p># 5. \u542f\u7528Telnet\u670d\u52a1\u5668<br \/>\n[Huawei] telnet server enable  # \u542f\u7528Telnet\u670d\u52a1<\/p>\n<p># 6. \u4fdd\u5b58\u914d\u7f6e<br \/>\n[Huawei] quit<br \/>\n&lt;Huawei&gt; save<\/p>\n<h3>\u56db\u3001PC0&#xff08;\u547d\u4ee4\u63d0\u793a\u7b26 CMD \u4e0b&#xff09;\u64cd\u4f5c\u6b65\u9aa4<\/h3>\n<li>\u9a8c\u8bc1\u94fe\u8def\u8fde\u901a\u6027&#xff1a;ping 192.168.1.1<\/li>\n<li>&#xff08;\u7b49\u5f85 ping \u7ed3\u679c&#xff0c;\u663e\u793a \u201c\u8bf7\u6c42\u8d85\u65f6\u201d \u4ee5\u5916\u7684\u8fde\u901a\u63d0\u793a\u5373\u4e3a\u94fe\u8def\u901a&#xff09;<\/li>\n<li>\u8fdc\u7a0b Telnet \u767b\u5f55\u4ea4\u6362\u673a&#xff1a;telnet 192.168.1.1<\/li>\n<li>\u8f93\u5165\u5bc6\u7801&#xff1a;cisco0&#xff08;\u8f93\u5165\u65f6\u4e0d\u663e\u793a\u660e\u6587&#xff0c;\u76f4\u63a5\u8f93\u5165\u540e\u56de\u8f66&#xff09;<\/li>\n<li>\u767b\u5f55\u6210\u529f&#xff0c;\u8fdb\u5165\u534e\u4e3a\u4ea4\u6362\u673a\u7528\u6237\u6a21\u5f0f&#xff0c;\u663e\u793a\u6807\u8bc6&#xff1a;&lt;Huawei&gt;<\/li>\n<h3>\u4e94\u3001PC1&#xff08;\u547d\u4ee4\u63d0\u793a\u7b26 CMD \u4e0b&#xff09;\u64cd\u4f5c\u6b65\u9aa4<\/h3>\n<li>\u9a8c\u8bc1\u94fe\u8def\u8fde\u901a\u6027&#xff1a;ping 192.168.1.1<\/li>\n<li>&#xff08;\u7b49\u5f85 ping \u7ed3\u679c&#xff0c;\u663e\u793a \u201c\u8bf7\u6c42\u8d85\u65f6\u201d \u4ee5\u5916\u7684\u8fde\u901a\u63d0\u793a\u5373\u4e3a\u94fe\u8def\u901a&#xff09;<\/li>\n<li>\u8fdc\u7a0b Telnet \u767b\u5f55\u4ea4\u6362\u673a&#xff1a;telnet 192.168.1.1<\/li>\n<li>\u8f93\u5165\u5bc6\u7801&#xff1a;cisco1&#xff08;\u8f93\u5165\u65f6\u4e0d\u663e\u793a\u660e\u6587&#xff0c;\u76f4\u63a5\u8f93\u5165\u540e\u56de\u8f66&#xff09;<\/li>\n<li>\u767b\u5f55\u6210\u529f&#xff0c;\u8fdb\u5165\u534e\u4e3a\u4ea4\u6362\u673a\u7279\u6743\u6a21\u5f0f&#xff0c;\u6267\u884c\u547d\u4ee4\u67e5\u770b\u5728\u7ebf\u7528\u6237&#xff1a;display users&#xff08;\u663e\u793a\u6b63\u5728\u4f7f\u7528\u4e2d\u7684\u63a7\u5236\u53f0\u548c\u6240\u6709\u8fde\u63a5\u4e2d\u7684 vty \u7ebf\u8def&#xff09;<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u9a8c\u76ee\u7684&#xff1a;\u00a0\u638c\u63e1\u4ea4\u6362\u673a\u7684vty\u7ebf\u8def\u914d\u7f6e&#xff0c;\u5b9e\u73b0telnet\u65b9\u5f0f\u5bf9\u4ea4\u6362\u673a\u7684\u8fdc\u7a0b\u7ba1\u7406\u3002\u5b9e\u9a8c\u80cc\u666f&#xff1a;\u5728\u8bbe\u5907\u673a\u623f\u5bf9\u4ea4\u6362\u673a\u8fdb\u884c\u4e86\u521d\u6b21\u914d\u7f6e\u540e, \u4f60\u5e0c\u671b\u4ee5\u540e\u5728\u529e\u516c\u5ba4\u6216\u51fa\u5dee\u65f6\u4e5f\u53ef\u4ee5\u5bf9\u8bbe\u5907\u8fdb\u884c\u8fdc\u7a0b\u7ba1\u7406\u3002\u73b0\u8981\u5728\u4ea4\u6362\u673a\u4e0a\u505a\u9002\u5f53\u914d\u7f6e\u3002\u6280\u672f\u539f\u7406&#xff1a;\u534e\u4e3a\u4ea4\u6362\u673a&#xff08;VRP \u7cfb\u7edf&#xff09;Telnet \u6280\u672f\u539f\u7406telnet \u662f\u8fdc\u7a0b\u63a7\u5236\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u7b49\u7f51\u7edc\u8bbe\u5907\u7684\u5e38\u7528\u534f\u8bae (\u7aef\u53e3\u53f7\u4e3a 23)&#xff0c;\u4e3a\u7ba1\u7406\u5458\u8fdc\u7a0b\u96c6\u4e2d\u7ba1\u7406\u548c\u7ef4\u62a4\u7f51\u7edc\u8bbe\u5907\u63d0\u4f9b<\/p>\n","protected":false},"author":2,"featured_media":60547,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6395,513,67,300,78,44],"topic":[],"class_list":["post-60548","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-6395","tag-ensp","tag-67","tag-300","tag-78","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/60548.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5b9e\u9a8c\u76ee\u7684&#xff1a;\u00a0\u638c\u63e1\u4ea4\u6362\u673a\u7684vty\u7ebf\u8def\u914d\u7f6e&#xff0c;\u5b9e\u73b0telnet\u65b9\u5f0f\u5bf9\u4ea4\u6362\u673a\u7684\u8fdc\u7a0b\u7ba1\u7406\u3002\u5b9e\u9a8c\u80cc\u666f&#xff1a;\u5728\u8bbe\u5907\u673a\u623f\u5bf9\u4ea4\u6362\u673a\u8fdb\u884c\u4e86\u521d\u6b21\u914d\u7f6e\u540e, \u4f60\u5e0c\u671b\u4ee5\u540e\u5728\u529e\u516c\u5ba4\u6216\u51fa\u5dee\u65f6\u4e5f\u53ef\u4ee5\u5bf9\u8bbe\u5907\u8fdb\u884c\u8fdc\u7a0b\u7ba1\u7406\u3002\u73b0\u8981\u5728\u4ea4\u6362\u673a\u4e0a\u505a\u9002\u5f53\u914d\u7f6e\u3002\u6280\u672f\u539f\u7406&#xff1a;\u534e\u4e3a\u4ea4\u6362\u673a&#xff08;VRP \u7cfb\u7edf&#xff09;Telnet \u6280\u672f\u539f\u7406telnet \u662f\u8fdc\u7a0b\u63a7\u5236\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u7b49\u7f51\u7edc\u8bbe\u5907\u7684\u5e38\u7528\u534f\u8bae (\u7aef\u53e3\u53f7\u4e3a 23)&#xff0c;\u4e3a\u7ba1\u7406\u5458\u8fdc\u7a0b\u96c6\u4e2d\u7ba1\u7406\u548c\u7ef4\u62a4\u7f51\u7edc\u8bbe\u5907\u63d0\u4f9b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/60548.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-15T12:57:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260115125723-6968e43329bdc.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/60548.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/60548.html\",\"name\":\"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-15T12:57:24+00:00\",\"dateModified\":\"2026-01-15T12:57:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/60548.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/60548.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/60548.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/60548.html","og_locale":"zh_CN","og_type":"article","og_title":"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5b9e\u9a8c\u76ee\u7684&#xff1a;\u00a0\u638c\u63e1\u4ea4\u6362\u673a\u7684vty\u7ebf\u8def\u914d\u7f6e&#xff0c;\u5b9e\u73b0telnet\u65b9\u5f0f\u5bf9\u4ea4\u6362\u673a\u7684\u8fdc\u7a0b\u7ba1\u7406\u3002\u5b9e\u9a8c\u80cc\u666f&#xff1a;\u5728\u8bbe\u5907\u673a\u623f\u5bf9\u4ea4\u6362\u673a\u8fdb\u884c\u4e86\u521d\u6b21\u914d\u7f6e\u540e, \u4f60\u5e0c\u671b\u4ee5\u540e\u5728\u529e\u516c\u5ba4\u6216\u51fa\u5dee\u65f6\u4e5f\u53ef\u4ee5\u5bf9\u8bbe\u5907\u8fdb\u884c\u8fdc\u7a0b\u7ba1\u7406\u3002\u73b0\u8981\u5728\u4ea4\u6362\u673a\u4e0a\u505a\u9002\u5f53\u914d\u7f6e\u3002\u6280\u672f\u539f\u7406&#xff1a;\u534e\u4e3a\u4ea4\u6362\u673a&#xff08;VRP \u7cfb\u7edf&#xff09;Telnet \u6280\u672f\u539f\u7406telnet \u662f\u8fdc\u7a0b\u63a7\u5236\u4ea4\u6362\u673a\u3001\u8def\u7531\u5668\u7b49\u7f51\u7edc\u8bbe\u5907\u7684\u5e38\u7528\u534f\u8bae (\u7aef\u53e3\u53f7\u4e3a 23)&#xff0c;\u4e3a\u7ba1\u7406\u5458\u8fdc\u7a0b\u96c6\u4e2d\u7ba1\u7406\u548c\u7ef4\u62a4\u7f51\u7edc\u8bbe\u5907\u63d0\u4f9b","og_url":"https:\/\/www.wsisp.com\/helps\/60548.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-15T12:57:24+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260115125723-6968e43329bdc.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/60548.html","url":"https:\/\/www.wsisp.com\/helps\/60548.html","name":"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-15T12:57:24+00:00","dateModified":"2026-01-15T12:57:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/60548.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/60548.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/60548.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u534e\u4e3a\uff08ENSP\uff09\u6a21\u62df\u5b9e\u9a8c\uff083\uff09 \u4ea4\u6362\u673a\u7684Telnet\u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/60548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=60548"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/60548\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/60547"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=60548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=60548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=60548"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=60548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}