{"id":552,"date":"2024-10-14T17:06:22","date_gmt":"2024-10-14T08:06:22","guid":{"rendered":"https:\/\/mylifeisbeautiful555.net\/?page_id=552"},"modified":"2025-11-06T10:39:20","modified_gmt":"2025-11-06T01:39:20","slug":"teraterm-%e5%ae%8c%e6%88%90%e7%b3%bb-telnet%e7%89%88","status":"publish","type":"page","link":"https:\/\/mylifeisbeautiful555.net\/?page_id=552","title":{"rendered":"teraterm \u30de\u30af\u30ed \u5b8c\u6210\u7cfb"},"content":{"rendered":"\n<p>CISCO\u6a5f\u5668\u3078\u306e\u81ea\u52d5\u30ed\u30b0\u30a4\u30f3\u30de\u30af\u30ed\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-flexible-table-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>TELNET\u7248<\/strong><\/td><\/tr><tr><td>connect &#8216;192.168.3.202:23 \/nossh&#8217;<br>wait &#8216;&gt;&#8217;<br>sendln &#8216;enable&#8217;<br>wait &#8216;Password:&#8217;<br>sendln &#8216;cisco&#8217;<br>gettime timestr &#8216;%Y%m%d_%H%M-%S&#8217;<br>sprintf2 filename &#8216;c:\\abc\\%s.txt&#8217; timestr<br>logopen filename 0 0<br>wait &#8216;#&#8217;<br>sendln &#8216;ter len 0&#8217;<br>wait &#8216;#&#8217;<br>sendln &#8216;show run&#8217;<br>wait &#8216;#&#8217;<br>sendln &#8216;show version&#8217;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#cf2e2e\" class=\"has-inline-color\">\u203b\u2191\u30b3\u30d4\u30fc\u3059\u308b\u3068 &#8216; \u304c\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6ce8\u610f\u3067\u3059\u3002<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-flexible-table-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>SSH\u7248<\/strong><\/td><\/tr><tr><td>connect &#8216;192.168.3.202:22 \/ssh \/2 \/auth=password \/user=admin1 \/passwd=cisco1&#8217;<br>wait &#8216;&gt;&#8217;<br>sendln &#8216;enable&#8217;<br>wait &#8216;Password:&#8217;<br>sendln &#8216;cisco&#8217;<br>gettime timestr &#8216;%Y%m%d_%H%M-%S&#8217;<br>sprintf2 filename &#8216;c:\\abc\\%s.txt&#8217; timestr<br>logopen filename 0 0<br>wait &#8216;#&#8217;<br>sendln &#8216;ter len 0&#8217;<br>wait &#8216;#&#8217;<br>sendln &#8216;show run&#8217;<br>wait &#8216;#&#8217;<br>sendln &#8216;show version&#8217;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#cf2e2e\" class=\"has-inline-color\">\u203b\u2191\u30b3\u30d4\u30fc\u3059\u308b\u3068 &#8216; \u304c\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6ce8\u610f\u3067\u3059\u3002<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-flexible-table-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>console\u7248<\/strong><\/td><\/tr><tr><td>connect &#8216;\/C=4&#8217;<br>gettime timestr &#8216;%Y%m%d_%H%M-%S&#8217;<br>sprintf2 filename &#8216;c:\\abc\\%s.txt&#8217; timestr<br>logopen filename 0 0<br>sendln &#8216;ter len 0&#8217;<br>wait &#8216;#&#8217;<br>sendln &#8216;show run&#8217;<br>wait &#8216;#&#8217;<br>sendln &#8216;show version&#8217;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#cf2e2e\" class=\"has-inline-color\">\u203b\u2191\u30b3\u30d4\u30fc\u3059\u308b\u3068 &#8216; \u304c\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6ce8\u610f\u3067\u3059\u3002<\/mark><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CISCO\u6a5f\u5668\u3078\u306e\u81ea\u52d5\u30ed\u30b0\u30a4\u30f3\u30de\u30af\u30ed\u3068\u306a\u308a\u307e\u3059\u3002 \u203b\u2191\u30b3\u30d4\u30fc\u3059\u308b\u3068 &#8216; \u304c\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6ce8\u610f\u3067\u3059\u3002 \u203b\u2191\u30b3\u30d4\u30fc\u3059\u308b\u3068 &#8216; \u304c\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6ce8\u610f\u3067\u3059\u3002 \u203b\u2191\u30b3\u30d4\u30fc\u3059\u308b\u3068 &#038;# [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-552","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=552"}],"version-history":[{"count":6,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages\/552\/revisions"}],"predecessor-version":[{"id":1492,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages\/552\/revisions\/1492"}],"wp:attachment":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}