{"id":220,"date":"2007-12-06T13:16:34","date_gmt":"2007-12-06T05:16:34","guid":{"rendered":"http:\/\/www.liangliang.org.cn\/blog\/?p=220"},"modified":"2007-12-06T13:16:34","modified_gmt":"2007-12-06T05:16:34","slug":"%e8%b7%af%e7%94%b1%e5%99%a8%e6%93%8d%e4%bd%9c%e5%ae%9e%e9%aa%8c","status":"publish","type":"post","link":"https:\/\/www.liangliang.org.cn\/?p=220","title":{"rendered":"\u8def\u7531\u5668\u64cd\u4f5c\u5b9e\u9a8c"},"content":{"rendered":"<p><a href=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/20071115111817222.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" height=\"432\" alt=\"20071115111817222\" src=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/20071115111817222-thumb.jpg\" width=\"260\" border=\"0\"><\/a>  <\/p>\n<p>&nbsp; <\/p>\n<p>\u5b9e\u9a8c\u6837\u9898\uff1a <\/p>\n<p>\u4e00\u3001 \u8bf7\u7528T568B\u7ebf\u5e8f\u505a\u4e00\u6761\u76f4\u901a\u7f51\u7ebf\uff0c\u7528T568A\u548cT568B\u7ebf\u5e8f\u505a\u4e00\u6761\u4ea4\u53c9\u7f51\u7ebf\u3002 <\/p>\n<p>1. T568B\u7ebf\u7eed\uff1a\u767d\u6a59\u3001\u6a59\u3001\u767d\u7eff\u3001\u84dd\u3001\u767d\u84dd\u3001\u7eff\u3001\u767d\u68d5\u3001\u68d5 <\/p>\n<p>2. T568A\u7ebf\u7eed\uff1a\u767d\u7eff\u3001\u7eff\u3001\u767d\u6a59\u3001\u84dd\u3001\u767d\u84dd\u3001\u6a59\u3001\u767d\u68d5\u3001\u68d5 <\/p>\n<p>3. \u76f4\u901a\u7ebf\uff1aT568B-----------T568B <\/p>\n<p>4. \u4ea4\u53c9\u7ebf\uff1aT568A-----------T568B <\/p>\n<p>\u4e8c\u3001 \u7f51\u7edc\u547d\u4ee4\u5b9e\u9a8c <\/p>\n<p>1. \u8bf7\u8fde\u7eed\u4e3b\u673aping 192.168.1.1 10\u6b21 <\/p>\n<p>\u7b54\u6848\uff1aPing 192.168.1.1 \u2013n 10 <\/p>\n<p>2. \u4f7f\u75284096byte\uff08\u5b57\u8282\uff09\u7684\u6570\u636e\u5305\uff0cping \u4e3b\u673a192.168.1.1 <\/p>\n<p>\u7b54\u6848\uff1aping 192.168.1.1 \u2013l 4096 <\/p>\n<p>3. \u8bf7\u8ddf\u8e2a\u76ee\u6807\u4e3b\u673a<a href=\"http:\/\/www.benic.gov.cn\/\">www.benic.gov.cn<\/a>\u7684\u8def\u7531\u60c5\u51b5 <\/p>\n<p>\u7b54\u6848\uff1aTracert www.benic.gov.cn <\/p>\n<p>\u4e09\u3001 \u5982\u4e0b\u56fe\u62d3\u6251\u56fe\uff1a <\/p>\n<p><a href=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0024.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"145\" alt=\"clip_image002[4]\" src=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0024-thumb.jpg\" width=\"244\" border=\"0\"><\/a> <\/p>\n<p>\u8981\u6c42\uff1a <\/p>\n<p>1. \u6309\u7167\u62d3\u6251\u56fe\u642d\u5efa\u5b9e\u9645\u5b9e\u9a8c\u73af\u5883 <\/p>\n<p><a href=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0044.gif\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"127\" alt=\"clip_image004[4]\" src=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0044-thumb.gif\" width=\"244\" border=\"0\"><\/a> <\/p>\n<p>2. \u6309\u7167\u62d3\u6251\u56fe\u7ed9\u8def\u7531\u5668\u8d77\u540d <\/p>\n<p><b>A. <\/b><b>#RA<\/b><b>\u4e0a\u7684\u64cd\u4f5c<\/b> <\/p>\n<p><b>&lt;H3C&gt;system-view<\/b> <\/p>\n<p><b>[H3C]sysname RA<\/b> <\/p>\n<p><b>[RA]interface Ethernet 0\/0<\/b> <\/p>\n<p><b>[RA-Ethernet 0\/0]ip address 1.1.4.1 255.255.255.252 <\/b> <\/p>\n<p><b>[RA-Ethernet 0\/0]undo shutdown <\/b> <\/p>\n<p><b>[RA-Ethernet 0\/0]quit<\/b> <\/p>\n<p><b>[RA]interface Ethernet 0\/1<\/b> <\/p>\n<p><b>[RA-Ethernet 0\/1]ip address 1.1.1.1 255.255.255.0<\/b> <\/p>\n<p><b>[RA-Ethernet 0\/1]undo shutdown<\/b> <\/p>\n<p><b>[RA-Ethernet 0\/1]quit<\/b> <\/p>\n<p><b>[RA]<\/b> <\/p>\n<p><b><\/b> <\/p>\n<p><b>B. <\/b><b>#RB<\/b><b>\u4e0a\u7684\u64cd\u4f5c<\/b> <\/p>\n<p><b>&lt;H3C&gt;system-view<\/b> <\/p>\n<p><b>[H3C]sysname RB<\/b> <\/p>\n<p><b>[RB]interface Ethernet 0\/0<\/b> <\/p>\n<p><b>[RB-Ethernet 0\/0]ip address 1.1.4.2 255.255.255.252 <\/b> <\/p>\n<p><b>[RB-Ethernet 0\/0]undo shutdown <\/b> <\/p>\n<p><b>[RB-Ethernet 0\/0]quit<\/b> <\/p>\n<p><b>[RB]interface Ethernet 0\/1<\/b> <\/p>\n<p><b>[RB-Ethernet 0\/1]ip address 1.1.4.5 255.255.255.252<\/b> <\/p>\n<p><b>[RB-Ethernet 0\/1]undo shutdown<\/b> <\/p>\n<p><b>[RB-Ethernet 0\/1]quit<\/b> <\/p>\n<p><b>[RB]<\/b> <\/p>\n<p><b>C. <\/b><b>#RC<\/b><b>\u4e0a\u7684\u64cd\u4f5c<\/b> <\/p>\n<p><b>&lt;H3C&gt;system-view<\/b> <\/p>\n<p><b>[H3C]sysname RC<\/b> <\/p>\n<p><b>[RC]interface Ethernet 0\/0<\/b> <\/p>\n<p><b>[RC-Ethernet 0\/0]ip address 1.1.3.1 255.255.255.0 <\/b> <\/p>\n<p><b>[RC-Ethernet 0\/0]undo shutdown <\/b> <\/p>\n<p><b>[RC-Ethernet 0\/0]quit<\/b> <\/p>\n<p><b>[RC]interface Ethernet 0\/1<\/b> <\/p>\n<p><b>[RC-Ethernet 0\/1]ip address 1.1.4.6 255.255.255.252<\/b> <\/p>\n<p><b>[RC-Ethernet 0\/1]undo shutdown<\/b> <\/p>\n<p><b>[RC-Ethernet 0\/1]quit<\/b> <\/p>\n<p><b>[RC]<\/b> <\/p>\n<p>3. \u6309\u7167\u56fe\u4e2d\u7684\u8981\u6c42\u4e3a\u8def\u7531\u5668\u548cPc\u673a\u76f8\u5e94\u7684\u7aef\u53e3\u914d\u7f6eIp\u5730\u5740\u3002 <\/p>\n<p>4. \u8def\u7531\u5668RB\u521b\u5efaloopback 10\u7aef\u53e3 <\/p>\n<p><b>&lt;H3C&gt;system-view<\/b> <\/p>\n<p><b>[H3C]sysname RB<\/b> <\/p>\n<p><b>[RB] interface loopback 10 <\/b> <\/p>\n<p><b>[RB-Lookback10] ip address 1.1.2.1 255.255.255.0<\/b> <\/p>\n<p><b>[RB-Lookback10]undo shutdown<\/b> <\/p>\n<p><b>[RB-Lookback10]quit<\/b> <\/p>\n<p><b>[RB]<\/b> <\/p>\n<p>5. \u5728\u8def\u7531\u5668RA\u548c\u8def\u7531\u5668RC\u914d\u7f6e\u9759\u6001\u8def\u7531\u4e2d\u7684\u9ed8\u8ba4\u8def\u7531\uff0c\u8def\u7531\u5668RB\u914d\u7f6e\u9759\u6001\u8def\u7531 <\/p>\n<p><b>A. <\/b><b>[RA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2 description To.RB <\/b> <\/p>\n<p><b>B. <\/b><b>[RB] ip route-static 1.1.1.0 255.255.255.0 1.1.4.1 description To.RA<\/b> <\/p>\n<p><b>C. <\/b><b>[RB] ip route-static 1.1.3.0 255.255.255.0 1.1.4.6 description To.RC <\/b> <\/p>\n<p><b>D. <\/b><b>[RC] ip route-static 0.0.0.0 0.0.0.0 1.1.4.5 description To.RB <\/b> <\/p>\n<p>6. \u505a\u5230\u5168\u7f51\u901a <\/p>\n<p>\u56db\u3001 \u5982\u4e0b\u56fe\u62d3\u6251\u56fe\uff1a <\/p>\n<p><a href=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0064.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"112\" alt=\"clip_image006[4]\" src=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0064-thumb.jpg\" width=\"244\" border=\"0\"><\/a> <\/p>\n<p>\u8981\u6c42\uff1a <\/p>\n<p>1. \u6309\u7167\u62d3\u6251\u56fe\u642d\u5efa\u5b9e\u9645\u5b9e\u9a8c\u73af\u5883\u3002 <\/p>\n<p><a href=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0084.gif\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"138\" alt=\"clip_image008[4]\" src=\"http:\/\/www.liangliang.org.cn\/blog\/wp-content\/uploads\/2007\/12\/clip-image0084-thumb.gif\" width=\"244\" border=\"0\"><\/a> <\/p>\n<p>2. \u6309\u7167\u62d3\u6251\u56fe\u7ed9\u4ea4\u6362\u673a\u8d77\u540d\u3002 <\/p>\n<p>3. \u5206\u522b\u57282\u53f0\u4ea4\u6362\u673a\u4e0a\u521b\u5efaVlan5 \u548cVlan10\u3002 <\/p>\n<p>4. \u5206\u522b\u5c062\u53f0\u4ea4\u6362\u673ae1\/0\/2 \u3001e1\/0\/3\u3001e1\/0\/4\u3001e1\/0\/5\u52a0\u5165Vlan5\u3002 <\/p>\n<p>5. \u5206\u522b\u5c062\u53f0\u4ea4\u6362\u673ae1\/0\/6 \u3001e1\/0\/7\u3001e1\/0\/8\u3001e1\/0\/9\u52a0\u5165Vlan10\u3002 <\/p>\n<p>6. \u4e24\u53f0\u4ea4\u6362\u673a\u7684e1\/0\/16\u53e3\u4f5c\u4e3a\u7ea7\u8054\u53e3\u3002 <\/p>\n<p>7. \u5c06PcA\u7684ip\u5730\u5740\u8bbe\u4e3a192.168.1.1 255.255.255.0 \u5e76\u628a\u5b83\u63a5\u5728SA\u7684e1\/0\/2\u53e3\u3002 <\/p>\n<p>8. \u5c06PcC\u7684ip\u5730\u5740\u8bbe\u4e3a192.168.1.2 255.255.255.0 \u5e76\u628a\u5b83\u63a5\u5728SB\u7684e1\/0\/2\u53e3\u3002 <\/p>\n<p>9. \u5c06PcB\u7684ip\u5730\u5740\u8bbe\u4e3a192.268.1.3 255.255.255.0 \u5e76\u628a\u5b83\u63a5\u5728SA\u7684e1\/0\/9\u53e3\u3002 <\/p>\n<p>10. \u5c06PcD\u7684ip\u5730\u5740\u8bbe\u4e3a192.168.1.4 255.255.255.0 \u5e76\u628a\u5b83\u63a5\u5728SB\u7684e1\/0\/9\u53e3\u3002 <\/p>\n<p>11. PcA\u53ef\u4ee5ping\u901aPcC\uff0c\u4f46\u662f\u4e0d\u80fdping\u901aPcB\u548cPcD\u3002 <\/p>\n<p>12. PcB\u53ef\u4ee5Ping\u901aPcD\uff0c\u4f46\u662f\u4e0d\u80fdping\u901aPcA\u548cPc\uff23\u3002 <\/p>\n<p>A. #SA\u4e0a\u7684\u64cd\u4f5c <\/p>\n<p>\u4ee5\u4e0b\u662fVlan\u8bbe\u7f6e <\/p>\n<p>&lt;H3C&gt;system-view <\/p>\n<p>[H3C]sysname SA <\/p>\n<p>[SA]vlan 5 <\/p>\n<p>[SA-vlan5]port Ethernet 1\/0\/2 to Ethernet 1\/0\/5 <\/p>\n<p>[SA-vlan5]quit <\/p>\n<p>[SA]vlan 10 <\/p>\n<p>[SA-vlan10]port Ethernet 1\/0\/6 to Ethernet 1\/0\/9 <\/p>\n<p>[SA-vlan10]quit <\/p>\n<p>\u4ee5\u4e0b\u662f\u7aef\u53e3Trunk\u8bbe\u7f6e <\/p>\n<p>[SA]interface Ethernet 1\/0\/16  <\/p>\n<p>[SA-Ethernet1\/0\/16]port link-type trunk  <\/p>\n<p>[SA-Ethernet1\/0\/16]port trunk permit vlan all  <\/p>\n<p>[SA-Ethernet1\/0\/16]undo shutdown  <\/p>\n<p>[SA-Ethernet1\/0\/16]quit  <\/p>\n<p>[SA]  <\/p>\n<p><b>B. <\/b><b>#SB<\/b><b>\u4e0a\u7684\u64cd\u4f5c<\/b> <\/p>\n<p><b>\u4ee5\u4e0b\u662fVlan<\/b><b>\u8bbe\u7f6e<\/b> <\/p>\n<p><b>&lt;H3C<\/b>&gt;<b>system-view<\/b> <\/p>\n<p><b>[H3C]sysname SB<\/b> <\/p>\n<p><b>[SB]vlan 5<\/b> <\/p>\n<p><b>[SB-vlan5]port Ethernet 1\/0\/2 to Ethernet 1\/0\/5<\/b> <\/p>\n<p><b>[SB-vlan5]quit<\/b> <\/p>\n<p><b>[SB]vlan 10<\/b> <\/p>\n<p><b>[SB-vlan10]port Ethernet 1\/0\/6 to Ethernet 1\/0\/9<\/b> <\/p>\n<p><b>[SB-vlan10]quit<\/b> <\/p>\n<p>\u4ee5\u4e0b\u662fTrunk\u8bbe\u7f6e <\/p>\n<p><b>[SB]interface Ethernet 1\/0\/16 <\/b> <\/p>\n<p><b>[SB-Ethernet1\/0\/16]port link-type trunk<\/b> <\/p>\n<p><b>[SB-Ethernet1\/0\/16]port trunk permit vlan all<\/b> <\/p>\n<p><b>[SB-Ethernet1\/0\/16]undo shutdown<\/b> <\/p>\n<p><b>[SB-Ethernet1\/0\/16]quit<\/b> <\/p>\n<p><b>[SB]<\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u5b9e\u9a8c\u6837\u9898\uff1a \u4e00\u3001 \u8bf7\u7528T568B\u7ebf\u5e8f\u505a\u4e00\u6761\u76f4\u901a\u7f51\u7ebf\uff0c\u7528T568A\u548cT568B\u7ebf\u5e8f\u505a\u4e00\u6761\u4ea4\u53c9\u7f51\u7ebf\u3002 1. T568B\u7ebf\u7eed\uff1a\u767d\u6a59\u3001\u6a59\u3001\u767d\u7eff\u3001\u84dd\u3001\u767d\u84dd\u3001\u7eff\u3001\u767d\u68d5\u3001\u68d5 2. T568A\u7ebf\u7eed\uff1a\u767d\u7eff&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-32"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220"}],"version-history":[{"count":0,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}