{"id":11852,"date":"2023-04-04T22:32:06","date_gmt":"2023-04-05T05:32:06","guid":{"rendered":"https:\/\/www.xh86.me\/?p=11852"},"modified":"2023-04-04T22:32:06","modified_gmt":"2023-04-05T05:32:06","slug":"%e6%80%9d%e7%a7%91nexus%e4%ba%a4%e6%8d%a2%e6%9c%ba%e8%99%9a%e6%8b%9f%e5%8c%96%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=11852","title":{"rendered":"\u601d\u79d1Nexus\u4ea4\u6362\u673a\u865a\u62df\u5316\u914d\u7f6e"},"content":{"rendered":"<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u601d\u79d1Nexus\u4ea4\u6362\u673a\u865a\u62df\u5316\u914d\u7f6e\u811a\u672c\u793a\u4f8b\uff0c\u4f60\u9700\u8981\u6839\u636e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u8fdb\u884c\u4fee\u6539\u548c\u9002\u914d\uff1a<\/p>\n<p>! \u914d\u7f6e\u865a\u62df\u5316<br \/>\nfeature vpc<br \/>\nvpc domain 10<br \/>\npeer-keepalive destination 10.1.1.2 source 10.1.1.1<br \/>\nauto-recovery<br \/>\n!<br \/>\ninterface port-channel1<br \/>\nvpc 10<br \/>\n!<br \/>\ninterface Ethernet1\/1<br \/>\nchannel-group 1 mode active<br \/>\n!<br \/>\ninterface Ethernet2\/1<br \/>\nchannel-group 1 mode active<\/p>\n<p>! \u914d\u7f6e\u57fa\u672c\u53c2\u6570<br \/>\nhostname CoreSwitch<br \/>\nip domain-name example.com<br \/>\nusername admin secret mypassword<\/p>\n<p>! \u914d\u7f6eSSH\u8fdc\u7a0b\u7ba1\u7406<br \/>\nip ssh version 2<br \/>\nline vty 0 15<br \/>\ntransport input ssh<br \/>\nlogin local<\/p>\n<p>! \u4fdd\u5b58\u914d\u7f6e<br \/>\ncopy running-config startup-config<br \/>\n\u4ee5\u4e0a\u793a\u4f8b\u914d\u7f6e\u4e86\u4e00\u4e2a\u865a\u62df\u5316\u7f51\u7edc\uff0c\u4f7f\u7528\u4e86vPC (Virtual Port-Channel) \u6280\u672f\u5b9e\u73b0\u3002\u914d\u7f6e\u4e86vPC\u9886\u57df\u7f16\u53f7\u4e3a10\uff0c\u5e76\u8bbe\u7f6e\u4e86peer-keepalive\u63a5\u53e3\u3001\u81ea\u52a8\u6062\u590d\u7b49\u53c2\u6570\u3002\u540c\u65f6\uff0c\u8fd8\u914d\u7f6e\u4e86\u4e24\u4e2aEthernet\u63a5\u53e3\uff0c\u5c06\u5b83\u4eec\u6dfb\u52a0\u5230vPC\u7684\u7aef\u53e3\u7ec4\u4e2d\u3002\u6b64\u5916\uff0c\u8fd8\u914d\u7f6e\u4e86\u57fa\u672c\u53c2\u6570\u548cSSH\u8fdc\u7a0b\u7ba1\u7406\uff0c\u5e76\u4fdd\u5b58\u4e86\u914d\u7f6e\u3002<\/p>\n<p>\u6ce8\u610f\uff1a\u8fd9\u53ea\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u5b9e\u9645\u7684\u914d\u7f6e\u53ef\u80fd\u56e0\u7f51\u7edc\u62d3\u6251\u548c\u5177\u4f53\u9700\u6c42\u800c\u6709\u6240\u4e0d\u540c\uff0c\u56e0\u6b64\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u4fee\u6539\u548c\u9002\u914d\u3002\u540c\u65f6\uff0c\u914d\u7f6e\u4e4b\u524d\u8bf7\u5907\u4efd\u73b0\u6709\u914d\u7f6e\uff0c\u4ee5\u514d\u610f\u5916\u4e22\u5931\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u601d\u79d1Nexus\u4ea4\u6362\u673a\u865a\u62df\u5316\u914d\u7f6e\u811a\u672c\u793a\u4f8b\uff0c\u4f60\u9700\u8981\u6839\u636e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u8fdb\u884c\u4fee\u6539\u548c\u9002\u914d\uff1a ! \u914d\u7f6e\u865a\u62df\u5316 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[],"class_list":["post-11852","post","type-post","status-publish","format-standard","hentry","category-cisco","category-network"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/11852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11852"}],"version-history":[{"count":1,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/11852\/revisions"}],"predecessor-version":[{"id":11853,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/11852\/revisions\/11853"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}