{"id":437,"date":"2022-03-21T16:43:51","date_gmt":"2022-03-21T08:43:51","guid":{"rendered":"http:\/\/blog.xtaa.cn\/?p=437"},"modified":"2022-03-21T16:43:51","modified_gmt":"2022-03-21T08:43:51","slug":"oltcvlansvlan","status":"publish","type":"post","link":"http:\/\/blog.xtaa.cn\/index.php\/2022\/03\/21\/oltcvlansvlan\/","title":{"rendered":"OLT,cvlan,svlan\uff0cQINQ\u914d\u7f6e"},"content":{"rendered":"\n<p>\u56fd\u5185OLT\u73b0\u5728\u4e3b\u8981\u7528\u534e\u4e3aMA5680T\uff0cMA5800\uff0c\u4e2d\u5174C300    \u70fd\u706bAN5516<\/p>\n\n\n\n<p>\u4e00\u822c\u6765\u8bf4\u534e\u4e3a\u7684\u6bd4\u59825800\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u8fd0\u8425\u5546\u529e\u516c\u5185\u7f51telnet\u5230olt\u7684\u7ba1\u7406IP\uff08\u4e00\u822c\u4e3a134.181\u7f51\u6bb5\uff09<\/p>\n\n\n\n<p>\u53e6\u5916\u5982\u679c\u5728\u7ed9\u5149\u732b\u505a\u6570\u636e\u7684\u65f6\u5019\uff0c\u865a\u8fde\u63a5\u53ef\u4ee5\u628a\u4e00\u4e2a\u53e3\u7684vlan\u505a\u6210\u7ba1\u7406vlan\u7684\u8bdd\uff0c\u518d\u628a\u8fd9\u4e2a\u53e3\u8fde\u51fa\u6765\u7684\u7535\u8111IP\u8bbe\u4e3a\u7ba1\u7406IP\u540c\u7f51\u6bb5\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u8fde\u5230olt,<\/p>\n\n\n\n<p>\u8fd0\u8425\u5546\u4e00\u822c\u7528\u534e\u4e3a\u7684U2000\u6765\u7edf\u4e00\u7ba1\u7406\u4f7f\u7528\u7684\u534e\u4e3a\u7684\u63a5\u5165\uff0cIP\uff0c\u4f20\u8f93\u7b49\u8bbe\u5907\u7684\u7edf\u4e00\u7ba1\u7406<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>SVLAN,CVLAN,PVLAN\u662f\u5c5e\u4e8eSVLAN(Stack VLAN)\u7684\u89c2\u5ff5<\/p>\n\n\n\n<p>\u5e94\u8be5\u8981\u4eceQ-in-Q\u5de5\u4f5c\u539f\u7406\u6765\u770b\uff1aQinQ\u91c7\u7528\u7684\u662f\u5c42\u6b21\u5316VLAN\u6280\u672f\u533a\u5206\u7528\u6237\u548c\u8fd0\u8425\u5546\u7684 VLAN\uff1aC-VLAN\u548cP-VLAN(S-VLAN)\uff0c\u6570\u636e\u5728\u79c1\u7f51\u4e2d\u4f20\u8f93\u65f6\u5e26\u4e00\u4e2a\u79c1\u7f51\u7684tag\uff0c\u5b9a\u4e49\u4e3aC\uff0dVLAN Tag (Customer VLAN tag=\u7528\u6237VLAN)\uff0c\u6570\u636e\u8fdb\u5165\u5230\u670d\u52a1\u5546\u7684\u9aa8\u5e72\u7f51\u540e\uff0c\u5728\u6253\u4e0a\u4e00\u5c42\u516c\u7f51\u7684VLAN tag\uff0c\u5b9a\u4e49\u4e3aP\uff0dVLAN Tag(Service Provider VLAN tag=S-VLAN=SPVLAN=\u670d\u52a1\u5546VLAN)\u3002\u5230\u76ee\u7684\u79c1\u7f51\u540e\u518d\u628aP\uff0dVLAN Tag\u5265\u9664\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u79cd\u8f83\u4e3a\u7b80\u5355\u7684\u4e8c\u5c42VPN\u96a7\u9053\u3002<\/p>\n\n\n\n<p>SVLAN=Stack VLAN(\u5c31\u662f\u6240\u8c13\u7684QinQ)<br>CVLAN=Customer VLAN =\u7528\u6237VLAN<br>PVLAN =SVLAN=Service Provider VLAN =SPVLAN=\u670d\u52a1\u5546VLAN<\/p>\n\n\n\n<p>CLAN\u662f\u4e00\u4e2a802.q\u5305\u5934\u7684\u4ee5\u592a\u7f51\u5e27<\/p>\n\n\n\n<p>SVLAN\u6280\u672f\u901a\u8fc7\u5728\u4ee5\u592a\u5e27\u4e2d\u5806\u53e0\u4e24\u4e2a802.1Q\u5305\u5934\uff0c\u6709\u6548\u5730\u6269\u5c55\u4e86VLAN\u6570\u76ee\uff0c\u4f7fVLAN\u7684\u6570\u76ee\u6700\u591a\u53ef\u8fbe 4096&#215;4096\u4e2a\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>QINQ\u534e\u4e3a\u4ea4\u6362\u673a\u914d\u7f6e\u6848\u4f8b<\/p>\n\n\n\n<pre id=\"ZH-CN_TASK_0177102844__screen1524273145183238\" class=\"wp-block-preformatted\">vlan batch 100 200\n#\ninterface GigabitEthernet0\/0\/1\n port link-type dot1q-tunnel\n port default vlan 100\n#\ninterface GigabitEthernet0\/0\/2\n port link-type dot1q-tunnel\n port default vlan 200\n#\ninterface GigabitEthernet0\/0\/3\n qinq protocol 9100\n port link-type trunk\n port trunk allow-pass vlan 100 200<\/pre>\n\n\n\n<p>\u8be6\u7ec6\u53c2\u8003https:\/\/support.huawei.com\/enterprise\/zh\/doc\/EDOC1100197875\/dc04a145<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56fd\u5185OLT\u73b0\u5728\u4e3b\u8981\u7528\u534e\u4e3aMA5680T\uff0cMA5800\uff0c\u4e2d\u5174C300 \u70fd\u706bAN5516 \u4e00\u822c\u6765\u8bf4\u534e\u4e3a\u7684\u6bd4\u5982580 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-437","post","type-post","status-publish","format-standard","hentry","category-11"],"_links":{"self":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts\/437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/comments?post=437"}],"version-history":[{"count":0,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts\/437\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/media?parent=437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/categories?post=437"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/tags?post=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}