{"id":880,"date":"2021-12-24T11:48:07","date_gmt":"2021-12-24T03:48:07","guid":{"rendered":"https:\/\/b.yesiyu.top\/?p=880"},"modified":"2021-12-24T11:48:07","modified_gmt":"2021-12-24T03:48:07","slug":"h3c%e4%ba%a4%e6%8d%a2%e6%9c%ba%e6%81%a2%e5%a4%8d%e5%87%ba%e5%8e%82%e5%92%8c%e5%90%84%e7%a7%8d%e5%9f%ba%e6%9c%ac%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/b.yesiyu.top\/?p=880","title":{"rendered":"H3C\u4ea4\u6362\u673a\u6062\u590d\u51fa\u5382\u548c\u5404\u79cd\u57fa\u672c\u914d\u7f6e"},"content":{"rendered":"<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><strong>\u4e00\u3001\u4e0d\u77e5\u9053\u5bc6\u7801\uff0c\u5982\u4f55\u6062\u590d\u51fa\u5382\u8bbe\u7f6e<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p>1\u3001 \u5f00\u673a\u542f\u52a8\uff0cCtrl+B\u8fdb\u5165bootrom\u83dc\u5355\uff0c\u9009\u62e9\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\u3002<\/p>\n<p>2\u3001\u7528com\u7ebf\u8fde\u4e0a\u7535\u8111\uff0c\u7528\u8d85\u7ea7\u7ec8\u7aef\u8fdb\u5165\uff0c\u7136\u540e\u91cd\u542f\u7535\u8111\uff0c\u770b\u63d0\u793a\u6309ctrl+b\u8fdb\u5165bootrom\u6a21\u5f0f\uff0c\u7136\u540e\u6309\u7167\u83dc\u5355\u63d0\u793a\u5220\u9664flash\u4e2d\u7684.cfg\u6587\u4ef6\uff0c\u7136\u540e\u91cd\u542f\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><strong>\u4e8c\u3001\u5c06Trunk\u7aef\u53e3\u6dfb\u52a0\u5230vlan\u4e2d<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p>Trunk\u7aef\u53e3\u53ef\u4ee5\u5141\u8bb8\u591a\u4e2aVLAN\u901a\u8fc7\uff0c\u4e5f\u5c31\u662f\u53ef\u4ee5\u52a0\u5165\u591a\u4e2aVLAN\uff0c\u6240\u4ee5Trunk\u7aef\u53e3\u7684VLAN\u52a0\u5165\u4e0d\u53ef\u80fd\u662f\u4e00\u4e2a\u4e00\u4e2a\u5730\u52a0\uff0c\u800c\u662f\u91c7\u53d6\u6279\u91cf\u6dfb\u52a0\u7684\u65b9\u5f0f\u8fdb\u884c\u3002\u4f46\u53ea\u80fd\u5728\u4ee5\u592a\u7f51\u7aef\u53e3\u89c6\u56fe\u4e0b\u8fdb\u884c\u914d\u7f6e\uff0c\u914d\u7f6e\u6b65\u9aa4\u5982\u88687-11\u6240\u793a\u3002<\/p>\n<p>\u3010\u793a\u4f8b1\u3011\u4f7f\u7528port trunk permit vlan\u547d\u4ee4\u5c06\u4e2d\u7ee7\u7aef\u53e3Ethernet2\/0\/1\u52a0\u5165\u52302\u30016\u300110\u300150\uff5e100 VLAN\u4e2d\u3002<\/p>\n<p><strong>1.\u00a0&lt;H3C&gt;\u00a0system-view \u00a0<\/strong><\/p>\n<p>2.\u00a0System\u00a0View:\u00a0return\u00a0to\u00a0User\u00a0View\u00a0with\u00a0Ctrl+Z.<\/p>\n<p>3.\u00a0[H3C]\u00a0interface\u00a0Ethernet2\/0\/1<\/p>\n<p>4.\u00a0[H3C-Ethernet2\/0\/1]\u00a0port\u00a0trunk\u00a0permit\u00a0vlan\u00a02\u00a06\u00a010\u00a050\u00a0to\u00a0100<\/p>\n<p>5.\u00a0Please\u00a0wait&#8230;<\/p>\n<p>6.\u00a0Done.<\/p>\n<p><strong>\u88687-11\u00a0\u628aTrunk\u7aef\u53e3\u6dfb\u52a0\u5230VLAN\u4e2d\u7684\u6b65\u9aa4<\/strong><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"47\">\u6b65\u9aa4<\/td>\n<td width=\"265\">\u547d\u4ee4<\/td>\n<td width=\"224\">\u7528\u9014\u8bf4\u660e<\/td>\n<\/tr>\n<tr>\n<td width=\"47\">1<\/td>\n<td width=\"289\"><strong>system-view<\/strong><\/p>\n<p>\u4f8b\u5982\uff1a&lt;sysname&gt;<strong>\u00a0system-view<\/strong><\/td>\n<td width=\"224\">\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\" width=\"47\">2<\/td>\n<td width=\"289\"><strong>interface<\/strong><em>\u00a0interface-type interface-number<\/em><\/p>\n<p>\u4f8b\u5982\uff1a[sysname]<strong>\u00a0interface\u00a0<\/strong>GigabitEthernet 1\/0\/1<\/td>\n<td rowspan=\"3\" width=\"224\">\u8fdb\u5165\u4ee5\u592a\u7f51\u7aef\u53e3\u89c6\u56fe\u6216\u7aef\u53e3\u7ec4\u89c6\u56fe\u6216\u4e8c\u5c42\u805a\u5408\u7aef\u53e3\uff08\u4e09\u8005\u5fc5\u9009\u5176\u4e00\uff09\u3002\u8fdb\u5165\u4ee5\u592a\u7f51\u7aef\u53e3\u89c6\u56fe\u540e\uff0c\u4e0b\u9762\u8fdb\u884c\u7684\u914d\u7f6e\u53ea\u5728\u5f53\u524d\u7aef\u53e3\u4e0b\u751f\u6548\uff1b\u8fdb\u5165\u7aef\u53e3\u7ec4\u89c6\u56fe\u540e\uff0c\u4e0b\u9762\u8fdb\u884c\u7684\u914d\u7f6e\u5c06\u5728\u7aef\u53e3\u7ec4\u4e2d\u7684\u6240\u6709\u7aef\u53e3\u4e0b\u751f\u6548\uff1b\u5728\u4e8c\u5c42\u805a\u5408\u7aef\u53e3\u89c6\u56fe\u4e0b\u6267\u884c\u8be5\u547d\u4ee4\uff0c\u5219\u8be5\u914d\u7f6e\u5c06\u5bf9\u4e8c\u5c42\u805a\u5408\u7aef\u53e3\u4ee5\u53ca\u76f8\u5e94\u7684\u6240\u6709\u6210\u5458\u7aef\u53e3\u751f\u6548\u3002\u5728\u914d\u7f6e\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u67d0\u4e2a\u6210\u5458\u7aef\u53e3\u914d\u7f6e\u5931\u8d25\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u8df3\u8fc7\u8be5\u6210\u5458\u7aef\u53e3\u7ee7\u7eed\u914d\u7f6e\u5176\u4ed6\u6210\u5458\u7aef\u53e3\uff1b\u5982\u679c\u4e8c\u5c42\u805a\u5408\u7aef\u53e3\u914d\u7f6e\u5931\u8d25\uff0c\u5219\u4e0d\u4f1a\u518d\u914d\u7f6e\u6210\u5458\u7aef\u53e3<\/p>\n<p><strong>port-group<\/strong>\u00a0{\u00a0<strong>manual\u00a0<\/strong><em>port-group-name<\/em><strong>\u00a0\u00a0<\/strong>|<strong>\u00a0aggregation\u00a0<\/strong><em>agg-id<\/em><strong>\u00a0<\/strong>}\u548c<strong>interface bridge-aggregation\u00a0<\/strong><em>interface-number<\/em>\u547d\u4ee4\u4ec5\u9002\u7528\u4e8e\u5c11\u6570\u652f\u6301\u7aef\u53e3\u7ec4\u548c\u4e8c\u5c42\u805a\u5408\u7aef\u53e3\u7684H3C\u4ea4\u6362\u673a\u7cfb\u5217\uff0c\u5982S5500\u3001S5100\u3001S7500E\u7b49<\/td>\n<\/tr>\n<tr>\n<td width=\"223\"><strong>port-group<\/strong>\u00a0\u00a0{\u00a0<strong>manual\u00a0<\/strong><em>port-group-name<\/em><strong>\u00a0<\/strong>|<strong>\u00a0aggregation<br \/>\n<\/strong><em>agg-id<\/em><strong>\u00a0<\/strong>}<\/p>\n<p>\u4f8b\u5982\uff1a[Sysname]<strong>\u00a0port-group manual group<\/strong>1<\/td>\n<\/tr>\n<tr>\n<td width=\"223\"><strong>interface \u00a0bridge-aggregation\u00a0<\/strong><em>interface-number<\/em><\/p>\n<p>\u4f8b\u5982\uff1a[Sysname]<strong>\u00a0\u00a0interface bridge-aggregation<\/strong>\u00a01<\/td>\n<\/tr>\n<tr>\n<td width=\"47\">3<\/td>\n<td width=\"289\"><strong>port link-type<\/strong>\u00a0<strong>trunk<\/strong><\/p>\n<p>\u4f8b\u5982\uff1a[sysname-<strong>\u00a0<\/strong>GigabitEthernet1\/0\/1]<strong>\u00a0port link-<br \/>\ntype trunk<\/strong><\/td>\n<td width=\"224\">\u914d\u7f6e\u7aef\u53e3\u7684\u94fe\u8def\u7c7b\u578b\u4e3aTrunk\u7c7b\u578b\u3002\u4ea4\u6362\u673a\u4e8c\u5c42\u7aef\u53e3\u94fe\u8def\u9ed8\u8ba4\u4e3aAccess\u7c7b\u578b\uff0c\u5fc5\u987b\u8981\u4f7f\u7528\u672c\u6b65\u547d\u4ee4\u8fdb\u884c\u8f6c\u6362\uff0c\u4f46\u4e0d\u80fd\u76f4\u63a5\u5728Hybrid\u7aef\u53e3\u4e0a\u4f7f\u7528\u8be5\u547d\u4ee4\u8f6c\u6362\u6210Trunk\u94fe\u8def\uff0c\u800c\u662f\u8981\u5148\u4f7f\u7528<strong>port link-type<\/strong>\u00a0<strong>access<\/strong>\u547d\u4ee4\u628a\u8be5\u94fe\u8def\u8f6c\u6362\u6210Access\u94fe\u8def\uff0c\u7136\u540e\u518d\u4f7f\u7528\u672c\u6b65\u547d\u4ee4\u8f6c\u6362\u6210Trunk\u94fe\u8def<\/td>\n<\/tr>\n<tr>\n<td width=\"47\">4<\/td>\n<td width=\"289\"><strong>port trunk permit vlan<\/strong>\u00a0{\u00a0<em>vlan-id-list<\/em>\u00a0|\u00a0<strong>all<\/strong>\u00a0}<\/p>\n<p>\u4f8b\u5982\uff1a[sysname-GigabitEthernet1\/0\/1]<strong>\u00a0port \u00a0trunk<br \/>\npermit vlan\u00a0<\/strong>2\u00a0<strong>to<\/strong>\u00a010<\/td>\n<td width=\"224\">\u5c06\u4ee5\u4e0aTrunk\u7aef\u53e3\u52a0\u5165\u5230\u4e00\u4e2a\u6216\u591a\u4e2aVLAN\uff0c\u4ee5\u5b9e\u73b0\u5141\u8bb8\u6765\u81ea\u6307\u5b9aVLAN\u7684\u6570\u636e\u5305\u901a\u8fc7\uff08\u4e5f\u5c31\u662fCisco IOS\u4e2d\u6240\u8bf4\u7684VLAN\u4fee\u526a\uff09<\/p>\n<p>\u4e8c\u9009\u4e00\u53c2\u6570<em>vlan-id-list<\/em>\u00a0= [\u00a0<em>vlan-id1<\/em>\u00a0[\u00a0<strong>to<\/strong>\u00a0<em>vlan-id2<\/em>\u00a0] \u00a0]&amp;&lt;1-10&gt;\u7528\u4e8e\u6307\u5b9aTrunk\u7aef\u53e3\u5141\u8bb8\u52a0\u5165\u7684VLAN\u7684\u8303\u56f4\uff0c<em>vlan-id<\/em>\u53d6\u503c\u8303\u56f4\u4e3a1\uff5e4094\u3002&amp;&lt;1-10&gt;\u8868\u793a\u524d\u9762\u7684\u53c2\u6570\u6700\u591a\u53ef\u4ee5\u91cd\u590d\u8f93\u516510\u6b21\uff0c\u5982\u679c\u662f\u5206\u79bbVLAN\uff0c\u5219\u5404VLAN\u95f4\u7528\u7a7a\u683c\u5206\u9694<\/p>\n<p>\u4e8c\u9009\u4e00\u9009\u9879<strong>all<\/strong>\u7528\u6765\u6307\u5b9a\u5c06\u4ee5\u4e0a\u4e2d\u7ee7\u53e3\u52a0\u5165\u5230\u6240\u6709VLAN\u4e2d<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6240\u6709Trunk\u7aef\u53e3\u53ea\u5141\u8bb8VLAN 1\u901a\u8fc7\uff0c\u53ef\u4ee5\u7528<strong>undo port trunk \u00a0permit vlan<\/strong>\u00a0{\u00a0<em>vlan-id-list<\/em>\u00a0|\u00a0<strong>all<\/strong>\u00a0}\u547d\u4ee4\u5c06Trunk\u7aef\u53e3\u4ece\u6307\u5b9a\u7684VLAN\u4e2d\u5220\u9664\u3002\u5982\u679c\u591a\u6b21\u4f7f\u7528<strong>port trunk permit vlan<\/strong>\u547d\u4ee4\uff0c\u90a3\u4e48Trunk\u7aef\u53e3\u4e0a\u5141\u8bb8\u901a\u8fc7\u7684VLAN\u662f\u8fd9\u4e9b<em>vlan-id-list<\/em>\u7684\u96c6\u5408<\/td>\n<\/tr>\n<tr>\n<td width=\"47\">5<\/td>\n<td width=\"289\"><strong>port trunk pvid vlan<\/strong>\u00a0<em>vlan-id<\/em><\/p>\n<p>\u4f8b\u5982\uff1a[sysname-GigabitEthernet1\/0\/1]<strong>port trunk<br \/>\npvid vlan<\/strong>\u00a010<\/td>\n<td width=\"205\">\uff08\u53ef\u9009\uff09\u8bbe\u7f6e\u4ee5\u4e0aTrunk\u7aef\u53e3\u7684\u9ed8\u8ba4VLAN\uff0c\u53c2\u6570<em>vlan-id<\/em>\u7684\u53d6\u503c\u8303\u56f4\u4e3a1\uff5e4094\u3002\u672cTrunk\u7aef\u53e3\u7684\u9ed8\u8ba4VLAN ID\u548c\u76f8\u8fde\u7684\u5bf9\u7aef\u4ea4\u6362\u673a\u7684Trunk\u7aef\u53e3\u7684\u9ed8\u8ba4VLAN ID\u5fc5\u987b\u4e00\u81f4\uff0c\u5426\u5219\u62a5\u6587\u5c06\u4e0d\u80fd\u6b63\u786e\u4f20\u8f93\u3002\u800c\u4e14\u5fc5\u987b\u8bbe\u7f6e\u4e3a\u975e\u4e3b\u673a\u6240\u5728VLAN\u7684VLAN ID\uff08\u901a\u5e38\u662f\u8bbe\u7f6e\u4e3aVLAN 1\uff0c\u56e0\u4e3aVLAN 1\u662f\u4efb\u4f55\u7aef\u53e3\u90fd\u9ed8\u8ba4\u5c5e\u4e8e\u7684\u7aef\u53e3\uff0c\u800c\u4e14\u4e00\u822c\u4e0d\u6dfb\u52a0\u4e3b\u673a\uff0c\u4ec5\u7528\u4e8e\u7ba1\u7406\u7528\u9014\uff09\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cTrunk\u7aef\u53e3\u7684\u9ed8\u8ba4VLAN\u4e3aVLAN 1\uff0c\u53ef\u4ee5\u7528<strong>undo port trunk pvid<\/strong>\u547d\u4ee4\u6062\u590d\u7aef\u53e3\u7684\u9ed8\u8ba4VLAN ID\uff0c\u4e5f\u5c31\u662f1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3010\u793a\u4f8b2\u3011\u4f7f\u7528undo port trunk permit vlan\u547d\u4ee4\u5c06\u4e2d\u7ee7\u7aef\u53e3Ethernet2\/0\/1\u4eceVLAN 1\u4e2d\u5220\u9664\u3002<\/p>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><strong>\u4e09\u3001H3C\u4ea4\u6362\u673a\u57fa\u7840\u914d\u7f6e\u8bf4\u660e<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p>1\u3001\u4ee5\u592a\u7f51\u7aef\u53e3\u7684\u94fe\u8def\u7c7b\u578b<\/p>\n<p>Access link\uff1a\u53ea\u80fd\u5141\u8bb8\u67d0\u4e00\u4e2avlan\u7684untagged\u6570\u636e\u6d41\u901a\u8fc7\u3002<\/p>\n<p>Trunk link\uff1a\u5141\u8bb8\u591a\u4e2avlan\u7684tagged\u6570\u636e\u6d41\u548c\u67d0\u4e00\u4e2avlan\u7684untagged\u6570\u636e\u6d41\u901a\u8fc7\u3002<\/p>\n<p>Hybrid link\uff1a\u5141\u8bb8\u591a\u4e2avlan\u7684tagged\u6570\u636e\u6d41\u548c\u591a\u4e2avlan\u7684untagged\u6570\u636e\u6d41\u901a\u8fc7\u3002<\/p>\n<p>hybrid link\u7aef\u53e3\u53ef\u4ee5\u5141\u8bb8\u591a\u4e2avlan\u7684\u62a5\u6587\u53d1\u9001\u65f6\u4e0d\u643a\u5e26\u6807\u7b7e\uff0c\u800cTrunk\u7aef\u53e3\u53ea\u5141\u8bb8\u7f3a\u7701vlan\u7684\u62a5\u6587\u53d1\u9001\u65f6\u4e0d\u643a\u5e26\u6807\u7b7e\u3002<\/p>\n<p>\u4e09\u79cd\u7c7b\u578b\u7684\u7aef\u53e3\u53ef\u4ee5\u5171\u5b58\u5728\u4e00\u53f0\u8bbe\u5907\u4e0a\u3002<\/p>\n<p>2\u3001VLAN\u914d\u7f6e\u547d\u4ee4<\/p>\n<p><strong>\u521b\u5efavlan<\/strong>\u00a0 \u00a0 \u00a0 vlan 100 \uff081-4094\uff09<\/p>\n<p><strong>\u5220\u9664vlan\u00a0\u00a0<\/strong>\u00a0\u00a0\u00a0\u00a0undo vlan 100(1-4094)<\/p>\n<p><strong>\u5728vlan\u4e2d\u6dfb\u52a0\u7aef\u53e3<\/strong>\u00a0\u00a0 portethernet 2\/0\/1<\/p>\n<p><strong>\u5728vlan\u4e2d\u5220\u9664\u7aef\u53e3\u00a0<\/strong>\u00a0 undo\u00a0port ethernet 2\/0\/1<\/p>\n<p><strong>\u5c06\u7aef\u53e3\u52a0\u5165\u5230vlan<\/strong>\u00a0\u00a0\u00a0\u00a0port access vlan 100 \uff081-4094\uff09<\/p>\n<p><strong>\u5c06\u7aef\u53e3\u8131\u79bbvlan<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0undoport access vlan 100 \uff081-4094\uff09<\/p>\n<p><strong>\u663e\u793avlan\u4fe1\u606f<\/strong>\u00a0display vlan VLANID \uff081-4094\uff09<\/p>\n<p><strong>\u5b9a\u4e49\u7aef\u53e3\u4e3aTrunk<\/strong>\u00a0\u00a0 port link-type trunk<\/p>\n<p><strong>\u5220\u9664\u7aef\u53e3\u7684Trunk\u5c5e\u6027<\/strong>\u00a0 undo portlink-type<\/p>\n<p><strong>\u5b9a\u4e49\u7aef\u53e3\u53ef\u4ee5\u4f20\u8f93\u7684vlan<\/strong>\u00a0\u00a0 port trunk permit vlan VLANID<\/p>\n<p><strong>trunk\u94fe\u8def\u5141\u8bb8\u6240\u6709\u7684vlan\u901a\u8fc7\uff1a<\/strong>port trunk permit vlan all<\/p>\n<p><strong>\u5728\u7aef\u53e3\u4e2d\u5220\u9664\u53ef\u4ee5\u4f20\u8f93\u7684vlan\uff1a<\/strong>undo port trunk permit vlan VLANID<\/p>\n<p>&nbsp;<\/p>\n<p>3\u3001\u9759\u6001\u8def\u7531\u7684\u914d\u7f6e\u547d\u4ee4\u548c\u793a\u4f8b<\/p>\n<p>[H3C]iproute-static ip-address{mask|mask-length} {interface-typeinterface-name|nexthop-address} [perference value] [reject|blackhole]<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>ip route-static 129.1.0.0 16 10.0.0.2<\/p>\n<p>ip route-static 129.1.0.0 255.255.0.0 10.0.0.2<\/p>\n<p>ip route-static 129.1.0.0 16 Serial 2\/0<\/p>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><strong>\u56db\u3001H3C\u4ea4\u6362\u673a\u5e38\u7528\u914d\u7f6e\u547d\u4ee4<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p>1\u3001\u914d\u7f6e\u4e3b\u673a\u540d<br \/>\n[H3C]systemname H3C<\/p>\n<p>2\u3001\u914d\u7f6econsole\u53e3\u5bc6\u7801<br \/>\n#\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u3002<br \/>\n&lt;H3C&gt; system-view<br \/>\n#\u8fdb\u5165AUX\u7528\u6237\u754c\u9762\u89c6\u56fe\u3002<br \/>\n[H3C] user-interface aux 0<br \/>\n#\u8bbe\u7f6e\u901a\u8fc7Console\u53e3\u767b\u5f55\u4ea4\u6362\u673a\u7684\u7528\u6237\u8fdb\u884cPassword\u8ba4\u8bc1\u3002<br \/>\n[H3C-ui-aux0] authentication-mode password<br \/>\n#\u8bbe\u7f6e\u7528\u6237\u7684\u8ba4\u8bc1\u53e3\u4ee4\u4e3a\u52a0\u5bc6\u65b9\u5f0f\uff0c\u53e3\u4ee4\u4e3a123456\u3002<br \/>\n[H3C-ui-aux0] set authentication passwordcipher 123456<br \/>\n#\u8bbe\u7f6e\u4eceAUX\u7528\u6237\u754c\u9762\u767b\u5f55\u540e\u53ef\u4ee5\u8bbf\u95ee\u7684\u547d\u4ee4\u7ea7\u522b\u4e3a2\u7ea7\u3002<br \/>\n[H3C-ui-aux0] user privilege level 2<\/p>\n<p>3\u3001\u914d\u7f6eTelnet<br \/>\n#\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u3002<br \/>\n&lt;H3C&gt; system-view<br \/>\n#\u8fdb\u5165VTY0\u7528\u6237\u754c\u9762\u89c6\u56fe\u3002<br \/>\n[H3C] user-interface vty 0<br \/>\n#\u8bbe\u7f6e\u901a\u8fc7VTY0\u53e3\u767b\u5f55\u4ea4\u6362\u673a\u7684\u7528\u6237\u8fdb\u884cPassword\u8ba4\u8bc1\u3002<br \/>\n[H3C-ui-vty0] authentication-mode password<br \/>\n#\u8bbe\u7f6e\u7528\u6237\u7684\u8ba4\u8bc1\u53e3\u4ee4\u4e3a\u5bc6\u7801\u65b9\u5f0f\uff0c\u53e3\u4ee4\u4e3a123456\u3002<br \/>\n[H3C-ui-vty0] set authentication passwordcipher 123456<br \/>\n#\u8bbe\u7f6e\u4eceVTY0\u7528\u6237\u754c\u9762\u767b\u5f55\u540e\u53ef\u4ee5\u8bbf\u95ee\u7684\u547d\u4ee4\u7ea7\u522b\u4e3a2\u7ea7\u3002<br \/>\n[H3C-ui-vty0] user privilege level 2<br \/>\n#\u8bbe\u7f6eVTY0\u7528\u6237\u754c\u9762\u652f\u6301Telnet\u534f\u8bae\u3002<br \/>\n[H3C-ui-vty0] protocol inbound telnet<\/p>\n<p>4\u3001\u914d\u7f6e\u4ea4\u6362\u673aVLAN 1\u7ba1\u7406\u5730\u5740<br \/>\n&lt;H3C&gt; system-view<br \/>\n[H3C] interface vlan-interface 1<br \/>\n[H3C-VLAN-interface1] ip address192.168.0.129 255.255.255.0<\/p>\n<p>5\u3001\u914d\u7f6e\u4ea4\u6362\u673a\u7f51\u5173\u5730\u5740<br \/>\n[H3C]ip route-static 0.0.0.00.0.0.0 192.168.0.1<\/p>\n<p>6\u3001\u914d\u7f6eHTTP\u670d\u52a1<br \/>\n[H3C] local-user admin\u00a0 \u00a0\u00a0\u00a0#\u521b\u5efahttp\u7528\u6237<br \/>\n[H3C-luser-admin] service-type telnet<br \/>\n[H3C-luser-admin] authorization-attributelevel 3<br \/>\n[H3C-luser-admin] password cipheradmin\u00a0\u00a0#\u8bbe\u7f6ehttp\u7528\u6237\u5bc6\u7801,\u5e76\u52a0\u5bc6\u663e\u793a<\/p>\n<p>7\u3001\u914d\u7f6eSNMP<br \/>\n[H3C]snmp-agent<br \/>\n[H3C]snmp-agent community read123456\u00a0\u00a0#\u8bbe\u7f6esnmp\u56e2\u4f53\u540d\u79f0\uff0c\u6743\u9650\u4e3a\u53ea\u8bfb<br \/>\n[H3C]snmp-agent sys-info version v1 v2c\u00a0 \u00a0#\u8bbe\u7f6esnmp\u7248\u672cv1\u548cv2<\/p>\n<p>8\u3001Qos\u7aef\u53e3\u9650\u901f<br \/>\n[H3C] interface gigabitethernet 1\/0\/1<br \/>\n#\u914d\u7f6e\u9650\u901f\u53c2\u6570\uff0c\u7aef\u53e3\u8fdb\/\u51fa\u901f\u7387\u9650\u5236\u4e3a5120kbps\u3002<br \/>\n[H3C-GigabitEthernet1\/0\/1] qos lr inboundcir 5120<br \/>\n[H3C-GigabitEthernet1\/0\/1] qos lr outboundcir 5120<\/p>\n<p>9\u3001\u521b\u5efaVLAN<br \/>\n[H3C] vlan 100<\/p>\n<p>10\u3001\u5220\u9664VLAN<br \/>\n[H3C] undo vlan 100<\/p>\n<p>11\u3001\u5c06\u7aef\u53e3\u52a0\u5165vlan 100<br \/>\n[H3C] interface GigabitEthernet 1\/0\/24<br \/>\n[H3C] port access vlan 100<\/p>\n<p>12\u3001\u67e5\u770bVLAN<br \/>\n[H3C]display vlan all<\/p>\n<p>12\u3001\u67e5\u770b\u7aef\u53e3\u72b6\u6001<br \/>\n[H3C]display interface GigabitEthernet1\/0\/24<\/p>\n<p>14\u3001\u542f\u7528\u7aef\u53e3<br \/>\n[H3C]interface GigabitEthernet 1\/0\/24<br \/>\n[H3C]undo shutdown<\/p>\n<p>15\u3001\u5173\u95ed\u7aef\u53e3<br \/>\n[H3C]interface GigabitEthernet 1\/0\/24<br \/>\n[H3C]shutdown<\/p>\n<p>16\u3001\u67e5\u770bMAC\u5730\u5740\u5217\u8868<br \/>\n[H3C]display mac-address<\/p>\n<p>17\u3001\u67e5\u770barp\u4fe1\u606f<br \/>\n[H3C]display arp<\/p>\n<p>18\u3001\u67e5\u770bcurrent\u914d\u7f6e<br \/>\n[H3C]display current-configuration<\/p>\n<p>19\u3001\u67e5\u770bsaved\u914d\u7f6e<br \/>\n[H3C]display saved-configuration<br \/>\n\u6ce8:current\u914d\u7f6e\u662f\u4fdd\u5b58\u5728\u4ea4\u6362\u673a\u5185\u5b58\u91cc\u9762\uff0c\u5f53\u4ea4\u6362\u673a\u91cd\u542f\u65f6\uff0c\u4e0d\u4f1a\u751f\u6548<br \/>\n\u8981\u4ea4\u6362\u673a\u91cd\u542f\u65f6\u751f\u6548\uff0c\u5fc5\u987b\u4fdd\u5b58\u5728saved-configureation\u914d\u7f6e\u91cc<\/p>\n<p>20\u3001\u4fdd\u5b58\u4ea4\u6362\u673a\u914d\u7f6e<br \/>\n[H3C]save<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u4e0d\u77e5\u9053\u5bc6\u7801\uff0c\u5982\u4f55\u6062\u590d\u51fa\u5382\u8bbe\u7f6e 1\u3001 \u5f00\u673a\u542f\u52a8\uff0cCtrl+B\u8fdb\u5165bootrom\u83dc\u5355\uff0c\u9009\u62e9\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\u3002 2\u3001 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/b.yesiyu.top\/?p=880\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cH3C\u4ea4\u6362\u673a\u6062\u590d\u51fa\u5382\u548c\u5404\u79cd\u57fa\u672c\u914d\u7f6e\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-880","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/880","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=880"}],"version-history":[{"count":1,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/880\/revisions"}],"predecessor-version":[{"id":881,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/880\/revisions\/881"}],"wp:attachment":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}