{"id":5464,"date":"2013-08-21T15:17:07","date_gmt":"2013-08-21T07:17:07","guid":{"rendered":"http:\/\/jpuyy.com\/?p=5464"},"modified":"2014-08-04T18:00:53","modified_gmt":"2014-08-04T10:00:53","slug":"h3c-5024p-command","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=5464","title":{"rendered":"H3C 5024P\u64cd\u4f5c\u547d\u4ee4"},"content":{"rendered":"<p>\u4e24\u79cd\u6743\u9650\u6a21\u5f0f<\/p>\n<p>user-view\u548csystem-view\uff0c\u9000\u51fasystem-view\u8f93\u5165quit\u6216ctrl+z<\/p>\n<p>user-view\u53ef\u4ee5\u8fdb\u884c\u7684\u64cd\u4f5c\u5f88\u5c0f\uff0c\u53ef\u7528\u7684\u547d\u4ee4\u6709\uff1a<\/p>\n<pre> debugging Enable system debugging functions\r\n display Display current system information\r\n ping Ping function\r\n quit Exit from current command view\r\n reboot Reset switch\r\n reset Reset operation\r\n save Save current configuration   #\u4fdd\u5b58\u5f53\u524d\u914d\u7f6e\u5230EEPROM\r\n system-view Enter the system view\r\n undo Cancel current setting<\/pre>\n<p>\u8fdb\u884c\u914d\u7f6e\u57fa\u672c\u4e0a\u90fd\u5728system-view\u4e0b\u8fdb\u884c\uff0c\u53ef\u7528\u7684\u547d\u4ee4\u6709\uff1a<\/p>\n<pre> display Display current system information\r\n interface Specify the interface configuration view\r\n link-aggregation Ports aggregation mode\r\n mac-address Configure MAC address\r\n mirroring-port Specify mirroring port\r\n monitor-port Specify monitor port\r\n ping Ping function\r\n qos QOS configuration information\r\n queue-scheduler Specify queue scheduling mode and parameters\r\n quit Exit from current command view\r\n restore Restore configuration\r\n return Exit to user view\r\n super Modify super password parameters\r\n sysname Specify the host name\r\n storm-control Limit the rate of the specified packets of the switch\r\n snmp-agent Specify SNMP(Simple Network Management Protocol)\r\n configuration information\r\n undo Cancel current setting\r\n user-interface Enter user interface view\r\n vlan Configure VLAN<\/pre>\n<p>system-view\u4e0b\u4fee\u6539\u5bc6\u7801<\/p>\n<pre>super password bigadmin \u00a0\u8fd9\u4e2a\u662f\u8fdb\u5165system-view\u53ca\u7f51\u9875\u7ba1\u7406\u754c\u9762\u7684\u5bc6\u7801<\/pre>\n<pre>set authentication password admin \u00a0\u8fd9\u4e2a\u662ftelnet\u7684\u5bc6\u7801<\/pre>\n<p>\u8bbe\u7f6e\u4e3b\u673a\u540d<\/p>\n<pre class=\"p1\">sysname hostnameofswitch<\/pre>\n<p>\u67e5\u770b\u4ea4\u6362\u673a\u8fd0\u884c\u4fe1\u606f<\/p>\n<pre>[SW4_R2_R2]display version\r\n H3C S5024P Product Version S5024P-R0109\r\n Copyright (c) 2004-2009 Hangzhou H3C Technologies Co., Ltd. All rights Reserved.\r\n H3C S5024P uptime is 8 week(s),2 day(s),15 hour(s),17 minute(s)\r\n\r\n H3C S5024P with 17M 8051 Processor\r\n 128K bytes SDRAM\r\n 2048K bytes Flash Memory\r\n Config Register points to EEPROM\r\n Hardware Version is Ver.1.0\r\n Bootrom Version is 100\r\n [Subslot 0] 24 GE(4 COMBO) Hardware Version is Ver.1.0<\/pre>\n<p>\u67e5\u770b\u805a\u5408\u4fe1\u606f<\/p>\n<pre>display link-aggregation GigabitEthernet 0\/21<\/pre>\n<p>\u67e5\u770b\u5b66\u4e60\u5230\u7684mac\u5730\u5740<\/p>\n<pre>display mac-address<\/pre>\n<p>\u8bbe\u7f6esnmp-agent\u4fe1\u606f<\/p>\n<pre>snmp-agent community read\u00a0abcdefg<\/pre>\n<p>h3c s5024p\u91cd\u7f6e\u4ea4\u6362\u673a<\/p>\n<p>system-view\u4e0b<\/p>\n<pre>[H3C]restore default\r\nThis will restore the default configuration in the EEPROM memory\r\nAre you sure?[Y\/N]y\r\n*** Restoring to default configuration...\r\n*** Restore default configuration successfully!\r\nReboot the switch to activate the default configuration!<\/pre>\n<p>\u5176\u4ed6h3c\u4ea4\u6362\u673a\u91cd\u7f6e<\/p>\n<pre>reset saved-configuration\r\nreboot<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e24\u79cd\u6743\u9650\u6a21\u5f0f user-view\u548csystem-view\uff0c\u9000\u51fasystem-view\u8f93\u5165quit\u6216ctrl+z user-view\u53ef\u4ee5\u8fdb\u884c\u7684\u64cd\u4f5c\u5f88\u5c0f\uff0c\u53ef\u7528\u7684\u547d\u4ee4\u6709\uff1a debugging Enable system debugging functions display Display current system information ping Ping function quit Exit from current command view reboot Reset switch reset Reset operation save Save current configuration #\u4fdd\u5b58\u5f53\u524d\u914d\u7f6e\u5230EEPROM system-view Enter the system view undo Cancel current setting \u8fdb\u884c\u914d\u7f6e\u57fa\u672c\u4e0a\u90fd\u5728system-view\u4e0b\u8fdb\u884c\uff0c\u53ef\u7528\u7684\u547d\u4ee4\u6709\uff1a display Display current system information interface Specify the interface configuration view link-aggregation [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-5464","post","type-post","status-publish","format-standard","hentry","category-life"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5464"}],"version-history":[{"count":18,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5464\/revisions"}],"predecessor-version":[{"id":6588,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5464\/revisions\/6588"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}