{"id":1610,"date":"2025-05-13T12:46:22","date_gmt":"2025-05-13T04:46:22","guid":{"rendered":"http:\/\/113.45.254.23\/?p=1610"},"modified":"2025-05-13T12:56:40","modified_gmt":"2025-05-13T04:56:40","slug":"h3c-2%e5%8f%b0%e4%ba%a4%e6%8d%a2%e6%9c%ba%e5%a0%86%e5%8f%a0","status":"publish","type":"post","link":"http:\/\/113.45.254.23\/?p=1610","title":{"rendered":"H3C 2\u53f0\u4ea4\u6362\u673a\u5806\u53e0"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u5b9e\u9a8c\u62d3\u8865\u56fe\uff1a<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-27.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"691\" height=\"221\" data-original=\"http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-27.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1611\"  sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u914d\u7f6e\u7b2c\u4e00\u53f0\u4ea4\u6362\u673a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;H3C]sysname device1\n&#91;device1]interface range Ten-GigabitEthernet 1\/0\/49 to Ten-GigabitEthernet 1\/0\/5\t\u8fdb\u5165\u8303\u56f4\u5b9e\u9645\u76841\/0\/49\u52301\/0\/50\u7aef\u53e3\n0\n&#91;device1-if-range]shutdown\t\u5173\u95ed\n&#91;device1-if-range]quit\n&#91;device1]irf-port 1\/2\t\u8fdb\u51651\/2\u7684\u5806\u53e0\u53e3\n&#91;device1-irf-port1\/2]port group interface Ten-GigabitEthernet 1\/0\/49\t\t\u5c061\/0\/49\u52a0\u5165\u5230\u5806\u53e0\u53e3\u4e2d\nYou must perform the following tasks for a successful IRF setup: \nSave the configuration after completing IRF configuration. \nExecute the \"irf-port-configuration active\" command to activate the IRF ports. \n&#91;device1-irf-port1\/2]port group interface Ten-GigabitEthernet 1\/0\/50\t\t\u5c061\/0\/50\u52a0\u5165\u5230\u5806\u53e0\u53e3\u4e2d\n&#91;device1-irf-port1\/2]quit\n&#91;DeviceA]interface range Ten-GigabitEthernet 1\/0\/49 to Ten-GigabitEthernet 1\/0\/5 \u518d\u8fdb\u5165\u52301\/0\/49-1\/0\/50\u7aef\u53e3\n&#91;device1-if-range]undo shutdown\t\u6fc0\u6d3b\u7aef\u53e3\n&#91;device1-if-range]quit\n&#91;device1]save force\t\t\t\t\u5f3a\u5236\u4fdd\u5b58\nValidating file. Please wait...\nSaved the current configuration to mainboard device successfully.\n&#91;device1]irf-port-configuration active\t\u6fc0\u6d3b\u5806\u53e0\u53e3\u914d\u7f6e\n&#91;device1]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u914d\u7f6e\u7b2c\u4e8c\u53f0\u4ea4\u6362\u673a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;device2>system-view\nSystem View: return to User View with Ctrl+Z.\n&#91;device2]undo info-center enable\nInformation center is disabled.\n&#91;device2]sysname device2 \n&#91;device2]irf member 1 renumber 2\t\t\u5c06\u5806\u53e0\u53e3\u6210\u54581\u66f4\u6539\u4e3a2\nRenumbering the member ID may result in configuration change or loss. Continue?&#91;Y\/N]:y\n&#91;device2]quit\n&lt;device2>reboot\t\t\u91cd\u542f\nStart to check configuration with next startup configuration file, please wait.........DONE!\nCurrent configuration may be lost after the reboot, save current configuration? &#91;Y\/N]:y\nPlease input the file name(*.cfg)&#91;flash:\/startup.cfg]\n(To leave the existing filename unchanged, press the enter key):\nValidating file. Please wait...\nSaved the current configuration to mainboard device successfully.\nThis command will reboot the device. Continue? &#91;Y\/N]:y\nNow rebooting, please wait...<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;device2>system-view\nSystem View: return to User View with Ctrl+Z.\n&#91;device2]interface range Ten-GigabitEthernet 2\/0\/49 to Ten-GigabitEthernet 2\/0\/5\n0\t\t\u8fdb\u5165\u8303\u56f4\u5b9e\u9645\u76841\/0\/49\u52301\/0\/50\u7aef\u53e3\n&#91;device2-if-range]shutdown\t\u5173\u95ed\u56db\u4e2a\u63a5\u53e3\u624d\u80fd\u914d\u7f6e\n&#91;device2-if-range]quit\n&#91;device2]irf-port 2\/1\t\t\u8fdb\u51652\/1\u7684\u5806\u53e0\u53e3\n&#91;device2-irf-port2\/1]port group interface Ten-GigabitEthernet 2\/0\/49\t\t\u5c062\/0\/49\u52a0\u5165\u5230\u5806\u53e0\u53e3\u4e2d\nYou must perform the following tasks for a successful IRF setup: \nSave the configuration after completing IRF configuration. \nExecute the \"irf-port-configuration active\" command to activate the IRF ports. \n&#91;device2-irf-port2\/1]port group interface Ten-GigabitEthernet 2\/0\/50\t\t\t\u5c061\/0\/50\u52a0\u5165\u5230\u5806\u53e0\u53e3\u4e2d\n&#91;device2-irf-port2\/1]quit\n&#91;device2]interface range Ten-GigabitEthernet 2\/0\/49 to Ten-GigabitEthernet 2\/0\/5\t\u8fdb\u5165\u8303\u56f4\u5b9e\u9645\u76841\/0\/49\u52301\/0\/50\u7aef\u53e3\n0\n&#91;device2-if-range]undo shutdown\t\u6fc0\u6d3b\u7aef\u53e3\n&#91;device2-if-range]quit\n&#91;device2]save force\t\t\u5f3a\u5236\u4fdd\u5b58\nValidating file. Please wait...\nSaved the current configuration to mainboard device successfully.<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u5728\u7b2c\u4e00\u53f0\u4ea4\u6362\u673a\u4e0a\u67e5\u770b\u5806\u53e0\u4fe1\u606f<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;device1>display irf\t\u67e5\u770b\u5806\u53e0\u4fe1\u606f\nMemberID    Role    Priority  CPU-Mac         Description\n *+1        Master  1         46c8-cf18-0104  ---\t\u6210\u54581\u662f\u4e3b\n   2        Standby 1         46c8-dac6-0204  ---\t\u6210\u54582\u662f\u5907\u4efd\n--------------------------------------------------\n * indicates the device is the master.\n + indicates the device through which the user logs in.\n\n The bridge MAC of the IRF is: 46c8-cf18-0100\n Auto upgrade                : yes\n Mac persistent              : 6 min\n Domain ID                   : 0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u518d\u7b2c\u4e8c\u53f0\u4ea4\u6362\u673a\u4e0a\u67e5\u770b\u5806\u53e0\u4fe1\u606f<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;device1>display irf\nMemberID    Role    Priority  CPU-Mac         Description\n  *1        Master  1         46c8-cf18-0104  ---\n  +2        Standby 1         46c8-dac6-0204  ---\n--------------------------------------------------\n * indicates the device is the master.\n + indicates the device through which the user logs in.\n\n The bridge MAC of the IRF is: 46c8-cf18-0100\n Auto upgrade                : yes\n Mac persistent              : 6 min\n Domain ID                   : 0\n&lt;device1><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u5728\u7b2c\u4e00\u53f0\u4e0a\u521b\u5efavlan10\u300120<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;device1>system-view\nSystem View: return to User View with Ctrl+Z.\n&#91;device1]vlan 10\n&#91;device1-vlan10]vlan 20\n&#91;device1-vlan20]quit\n&#91;device1]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001\u5728\u7b2c\u4e8c\u53f0\u6a21\u62df\u5668\u4e0a\u67e5\u770b<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;device1>display vlan \n Total VLANs: 3\n The VLANs include:\n 1(default), 10, 20  \n&lt;device1><\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5b9e\u9a8c\u62d3\u8865\u56fe\uff1a \u4e8c\u3001\u914d\u7f6e\u7b2c\u4e00\u53f0\u4ea4\u6362\u673a \u4e09\u3001\u914d\u7f6e\u7b2c\u4e8c\u53f0\u4ea4\u6362\u673a \u56db\u3001\u5728\u7b2c\u4e00\u53f0\u4ea4\u6362\u673a\u4e0a\u67e5\u770b\u5806\u53e0\u4fe1\u606f \u4e94\u3001\u518d\u7b2c\u4e8c\u53f0\u4ea4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[104],"class_list":["post-1610","post","type-post","status-publish","format-standard","hentry","category-96","tag-104"],"_links":{"self":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts\/1610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1610"}],"version-history":[{"count":1,"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts\/1610\/revisions"}],"predecessor-version":[{"id":1612,"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts\/1610\/revisions\/1612"}],"wp:attachment":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1610"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}