{"id":964,"date":"2022-01-30T22:34:25","date_gmt":"2022-01-30T14:34:25","guid":{"rendered":"https:\/\/b.yesiyu.top\/?p=964"},"modified":"2022-01-30T22:34:25","modified_gmt":"2022-01-30T14:34:25","slug":"h3c%e9%85%8d%e7%bd%ae%e7%bb%8f%e5%85%b8%e5%85%a8%e9%9d%a2%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/b.yesiyu.top\/?p=964","title":{"rendered":"H3C\u914d\u7f6e\u7ecf\u5178\u5168\u9762\u6559\u7a0b"},"content":{"rendered":"<p><strong>1 H3C MSR\u8def\u7531\u5668\u3001\u4ea4\u6362\u673a\u57fa\u672c\u8c03\u8bd5\u6b65\u9aa4\uff08\u521d\u5b66\u7ea7\u522b\uff09\uff1a<\/strong><\/p>\n<hr \/>\n<p><strong>1.1\u5982\u4f55\u767b\u9646\u8fdb\u8def\u7531\u5668\u6216\u4ea4\u6362\u673a<\/strong><\/p>\n<p>1.1.1\u642d\u5efa\u914d\u7f6e\u73af\u5883<\/p>\n<p>\u7b2c\u4e00\u6b21\u4f7f\u7528H3C\u7cfb\u5217\u8def\u7531\u5668\u65f6\uff0c\u53ea\u80fd\u901a\u8fc7\u914d\u7f6e\u53e3(Console)\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<p>1\uff09\u5c06\u914d\u7f6e\u7535\u7f06\u7684RJ-45\u4e00\u7aef\u8fde\u5230\u8def\u7531\u5668\u7684\u914d\u7f6e\u53e3(Console)\u4e0a\u3002<\/p>\n<p>2\uff09\u5c06\u914d\u7f6e\u7535\u7f06\u7684DB-9(\u6216DB-25)\u5b54\u5f0f\u63d2\u5934\u63a5\u5230\u8981\u5bf9\u8def\u7531\u5668\u8fdb\u884c\u914d\u7f6e\u7684\u5fae\u673a\u6216\u7ec8\u7aef\u7684\u4e32\u53e3\u4e0a\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-967\" title=\"640-35\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-35.png\" alt=\"640-35\" width=\"698\" height=\"128\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-35.png 698w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-35-300x55.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/p>\n<p>\u5907\u6ce8\uff1a\u767b\u9646\u4ea4\u6362\u673a\u7684\u65b9\u6cd5\u4e0e\u8def\u7531\u5668\u7684\u4e00\u81f4\uff0c\u73b0\u4ec5\u7528\u8def\u7531\u5668\u4e3e<\/p>\n<p>1.1.2\u8bbe\u7f6e\u5fae\u673a\u6216\u7ec8\u7aef\u7684\u53c2\u6570\uff08\u8fdb\u5165\u8def\u7531\u5668\u6216\u4ea4\u6362\u673a\uff09<\/p>\n<p>1\uff09\u6253\u5f00\u5fae\u673a\uff08\u7b14\u8bb0\u672c\u7535\u8111\uff09\u6216\u7ec8\u7aef\u3002\u5982\u679c\u4f7f\u7528\u5fae\u673a\u8fdb\u884c\u914d\u7f6e\uff0c\u9700\u8981\u5728\u5fae\u673a\u4e0a\u8fd0\u884c\u7ec8\u7aef\u4eff\u771f\u7a0b\u5e8f\uff0c\u5982Windows\u7684\u8d85\u7ea7\u7ec8\u7aef\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-970\" title=\"640-39\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-39.png\" alt=\"640-39\" width=\"1022\" height=\"700\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-39.png 1022w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-39-300x205.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-39-768x526.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>2\uff09\u7b2c\u4e8c\u6b65\uff1a\u8bbe\u7f6e\u7ec8\u7aef\u53c2\u6570<\/p>\n<p>a\u3001\u547d\u540d\u6b64\u7ec8\u7aef \u00a0H3C\u6216\u8005\u81ea\u5df1\u60f3\u547d\u7684\u540d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-966\" title=\"640-36\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-36.png\" alt=\"640-36\" width=\"1024\" height=\"700\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-36.png 1024w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-36-300x205.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-36-768x525.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>b\u3001\u9009\u62e9\u4e32\u53e3 \u00a0\u4e00\u822c\u9009\u7528COM\u53e3\uff0c\u5e38\u9009\u7528COM1<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-969\" title=\"640-38\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-38.png\" alt=\"640-38\" width=\"1024\" height=\"700\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-38.png 1024w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-38-300x205.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-38-768x525.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>c\u3001\u8bbe\u7f6e\u7ec8\u7aef\u5177\u4f53\u53c2\u6570(\u6b64\u5904\u70b9\u51fb\u201c\u9ed8\u8ba4\u503c\u201d\u5373\u53ef)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-968\" title=\"640-37\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-37.png\" alt=\"640-37\" width=\"1021\" height=\"697\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-37.png 1021w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-37-300x205.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-37-768x524.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>d\u3001\u6253\u5f00\u8def\u7531\u5668\u7684\u7535\u6e90\uff0c\u8def\u7531\u5668\u8fdb\u884c\u542f\u52a8<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-971\" title=\"640-1\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-1.jpeg\" alt=\"640-1\" width=\"1024\" height=\"768\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-1.jpeg 1024w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-1-300x225.jpeg 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-1-768x576.jpeg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>e\u3001\u5f53\u8def\u7531\u5668\u542f\u52a8\u5b8c\u6bd5\u540e\uff0c\u56de\u8f66\u51e0\u4e0b\uff0c\u5f53\u51fa\u73b0&lt;H3C&gt;\u65f6\u5373\u53ef\u914d\u7f6e\u8def\u7531\u5668\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.2\u8def\u7531\u5668\u57fa\u672c\u8c03\u8bd5\u547d\u4ee4<\/strong><\/p>\n<p>1.2.1\u4f7f\u7528\u672c\u5730\u7528\u6237\u8fdb\u884ctelnet\u767b\u5f55\u7684\u8ba4\u8bc1<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0 \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]telnet server enable \u00a0 \u00a0\u6253\u5f00\u8def\u7531\u5668\u7684telnet\u529f\u80fd<\/p>\n<p>[H3C]configure-user count\u00a0<strong>5<\/strong>\u00a0\u00a0 \u8bbe\u7f6e\u5141\u8bb8\u540c\u65f6\u914d\u7f6e\u8def\u7531\u5668\u7684\u7528\u6237\u6570<\/p>\n<p>[H3C]local-user\u00a0<strong>telnet<\/strong>\u00a0\u00a0 \u6dfb\u52a0\u672c\u5730\u7528\u6237(\u6b64\u5904\u4e3atelnet\u7528\u6237\u767b\u9646\u65f6\u4f7f\u7528\u7684\u7528\u6237\u540d)<\/p>\n<p>[H3C-luser-telnet]password simple\u00a0<strong>h3c<\/strong>\u00a0\u00a0 \u8bbe\u7f6etelnet\u7528\u6237\u767b\u9646\u65f6\u6240\u4f7f\u7528\u7684\u5bc6\u7801<\/p>\n<p>[H3C-luser-telnet]service-type telnet \u00a0\u8bbe\u7f6e\u672c\u5730\u7528\u6237\u7684\u670d\u52a1\u7c7b\u578b(\u6b64\u5904\u4e3atelnet)<\/p>\n<p>[H3C-luser-telnet]level 3 \u00a0 \u8bbe\u7f6e\u672c\u5730\u7528\u6237\u7684\u670d\u52a1\u7ea7\u522b<\/p>\n<p>[H3C-luser-telnet]quit \u00a0 \u00a0\u9000\u51fa\u672c\u5730\u7528\u6237\u89c6\u56fe<\/p>\n<p>[H3C]<\/p>\n<p>[H3C]user-interface vty 0 4 \u00a0 \u00a0\u8fdb\u5165\u7528\u6237\u89c6\u56fe<\/p>\n<p>[H3C-ui-vty0-4]authentication-mode scheme \u00a0 \u00a0\u9009\u62e9\u201cscheme\u201d\u8ba4\u8bc1\u65b9\u5f0f<\/p>\n<p>\u5907\u6ce8\uff1a\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/p>\n<p>1.2.2\u8def\u7531\u5668\u63a5\u53e3\u7684\u914d\u7f6e<\/p>\n<p>\u4e3a\u63a5\u53e3\u914d\u7f6eip\u5730\u5740<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C] interface serial 3\/0 \u00a0 \u8fdb\u5165\u67d0\u4e2a\u7aef\u53e3<\/p>\n<p>[H3C-Serial3\/0] ip address<strong>\u00a0200.1.1.1 255.255.255.0 \u00a0<\/strong>\u00a0\u4e3a\u8be5\u7aef\u53e3\u8bbe\u7f6eip\u5730\u5740<\/p>\n<p>[H3C-Serial3\/0] undo shutdown \u00a0 \u00a0\u5bf9\u8be5\u7aef\u53e3\u8fdb\u884c\u590d\u4f4d<\/p>\n<p>[H3C-Serial3\/0] quit \u00a0 \u00a0\u9000\u56de\u5230\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]<\/p>\n<p>\u5907\u6ce8\uff1a\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/p>\n<p>1.2.3\u9759\u6001\u8def\u7531\u6216\u9ed8\u8ba4\u8def\u7531\u7684\u914d\u7f6e<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0 \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]ip route-static\u00a0<strong>192.168.1.0 255.255.255.0 192.168.0.1\u00a0<\/strong>\u6dfb\u52a0\u4e00\u6761\u9759\u6001\u8def\u7531<\/p>\n<p>[H3C]ip route-static<strong>\u00a00.0.0.0 0.0.0.0 192.168.0.1\u00a0<\/strong>\u00a0 \u00a0\u6dfb\u52a0\u4e00\u6761\u9ed8\u8ba4\u8def\u7531<\/p>\n<p>\u5907\u6ce8\uff1a\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/p>\n<p>1.2.3\u914d\u7f6e\u6587\u4ef6\u7684\u7ba1\u7406<\/p>\n<p>display current-configuration \u00a0 \u00a0\u663e\u793a\u5f53\u524d\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>&lt;H3C&gt;save \u00a0 \u00a0\u4fdd\u5b58\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>display interface\u00a0<strong>GigabitEthernet 0\/0\u00a0<\/strong>\u00a0 \u00a0\u67e5\u770b\u67d0\u7aef\u53e3\u7684\u72b6\u6001<\/p>\n<p>\u5907\u6ce8\uff1a<\/p>\n<p>display\u547d\u4ee4\u53ef\u4ee5\u5728\u4efb\u4f55\u89c6\u56fe\u4e0b\u8fdb\u884c<\/p>\n<p>\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/p>\n<p>\u4ea4\u6362\u673a\u7684\u914d\u7f6e\u6587\u4ef6\u7ba1\u7406\u4e0e\u8def\u7531\u5668\u76f8\u540c\uff0c\u6545\u4ea4\u6362\u673a\u7684\u914d\u7f6e\u5e7b\u706f\u7247\u4e2d\u4e0d\u518d\u505a\u4e3e\u4f8b\u3002<\/p>\n<p><span class=\"weapp_display_element js_weapp_display_element\" role=\"link\"><span class=\"weapp_card app_context pages_reset appmsg_card_context wx_tap_card\" title=\"\u8f7b\u70b9\u4e24\u4e0b\u6253\u5f00\" role=\"option\"><span class=\"weapp_card_bd\"><span class=\"weapp_card_profile flex_context\"><span class=\"radius_avatar weapp_card_avatar\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-972\" title=\"640-40\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-40.png\" alt=\"640-40\" width=\"1024\" height=\"704\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-40.png 1024w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-40-300x206.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-40-768x528.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/span><span class=\"flex_bd\"><span class=\"weapp_card_nickname_wrp\"><span class=\"weapp_card_nickname\">\u5f31\u7535\u4ea7\u54c1\u7cbe\u9009<\/span><span class=\"weui-hidden_abs\">\uff0c<\/span><span class=\"weui-hidden_abs\">\uff0c<\/span><span class=\"weui-hidden_abs\">\uff0c<\/span><\/span><\/span><\/span><span class=\"weapp_card_info\"><span class=\"weapp_card_title\">H3C\u4ea4\u6362\u673a\u914d\u7f6e\u89c6\u9891\u6559\u7a0b60\u8282\u8be6\u89e3<\/span><\/span><\/span><span class=\"weapp_card_ft\"><span class=\"weapp_card_logo\">\u5c0f\u7a0b\u5e8f<\/span><\/span><\/span><\/span><\/p>\n<p><strong>1.3 \u4ea4\u6362\u673a\u7684\u57fa\u672c\u8c03\u8bd5\u547d\u4ee4<\/strong><\/p>\n<p>1.3.1 \u521b\u5efaVLAN\u5e76\u5c06\u7aef\u53e3\u52a0\u5165\u5230vlan\u4e2d<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0 \u00a0\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]vlan\u00a0<strong>10<\/strong>\u00a0\u00a0 \u00a0\u521b\u5efavlan 10<\/p>\n<p>[H3C-vlan100]port \u00a0ethernet\u00a0<strong>0\/1\u00a0<\/strong>\u00a0 \u00a0\u5c06\u67d0\u4e2a\u7aef\u53e3\u52a0\u5165\u5230vlan\u4e2d<\/p>\n<p>[H3C-vlan100]quit \u00a0 \u00a0\u9000\u51fa\u5230\u7cfb\u7edf<\/p>\n<p>[H3C]<\/p>\n<p>\u5907\u6ce8\uff1a\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/p>\n<p>1.3.2\u521b\u5efavlan\u865a\u63a5\u53e3\u5e76\u4e3a\u63a5\u53e3\u914d\u7f6eip\u5730\u5740<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0 \u00a0\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]interface vlan-interface\u00a0<strong>1<\/strong>\u00a0\u00a0 \u00a0\u521b\u5efavlan\u865a\u63a5\u53e3<\/p>\n<p>[H3C-Vlan-interface100] ip address\u00a0<strong>192.168.1.1 255.255.255.0<\/strong>\u00a0\u00a0 \u00a0\u914d\u7f6eip\u5730\u5740<\/p>\n<p>\u5907\u6ce8\uff1a\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/p>\n<p>1.3.3 \u914d\u7f6e\u9ed8\u8ba4\u8def\u7531<\/p>\n<p>[H3C] interface vlan-interface 1<\/p>\n<p>[H3C-Vlan-interface10] ip address\u00a0<strong>192.168.1.1 255.255.255.0<\/strong><\/p>\n<p>[H3C-Vlan-interface10] quit<\/p>\n<p>[H3C] ip route-static 0.0.0.0 0.0.0.0\u00a0<strong>192.168.1.2\u00a0<\/strong>\u914d\u7f6e\u7f3a\u7701\u8def\u7531<\/p>\n<p><strong>\u5907\u6ce8\uff1a\u7ea2\u8272\u90e8\u5206\u53ef\u4ee5\u7531\u5ba2\u6237\u81ea\u884c\u8bbe\u7f6e\uff0c\u6b64\u5904\u4ec5\u505a\u4e3e\u4f8b\u65f6\u4f7f\u7528!<\/strong><\/p>\n<p>1.3.4\u8bbe\u7f6e\u7aef\u53e3\u7c7b\u578b<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0 \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]interface ethernet 0\/1<\/p>\n<p>[H3C]port link-type trunk \u00a0 \u00a0\u5c06\u7aef\u53e3\u7c7b\u578b\u8bbe\u7f6e\u4e3atrunk<\/p>\n<p>[H3C]port trunk permit vlan all trunk\u7aef\u53e3\u5141\u8bb8\u6240\u6709vlan\u901a\u8fc7<\/p>\n<p>[H3C]save<\/p>\n<p>Trunk\u53ef\u4ee5\u6536\u53d1\u591a\u4e2avlan\u7684\u62a5\u6587\uff0c\u7528\u4e8e\u4ea4\u6362\u673a\u4e0e\u4ea4\u6362\u673a\u4e4b\u95f4\u7684\u4e92\u8fde<\/p>\n<p>1.3.5\u4ea4\u6362\u673a\u8bbe\u7f6etelnet\u767b\u5f55\u7684\u8ba4\u8bc1\u914d\u7f6e\u547d\u4ee4<\/p>\n<p>&lt;H3C&gt; system-view \u00a0 \u00a0 \u00a0\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>[H3C]local-user telnet \u00a0 \u6dfb\u52a0\u672c\u5730\u7528\u6237(\u6b64\u5904\u4e3atelnet\u7528\u6237\u767b\u9646\u65f6\u4f7f\u7528\u7684\u7528\u6237\u540d)<\/p>\n<p>[H3C-luser-telnet]password simple h3c \u00a0 \u8bbe\u7f6etelnet\u7528\u6237\u767b\u9646\u65f6\u6240\u4f7f\u7528\u7684\u5bc6\u7801<\/p>\n<p>[H3C-luser-telnet]service-type telnet \u00a0\u8bbe\u7f6e\u672c\u5730\u7528\u6237\u7684\u670d\u52a1\u7c7b\u578b(\u6b64\u5904\u4e3atelnet)<\/p>\n<p>[H3C-luser-telnet]level 3 \u00a0 \u8bbe\u7f6e\u672c\u5730\u7528\u6237\u7684\u670d\u52a1\u7ea7\u522b<\/p>\n<p>[H3C-luser-telnet]quit \u00a0 \u00a0\u9000\u51fa\u672c\u5730\u7528\u6237\u89c6\u56fe<\/p>\n<p>[H3C]<\/p>\n<p>[H3C]user-interface vty 0 4 \u00a0 \u00a0\u8fdb\u5165\u7528\u6237\u89c6\u56fe<\/p>\n<p>[H3C-ui-vty0-4]authentication-mode scheme \u00a0 \u00a0\u9009\u62e9\u201cscheme\u201d\u8ba4\u8bc1\u65b9\u5f0f<\/p>\n<p><strong>\u5178\u578b\u6848\u4f8b\uff1a<\/strong><\/p>\n<p>\u6848\u4f8b1\uff1a\u5982\u4e0b\u56fe\uff0cLAB \uff08router\uff09\u901a\u8fc7\u914d\u7f6e\u8def\u7531\u5668\u9002\u5f53\u7684\u4e24\u53f0\u7ec8\u7aef\u7535\u8111\u80fd\u591f\u76f8\u4e92\u901a\u4fe1\uff0c\u8bf7\u5199\u51fa\u76f8\u5173\u914d\u7f6e\u8bed\u53e5\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u6848\u4f8b2\uff1aLAB \uff08switch\uff09<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-976\" title=\"640-43\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-43.png\" alt=\"640-43\" width=\"900\" height=\"251\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-43.png 900w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-43-300x84.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-43-768x214.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p><strong>2 H3C\u4ea4\u6362\u673a\u57fa\u672c\u914d\u7f6e\u547d\u4ee4\uff08\u5165\u95e8\u7ea7:\u914d\u7f6e\u8bed\u53e5\u62f7\u8d1d\u6ce8\u89e3\uff09<\/strong><\/p>\n<hr \/>\n<p><strong>2.1 IP\u5730\u5740\u914d\u7f6e\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>&lt;Quidway&gt;system-view&#8212;-\u8fdb\u5165\u7cfb\u7edf\u914d\u7f6e\u6a21\u5f0f<\/p>\n<p>[Quidway] \u7cfb\u7edf\u914d\u7f6e\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>[Quidway] interface Vlan-interface 1&#8212;\u4ea4\u6362\u673a\u51fa\u5382\u9ed8\u8ba4VLAN-1<\/p>\n<p>[Quidway-Vlan-interface1]ip add 192.168.X.254 255.255.255.0\u2013\u914d\u7f6eIP\u5730\u5740<\/p>\n<p>[Quidway-Vlan-interface1]quit<\/p>\n<p>[Quidway] ip route-static 0.0.0.0 0.0.0.0 192.168.0.33-\u914d\u7f6e\u9759\u6001\u8def\u7531\uff08\u7f51\u5173\uff09<\/p>\n<p><strong>2.2 \u8fdc\u7a0b\u767b\u5f55\u914d\u7f6e\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>&lt;Quidway&gt;system-view&#8212;-\u8fdb\u5165\u7cfb\u7edf\u914d\u7f6e\u6a21\u5f0f<\/p>\n<p>[Quidway] \u7cfb\u7edf\u914d\u7f6e\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>[Quidway] user-interface vty 0 4<\/p>\n<p>[Quidway-ui-vty0-4] user privilege level 3\u2014\u7ba1\u7406\u6743\u9650\u914d\u7f6e<\/p>\n<p>[Quidway-ui-vty0-4] set authentication password cipher 123456 \uff08cipher\u4e3a\u5bc6\u6587\u5bc6\u7801\uff09<\/p>\n<p><strong>2.3 \u914d\u7f6e\u7aef\u53e3\u901f\u7387\u53ca\u7aef\u53e3\u53cc\u5de5\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>&lt;Quidway&gt;system-view&#8212;-\u8fdb\u5165\u7cfb\u7edf\u914d\u7f6e\u6a21\u5f0f<\/p>\n<p>[Quidway] \u00a0\u7cfb\u7edf\u914d\u7f6e\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>[Quidway]interface Ethernet 1\/0\/1&#8212;\u8fdb\u5165\u7684\u7aef\u53e3<\/p>\n<p>[Quidway-Ethernet1\/0\/1] duplex full\u2014\u914d\u7f6e\u7aef\u53e3\u4e3a\u201c\u5168\u53cc\u5de5\u72b6\u6001\u201d<\/p>\n<p>[Quidway-Ethernet1\/0\/1] speed 100&#8212;\u914d\u7f6e\u7aef\u53e3\u4e3a\u201c100M\u201d\u5982\u679c\u662f\u5343\u5146\u7aef\u53e3\u53ef\u4ee5\u914d\u7f6e\u62101000M\u3002<\/p>\n<p><strong>2.4 \u5212\u5206VLAN\u914d\u7f6e\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>&lt;Quidway&gt;system-view&#8212;-\u8fdb\u5165\u7cfb\u7edf\u914d\u7f6e\u6a21\u5f0f<\/p>\n<p>[Quidway] \u7cfb\u7edf\u914d\u7f6e\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>[Quidway]VLAN 100&#8212;\u521b\u5efaVLAN&#8212;ID\u4e3a:100<\/p>\n<p>[Quidway]VLAN 101&#8212;\u521b\u5efaVLAN&#8212;ID\u4e3a:101<\/p>\n<p>[Quidway-vlan100] port Ethernet 1\/0\/1 to Ethernet 1\/0\/10&#8212;-\u4ece\u7b2c1\u53e3\u5230\u7b2c10\u53e3\u6dfb\u52a0\u5230VLAN 100<\/p>\n<p>[Quidway-vlan101] port Ethernet 1\/0\/11 to Ethernet 1\/0\/24&#8212;-\u4ece\u7b2c11\u53e3\u5230\u7b2c24\u53e3\u6dfb\u52a0\u5230VLAN 101<\/p>\n<p><strong>2.5 \u914d\u7f6eTRUNK\u547d\u4ee4\uff1a\u00a0<\/strong><\/p>\n<p>\u6bd4\u5982\u4e00\u680b\u5bbf\u820d\u697c\u9700\u8981\u4e24\u4e2a\u7f51\u6bb5\uff0c\u5212\u5206\u4e86\u4e24\u4e2aVLAN\u4e3a100\u548c101\uff0cVLAN 100\u4f5c\u4e3a\u7ba1\u7406VLAN\u914d\u7f6e\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<p>&lt;Quidway&gt;system-view&#8212;-\u8fdb\u5165\u7cfb\u7edf\u914d\u7f6e\u6a21\u5f0f<\/p>\n<p>[Quidway] \u7cfb\u7edf\u914d\u7f6e\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>[Quidway]VLAN 100&#8212;\u521b\u5efaVLAN&#8212;ID\u4e3a:100<\/p>\n<p>[Quidway]VLAN 101&#8212;\u521b\u5efaVLAN&#8212;ID\u4e3a:101<\/p>\n<p>[Quidway-vlan100] port Ethernet 1\/0\/1 to Ethernet 1\/0\/10&#8212;-\u4ece\u7b2c1\u53e3\u5230\u7b2c10\u53e3\u6dfb\u52a0\u5230VLAN 100<\/p>\n<p>[Quidway-vlan101] port Ethernet 1\/0\/11 to Ethernet 1\/0\/24&#8212;-\u4ece\u7b2c11\u53e3\u5230\u7b2c24\u53e3\u6dfb\u52a0\u5230VLAN 101<\/p>\n<p>[Quidway] interface Vlan-interface 100\u2014\u8fdb\u5165VLAN 100<\/p>\n<p>[Quidway-Vlan-interface100]ip address 192.168.100.254 255.255.255.0&#8212;\u7ed9VLAN 100\u914d\u7f6e\u7ba1\u7406IP<\/p>\n<p>[Quidway-Vlan-interface100]quit<\/p>\n<p>[Quidway]ip route-static 0.0.0.0 0.0.0.0 192.168.100.33\u2014\u914d\u7f6e\u9759\u6001\u8def\u7531\uff08\u7f51\u5173\uff09<\/p>\n<p>\u4e0a\u8054\u7aef\u53e3\u4e3a\u5343\u5146\u7aef\u53e3GigabitEthernet1\/1\/1\u5728\u914d\u7f6e\u6a21\u5f0f\u4e0b\u914d\u7f6e\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<p>[Quidway] interface GigabitEthernet 1\/1\/1&#8212;\u8fdb\u5165\u4e0a\u8054\u7aef\u53e3<\/p>\n<p>[Quidway-GigabitEthernet1\/1\/1] port link-type trunk &#8211;TRUNK\u662f\u7aef\u53e3\u6c47\u805a\u7684\u610f\u601d<\/p>\n<p>[Quidway-GigabitEthernet1\/1\/1] port trunk permit\uff08\u5141\u8bb8\uff09vlan all&#8212;-\u914d\u7f6e\u5141\u8bb8\u901a\u8fc7\u7684VLAN<\/p>\n<p>\u5982\u679c\u4e0a\u8054\u7684\u8def\u7531\u5668\u7aef\u53e3\u662f\u81ea\u9002\u5e94\u90a3\u4e48\u4ea4\u6362\u673a\u4e0a\u8054\u53e3\u4e5f\u662f\u81ea\u9002\u5e94\uff0c\u5982\u679c\u914d\u7f6e\u4e861000M\u5168\u53cc\u5de5\u90a3\u4e48\u4ea4\u6362\u673a\u7684\u4e0a\u8054\u7aef\u53e3\u4e5f\u8981\u914d\u62101000M\u5168\u53cc\u5de5\u3002\u5982\u4e0b\u547d\u4ee4\uff1a[Quidway-GigabitEthernet1\/1\/1] duplex full\u2014\u914d\u7f6e\u7aef\u53e3\u4e3a\u201c\u5168\u53cc\u5de5\u72b6\u6001\u201d[Quidway-GigabitEthernet1\/1\/1] speed 1000&#8212;\u914d\u7f6e\u7aef\u53e3\u4e3a\u201c1000M\u201d<\/p>\n<p><strong>2.6 SNMP\u914d\u7f6e\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>[Quidway]snmp-agent community read 1234&#8212;SNMP\u8bfb\u7684\u5bc6\u7801<\/p>\n<p>[Quidway]snmp-agent community write 4567\u2014SNMP\u5199\u7684\u5bc6\u7801<\/p>\n<p>[Quidway]snmp-agent sys-info version all\u2014SNMP\u8f6f\u4ef6\u7248\u672c\u6709V1\u3001V2c\u3001V3\u8fd9\u91cc\u914d\u7f6e\u7684\u662f\u5141\u8bb8\u6240\u6709\u7248\u672c\u3002<\/p>\n<p><strong>2.7 \u914d\u7f6e\u9632ARP\u653b\u51fb\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>&lt;Quidway&gt;system-view<\/p>\n<p>[Quidway]dhcp-snooping&#8211;\u5f00\u542f\u4ea4\u6362\u673aDHCP Snooping \u529f\u80fd\u3002<\/p>\n<p>\u5f00\u542fVLAN 1 \u5185\u6240\u6709\u7aef\u53e3\u7684ARP \u5165\u4fb5\u68c0\u6d4b\u529f\u80fd\u3002<\/p>\n<p>[Quidway]vlan 1<\/p>\n<p>[Quidway-vlan1]arp detection enable<\/p>\n<p>[Quidway-vlan1]quit<\/p>\n<p>\u8bbe\u7f6e\u4e0a\u8054\u7aef\u53e3Ethernet1\/0\/1 \u4e3aDHCP Snooping \u4fe1\u4efb\u7aef\u53e3\uff0cARP \u4fe1\u4efb\u7aef\u53e3\u3002<\/p>\n<p>[Quidway]interface Ethernet1\/0\/1<\/p>\n<p>[Quidway-Ethernet1\/0\/1]dhcp-snooping trust<\/p>\n<p>[Quidway-Ethernet1\/0\/1]arp detection trust<\/p>\n<p>[Quidway-Ethernet1\/0\/1]quit<\/p>\n<p>\u5f00\u542f\u7aef\u53e3Ethernet1\/0\/2 \u4e0a\u7684ARP \u62a5\u6587\u9650\u901f\u529f\u80fd\uff0c\u8bbe\u7f6eARP \u62a5\u6587\u901a\u8fc7\u7684\u6700\u5927\u901f\u7387\u4e3a20pps\u3002&#8211;\u76ee\u7684\u662f\u9488\u5bf9\u7528\u6237\u63a5\u5165\u53e3\uff0c\u9664\u4e0a\u8054\u7aef\u53e3\u5916\uff0c\u4e0b\u8054\u7528\u6237\u7aef\u53e3\u5efa\u8bae\u90fd\u8bbe\u7f6e\u8be5\u547d\u4ee4\u3002\u5982\u4e0b\uff1a<\/p>\n<p>[Quidway]interface Ethernet1\/0\/2<\/p>\n<p>[Quidway-Ethernet1\/0\/2]arp rate-limit enable<\/p>\n<p>[Quidway-Ethernet1\/0\/2]arp rate-limit 20<\/p>\n<p>[Quidway-Ethernet1\/0\/2]quit<\/p>\n<p>\u914d\u7f6e\u7aef\u53e3\u72b6\u6001\u81ea\u52a8\u6062\u590d\u529f\u80fd\uff0c\u6062\u590d\u65f6\u95f4\u95f4\u9694\u4e3a30 \u79d2\u3002<\/p>\n<p>[Quidway] arp protective-down recover enable<\/p>\n<p>[Quidway] arp protective-down recover interval 30<\/p>\n<p><strong>3\u00a0H3C\u4ea4\u6362\u673a\u57fa\u672c\u914d\u7f6e\uff08\u4e2d\u7ea7\u7248\uff09<\/strong><\/p>\n<hr \/>\n<p><strong>3.1VRP\uff0cCMW\u7b80\u4ecb<\/strong><\/p>\n<p>3.1.1 VRP\uff08Versatile Routing Platform\uff0c\u901a\u7528\u8def\u7531\u5e73\u53f0\uff09\u662f\u534e\u4e3a\u516c\u53f8\u6570\u636e\u901a\u4fe1\u4ea7\u54c1\u7684\u901a\u7528\u7f51\u7edc\u64cd\u4f5c\u7cfb\u7edf\u5e73\u53f0\u3002<\/p>\n<p>3.1.2 CMW\uff08Comware\uff09\u662fH3C\u516c\u53f8\u7684\u6838\u5fc3\u8f6f\u4ef6\u5e73\u53f0\u3002<\/p>\n<p>3.1.3 VRP\u3001CMW\u7684\u4f53\u7cfb\u7ed3\u6784\u4ee5TCP\/IP\u6a21\u578b\u4e3a\u53c2\u8003\uff0c\u5b9e\u73b0\u4e86\u6570\u636e\u94fe\u8def\u5c42\u3001\u7f51\u7edc\u5c42\u548c\u5e94\u7528\u5c42\u7684\u591a\u79cd\u534f\u8bae\uff0c\u5176\u4f53\u7cfb\u7ed3\u6784\u56fe\u5982\u4e0b:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-977\" title=\"640-44\" src=\"http:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-44.png\" alt=\"640-44\" width=\"900\" height=\"631\" srcset=\"https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-44.png 900w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-44-300x210.png 300w, https:\/\/b.yesiyu.top\/wp-content\/uploads\/2022\/01\/640-44-768x538.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>3.1.4 VRP\u89c6\u56fe\u7ed3\u6784<\/p>\n<p>\u7528\u6237\u89c6\u56fe<\/p>\n<p>\u7cfb\u7edf\u89c6\u56fe<\/p>\n<p>\u547d\u4ee4\uff1asystem-view<\/p>\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u4e0b \u00a0\u53ef\u4ee5\u8fdb\u5165\u5404\u79cd\u529f\u80fd\u89c6\u56fe\uff0c\u5728\u5404\u529f\u80fd\u89c6\u56fe\u4e2d\u8fd8\u53ef\u4ee5\u8fdb\u5165\u5b50\u529f\u80fd\u89c6\u56fe<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.2\u57fa\u672c\u547d\u4ee4\u00a0<\/strong><\/p>\n<p>3.2.1\u914d\u7f6e\u7cfb\u7edf\u540d<\/p>\n<p>1)\u7528\u9014\uff1a\u7528\u6237\u540d\u662f\u8bbe\u5907\u7684\u540d\u5b57\uff0c\u76ee\u7684\u662f\u8ba9\u7528\u6237\u66f4\u52a0\u65b9\u4fbf\u7684\u4f7f\u7528\u8bbe\u5907\uff0e<\/p>\n<p>2)\u914d\u7f6e\u547d\u4ee4: sysname<\/p>\n<p>3.2.2\u63a5\u53e3\u63cf\u8ff0<\/p>\n<p>1)\u7528\u9014\uff1a\u63a5\u53e3\u63cf\u8ff0\u662f\u4e3a\u4e86\u6307\u660e\u63a5\u53e3\u7684\u4e00\u4e9b\u5c5e\u6027\uff0c\u5982\u662f\u4ec0\u4e48\u63a5\u53e3\uff0c\u5bf9\u7aef\u63a5\u7684\u4ec0\u4e48\u8bbe\u5907\u7b49\uff0c\u8ba9\u7528\u6237\u66f4\u52a0\u4e86\u89e3\u8be5\u63a5\u53e3\u3002<\/p>\n<p>2)\u914d\u7f6e\u547d\u4ee4: interface ethernet0\/1<\/p>\n<p>description \u00a0connect to student<\/p>\n<p>3.2.3\u63a5\u53e3IP\u5730\u5740\u7684\u914d\u7f6e<\/p>\n<p>1)\u7528\u9014:\u7ed9\u63a5\u53e3\u4e00\u4e2a\u7f51\u7edc\u4e0a\u552f\u4e00\u7684\u533a\u5206\u7b26\uff0e<\/p>\n<p>2)\u914d\u7f6e\u547d\u4ee4:interface vlan 1<\/p>\n<p>ip address 168.10.2.1 255.255.255.0<\/p>\n<p>3.2.4 \u67e5\u770b\u4ea4\u6362\u673a\u4fe1\u606f<\/p>\n<p>1)\u7528\u9014:\u8ba9\u7528\u6237\u5bf9\u8bbe\u5907\u7684\u4fe1\u606f\u66f4\u4e86\u89e3\uff0c\u4e5f\u6709\u5229\u4e8e\u5bf9\u8bbe\u5907\u505a\u914d\u7f6e\uff0e<\/p>\n<p>2\uff09\u914d\u7f6e\u547d\u4ee4:<\/p>\n<p>\u663e\u793a\u7248\u672c \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0display \u00a0version<\/p>\n<p>\u663e\u793a\u5f53\u524d\u914d\u7f6e\u4fe1\u606f \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u3000 \u00a0display \u00a0current<\/p>\n<p>\u663e\u793aNVRAM\u7684\u914d\u7f6e \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0display \u00a0saved-config<\/p>\n<p>\u663e\u793a\u63a5\u53e3\u4fe1\u606f\u3000 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u3000display \u00a0interface XX<\/p>\n<p>\u663e\u793a\u8def\u7531\u4fe1\u606f\u3000 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u3000display \u00a0ip routing-table<\/p>\n<p>3.2.5\u8c03\u8bd5\u4ea4\u6362\u673a<\/p>\n<p>1)\u7528\u9014:\u66f4\u7ec6\u81f4\u7684\u67e5\u770b\u4ea4\u6362\u673a\u7684\u5404\u79cd\u6570\u636e\u5305\uff0c\u5e2e\u52a9\u53d1\u73b0\u7f51\u7edc\u95ee\u9898\uff0e<\/p>\n<p>2)\u5e38\u7528\u8c03\u8bd5\u547d\u4ee4:<\/p>\n<p>terminal debugging<\/p>\n<p>terminal monitor<\/p>\n<p>debugging ip packet<\/p>\n<p>undo debugging all<\/p>\n<p>3.2.6\u7aef\u53e3\u955c\u50cf<\/p>\n<p>1)\u7528\u9014:\u901a\u8fc7\u955c\u50cf\u6765\u6293\u53d6\u7f51\u7edc\u6d41\u91cf\uff0c\u5e2e\u52a9\u5206\u6790\u7f51\u7edc\u95ee\u9898\uff0e<\/p>\n<p>2)\u914d\u7f6e\u547d\u4ee4:<\/p>\n<p>monitor-port Ethernet 0\/1 both \uff08\u76d1\u63a7\u7aef\u53e3\uff09<\/p>\n<p>mirroring-port Ethernet0\/2 both\uff08\u6e90\u7aef\u53e3\uff09<\/p>\n<p>3.2.7\u6d41\u955c\u50cf<\/p>\n<p>1)\u7528\u9014:<\/p>\n<p>\u901a\u8fc7\u955c\u50cf\u6765\u6293\u53d6\u7f51\u7edc\u6d41\u91cf\uff0c\u5e2e\u52a9\u5206\u6790\u7f51\u7edc\u95ee\u9898\uff0e<\/p>\n<p>2)\u914d\u7f6e\u547d\u4ee4:<\/p>\n<p>mirrored-to ip-group 2000 interface \u00a0Ethernet 0\/1<\/p>\n<p>acl number 2000<\/p>\n<p>rule 0 permit<\/p>\n<p>&nbsp;<\/p>\n<p>3.2.8\u5feb\u6377\u547d\u4ee4\u884c\u4ecb\u7ecd<\/p>\n<p>VRP\u3001CMW<\/p>\n<p>Ctrl+F \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u524d\u79fb\u4e00\u4e2a\u5b57\u7b26<\/p>\n<p>Ctrl+B \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u540e\u79fb\u4e00\u4e2a\u5b57\u7b26<\/p>\n<p>Ctrl+P \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2191(\u5411\u4e0a\u7bad\u5934)\u91cd\u7528\u524d\u4e00\u6761\u547d\u4ee4<\/p>\n<p>Ctrl+N \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2193(\u5411\u4e0b\u7bad\u5934)\u91cd\u7528\u4e0b\u4e00\u6761\u547d\u4ee4<\/p>\n<p>3.2.9\u5f15\u5bfc\u914d\u7f6e<\/p>\n<p>1)\u7528\u9014:\u901a\u8fc7\u5f15\u5bfc\u914d\u7f6e\uff0c\u53ef\u4ee5\u6539\u53d8\u4ece\u4ec0\u4e48\u5730\u65b9\u53d6\u5f97\u4ea4\u6362\u673a\u7684\u7cfb\u7edf\u8f6f\u4ef6\uff0e<\/p>\n<p>2)\u914d\u7f6e\u547d\u4ee4<\/p>\n<p>boot boot-loader xxxx.bin<\/p>\n<p>\u67e5\u770b\u547d\u4ee4<\/p>\n<p>display boot-loader<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.3\u4ea4\u6362<\/strong><\/p>\n<p>VLAN\uff08Virtual Local Area Network\uff09\u6280\u672f\u662f\u628a\u4e00\u4e2aLAN\u5212\u5206\u6210\u591a\u4e2a\u903b\u8f91\u7684\u201cLAN\u201d\uff0dVLAN\uff0c\u6bcf\u4e2aVLAN\u662f\u4e00\u4e2a\u5e7f\u64ad\u57df\uff0cVLAN\u5185\u7684\u4e3b\u673a\u95f4\u901a\u4fe1\u5c31\u548c\u5728\u4e00\u4e2aLAN\u5185\u4e00\u6837\uff0c\u800cVLAN\u95f4\u5219\u4e0d\u80fd\u76f4\u63a5\u4e92\u901a\uff0c\u8fd9\u6837\uff0c\u5e7f\u64ad\u62a5\u6587\u88ab\u9650\u5236\u5728\u4e00\u4e2aVLAN\u5185\u3002<\/p>\n<p>vlan 100 \u00a0(1-4094) \u521b\u5efaVLAN<\/p>\n<p>undo vlan 100 \u00a0(1-4094) \u00a0\u5220\u9664VLAN.<\/p>\n<p>port Ethernet 2\/0\/1 \u00a0\u5728VLAN\u4e2d\u589e\u52a0\u7aef\u53e3.<\/p>\n<p>undo port Ethernet 2\/0\/1 \u00a0\u5728VLAN\u4e2d\u5220\u9664\u7aef\u53e3.<\/p>\n<p>port access vlan 100 (1-4094) \u00a0\u5c06\u7aef\u53e3\u52a0\u5165VLAN<\/p>\n<p>undo port access vlan 100 (1-4094) \u00a0\u5c06\u7aef\u53e3\u8131\u79bbVLAN<\/p>\n<p>display vlan VLAN ID (1-4094) \u00a0 \u663e\u793aVLAN\u4fe1\u606f<\/p>\n<p>&nbsp;<\/p>\n<p>Trunk<\/p>\n<p>Trunk\u5141\u8bb8\u5728\u53ea\u6709\u4e00\u6761\u94fe\u8def\u7684\u60c5\u51b5\u4e0b\u4f20\u8f93VLAN\u4fe1\u606f<\/p>\n<p>\u2022\u5b9a\u4e49\u7aef\u53e3\u5c5e\u6027\u4e3aTrunk.<\/p>\n<p>port link-type trunk<\/p>\n<p>\u2022\u5220\u9664\u7aef\u53e3Trunk\u5c5e\u6027.<\/p>\n<p>undo port link-type<\/p>\n<p>\u2022\u5b9a\u4e49\u7aef\u53e3\u53ef\u4ee5\u4f20\u8f93\u7684VLAN.<\/p>\n<p>port trunk permit vlan VLAN ID<\/p>\n<p>\u2022\u5728VLAN\u4e2d\u5220\u9664\u7aef\u53e3.<\/p>\n<p>undo port trunk permit vlan VLAN ID<\/p>\n<p>Link \u00a0Aggregation<\/p>\n<p>\u94fe\u8def\u805a\u5408\u662f\u5c06\u51e0\u6761\u7269\u7406\u94fe\u8def\u805a\u5408\u5728\u4e00\u8d77\uff0c\u5f53\u4f5c\u4e00\u6761 \u00a0\u903b\u8f91\u94fe\u8def\u6765\u4f7f\u7528\u3002<\/p>\n<p>\u5206\u4e3a\u9759\u6001\u805a\u5408\u548c\u52a8\u6001\u805a\u5408<\/p>\n<p>\u2022\u9759\u6001\u805a\u5408\u7aef\u53e3.<\/p>\n<p>link-aggregation Ethernet 0\/1 to Ethernet 0\/4 both<\/p>\n<p>\u2022\u5220\u9664\u7aef\u53e3\u7684\u9759\u6001\u805a\u5408.<\/p>\n<p>undo link-aggregation all<\/p>\n<p>\u2022\u5728\u7aef\u53e3\u4e0b\u8fdb\u884c\u52a8\u6001\u805a\u5408.<\/p>\n<p>lacp enable<\/p>\n<p>\u2022\u5728\u7aef\u53e3\u4e0b\u53d6\u6d88\u52a8\u6001\u805a\u5408.<\/p>\n<p>undo lacp enable<\/p>\n<p>STP\uff08Spanning Tree Protocol\uff09\u662f\u751f\u6210\u6811\u534f\u8bae\u7684\u82f1\u6587\u7f29\u5199\u3002\u8be5\u534f\u8bae\u53ef\u5e94\u7528\u4e8e\u73af\u8def\u7f51\u7edc\uff0c\u901a\u8fc7\u4e00\u5b9a\u7684\u7b97\u6cd5\u963b\u65ad\u67d0\u4e9b\u5197\u4f59\u8def\u5f84\uff0c\u5c06\u73af\u8def\u7f51\u7edc\u4fee\u526a\u6210\u65e0\u73af\u8def\u7684\u6811\u578b\u7f51\u7edc\uff0c\u4ece\u800c\u907f\u514d\u62a5\u6587\u5728\u73af\u8def\u7f51\u7edc\u4e2d\u7684\u589e\u751f\u548c\u65e0\u9650\u5faa\u73af\u3002<\/p>\n<p>\u2022\u5b9a\u4e49STP\u6a21\u5f0f.<\/p>\n<p>stp mode stp<\/p>\n<p>\u2022\u53d6\u6d88STP\u6a21\u5f0f.<\/p>\n<p>undo stp mode<\/p>\n<p>\u2022\u5b9a\u4e49MSTP\u6a21\u5f0f.<\/p>\n<p>stp mode mstp<\/p>\n<p>\u2022\u53d6\u6d88MSTP\u6a21\u5f0f.<\/p>\n<p>undo stp mode<\/p>\n<p><strong>3.4\u8def\u7531<\/strong><\/p>\n<p>3.4.1 RIP<\/p>\n<p>RIP\u662fRouting Information Protocol\uff08\u8def\u7531\u4fe1\u606f\u534f\u8bae\uff09\u7684\u7b80\u79f0\u3002\u5b83\u662f\u4e00\u79cd\u8f83\u4e3a\u7b80\u5355\u7684\u5185\u90e8\u7f51\u5173\u534f\u8bae\uff08IGP\uff09\uff0c\u4e3b\u8981\u7528\u4e8e\u89c4\u6a21\u8f83\u5c0f\u7684\u7f51\u7edc\u4e2d\u3002<\/p>\n<p>\u2022\u542f\u52a8RIP\uff0c\u8fdb\u5165RIP\u89c6\u56fe<\/p>\n<p>rip<\/p>\n<p>\u2022\u505c\u6b62RIP\u534f\u8bae\u7684\u8fd0\u884c<\/p>\n<p>undo rip<\/p>\n<p>\u2022\u5728\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\u4e0a\u5e94\u7528RIP<\/p>\n<p>network network-address<\/p>\n<p>\u2022\u5728\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\u4e0a\u53d6\u6d88\u5e94\u7528RIP<\/p>\n<p>undo network network-address<\/p>\n<p>\u2022\u6307\u5b9a\u63a5\u53e3\u7684RIP\u7248\u672c\u4e3aRIP-1<\/p>\n<p>rip version 1<\/p>\n<p>\u2022\u6307\u5b9a\u63a5\u53e3\u7684RIP\u7248\u672c\u4e3aRIP-2<\/p>\n<p>rip version 2 [ broadcast | multicast ]<\/p>\n<p>\u2022\u5c06\u63a5\u53e3\u8fd0\u884c\u7684RIP\u7248\u672c\u6062\u590d\u4e3a\u7f3a\u7701\u503c<\/p>\n<p>undo rip version { 1 | 2 }<\/p>\n<p>3.4.2OSPF<\/p>\n<p>OSPF\u662fOpen Shortest Path First\uff08\u5f00\u653e\u6700\u77ed\u8def\u7531\u4f18\u5148\u534f\u8bae\uff09\u7684\u7f29\u5199\u3002\u5b83\u662fIETF\u7ec4\u7ec7\u5f00\u53d1\u7684\u4e00\u4e2a\u57fa\u4e8e\u94fe\u8def\u72b6\u6001\u7684\u5185\u90e8\u7f51\u5173\u534f\u8bae\u3002\u76ee\u524d\u4f7f\u7528\u7684\u662f\u7248\u672c2\uff08RFC2328\uff09.<\/p>\n<p>\u2022\u5b9a\u4e49router id<\/p>\n<p>\u2022\u542f\u52a8OSPF\uff0c\u8fdb\u5165OSPF\u89c6\u56fe<\/p>\n<p>ospf<\/p>\n<p>\u5173\u95edOSPF\u8def\u7531\u534f\u8bae\u8fdb\u7a0b<\/p>\n<p>undo ospf [ process-id ]<\/p>\n<p>\u2022\u8fdb\u5165OSPF\u533a\u57df\u89c6\u56fe<\/p>\n<p>area area-id<\/p>\n<p>\u2022\u5220\u9664\u6307\u5b9a\u7684OSPF\u533a\u57df<\/p>\n<p>undo area area-id<\/p>\n<p>\u2022\u6307\u5b9a\u7f51\u6bb5\u8fd0\u884cOSPF\u534f\u8bae<\/p>\n<p>network ip-address wildcard-mask<\/p>\n<p>\u2022\u53d6\u6d88\u7f51\u6bb5\u8fd0\u884cOSPF\u534f\u8bae<\/p>\n<p>undo network ip-address wildcard-mask<\/p>\n<p><strong>3.5\u7f51\u7edc\u7ba1\u7406<\/strong><\/p>\n<p>3.5.1 SNMP\u7684\u4ecb\u7ecd<\/p>\n<p>\u2022\u4ecb\u7ecd<\/p>\n<p>\u7b80\u5355\u7f51\u7edc\u7ba1\u7406\u534f\u8bae\uff08SNMP)\u662f\u88ab\u5e7f\u6cdb\u5e94\u7528\u7684\u4e00\u9879\u5de5\u4e1a\u6807\u51c6\uff0c\u662f\u76ee\u524d\u7528\u5f97\u6700\u5e7f\u6cdb\u7684\u8ba1\u7b97\u673a\u7f51\u7edc\u7ba1\u7406\u534f\u8bae\uff0e<\/p>\n<p>\u2022\u7ed3\u6784<\/p>\n<p>SNMP\u7ed3\u6784\u5206\u4e3aNMS(Network Management Station)\u548cAGENT\u4e24\u90e8\u5206\uff0cNMS\u662f\u8fd0\u884c\u5ba2\u6237\u7aef\u7684\u5de5\u4f5c\u7ad9\uff0cAGENT\u662f\u8fd0\u884c\u5728\u7f51\u7edc\u8bbe\u5907\u4e0a\u7684\u670d\u52a1\u7aef\u8f6f\u4ef6\uff0e<\/p>\n<p>\u2022SNMP\u7248\u672c<\/p>\n<p>SNMP\u73b0\u5728\u6709\u4e09\u4e2a\u7248\u672c\uff0cSNMP v3\/v2c\/v1,SNMP v3\u517c\u5bb9v1\u548cv2c.<\/p>\n<p>\u2022SNMP\u7684\u914d\u7f6e\u5305\u62ec\uff1a<\/p>\n<p>\u542f\u52a8\u548c\u5173\u95edSNMP AGENT\u670d\u52a1<\/p>\n<p>\u8bbe\u7f6e\u56e2\u4f53\u540d<\/p>\n<p>\u914d\u7f6e\u4e00\u4e2aSNMP\u7ec4<\/p>\n<p>\u8bbe\u7f6e\u7ba1\u7406\u5458\u7684\u8054\u7cfb\u65b9\u6cd5<\/p>\n<p>\u5141\u8bb8\uff0f\u7981\u6b62\u53d1\u9001Trap\u62a5\u6587<\/p>\n<p>\u8bbe\u7f6eTrap\u76ee\u6807\u4e3b\u673a\u7684\u5730\u5740<\/p>\n<p>\u6307\u5b9a\u53d1\u9001\u62a5\u6587\u7684\u6e90\u5730\u5740<\/p>\n<p>SNMP\u5b9e\u4f8b\u914d\u7f6e<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u2022System-view \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8fdb\u5165\u89c6\u56fe<\/p>\n<p>\u2022Snmp-agent \u00a0community read public \u00a0 \u00a0\u53ea\u8bfb\u56e2\u4f53\u5c5e\u6027\u540dpublic<\/p>\n<p>\u2022Snmp-agent \u00a0communty write private \u00a0 \u53ea\u5199\u56e2\u4f53\u5c5e\u6027\u540dprivate<\/p>\n<p>\u2022Snmp-agent \u00a0sys-inf contact Mr.wang-tel 3306 \u8bbe\u7f6e\u7ba1\u7406\u5458\u8054\u7cfb\u65b9\u6cd5<\/p>\n<p>\u2022Snmp-agent \u00a0sys-info location telephone 3rd floor \u00a0\u8def\u7531\u5668\u7269\u7406\u4f4d\u7f6e<\/p>\n<p>\u2022Snmp-agent trap enable \u00a0 \u00a0\u4f7f\u80fdtrap\u62a5\u6587<\/p>\n<p>\u2022Snmp-agent target-host trap address udp-domain 129.102.149.23 udp-port 5000 params securityname public \u00a0 \u5141\u8bb8\u5411\u7f51\u7ba1\u5de5\u4f5c\u7ad9129.102.149.23\u53d1\u9001trap\u62a5\u6587\uff0c\u4f7f\u7528\u56e2\u4f53\u540d\u4e3apublic.<\/p>\n<p><strong>3.6\u5b89\u5168\u7ba1\u7406<\/strong><\/p>\n<p>3.6.1\u8ba4\u8bc1\u4e0e\u6388\u6743<\/p>\n<p>\u2022\u8981\u70b9<\/p>\n<p>\u2022\u9700\u8981\u786e\u5b9a\u6743\u5229\u7684\u7b49\u7ea7<\/p>\n<p>\u2022\u9700\u8981\u786e\u5b9a\u6388\u6743\u7684\u7b56\u7565<\/p>\n<p>Generic or per user<\/p>\n<p>RADIUS<\/p>\n<p>Local \u00a0authentication<\/p>\n<p>3.6.2\u8ba4\u8bc1\u914d\u7f6e<\/p>\n<p>\u2022\u672c\u5730\u9a8c\u8bc1<\/p>\n<p>\u2022VRP\u7684\u914d\u7f6e<\/p>\n<p>local-user huawei<\/p>\n<p>password simple 123<\/p>\n<p>service-type telnet \u00a0 \u00a0\u8bbe\u7f6e\u672c\u5730\u8ba4\u8bc1\u7528\u6237\u540d\u548c\u5bc6\u7801<\/p>\n<p>user-interface vty 0 4 \u00a0 \u00a0 \u00a0 \u00a0\u8fdb\u5165vty\u89c6\u56fe<\/p>\n<p>authentication-mode \u00a0scheme \u00a0\u901a\u8fc7telnet\u8bbf\u95ee\u7684\u7528\u6237\u4f7f\u7528\u672c\u5730\u9a8c\u8bc1<\/p>\n<p>3.6.3\u9650\u5236\u6388\u6743<\/p>\n<p>\u533a\u5206\u7528\u6237\u5728\u8bbe\u5907\u4e0a\u7684\u6388\u6743<\/p>\n<p>\u2022\u914d\u7f6e\u7b49\u7ea7<\/p>\n<p>\u2022\u89c6\u56fe\u7b49\u7ea7<\/p>\n<p>\u2022\u652f\u6301\u7b49\u7ea7<\/p>\n<p>\u4f7f\u7528\u7279\u6743\u7b49\u7ea7\uff08level 1&#8212;level 3)<\/p>\n<p>3.6.4\u6388\u6743\u914d\u7f6e<\/p>\n<p>\u2022VRP\u7684\u914d\u7f6e<\/p>\n<p>local-user \u00a0huawei password simple 123 \u00a0 \u5efa\u7acb\u7528\u6237<\/p>\n<p>local-user \u00a0huawei level 3 \u00a0\u8bbe\u5b9a\u6388\u6743\u7b49\u7ea7<\/p>\n<p>\u2022\u5e94\u7528\u547d\u4ee4<\/p>\n<p>command-privilege level 3 view serial display interface<\/p>\n<p>\u2022\u00a0\u00a0 \u00a0VRP\u7684\u547d\u4ee4\u884c\u4fdd\u62a4<\/p>\n<p>super password level {1\/2\/3} {simple\/cipher} 123<\/p>\n<p>3.6.5 Vty\u548cconsole\u7684\u65f6\u95f4\u4fdd\u62a4<\/p>\n<p>\u2022\u7528\u9014<\/p>\n<p>\u4e3a\u4e86\u4f7f\u901a\u8fc7vty\u548cconsole\u767b\u9646\u7684\u8bbe\u5907\u5728\u4f7f\u7528\u8005\u79bb\u5f00\u540e\u4e0d\u88ab\u5176\u4ed6\u6ca1\u6709\u6388\u6743\u7684\u4eba\u4f7f\u7528\uff0e<\/p>\n<p>\u2022VRP\u7684\u914d\u7f6e<\/p>\n<p>Idle-timeout \u00a0 minite \u00a0second<\/p>\n<p>3.6.6\u8bbf\u95ee\u63a7\u5236\u5217\u8868<\/p>\n<p>\u2022\u6982\u8ff0<\/p>\n<p>\u8def\u7531\u5668\u4e3a\u4e86\u8fc7\u6ee4\u6570\u636e\u5305\uff0c\u9700\u8981\u914d\u7f6e\u4e00\u7cfb\u5217\u7684\u89c4\u5219\uff0c\u4ee5\u51b3\u5b9a\u4ec0\u4e48\u6837\u7684\u6570\u636e\u5305\u80fd\u591f\u901a\u8fc7\uff0c\u8fd9\u4e9b\u89c4\u5219\u5c31\u662f\u901a\u8fc7\u8bbf\u95ee\u63a7\u5236\u5217\u8868ACL\uff08Access Control List\uff09\u5b9a\u4e49\u7684\u3002<\/p>\n<p>\u2022\u5206\u7c7b<\/p>\n<p>\u57fa\u672c\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff08basic acl\uff09<\/p>\n<p>\u9ad8\u7ea7\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff08advanced acl\uff09<\/p>\n<p>\u57fa\u4e8e\u63a5\u53e3\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff08interface-based acl\uff09<\/p>\n<p>\u57fa\u4e8eMAC\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff08mac-based acl\uff09<\/p>\n<p>3.6.7\u6807\u51c6\u8bbf\u95ee\u5217\u8868\u7684\u914d\u7f6e<\/p>\n<p>\u2022\u5728\u7cfb\u7edf\u89c6\u56fe\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2a\u57fa\u672c\u8bbf\u95ee\u63a7\u5236\u5217\u8868<\/p>\n<p>acl {number number\/name name basic} [match- order {config\/auto}]<\/p>\n<p>\u2022\u5728\u57fa\u672c\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u8bd5\u56fe\u4e0b\uff0c\u914d\u7f6eACL\u89c4\u5219\uff0e<\/p>\n<p>rule [rule-id] {permit\/deny} [source sour-add sour-wildcast\/any] [time-range time-name] [logging] [fragment] [vpn-instance vpn-instance-name]<\/p>\n<p>acl number 2000<\/p>\n<p>rule 1 permit source 20.1.1.0 0.0.0.255<\/p>\n<p><strong>4 \u00a0H3C\u914d\u7f6e\u5b9e\u9a8c\u6570\u636e\u6ce8\u89e3<\/strong><\/p>\n<hr \/>\n<p>1\u3001system-view \u00a0 \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f<\/p>\n<p>2\u3001sysname \u00a0 \u4e3a\u8bbe\u5907\u547d\u540d<\/p>\n<p>3\u3001display current-configuration \u5f53\u524d\u914d\u7f6e\u60c5\u51b5<\/p>\n<p>4\u3001 language-mode Chinese|English \u4e2d\u82f1\u6587\u5207\u6362<\/p>\n<p>5\u3001interface Ethernet 1\/0\/1 \u8fdb\u5165\u4ee5\u592a\u7f51\u7aef\u53e3\u89c6\u56fe<\/p>\n<p>6\u3001 port link-type Access|Trunk|Hybrid \u00a0 \u00a0 \u00a0\u8bbe\u7f6e\u7aef\u53e3\u8bbf\u95ee\u6a21\u5f0f<\/p>\n<p>7\u3001 undo shutdown \u00a0 \u6253\u5f00\u4ee5\u592a\u7f51\u7aef\u53e3<\/p>\n<p>8\u3001 shutdown \u00a0 \u5173\u95ed\u4ee5\u592a\u7f51\u7aef\u53e3<\/p>\n<p>9\u3001 quit \u00a0 \u00a0 \u9000\u51fa\u5f53\u524d\u89c6\u56fe\u6a21\u5f0f<\/p>\n<p>10\u3001 vlan 10 \u00a0 \u00a0\u521b\u5efaVLAN 10\u5e76\u8fdb\u5165VLAN 10\u7684\u89c6\u56fe\u6a21\u5f0f<\/p>\n<p>11\u3001 port access vlan 10 \u00a0 \u5728\u7aef\u53e3\u6a21\u5f0f\u4e0b\u5c06\u5f53\u524d\u7aef\u53e3\u52a0\u5165\u5230vlan 10\u4e2d<\/p>\n<p>12\u3001port E1\/0\/2 to E1\/0\/5 \u00a0 \u00a0\u5728VLAN\u6a21\u5f0f\u4e0b\u5c06\u6307\u5b9a\u7aef\u53e3\u52a0\u5165\u5230\u5f53\u524dvlan\u4e2d<\/p>\n<p>13\u3001port trunk permit vlan all \u00a0 \u00a0\u5141\u8bb8\u6240\u6709\u7684vlan\u901a\u8fc7<\/p>\n<p>H3C\u8def\u7531\u5668######################################################################################<\/p>\n<p>1\u3001system-view \u00a0 \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f<\/p>\n<p>2\u3001sysname R1 \u00a0 \u4e3a\u8bbe\u5907\u547d\u540d\u4e3aR1<\/p>\n<p>3\u3001display ip routing-table \u663e\u793a\u5f53\u524d\u8def\u7531\u8868<\/p>\n<p>4\u3001 language-mode Chinese|English \u4e2d\u82f1\u6587\u5207\u6362<\/p>\n<p>5\u3001interface Ethernet 0\/0 \u8fdb\u5165\u4ee5\u592a\u7f51\u7aef\u53e3\u89c6\u56fe<\/p>\n<p>6\u3001 ip address 192.168.1.1 255.255.255.0 \u00a0 \u914d\u7f6eIP\u5730\u5740\u548c\u5b50\u7f51\u63a9\u7801<\/p>\n<p>7\u3001 undo shutdown \u00a0 \u6253\u5f00\u4ee5\u592a\u7f51\u7aef\u53e3<\/p>\n<p>8\u3001 shutdown \u00a0 \u5173\u95ed\u4ee5\u592a\u7f51\u7aef\u53e3<\/p>\n<p>9\u3001 quit \u00a0 \u00a0 \u9000\u51fa\u5f53\u524d\u89c6\u56fe\u6a21\u5f0f<\/p>\n<p>10\u3001 ip route-static 192.168.2.0 255.255.255.0 192.168.12.2 description To.R2 \u914d\u7f6e\u9759\u6001\u8def\u7531<\/p>\n<p>11\u3001 ip route-static 0.0.0.0 0.0.0.0 192.168.12.2 description To.R2 \u914d\u7f6e\u9ed8\u8ba4\u7684\u8def\u7531<\/p>\n<p>H3C S3100 Switch<\/p>\n<p>H3C S3600 Switch<\/p>\n<p>H3C MSR 20-20 Router<\/p>\n<p>##########################################################################################<\/p>\n<p>1\u3001\u8c03\u6574\u8d85\u7ea7\u7ec8\u7aef\u7684\u663e\u793a\u5b57\u53f7\uff1b<\/p>\n<p>2\u3001\u6355\u83b7\u8d85\u7ea7\u7ec8\u7aef\u64cd\u4f5c\u547d\u4ee4\u884c\uff0c\u4ee5\u5907\u65e5\u540e\u67e5\u5bf9\uff1b<\/p>\n<p>3\u3001 language-mode Chinese|English \u4e2d\u82f1\u6587\u5207\u6362 \uff1b<\/p>\n<p>4\u3001\u590d\u5236\u547d\u4ee4\u5230\u8d85\u7ea7\u7ec8\u7aef\u547d\u4ee4\u884c\uff0c\u7c98\u8d34\u5230\u4e3b\u673a\uff1b<\/p>\n<p>5\u3001\u4ea4\u6362\u673a\u6e05\u9664\u914d\u7f6e :&lt;H3C&gt;reset save \uff1b&lt;H3C&gt;reboot \uff1b<\/p>\n<p>6\u3001\u8def\u7531\u5668\u3001\u4ea4\u6362\u673a\u914d\u7f6e\u65f6\u4e0d\u80fd\u6389\u7535\uff0c\u8fde\u901a\u6d4b\u8bd5\u524d\u4e00\u5b9a\u8981<\/p>\n<p>\u68c0\u67e5\u7f51\u7edc\u7684\u8fde\u901a\u6027\uff0c\u4e0d\u8981\u72af\u6700\u4f4e\u7ea7\u7684\u9519\u8bef\u3002<\/p>\n<p>7\u3001192.168.1.1\/24 \u00a0 \u00a0\u7b49\u540c \u00a0 192.168.1.1 255.255.255.0\uff1b\u5728\u914d\u7f6e\u4ea4\u6362\u673a\u548c\u8def\u7531\u5668\u65f6\uff0c 192.168.1.1 255.255.255.0 \u53ef\u4ee5\u5199\u6210\uff1a<\/p>\n<p>192.168.1.1 24<\/p>\n<p>8\u3001\u8bbe\u5907\u547d\u540d\u89c4\u5219\uff1a\u5730\u540d-\u8bbe\u5907\u540d-\u7cfb\u5217\u53f7 \u4f8b\uff1aPingGu-R-S3600<\/p>\n<p><strong>H3C\u4ea4\u6362\u673a\u7684\u4e00\u4e9b\u7b80\u5355\u914d\u7f6e<\/strong><\/p>\n<p>\u8fd9\u91cc\u4f7f\u7528\u7684H3C\u4ea4\u6362\u673a\u662fH126A\uff0c\u4ec5\u4ec5\u53ea\u505a\u4e86\u6700\u57fa\u672c\u7684\u914d\u7f6e\u4ee5\u6ee1\u8db3\u4f7f\u7528\u3002<\/p>\n<p>\u914d\u7f6e\u4e2d\u53ef\u4ee5\u901a\u8fc7display current-configura\u547d\u4ee4\u6765\u663e\u793a\u5f53\u524d\u4f7f\u7528\u7684\u914d\u7f6e\u5185\u5bb9\u3002<\/p>\n<p># \u914d\u7f6eVLAN 1<\/p>\n<p>&lt;Sysname&gt;system-view<\/p>\n<p>System View: return to User View with Ctrl+Z.<\/p>\n<p>[Sysname]vlan 1<\/p>\n<p>[Sysname-vlan1] quit<\/p>\n<p>[Sysname]management-vlan 1<\/p>\n<p>[Sysname]interface Vlan-interface 1<\/p>\n<p>[Sysname-Vlan-interface1] ip address 10.0.1.201 255.255.255.0<\/p>\n<p># \u663e\u793aVLAN \u63a5\u53e31 \u7684\u76f8\u5173\u4fe1\u606f\u3002<\/p>\n<p>&lt;Sysname&gt; display ip interface Vlan-interface 1<\/p>\n<p># \u521b\u5efaVLAN\uff08H3C\u4e0d\u652f\u6301cisco\u7684VTP\uff0c\u6240\u4ee5\u53ea\u80fd\u6dfb\u52a0\u9759\u6001VLAN\uff09<\/p>\n<p>&lt;H3C_TEST&gt;system-view<\/p>\n<p>System View: return to User View with Ctrl+Z.<\/p>\n<p>[H3C_TEST]vlan 99<\/p>\n<p>[H3C_TEST-vlan99]name seicoffice<\/p>\n<p>[H3C_TEST-vlan99]quit<\/p>\n<p># \u628a\u4ea4\u6362\u673a\u7684\u7aef\u7aef\u53e3\u5212\u5206\u5230\u76f8\u5e94\u7684Vlan\u4e2d<\/p>\n<p>[H3C_TEST]interface ethernet1\/0\/2\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u8fdb\u5165\u7aef\u53e3\u6a21\u5f0f<\/p>\n<p>[H3C_TEST-Ethernet1\/0\/2]port link-type access \/\/\u8bbe\u7f6e\u7aef\u53e3\u7684\u7c7b\u578b\u4e3aaccess<\/p>\n<p>[H3C_TEST-Ethernet1\/0\/2]port access vlan 99\u3000\u3000\/\/\u628a\u5f53\u524d\u7aef\u53e3\u5212\u5230vlan 99<\/p>\n<p>[H3C_TEST]vlan 99<\/p>\n<p>[H3C_TEST-vlan99]port ethernet1\/0\/1 to ethernet1\/0\/24\u3000\u3000\/\/\u628a\u4ee5\u53ca\u7f51\u7aef\u53e31\/0\/1\u52301\/0\/24\u5212\u5230vlan99<\/p>\n<p>[H3C_TEST-vlan99]quit<\/p>\n<p>[H3C_TEST-GigabitEthernet1\/2\/1]port trunk permit vlan 1 99 \u00a0 \u00a0\/\/ {ID|All} \u8bbe\u7f6etrunk\u7aef\u53e3\u5141\u8bb8\u901a\u8fc7\u7684VLAN<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p># \u914d\u7f6e\u672c\u5730\u7528\u6237<\/p>\n<p>&lt;Sysname&gt;system-view<\/p>\n<p>System View: return to User View with Ctrl+Z.<\/p>\n<p>[Sysname]local-user h3c<\/p>\n<p>New local user added.<\/p>\n<p>[Sysname-luser-h3c]service-type telnet level 3<\/p>\n<p>[Sysname-luser-h3c]password simple h3c<\/p>\n<p># \u914d\u7f6e\u6b22\u8fce\u4fe1\u606f<\/p>\n<p>[H3C_TEST]header login %Welcome to login h3c!%<\/p>\n<p># \u914d\u7f6e\u7528\u6237\u8ba4\u8bc1\u65b9\u5f0ftelnet(vty 0-4)<\/p>\n<p>[H3C_TEST]user-interface vty 0 4<\/p>\n<p>[H3C_TEST-ui-vty0-4]authentication-mode scheme<\/p>\n<p>[H3C_TEST-ui-vty0-4]protocol inbound telnet<\/p>\n<p>[H3C_TEST-ui-vty0-4]super authentication-mode super-password<\/p>\n<p>[H3C_TEST-ui-vty0-4]quit<\/p>\n<p>[H3C_TEST]super password level 3 simple h3c \u00a0 \u00a0\/\/\u7528\u6237\u767b\u9646\u540e\u63d0\u5347\u6743\u9650\u7684\u5bc6\u7801<\/p>\n<p># \u914d\u7f6eRadius\u7b56\u7565<\/p>\n<p>[H3C_TEST]radius scheme radius1<\/p>\n<p>New Radius scheme<\/p>\n<p>[H3C_TEST-radius-radius1]primary authentication 10.0.1.253 1645<\/p>\n<p>[H3C_TEST-radius-radius1]primary accounting 10.0.1.253 1646<\/p>\n<p>[H3C_TEST-radius-radius1]secondary authentication 127.0.0.1 1645<\/p>\n<p>[H3C_TEST-radius-radius1]secondary accounting 127.0.0.1 1646<\/p>\n<p>[H3C_TEST-radius-radius1]timer 5<\/p>\n<p>[H3C_TEST-radius-radius1]key authentication h3c<\/p>\n<p>[H3C_TEST-radius-radius1]key accounting h3c<\/p>\n<p>[H3C_TEST-radius-radius1]server-type extended<\/p>\n<p>[H3C_TEST-radius-radius1]user-name-format without-domain<\/p>\n<p># \u914d\u7f6e\u57df<\/p>\n<p>[H3C_TEST]domain h3c<\/p>\n<p>[H3C_TEST-isp-h3c]authentication radius-scheme radius1 local<\/p>\n<p>[H3C_TEST-isp-h3c]scheme radius-scheme radius1 local<\/p>\n<p>[H3C_TEST]domain default enable h3c<\/p>\n<p># \u914d\u7f6e\u5728\u8fdc\u7a0b\u8ba4\u8bc1\u5931\u8d25\u65f6\uff0c\u672c\u5730\u8ba4\u8bc1\u7684key<\/p>\n<p>[H3C_TEST]local-server nas-ip 127.0.0.1 key h3c<\/p>\n<p>H3C\u4ea4\u6362\u673a\u8def\u7531\u5668telnet\u548cconsole\u53e3\u767b\u5f55\u914d\u7f6e<\/p>\n<p>2009\u5e7411\u670809\u65e5 \u661f\u671f\u4e00 10:00<\/p>\n<p>\u7ea7\u522b\u8bf4\u660e<\/p>\n<p>Level \u540d\u79f0<\/p>\n<p>\u547d\u4ee4<\/p>\n<p>0<\/p>\n<p>\u53c2\u89c2<\/p>\n<p>ping\u3001tracert\u3001telnet<\/p>\n<p>1<\/p>\n<p>\u76d1\u63a7<\/p>\n<p>display\u3001debugging<\/p>\n<p>2<\/p>\n<p>\u914d\u7f6e<\/p>\n<p>\u6240\u6709\u914d\u7f6e\u547d\u4ee4\uff08\u7ba1\u7406\u7ea7\u7684\u547d\u4ee4\u9664\u5916\uff09<\/p>\n<p>3<\/p>\n<p>\u7ba1\u7406<\/p>\n<p>\u6587\u4ef6\u7cfb\u7edf\u547d\u4ee4\u3001FTP\u547d\u4ee4\u3001TFTP\u547d\u4ee4\u3001XMODEM\u547d\u4ee4<\/p>\n<p>telnet\u4ec5\u7528\u5bc6\u7801\u767b\u5f55\uff0c\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]user-interface vty 0 4[Router-ui-vty0-4]user privilege level 3[Router-ui-vty0-4]set authentication password simple abc<\/p>\n<p>telnet\u4ec5\u7528\u5bc6\u7801\u767b\u5f55\uff0c\u975e\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]super password level 3 simple super<\/p>\n<p>[Router]user-interface vty 0 4[Router-ui-vty0-4]user privilege level 1[Router-ui-vty0-4]set authentication password simple abc<\/p>\n<p>telnet\u4f7f\u7528\u8def\u7531\u5668\u4e0a\u914d\u7f6e\u7684\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\uff0c\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]local-user admin password simple admin[Router]local-user admin service-type telnet[Router]local-user admin level 3<\/p>\n<p>[Router]user-interface vty 0 4[Router-ui-vty0-4]authentication-mode local<\/p>\n<p>telnet\u4f7f\u7528\u8def\u7531\u5668\u4e0a\u914d\u7f6e\u7684\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\uff0c\u975e\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]super password level 3 simple super<\/p>\n<p>[Router]local-user manage password simple manage[Router]local-user manage service-type telnet[Router]local-user manage level 2<\/p>\n<p>[Router]user-interface vty 0 4[Router-ui-vty0-4]authentication-mode local<\/p>\n<p>\u5bf9console\u53e3\u8bbe\u7f6e\u5bc6\u7801\uff0c\u767b\u5f55\u540e\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]user-interface con 0[Router-ui-console0]user privilege level 3[Router-ui-console0]set authentication password simple abc<\/p>\n<p>\u5bf9console\u53e3\u8bbe\u7f6e\u5bc6\u7801\uff0c\u767b\u5f55\u540e\u4f7f\u7528\u975e\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]super password level 3 simple super<\/p>\n<p>[Router]user-interface con 0[Router-ui-console0]user privilege level 1[Router-ui-console0]set authentication password simple abc<\/p>\n<p>\u5bf9console\u53e3\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u767b\u5f55\u540e\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]local-user admin password simple admin[Router]local-user admin service-type terminal[Router]local-user admin level 3<\/p>\n<p>[Router]user-interface con 0[Router-ui-console0]authentication-mode local<\/p>\n<p>\u5bf9console\u53e3\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u767b\u5f55\u540e\u4f7f\u7528\u975e\u7ba1\u7406\u5458\u6743\u9650<\/p>\n<p>[Router]super password level 3 simple super<\/p>\n<p>[Router]local-user manage password simple manage[Router]local-user manage service-type terminal[Router]local-user manage level 2<\/p>\n<p>[Router]user-interface con 0[Router-ui-console0]authentication-mode local<\/p>\n<p>simple \u662f\u660e\u6587\u663e\u793a\uff0ccipher \u662f\u52a0\u5bc6\u663e\u793a<\/p>\n<p>\u8def\u7531\u5668\u4e0d\u8bbe\u7f6etelnet\u767b\u5f55\u914d\u7f6e\u65f6\uff0c\u7528\u6237\u65e0\u6cd5\u901a\u8fc7telnet\u767b\u5f55\u5230\u8def\u7531\u5668\u4e0a<\/p>\n<p>[Router-ui-vty0-4]acl 2000 inbound\u53ef\u4ee5\u901a\u8fc7acl\u7684\u89c4\u5219\u53ea\u5141\u8bb8\u7b26\u5408\u6761\u4ef6\u7684\u7528\u6237\u8fdc\u7a0b\u767b\u5f55\u8def\u7531\u5668<\/p>\n<p>\u8def\u7531\u5668\u547d\u4ee4<\/p>\n<p>~~~~~~~~~~<\/p>\n<p>[Quidway]display version \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u663e\u793a\u7248\u672c\u4fe1\u606f<\/p>\n<p>[Quidway]display current-configuration \u00a0 \u00a0 \u00a0 \u663e\u793a\u5f53\u524d\u914d\u7f6e<\/p>\n<p>[Quidway]display interfaces \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u663e\u793a\u63a5\u53e3\u4fe1\u606f<\/p>\n<p>[Quidway]display ip route \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u663e\u793a\u8def\u7531\u4fe1\u606f<\/p>\n<p>[Quidway]sysname aabbcc \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u66f4\u6539\u4e3b\u673a\u540d<\/p>\n<p>[Quidway]super passwrod 123456 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8bbe\u7f6e\u53e3\u4ee4<\/p>\n<p>[Quidway]interface serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8fdb\u5165\u63a5\u53e3<\/p>\n<p>[Quidway-serial0]ip address &lt;ip&gt;&lt;mask&gt;<\/p>\n<p>[Quidway-serial0]undo shutdown \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u6fc0\u6d3b\u7aef\u53e3<\/p>\n<p>[Quidway]link-protocol hdlc \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u7ed1\u5b9ahdlc\u534f\u8bae<\/p>\n<p>[Quidway]user-interface vty 0 4<\/p>\n<p>[Quidway-ui-vty0-4]authentication-mode password<\/p>\n<p>[Quidway-ui-vty0-4]set authentication-mode password simple 222<\/p>\n<p>[Quidway-ui-vty0-4]user privilege level 3<\/p>\n<p>[Quidway-ui-vty0-4]quit<\/p>\n<p>[Quidway]debugging hdlc all serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u663e\u793a\u6240\u6709\u4fe1\u606f<\/p>\n<p>[Quidway]debugging hdlc event serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8c03\u8bd5\u4e8b\u4ef6\u4fe1\u606f<\/p>\n<p>[Quidway]debugging hdlc packet serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u663e\u793a\u5305\u7684\u4fe1\u606f<\/p>\n<p>\u9759\u6001\u8def\u7531\uff1a<\/p>\n<p>[Quidway]ip route-static &lt;ip&gt;&lt;mask&gt;{interface number|nexthop}[value][reject|blackhole]<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>[Quidway]ip route-static 129.1.0.0 16 10.0.0.2<\/p>\n<p>[Quidway]ip route-static 129.1.0.0 255.255.0.0 10.0.0.2<\/p>\n<p>[Quidway]ip route-static 129.1.0.0 16 Serial 2<\/p>\n<p>[Quidway]ip route-static 0.0.0.0 0.0.0.0 \u00a0 10.0.0.2<\/p>\n<p>\u52a8\u6001\u8def\u7531\uff1a<\/p>\n<p>[Quidway]rip<\/p>\n<p>[Quidway]rip work<\/p>\n<p>[Quidway]rip input<\/p>\n<p>[Quidway]rip output<\/p>\n<p>[Quidway-rip]network 1.0.0.0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u53ef\u4ee5all<\/p>\n<p>[Quidway-rip]network 2.0.0.0<\/p>\n<p>[Quidway-rip]peer ip-address<\/p>\n<p>[Quidway-rip]summary<\/p>\n<p>[Quidway]rip version 1<\/p>\n<p>[Quidway]rip version 2 multicast<\/p>\n<p>[Quidway-Ethernet0]rip split-horizon \u00a0 \u00a0 \u00a0 \u00a0 \u6c34\u5e73\u5206\u9694<\/p>\n<p>[Quidway]router id A.B.C.D \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u914d\u7f6e\u8def\u7531\u5668\u7684ID<\/p>\n<p>[Quidway]ospf enable \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u542f\u52a8OSPF\u534f\u8bae<\/p>\n<p>[Quidway-ospf]import-route direct \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u5f15\u5165\u76f4\u8054\u8def\u7531<\/p>\n<p>[Quidway-Serial0]ospf enable area &lt;area_id&gt; \u00a0 \u914d\u7f6eOSPF\u533a\u57df<\/p>\n<p>\u6807\u51c6\u8bbf\u95ee\u5217\u8868\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>acl &lt;acl-number&gt; [match-order config|auto] \u00a0 \u9ed8\u8ba4\u524d\u8005\u987a\u5e8f\u5339\u914d\u3002<\/p>\n<p>rule [normal|special]{permit|deny} [source source-addr source-wildcard|any]<\/p>\n<p>\u4f8b\uff1a<\/p>\n<p>[Quidway]acl 10<\/p>\n<p>[Quidway-acl-10]rule normal permit source 10.0.0.0 0.0.0.255<\/p>\n<p>[Quidway-acl-10]rule normal deny source any<\/p>\n<p>\u6269\u5c55\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u914d\u7f6e\u547d\u4ee4<\/p>\n<p>\u914d\u7f6eTCP\/UDP\u534f\u8bae\u7684\u6269\u5c55\u8bbf\u95ee\u5217\u8868\uff1a<\/p>\n<p>rule {normal|special}{permit|deny}{tcp|udp}source {&lt;ip wild&gt;|any}destination &lt;ip wild&gt;|any}<\/p>\n<p>[operate]<\/p>\n<p>\u914d\u7f6eICMP\u534f\u8bae\u7684\u6269\u5c55\u8bbf\u95ee\u5217\u8868\uff1a<\/p>\n<p>rule {normal|special}{permit|deny}icmp source {&lt;ip wild&gt;|any]destination {&lt;ip wild&gt;|any]<\/p>\n<p>[icmp-code] [logging]<\/p>\n<p>\u6269\u5c55\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u64cd\u4f5c\u7b26\u7684\u542b\u4e49<\/p>\n<p>equal portnumber \u00a0 \u00a0 \u00a0 \u7b49\u4e8e<\/p>\n<p>greater-than portnumber \u00a0 \u00a0\u5927\u4e8e<\/p>\n<p>less-than portnumber \u00a0 \u00a0 \u00a0 \u5c0f\u4e8e<\/p>\n<p>not-equal portnumber \u00a0 \u00a0 \u00a0 \u4e0d\u7b49<\/p>\n<p>range portnumber1 portnumber2 \u533a\u95f4<\/p>\n<p>\u6269\u5c55\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u4e3e\u4f8b<\/p>\n<p>[Quidway]acl 101<\/p>\n<p>[Quidway-acl-101]rule deny souce any destination any<\/p>\n<p>[Quidway-acl-101]rule permit icmp source any destination any icmp-type echo<\/p>\n<p>[Quidway-acl-101]rule permit icmp source any destination any icmp-type echo-reply<\/p>\n<p>[Quidway]acl 102<\/p>\n<p>[Quidway-acl-102]rule permit ip source 10.0.0.1 0.0.0.0 destination 202.0.0.1 0.0.0.0<\/p>\n<p>[Quidway-acl-102]rule deny ip source any destination any<\/p>\n<p>[Quidway]acl 103<\/p>\n<p>[Quidway-acl-103]rule permit tcp source any destination 10.0.0.1 0.0.0.0 destination-port equal ftp<\/p>\n<p>[Quidway-acl-103]rule permit tcp source any destination 10.0.0.2 0.0.0.0 destination-port equal www<\/p>\n<p>[Quidway]firewall enable<\/p>\n<p>[Quidway]firewall default permit|deny<\/p>\n<p>[Quidway]int e0<\/p>\n<p>[Quidway-Ethernet0]firewall packet-filter 101 inbound|outbound<\/p>\n<p>\u5730\u5740\u8f6c\u6362\u914d\u7f6e\u4e3e\u4f8b<\/p>\n<p>[Quidway]firewall enable<\/p>\n<p>[Quidway]firewall default permit<\/p>\n<p>[Quidway]acl 101<\/p>\n<p>[Quidway-acl-101]rule deny ip source any destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.4 0 destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.1 0 destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.2 0 destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.3 0 destination any<\/p>\n<p>[Quidway]acl 102<\/p>\n<p>[Quidway-acl-102]rule permit tcp source 202.39.2.3 0 destination 202.38.160.1 0<\/p>\n<p>[Quidway-acl-102]rule permit tcp source any destination 202.38.160.1 0 destination-port great-than<\/p>\n<p>1024<\/p>\n<p>[Quidway-Ethernet0]firewall packet-filter 101 inbound<\/p>\n<p>[Quidway-Serial0]firewall packet-filter 102 inbound<\/p>\n<p>[Quidway]nat address-group 202.38.160.101 202.38.160.103 pool1<\/p>\n<p>[Quidway]acl 1<\/p>\n<p>[Quidway-acl-1]rule permit source 10.110.10.0 0.0.0.255<\/p>\n<p>[Quidway-acl-1]rule deny source any<\/p>\n<p>[Quidway-acl-1]int serial 0<\/p>\n<p>[Quidway-Serial0]nat outbound 1 address-group pool1<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.101 inside 10.110.10.1 ftp tcp<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.102 inside 10.110.10.2 www tcp<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.102 8080 inside 10.110.10.3 www tcp<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.103 inside 10.110.10.4 smtp udp<\/p>\n<p>PPP\u9a8c\u8bc1\uff1a<\/p>\n<p>\u4e3b\u9a8c\u65b9\uff1apap|chap<\/p>\n<p>[Quidway]local-user u2 password {simple|cipher} aaa<\/p>\n<p>[Quidway]interface serial 0<\/p>\n<p>[Quidway-serial0]ppp authentication-mode {pap|chap}<\/p>\n<p>[Quidway-serial0]ppp chap user u1 \u00a0 \u00a0 \u00a0 \u00a0\/\/pap\u65f6\uff0c\u4e0d\u7528\u6b64\u53e5<\/p>\n<p>pap\u88ab\u9a8c\u65b9\uff1a<\/p>\n<p>[Quidway]interface serial 0<\/p>\n<p>[Quidway-serial0]ppp pap local-user u2 password {simple|cipher} aaa<\/p>\n<p>chap\u88ab\u9a8c\u65b9\uff1a<\/p>\n<p>[Quidway]interface serial 0<\/p>\n<p>[Quidway-serial0]ppp chap user u1<\/p>\n<p>[Quidway-serial0]local-user u2 password {simple|cipher} aaa<\/p>\n<p>&nbsp;<\/p>\n<p>H3C\u8def\u7531\u5668\u914d\u7f6e\u65b9\u6848\u6ce8\u89e3<\/p>\n<p>2010-06-19 22:44<\/p>\n<p>#<\/p>\n<p>version 5.20, Release 1719 \/\/\u7248\u672c\u4fe1\u606f\uff0c\u81ea\u52a8\u663e\u793a<\/p>\n<p>#<\/p>\n<p>sysname H3C \/\/\u7ed9\u8bbe\u5907\u547d\u540d\u4e3aH3C<\/p>\n<p>#<\/p>\n<p>super password level 3 cipher 7WC1&lt;3E`[Y).\/a!1$H@GYA!! \/\/\u8bbe\u7f6esuper\u5bc6\u7801<\/p>\n<p>#<\/p>\n<p>domain default enable system<\/p>\n<p>#<\/p>\n<p>telnet server enable<\/p>\n<p>#<\/p>\n<p>vlan 1<\/p>\n<p>#<\/p>\n<p>domain system<\/p>\n<p>access-limit disable<\/p>\n<p>state active<\/p>\n<p>idle-cut disable<\/p>\n<p>self-service-url disable<\/p>\n<p>#<\/p>\n<p>user-group system \/\/\u4ece\u6b64\u4ee5\u4e0a\u672a\u6807\u6ce8\u7684\u4e3a\u9ed8\u8ba4\u914d\u7f6e\uff0c\u4e0d\u7528\u53bb\u7406\u89e3<\/p>\n<p>#<\/p>\n<p>local-user admin \/\/\u6dfb\u52a0\u7528\u6237\u540d\u4e3aadmin\u7684\u7528\u6237<\/p>\n<p>password cipher .]@USE=B,53Q=^Q`MAF4&lt;1!! \/\/\u8bbe\u7f6e\u5bc6\u7801\uff08\u5bc6\u6587\uff09<\/p>\n<p>authorization-attribute level 3 \/\/\u8bbe\u7f6e\u7528\u6237\u6743\u9650\u4e3a3\u7ea7\uff08\u6700\u9ad8\uff09<\/p>\n<p>service-type telnet \/\/\u8bbe\u7f6e\u7528\u6237\u7684\u6a21\u5f0f\u4e3atelnet\u7528\u6237<\/p>\n<p>local-user share \/\/\u4ece\u6b64\u5f80\u4e0b\u56db\u884c\u540c\u4e0a<\/p>\n<p>password cipher [HM$GH8P1GSQ=^Q`MAF4&lt;1!!<\/p>\n<p>authorization-attribute level 1<\/p>\n<p>service-type telnet<\/p>\n<p>#<\/p>\n<p>controller E1 0\/0 \/\/\u8fdb\u5165E1\u7269\u7406\u7aef\u53e3\uff08\u4e24\u5146\u53e3\uff09<\/p>\n<p>using e1 \/\/\u8bbe\u7f6e\u7aef\u53e3\u6a21\u5f0f\u4e3aE1\uff08\u8bbe\u7f6e\u540e\u4e0b\u9762\u4f1a\u51fa\u73b0interface Serial0\/0:0\uff09<\/p>\n<p>#<\/p>\n<p>interface Aux0 \/\/\u4ece\u6b64\u4ee5\u4e0b\u4e09\u884c\u4e3a\u4e3b\u63a7\u677faux\u53e3\u9ed8\u8ba4\u914d\u7f6e<\/p>\n<p>async mode flow<\/p>\n<p>link-protocol ppp<\/p>\n<p>#<\/p>\n<p>interface Ethernet0\/0 \/\/\u8fdb\u5165E0\/0\u63a5\u53e3\uff08\u4ee5\u592a\u7f51\u53e3\uff09<\/p>\n<p>port link-mode route \/\/\u914d\u7f6e\u8be5\u63a5\u53e3\u4e3a\u8def\u7531\u6a21\u5f0f<\/p>\n<p>#<\/p>\n<p>interface Serial0\/0:0 \/\/\u8fdb\u5165Serial0\/0:0\u7aef\u53e3\uff08\u524d\u9762\u7528using e1\u547d\u4ee4\u540e\u4ea7\u751f\uff0c\u5bf9\u5e94E1\u7aef\u53e3\uff09<\/p>\n<p>link-protocol ppp \/\/\u914d\u7f6e\u94fe\u8def\u534f\u8bae\u4e3appp\uff08\u9ed8\u8ba4\uff09<\/p>\n<p>ip address 74.1.63.170 255.255.255.252 \/\/\u914d\u7f6e\u8be5\u63a5\u53e3IP\u5730\u5740<\/p>\n<p>#<\/p>\n<p>interface NULL0<\/p>\n<p>#<\/p>\n<p>interface Vlan-interface1 \/\/lan\u53e3vlan\u5730\u5740\uff08lan\u53e3\u5730\u5740\uff09<\/p>\n<p>ip address 192.168.1.1 255.255.255.0<\/p>\n<p>#<\/p>\n<p>interface Ethernet0\/1<\/p>\n<p>port link-mode bridge<\/p>\n<p>#<\/p>\n<p>interface Ethernet0\/2<\/p>\n<p>port link-mode bridge<\/p>\n<p>#<\/p>\n<p>interface Ethernet0\/3<\/p>\n<p>port link-mode bridge<\/p>\n<p>#<\/p>\n<p>interface Ethernet0\/4<\/p>\n<p>port link-mode bridge<\/p>\n<p>#<\/p>\n<p>ip route-static 74.1.8.0 255.255.255.0 74.1.63.169 \/\/\u914d\u7f6e\u9759\u6001\u8def\u7531<\/p>\n<p>#<\/p>\n<p>user-interface aux 0<\/p>\n<p>user-interface vty 0 4 \/\/\u8fdb\u5165vty\u63a5\u53e3\uff08\u8fdc\u7a0b\u767b\u9646\u63a5\u53e3\uff090-4\u901a\u9053<\/p>\n<p>authentication-mode scheme \/\/\u914d\u7f6e\u767b\u9646\u9a8c\u8bc1\u7c7b\u578b\u4e3ascheme\uff08\u7528\u6237\u9a8c\u8bc1\u578b\uff09<\/p>\n<p>user privilege level 1 \/\/\u8bbe\u7f6e\u5f53\u9a8c\u8bc1\u6a21\u5f0f\u4e0d\u662fscheme\u7c7b\u578b\u65f6\u7684\u767b\u5f55\u7ea7\u522b\uff08\u5e9f\u914d\u7f6e\uff09<\/p>\n<p>#<\/p>\n<p>return<\/p>\n<p><strong>H3C\u8def\u7531\u5668\u57fa\u672c\u914d\u7f6e\u547d\u4ee4<\/strong><\/p>\n<p>2009-05-13 22:56<\/p>\n<p>[Quidway]display version \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u663e\u793a\u7248\u672c\u4fe1\u606f<\/p>\n<p>[Quidway]display current-configuration \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u663e\u793a\u5f53\u524d\u914d\u7f6e<\/p>\n<p>[Quidway]display interfaces \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u663e\u793a\u63a5\u53e3\u4fe1\u606f<\/p>\n<p>[Quidway]display ip route \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u663e\u793a\u8def\u7531\u4fe1\u606f<\/p>\n<p>[Quidway]sysname aabbcc \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u66f4\u6539\u4e3b\u673a\u540d<\/p>\n<p>[Quidway]super passwrod 123456 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8bbe\u7f6e\u53e3\u4ee4<\/p>\n<p>[Quidway]interface serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8fdb\u5165\u63a5\u53e3<\/p>\n<p>[Quidway-serial0]ip address &lt;ip&gt;&lt;mask&gt;<\/p>\n<p>[Quidway-serial0]undo shutdown \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u6fc0\u6d3b\u7aef\u53e3<\/p>\n<p>[Quidway]link-protocol hdlc \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u7ed1\u5b9ahdlc\u534f\u8bae<\/p>\n<p>[Quidway]user-interface vty 0 4<\/p>\n<p>[Quidway-ui-vty0-4]authentication-mode password<\/p>\n<p>[Quidway-ui-vty0-4]set authentication-mode password simple 222<\/p>\n<p>[Quidway-ui-vty0-4]user privilege level 3<\/p>\n<p>[Quidway-ui-vty0-4]quit<\/p>\n<p>[Quidway]debugging hdlc all serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u663e\u793a\u6240\u6709\u4fe1\u606f<\/p>\n<p>[Quidway]debugging hdlc event serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u8c03\u8bd5\u4e8b\u4ef6\u4fe1\u606f<\/p>\n<p>[Quidway]debugging hdlc packet serial0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u663e\u793a\u5305\u7684\u4fe1\u606f<\/p>\n<p>\u9759\u6001\u8def\u7531\uff1a<\/p>\n<p>[Quidway]ip route-static &lt;ip&gt;&lt;mask&gt;{interface number|nexthop}[value][reject|blackhole]<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>[Quidway]ip route-static 129.1.0.0 16 10.0.0.2<\/p>\n<p>[Quidway]ip route-static 129.1.0.0 255.255.0.0 10.0.0.2<\/p>\n<p>[Quidway]ip route-static 129.1.0.0 16 Serial 2<\/p>\n<p>[Quidway]ip route-static 0.0.0.0 0.0.0.0 \u00a0 10.0.0.2<\/p>\n<p>\u52a8\u6001\u8def\u7531\uff1a<\/p>\n<p>[Quidway]rip<\/p>\n<p>[Quidway]rip work<\/p>\n<p>[Quidway]rip input<\/p>\n<p>[Quidway]rip output<\/p>\n<p>[Quidway-rip]network 1.0.0.0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 ;\u53ef\u4ee5all<\/p>\n<p>[Quidway-rip]network 2.0.0.0<\/p>\n<p>[Quidway-rip]peer ip-address<\/p>\n<p>[Quidway-rip]summary<\/p>\n<p>[Quidway]rip version 1<\/p>\n<p>[Quidway]rip version 2 multicast<\/p>\n<p>[Quidway-Ethernet0]rip split-horizon \u00a0 \u00a0 \u00a0 \u00a0 \u00a0;\u6c34\u5e73\u5206\u9694<\/p>\n<p>[Quidway]router id A.B.C.D \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u914d\u7f6e\u8def\u7531\u5668\u7684ID<\/p>\n<p>[Quidway]ospf enable \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u542f\u52a8OSPF\u534f\u8bae<\/p>\n<p>[Quidway-ospf]import-route direct \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u5f15\u5165\u76f4\u8054\u8def\u7531<\/p>\n<p>[Quidway-Serial0]ospf enable area &lt;area_id&gt; \u00a0 \u00a0\u914d\u7f6eOSPF\u533a\u57df<\/p>\n<p>\u6807\u51c6\u8bbf\u95ee\u5217\u8868\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>acl &lt;acl-number&gt; [match-order config|auto] \u00a0 \u00a0\u9ed8\u8ba4\u524d\u8005\u987a\u5e8f\u5339\u914d\u3002<\/p>\n<p>rule [normal|special]{permit|deny} [source source-addr source-wildcard|any]<\/p>\n<p>\u4f8b\uff1a<\/p>\n<p>[Quidway]acl 10<\/p>\n<p>[Quidway-acl-10]rule normal permit source 10.0.0.0 0.0.0.255<\/p>\n<p>[Quidway-acl-10]rule normal deny source any<\/p>\n<p>\u6269\u5c55\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u914d\u7f6e\u547d\u4ee4<\/p>\n<p>\u914d\u7f6eTCP\/UDP\u534f\u8bae\u7684\u6269\u5c55\u8bbf\u95ee\u5217\u8868\uff1a<\/p>\n<p>rule {normal|special}{permit|deny}{tcp|udp}source {&lt;ip wild&gt;|any}destination &lt;ip wild&gt;|any}<\/p>\n<p>[operate]<\/p>\n<p>\u914d\u7f6eICMP\u534f\u8bae\u7684\u6269\u5c55\u8bbf\u95ee\u5217\u8868\uff1a<\/p>\n<p>rule {normal|special}{permit|deny}icmp source {&lt;ip wild&gt;|any]destination {&lt;ip wild&gt;|any]<\/p>\n<p>[icmp-code] [logging]<\/p>\n<p>\u6269\u5c55\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u64cd\u4f5c\u7b26\u7684\u542b\u4e49<\/p>\n<p>equal portnumber \u00a0 \u00a0 \u00a0 \u7b49\u4e8e<\/p>\n<p>greater-than portnumber \u00a0 \u00a0\u5927\u4e8e<\/p>\n<p>less-than portnumber \u00a0 \u00a0 \u00a0 \u5c0f\u4e8e<\/p>\n<p>not-equal portnumber \u00a0 \u00a0 \u00a0 \u4e0d\u7b49<\/p>\n<p>range portnumber1 portnumber2 \u533a\u95f4<\/p>\n<p>\u6269\u5c55\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u4e3e\u4f8b<\/p>\n<p>[Quidway]acl 101<\/p>\n<p>[Quidway-acl-101]rule deny souce any destination any<\/p>\n<p>[Quidway-acl-101]rule permit icmp source any destination any icmp-type echo<\/p>\n<p>[Quidway-acl-101]rule permit icmp source any destination any icmp-type echo-reply<\/p>\n<p>[Quidway]acl 102<\/p>\n<p>[Quidway-acl-102]rule permit ip source 10.0.0.1 0.0.0.0 destination 202.0.0.1 0.0.0.0<\/p>\n<p>[Quidway-acl-102]rule deny ip source any destination any<\/p>\n<p>[Quidway]acl 103<\/p>\n<p>[Quidway-acl-103]rule permit tcp source any destination 10.0.0.1 0.0.0.0 destination-port equal ftp<\/p>\n<p>[Quidway-acl-103]rule permit tcp source any destination 10.0.0.2 0.0.0.0 destination-port equal www<\/p>\n<p>[Quidway]firewall enable<\/p>\n<p>[Quidway]firewall default permit|deny<\/p>\n<p>[Quidway]int e0<\/p>\n<p>[Quidway-Ethernet0]firewall packet-filter 101 inbound|outbound<\/p>\n<p>\u5730\u5740\u8f6c\u6362\u914d\u7f6e\u4e3e\u4f8b<\/p>\n<p>[Quidway]firewall enable<\/p>\n<p>[Quidway]firewall default permit<\/p>\n<p>[Quidway]acl 101<\/p>\n<p>[Quidway-acl-101]rule deny ip source any destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.4 0 destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.1 0 destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.2 0 destination any<\/p>\n<p>[Quidway-acl-101]rule permit ip source 129.38.1.3 0 destination any<\/p>\n<p>[Quidway]acl 102<\/p>\n<p>[Quidway-acl-102]rule permit tcp source 202.39.2.3 0 destination 202.38.160.1 0<\/p>\n<p>[Quidway-acl-102]rule permit tcp source any destination 202.38.160.1 0 destination-port great-than<\/p>\n<p>1024<\/p>\n<p>[Quidway-Ethernet0]firewall packet-filter 101 inbound<\/p>\n<p>[Quidway-Serial0]firewall packet-filter 102 inbound<\/p>\n<p>[Quidway]nat address-group 202.38.160.101 202.38.160.103 pool1<\/p>\n<p>[Quidway]acl 1<\/p>\n<p>[Quidway-acl-1]rule permit source 10.110.10.0 0.0.0.255<\/p>\n<p>[Quidway-acl-1]rule deny source any<\/p>\n<p>[Quidway-acl-1]int serial 0<\/p>\n<p>[Quidway-Serial0]nat outbound 1 address-group pool1<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.101 inside 10.110.10.1 ftp tcp<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.102 inside 10.110.10.2 www tcp<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.102 8080 inside 10.110.10.3 www tcp<\/p>\n<p>[Quidway-Serial0]nat server global 202.38.160.103 inside 10.110.10.4 smtp udp<\/p>\n<p>PPP\u9a8c\u8bc1\uff1a<\/p>\n<p>\u4e3b\u9a8c\u65b9\uff1apap|chap<\/p>\n<p>[Quidway]local-user u2 password {simple|cipher} aaa<\/p>\n<p>[Quidway]interface serial 0<\/p>\n<p>[Quidway-serial0]ppp authentication-mode {pap|chap}<\/p>\n<p>[Quidway-serial0]ppp chap user u1 \u00a0 \u00a0 \u00a0 \u00a0\/\/pap\u65f6\uff0c\u4e0d\u7528\u6b64\u53e5<\/p>\n<p>pap\u88ab\u9a8c\u65b9\uff1a<\/p>\n<p>[Quidway]interface serial 0<\/p>\n<p>[Quidway-serial0]ppp pap local-user u2 password {simple|cipher} aaa<\/p>\n<p>chap\u88ab\u9a8c\u65b9\uff1a<\/p>\n<p>[Quidway]interface serial 0<\/p>\n<p>[Quidway-serial0]ppp chap user u1<\/p>\n<p>[Quidway-serial0]local-user u2 password {simple|cipher} aaa<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 H3C MSR\u8def\u7531\u5668\u3001\u4ea4\u6362\u673a\u57fa\u672c\u8c03\u8bd5\u6b65\u9aa4\uff08\u521d\u5b66\u7ea7\u522b\uff09\uff1a 1.1\u5982\u4f55\u767b\u9646\u8fdb\u8def\u7531\u5668\u6216\u4ea4\u6362\u673a 1.1.1\u642d\u5efa\u914d\u7f6e &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/b.yesiyu.top\/?p=964\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cH3C\u914d\u7f6e\u7ecf\u5178\u5168\u9762\u6559\u7a0b\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-964","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=964"}],"version-history":[{"count":1,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/964\/revisions"}],"predecessor-version":[{"id":978,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/964\/revisions\/978"}],"wp:attachment":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}