{"id":3019,"date":"2025-12-01T17:10:19","date_gmt":"2025-12-01T09:10:19","guid":{"rendered":"https:\/\/linuxjk.cn\/?p=3019"},"modified":"2025-12-02T17:15:52","modified_gmt":"2025-12-02T09:15:52","slug":"h3c%e9%98%b2%e7%81%ab%e5%a2%99%e9%85%8d%e7%bd%ae%e6%b5%81%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/linuxjk.cn\/?p=3019","title":{"rendered":"H3C\u9632\u706b\u5899\u914d\u7f6e\u6d41\u7a0b"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E8%83%8C%E6%99%AF%EF%BC%9A\" >\u80cc\u666f\uff1a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E4%B8%80%E3%80%81%E4%BD%BF%E7%94%A8console%E7%BA%BF%E8%BF%9E%E6%8E%A5%E5%88%B0%E7%94%B5%E8%84%91\" >\u4e00\u3001\u4f7f\u7528console\u7ebf\u8fde\u63a5\u5230\u7535\u8111<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#1_%E6%9C%89%E7%BA%BF%E8%BF%9E%E6%8E%A5console%E5%8F%A3%E5%88%B0%E7%94%B5%E8%84%91%E4%B8%8A\" >1. \u6709\u7ebf\u8fde\u63a5console\u53e3\u5230\u7535\u8111\u4e0a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#2_%E5%AE%89%E8%A3%85console%E7%BA%BF%E9%A9%B1%E5%8A%A8%EF%BC%88%E4%B8%8B%E8%BD%BD%E9%A9%B1%E5%8A%A8%E4%BA%BA%E7%94%9F%EF%BC%89\" >2. \u5b89\u88c5console\u7ebf\u9a71\u52a8\uff08\u4e0b\u8f7d\u9a71\u52a8\u4eba\u751f\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#3_%E6%9F%A5%E7%9C%8B%E8%AE%BE%E5%A4%87%E7%AE%A1%E7%90%86%E5%99%A8%E4%B8%8A%E6%98%BE%E7%A4%BA%E7%9A%84%E4%B8%B2%E5%8F%A3%EF%BC%88COM%E6%95%B0%E5%AD%97%EF%BC%89\" >3. \u67e5\u770b\u8bbe\u5907\u7ba1\u7406\u5668\u4e0a\u663e\u793a\u7684\u4e32\u53e3\uff08COM+\u6570\u5b57\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#4_%E6%89%93%E5%BC%80putty%E6%A0%B9%E6%8D%AE%E8%AE%BE%E5%A4%87%E7%AE%A1%E7%90%86%E5%99%A8%E7%9C%8B%E5%88%B0%E7%9A%84%E4%B8%B2%E5%8F%A3%E5%8F%B7%E8%BF%9B%E8%A1%8C%E8%BF%9E%E6%8E%A5\" >4. \u6253\u5f00putty\u6839\u636e\u8bbe\u5907\u7ba1\u7406\u5668\u770b\u5230\u7684\u4e32\u53e3\u53f7\u8fdb\u884c\u8fde\u63a5<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E4%BA%8C%E3%80%81%E8%BF%9B%E5%85%A5%E7%B3%BB%E7%BB%9F%E9%87%8D%E7%BD%AE%E5%AF%86%E7%A0%81\" >\u4e8c\u3001\u8fdb\u5165\u7cfb\u7edf\u91cd\u7f6e\u5bc6\u7801<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E7%99%BB%E5%BD%95%E9%98%B2%E7%81%AB%E5%A2%99%E5%91%BD%E4%BB%A4%E8%A1%8C%EF%BC%8C%E5%BC%80%E5%A7%8B%E9%85%8D%E7%BD%AE\" >\u767b\u5f55\u9632\u706b\u5899\u547d\u4ee4\u884c\uff0c\u5f00\u59cb\u914d\u7f6e<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E7%94%B5%E8%84%91%E7%AB%AF%E9%85%8D%E7%BD%AE\" >\u7535\u8111\u7aef\u914d\u7f6e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E5%BC%80%E5%90%AF%E7%BD%91%E9%A1%B5%E7%AE%A1%E7%90%86%E6%9C%8D%E5%8A%A1\" >\u5f00\u542f\u7f51\u9875\u7ba1\u7406\u670d\u52a1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/linuxjk.cn\/?p=3019\/#%E9%80%9A%E8%BF%87%E5%91%BD%E4%BB%A4%E8%A1%8C%E9%87%8D%E7%BD%AE%E7%BD%91%E9%A1%B5%E7%AE%A1%E7%90%86%E9%A1%B5%E9%9D%A2%E5%AF%86%E7%A0%81\" >\u901a\u8fc7\u547d\u4ee4\u884c\u91cd\u7f6e\u7f51\u9875\u7ba1\u7406\u9875\u9762\u5bc6\u7801<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%83%8C%E6%99%AF%EF%BC%9A\"><\/span>\u80cc\u666f\uff1a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u67e5\u770b\u8bbe\u5907\u578b\u53f7\u548c\u7248\u672c<br>&lt;H3C&gt;display version<br>H3C Comware Software, Version 7.1.064, Release 9510P05<br>Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.<br>H3C SecPath F100-M-G2 uptime is 0 weeks, 0 days, 4 hours, 19 minutes<br>Last reboot reason: User reboot<br>\u200b<br>Boot image: flash:\/f1010fw-cmw710-boot-R9510P05.bin<br>Boot image version: 7.1.064, Release 9510P05<br>  Compiled Jun 16 2017 16:00:00<br>System image: flash:\/f1010fw-cmw710-system-R9510P05.bin<br>System image version: 7.1.064, Release 9510P05<br>  Compiled Jun 16 2017 16:00:00<br>\u200b<br>SLOT 1<br>CPU type: Multi-core CPU<br>DDR3 SDRAM Memory &nbsp; &nbsp;  2032M bytes <br>Board PCB &nbsp; &nbsp; &nbsp;  Version:Ver.A<br>Basic  BootWare  Version: 1.06<br>Extend BootWare  Version: 1.06<br>[SubSlot 0]12GE  (Hardware)Ver.A, (Driver)1.0<br>&lt;H3C&gt;<\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Console\u53e3<\/strong>\uff1a\u8fd9\u662f\u4e00\u4e2a<strong>\u4e32\u884c\u7aef\u53e3<\/strong>\uff0c\u7c7b\u4f3c\u4e8e\u8001\u5f0f\u7684COM\u53e3\u3002\u5b83\u7684\u4f5c\u7528\u662f<strong>\u521d\u59cb\u914d\u7f6e<\/strong>\uff0c\u6bd4\u5982\u5f53\u8bbe\u5907\u6ca1\u6709IP\u5730\u5740\u6216\u60a8\u5fd8\u8bb0\u4e86\u7ba1\u7406\u5730\u5740\u65f6\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u8fdb\u884c\u6700\u57fa\u7840\u7684\u8bbe\u7f6e\u3002\u8fde\u63a5\u5b83\u9700\u8981\u4e13\u7528\u7684 <strong>Console\u7ebf<\/strong>\u3002<\/li>\n\n\n\n<li>console\u7ebf\u7684\u53e6\u4e00\u7aef\u4e3a <strong>DB9\u4e32\u53e3<\/strong>\uff0c\u8fd9\u91cc\u7528\u4e00\u6839\u8f6c\u63a5\u7ebf\u63d2\u5728 <strong>DB9\u4e32\u53e3<\/strong>\u4e0a\uff0c\u4f7f\u7528\u7535\u8111USB\u53e3\u8fde\u63a5<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128161236616.jpg\" alt=\"1e494fa4a2f26a8fa4f784e779dbb362\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81%E4%BD%BF%E7%94%A8console%E7%BA%BF%E8%BF%9E%E6%8E%A5%E5%88%B0%E7%94%B5%E8%84%91\"><\/span>\u4e00\u3001\u4f7f\u7528console\u7ebf\u8fde\u63a5\u5230\u7535\u8111<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_%E6%9C%89%E7%BA%BF%E8%BF%9E%E6%8E%A5console%E5%8F%A3%E5%88%B0%E7%94%B5%E8%84%91%E4%B8%8A\"><\/span>1. \u6709\u7ebf\u8fde\u63a5console\u53e3\u5230\u7535\u8111\u4e0a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_%E5%AE%89%E8%A3%85console%E7%BA%BF%E9%A9%B1%E5%8A%A8%EF%BC%88%E4%B8%8B%E8%BD%BD%E9%A9%B1%E5%8A%A8%E4%BA%BA%E7%94%9F%EF%BC%89\"><\/span>2. \u5b89\u88c5console\u7ebf\u9a71\u52a8\uff08\u4e0b\u8f7d\u9a71\u52a8\u4eba\u751f\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128132220768.png\" alt=\"image-20251128132213652\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_%E6%9F%A5%E7%9C%8B%E8%AE%BE%E5%A4%87%E7%AE%A1%E7%90%86%E5%99%A8%E4%B8%8A%E6%98%BE%E7%A4%BA%E7%9A%84%E4%B8%B2%E5%8F%A3%EF%BC%88COM%E6%95%B0%E5%AD%97%EF%BC%89\"><\/span>3. \u67e5\u770b\u8bbe\u5907\u7ba1\u7406\u5668\u4e0a\u663e\u793a\u7684\u4e32\u53e3\uff08COM+\u6570\u5b57\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128132325495.png\" alt=\"image-20251128132325458\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_%E6%89%93%E5%BC%80putty%E6%A0%B9%E6%8D%AE%E8%AE%BE%E5%A4%87%E7%AE%A1%E7%90%86%E5%99%A8%E7%9C%8B%E5%88%B0%E7%9A%84%E4%B8%B2%E5%8F%A3%E5%8F%B7%E8%BF%9B%E8%A1%8C%E8%BF%9E%E6%8E%A5\"><\/span>4. \u6253\u5f00putty\u6839\u636e\u8bbe\u5907\u7ba1\u7406\u5668\u770b\u5230\u7684\u4e32\u53e3\u53f7\u8fdb\u884c\u8fde\u63a5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128132603074.png\" alt=\"image-20251128132603047\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81%E8%BF%9B%E5%85%A5%E7%B3%BB%E7%BB%9F%E9%87%8D%E7%BD%AE%E5%AF%86%E7%A0%81\"><\/span>\u4e8c\u3001\u8fdb\u5165\u7cfb\u7edf\u91cd\u7f6e\u5bc6\u7801<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>putty\u8fdb\u5165\u7cfb\u7edf\u540e\u62d4\u6389\u91cd\u65b0\u63d2\u9632\u706b\u5899\u7535\u6e90\uff0c\u8fdb\u5165\u7cfb\u7edf\u4f1a\u5728\u754c\u9762\u4e0a\u770b\u5230\u63d0\u793a\u4fe1\u606f\uff0c\u6309ctrl+b\u8fdb\u5165BOOTWARE\u83dc\u5355\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128144532467.png\" alt=\"image-20251128144532425\"\/><\/figure>\n\n\n\n<p>\u63098\uff08\u6e05\u9664\u5bc6\u7801\uff09\u2013\u2013\u56de\u8f66\uff0c\u63090\uff08\u91cd\u542f\uff09\u56de\u8f66\u91cd\u542f\uff0c\u91cd\u542f\u540e\u81ea\u52a8\u8fdb\u5165\u7cfb\u7edf\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128144803067.png\" alt=\"image-20251128144803027\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<br>&lt;A-F100M-FW&gt;system-view<br>#\u5173\u95ed\u5bc6\u7801\u6062\u590d\u529f\u80fd<br>[A-F100M-FW]undo password-recovery enable<br>#\u91cd\u7f6e\u5bc6\u7801<br>[A-F100M-FW]super password<br>#\u8f93\u5165\/\u786e\u8ba4<br>Password:<br>confirm :<br>#\u4fdd\u5b58\u914d\u7f6e<br>[A-F100M-FW]save force<br>Validating file. Please wait...<br>Saved the current configuration to mainboard device successfully.<br>\u200b<br>#\u9000\u51fa\u7cfb\u7edf\u89c6\u56fe<br>[A-F100M-FW]quit<br>#\u91cd\u542f\u6d4b\u8bd5<br>&lt;A-F100M-FW&gt;reboot<br>Start to check configuration with next startup configuration file, please wait.........DONE!<br>This command will reboot the device. Continue? [Y\/N]:y<br>Now rebooting, please wait...<br>%Nov 28 06:46:17:000 2025 A-F100M-FW DEV\/5\/SYSTEM_REBOOT: System is rebooting now.<\/pre>\n\n\n\n<p>\u518d\u6b21\u91cd\u542f\u53d1\u73b0\u521a\u624d\u8bbe\u7f6e\u7684\u5bc6\u7801\u6ca1\u6709\u4fdd\u5b58\u6210\u529f\uff0c\u7531\u4e8e\u4e0a\u4e00\u6b65\u5df2\u7ecf\u5173\u95ed\u5bc6\u7801\u6062\u590d\u529f\u80fd\uff0c\u73b0\u5728\u53ef\u4ee5\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\uff0c\u91cd\u542fctrl+b\u63095\uff1a\u56de\u8f66\u63090\u518d\u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/typora-zp.oss-cn-shanghai.aliyuncs.com\/typora20251128150831543.png\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%99%BB%E5%BD%95%E9%98%B2%E7%81%AB%E5%A2%99%E5%91%BD%E4%BB%A4%E8%A1%8C%EF%BC%8C%E5%BC%80%E5%A7%8B%E9%85%8D%E7%BD%AE\"><\/span>\u767b\u5f55\u9632\u706b\u5899\u547d\u4ee4\u884c\uff0c\u5f00\u59cb\u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u767b\u5f55\u6210\u529f\uff0c\u8fdb\u884c\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<br>[H3C] system-view<br>#\u67e5\u770b\u53ef\u7528\u7684\u63a5\u53e3<br>[H3C] display interface brief<br>\u200b<br>Brief information on interfaces in route mode:<br>Link: ADM - administratively down; Stby - standby<br>Protocol: (s) - spoofing<br>Interface &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Link Protocol Primary IP &nbsp; &nbsp;  Description<br>GE1\/0\/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; 192.168.0.1<br>GE1\/0\/1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; 192.168.1.1<br>GE1\/0\/3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/6 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/8 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/9 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DOWN DOWN &nbsp; &nbsp; --<br>GE1\/0\/11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DOWN DOWN &nbsp; &nbsp; --<br>InLoop0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  UP &nbsp; UP(s) &nbsp; &nbsp;--<br>NULL0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  UP &nbsp; UP(s) &nbsp; &nbsp;--<br>REG0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP &nbsp; -- &nbsp; &nbsp; &nbsp; --<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u914d\u7f6e1\/0\/4\u53e3\u7684ip\u5730\u5740<br>[H3C]interface g 1\/0\/4<br>[H3C-GigabitEthernet1\/0\/4]ip address 192.168.240.1 24<br>[H3C-GigabitEthernet1\/0\/4]undo shutdown<br>[H3C-GigabitEthernet1\/0\/4]save force<br>Validating file. Please wait...<br>Saved the current configuration to mainboard device successfully.<br>#\u914d\u7f6e\u597d\u4e4b\u540e\u7528\u7f51\u7ebf\u5c06\u4ea4\u6362\u673a\u4e0e\u7535\u8111\u8fde\u63a5\uff0c\u53ef\u4ee5\u770b\u5230\u4e0b\u9762\u51fa\u73b0up\u5373\u4e3a\u542f\u52a8\u6210\u529f<br>[H3C-GigabitEthernet1\/0\/4]%Nov 28 07:10:09:934 2025 H3C IFNET\/3\/PHY_UPDOWN: Physical state on the interface GigabitEthernet1\/0\/4 changed to up.<br>%Nov 28 07:10:09:934 2025 H3C IFNET\/5\/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1\/0\/4 changed to up.<br>%Nov 28 07:10:29:267 2025 H3C IFNET\/3\/PHY_UPDOWN: Physical state on the interface GigabitEthernet1\/0\/4 changed to down.<br>%Nov 28 07:10:29:268 2025 H3C IFNET\/5\/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1\/0\/4 changed to down.<br>%Nov 28 07:12:02:822 2025 H3C IFNET\/3\/PHY_UPDOWN: Physical state on the interface GigabitEthernet1\/0\/4 changed to up.<br>%Nov 28 07:12:02:823 2025 H3C IFNET\/5\/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1\/0\/4 changed to up.<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u67e5\u770b\u5f53\u524d\u63a5\u53e3\uff1a<br>&lt;H3C&gt;display interface brief<br>Brief information on interfaces in route mode:<br>Link: ADM - administratively down; Stby - standby<br>Protocol: (s) - spoofing<br>Interface &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Link Protocol Primary IP &nbsp; &nbsp;  Description &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; 192.168.0.1 &nbsp; &nbsp; <br>GE1\/0\/1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; 192.168.1.1 &nbsp; &nbsp; <br>GE1\/0\/3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  UP &nbsp; UP &nbsp; &nbsp; &nbsp; 192.168.240.1 &nbsp; <br>GE1\/0\/5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/6 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/8 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/9 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>GE1\/0\/11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DOWN DOWN &nbsp; &nbsp; -- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>InLoop0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  UP &nbsp; UP(s) &nbsp; &nbsp;-- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>NULL0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  UP &nbsp; UP(s) &nbsp; &nbsp;-- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>REG0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP &nbsp; -- &nbsp; &nbsp; &nbsp; -- &nbsp; <\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%94%B5%E8%84%91%E7%AB%AF%E9%85%8D%E7%BD%AE\"><\/span><strong>\u7535\u8111\u7aef\u914d\u7f6e<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u7531\u4e8e\u9632\u706b\u5899ip\u8bbe\u7f6e\u7684192.168.240.1\uff0c\u7535\u8111\u4ee5\u592a\u7f51\u4e5f\u8981\u914d\u5230192.168.240.0\u7f51\u6bb5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Windows cmd\u4e2d\u8bbe\u7f6eIP\uff08\u4e34\u65f6\uff09<br>netsh interface ip set address \"\u4ee5\u592a\u7f51\" static 192.168.240.2 255.255.255.0 192.168.240.1<\/pre>\n\n\n\n<p>\u73b0\u5728ping\u4e0d\u901a\uff0c\u7ba1\u7406\u7f51\u9875\u65e0\u6cd5\u6253\u5f00\uff0c\u9700\u8981\u5bf9\u9632\u706b\u5899\u8fdb\u884c\u914d\u7f6e<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u76f4\u63a5\u521b\u5efa\u5141\u8bb8\u6240\u6709\u6d41\u91cf\u7684ACL\u5e76\u5e94\u7528<br>[H3C] acl advanced 3000<br>[H3C-acl-ipv4-adv-3000] rule 0 permit ip<br>[H3C-acl-ipv4-adv-3000] quit<br>\u200b<br>[H3C] interface GigabitEthernet 1\/0\/4<br>[H3C-GigabitEthernet1\/0\/4] packet-filter 3000 inbound<br>[H3C-GigabitEthernet1\/0\/4] packet-filter 3000 outbound<br>[H3C-GigabitEthernet1\/0\/4] quit<br>\u200b<br>[H3C] save force<br># \u5c06\u63a5\u53e3GigabitEthernet1\/0\/4\u52a0\u5165\u5230Trust\u57df<br>[H3C] security-zone name Trust<br>[H3C-security-zone-Trust] import interface GigabitEthernet1\/0\/4<br>[H3C-security-zone-Trust] quit<br># \u521b\u5efa\u4eceTrust\u5230Local\u7684\u57df\u95f4\u7b56\u7565\uff08\u5141\u8bb8\u7ba1\u7406\u6d41\u91cf\uff09<br>[H3C] zone-pair security source Trust destination Local<br>[H3C-zone-pair-security-Trust-Local] packet-filter 3000<br>[H3C-zone-pair-security-Trust-Local] quit<br>\u200b<br># \u521b\u5efa\u4eceTrust\u5230Untrust\u7684\u57df\u95f4\u7b56\u7565\uff08\u5141\u8bb8\u4e0a\u7f51\u6d41\u91cf\uff09<br>[H3C] zone-pair security source Trust destination Untrust<br>[H3C-zone-pair-security-Trust-Untrust] packet-filter 3000<br>[H3C-zone-pair-security-Trust-Untrust] quit<br>\u200b<br># \u521b\u5efa\u4eceLocal\u5230Trust\u7684\u57df\u95f4\u7b56\u7565\uff08\u5141\u8bb8\u53cd\u5411\u7ba1\u7406\uff09<br>[H3C] zone-pair security source Local destination Trust<br>[H3C-zone-pair-security-Local-Trust] packet-filter 3000<br>[H3C-zone-pair-security-Local-Trust] quit<br># \u67e5\u770b\u5f53\u524dACL\u914d\u7f6e<br>[H3C] display acl all<br>\u200b<br># \u5982\u679cACL 3000\u4e0d\u5b58\u5728\uff0c\u91cd\u65b0\u521b\u5efa<br>[H3C] acl advanced 3000<br>[H3C-acl-ipv4-adv-3000] rule 0 permit ip<br>[H3C-acl-ipv4-adv-3000] quit<br>\u200b<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%BC%80%E5%90%AF%E7%BD%91%E9%A1%B5%E7%AE%A1%E7%90%86%E6%9C%8D%E5%8A%A1\"><\/span>\u5f00\u542f\u7f51\u9875\u7ba1\u7406\u670d\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u5f00\u542fHTTP\u670d\u52a1<br>[H3C] ip http enable<br>\u200b<br># \u5f00\u542fHTTPS\u670d\u52a1\uff08\u63a8\u8350\uff09<br>[H3C] ip https enable<br>\u200b<br># \u786e\u8ba4admin\u7528\u6237\u914d\u7f6e<br>[H3C] local-user admin<br>[H3C-luser-manage-admin] password simple admin123<br>[H3C-luser-manage-admin] service-type http https telnet terminal<br>[H3C-luser-manage-admin] authorization-attribute user-role network-admin<br>[H3C-luser-manage-admin] quit<br>[H3C] save force<br>\u200b<br>\u200b<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E9%80%9A%E8%BF%87%E5%91%BD%E4%BB%A4%E8%A1%8C%E9%87%8D%E7%BD%AE%E7%BD%91%E9%A1%B5%E7%AE%A1%E7%90%86%E9%A1%B5%E9%9D%A2%E5%AF%86%E7%A0%81\"><\/span>\u901a\u8fc7\u547d\u4ee4\u884c\u91cd\u7f6e\u7f51\u9875\u7ba1\u7406\u9875\u9762\u5bc6\u7801<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u8fdb\u5165admin\u7528\u6237\u914d\u7f6e<br>[H3C] local-user admin<br><br># \u91cd\u7f6e\u5bc6\u7801\uff08\u4f7f\u7528\u65b0\u5bc6\u7801\uff09<br>[H3C-luser-manage-admin] password simple H3C@admin123  # \u8bbe\u7f6e\u4e00\u4e2a\u5f3a\u5bc6\u7801<br># \u786e\u8ba4\u670d\u52a1\u7c7b\u578b\u5305\u542bhttp https<br>[H3C-luser-manage-admin] service-type http https telnet terminal<br># \u786e\u8ba4\u6743\u9650<br>[H3C-luser-manage-admin] authorization-attribute user-role network-admin<br># \u4fdd\u5b58\u5e76\u9000\u51fa<br>[H3C-luser-manage-admin] quit<br>[H3C] save force<br><br># \u6216\u8005\u65b9\u5f0fB\uff1a\u5220\u9664\u91cd\u5efa\uff08\u5982\u679c\u65b9\u5f0fA\u4e0d\u884c\uff09<br>[H3C] undo local-user admin<br>[H3C] local-user admin class manage<br>[H3C-luser-manage-admin] password simple H3C@admin123<br>[H3C-luser-manage-admin] service-type http https telnet terminal<br>[H3C-luser-manage-admin] authorization-attribute user-role network-admin<br>[H3C-luser-manage-admin] quit<br>[H3C] save force<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">\u7528\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1ahttps:\/\/192.168.240.1<br>\u7528\u6237\u540d\uff1a admin<br>\u5bc6\u7801\uff1a H3C@admin123<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f\uff1a # \u67e5\u770b\u8bbe\u5907\u578b\u53f7\u548c\u7248\u672c&lt;H3C&gt;display versionH3C Comware So [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3019","post","type-post","status-publish","format-standard","hentry","category-vxhs888p"],"_links":{"self":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts\/3019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3019"}],"version-history":[{"count":2,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts\/3019\/revisions"}],"predecessor-version":[{"id":3025,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts\/3019\/revisions\/3025"}],"wp:attachment":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}