{"id":67106,"date":"2026-01-28T09:32:58","date_gmt":"2026-01-28T01:32:58","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/67106.html"},"modified":"2026-01-28T09:32:58","modified_gmt":"2026-01-28T01:32:58","slug":"%e5%8d%8e%e4%b8%baensp%e6%a8%a1%e6%8b%9f%e5%99%a8%e7%bb%bc%e5%90%88%e5%ae%9e%e9%aa%8c%e4%b9%8b-%e9%80%9a%e8%bf%87%e6%b5%81%e7%ad%96%e7%95%a5%e5%ae%9e%e7%8e%b0vlan%e5%86%85%e4%ba%8c-%e4%b8%89%e5%b1%82","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/67106.html","title":{"rendered":"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb"},"content":{"rendered":"<h3>\u7406\u89e3\u4e24\u79cd\u9694\u79bb\u6280\u672f<\/h3>\n<p>\u5728\u534e\u4e3a\u7f51\u7edc\u8bbe\u5907\u4e2d&#xff0c;\u5229\u7528<span style=\"color:#fe2c24\">\u6d41\u7b56\u7565<\/span>\u5b9e\u73b0\u7cbe\u7ec6\u5316\u7684\u8bbf\u95ee\u63a7\u5236\u662f\u4e00\u9879\u6838\u5fc3\u6280\u80fd\u3002\u5728\u89c4\u5212\u914d\u7f6e\u524d&#xff0c;\u6211\u4eec\u9996\u5148\u8981\u51c6\u786e\u7406\u89e3\u8fd9\u4e24\u79cd\u6280\u672f\u7684\u533a\u522b&#xff1a;<\/p>\n<table>\n<tr>\n<p>\u7279\u6027<\/p>\n<p>VLAN\u5185<span style=\"color:#fe2c24\">\u4e8c\u5c42\u9694\u79bb<\/span><\/p>\n<p>VLAN\u95f4<span style=\"color:#fe2c24\">\u4e09\u5c42\u9694\u79bb<\/span><\/p>\n<\/tr>\n<tbody>\n<tr>\n<td style=\"width:84px\">\n<p>\u9694\u79bb\u5c42\u7ea7\u200b<\/p>\n<\/td>\n<td style=\"width:290px\">\n<p>\u6570\u636e\u94fe\u8def\u5c42&#xff08;Layer 2&#xff09;<\/p>\n<\/td>\n<td style=\"width:315px\">\n<p>\u7f51\u7edc\u5c42&#xff08;Layer 3&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84px\">\n<p>\u5b9e\u73b0\u57fa\u7840\u200b<\/p>\n<\/td>\n<td style=\"width:290px\">\n<p>\u5728\u540c\u4e00\u4e2aVLAN\u5185\u8fdb\u884c<\/p>\n<\/td>\n<td style=\"width:315px\">\n<p>\u5728\u4e0d\u540cVLAN\u4e4b\u95f4\u8fdb\u884c&#xff0c;\u9700\u5148\u5b9e\u73b0\u4e09\u5c42\u8def\u7531<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84px\">\n<p>\u5178\u578b\u76ee\u7684\u200b<\/p>\n<\/td>\n<td style=\"width:290px\">\n<p>\u9632\u6b62\u540c\u4e00\u5e7f\u64ad\u57df\u5185\u7684\u7528\u6237\u76f4\u63a5\u901a\u4fe1&#xff0c;\u589e\u5f3a\u5b89\u5168\u6027<\/p>\n<\/td>\n<td style=\"width:315px\">\n<p>\u5728\u5141\u8bb8\u4e0d\u540c\u7f51\u6bb5\u901a\u4fe1\u7684\u57fa\u7840\u4e0a&#xff0c;\u8fdb\u884c\u7cbe\u7ec6\u5316\u7684\u8bbf\u95ee\u63a7\u5236<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84px\">\n<p>\u5e38\u7528\u6280\u672f\u200b<\/p>\n<\/td>\n<td style=\"width:290px\">\n<p>\u7aef\u53e3\u9694\u79bb\u3001<span style=\"color:#fe2c24\">MUX VLAN\u3001\u57fa\u4e8e\u6d41\u7b56\u7565\u7684\u9694\u79bb<\/span><\/p>\n<\/td>\n<td style=\"width:315px\">\n<p>\u57fa\u4e8e\u6d41\u7b56\u7565\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868&#xff08;ACL&#xff09;<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u914d\u7f6e\u6848\u4f8b&#xff1a;\u4f7f\u7528\u6d41\u7b56\u7565\u5b9e\u73b0\u9694\u79bb<\/h4>\n<p>\u6d41\u7b56\u7565\u7684\u6838\u5fc3\u914d\u7f6e\u6d41\u7a0b\u53ef\u4ee5\u6982\u62ec\u4e3a&#xff1a;<span style=\"color:#fe2c24\">\u5b9a\u4e49\u89c4\u5219&#xff08;ACL&#xff09; -&gt; \u5206\u7c7b\u6d41\u91cf&#xff08;\u6d41\u5206\u7c7b&#xff09; -&gt; \u8bbe\u5b9a\u52a8\u4f5c&#xff08;\u6d41\u884c\u4e3a&#xff09; -&gt; \u7ed1\u5b9a\u7b56\u7565&#xff08;\u6d41\u7b56\u7565&#xff09; -&gt; \u5e94\u7528\u7b56\u7565<\/span>\u3002<\/p>\n<h4>\u4e00\u3001VLAN\u5185\u4e8c\u5c42\u9694\u79bb\u6848\u4f8b<\/h4>\n<p>\u573a\u666f&#xff1a;\u5728\u540c\u4e00VLAN&#xff08;\u4f8b\u5982VLAN 10&#xff09;\u5185&#xff0c;\u8981\u6c42PC1\u548cPC2\u4e0d\u80fd\u4e92\u76f8\u901a\u4fe1&#xff0c;\u4f46\u5b83\u4eec\u90fd\u53ef\u4ee5\u4e0e\u7f51\u5173\u53ca\u5916\u90e8\u7f51\u7edc\u901a\u4fe1\u3002<\/p>\n<p>\u914d\u7f6e\u6b65\u9aa4&#xff1a;<\/p>\n<li>\n<p>\u521b\u5efa\u9ad8\u7ea7ACL\u5b9a\u4e49\u9694\u79bb\u89c4\u5219&#xff1a;\u7981\u6b62\u8fd9\u4e24\u53f0PC\u4e4b\u95f4\u7684IP\u901a\u4fe1\u3002<\/p>\n<p> &lt;HUAWEI&gt; system-view<br \/>\n[HUAWEI] sysname LSW<br \/>\n[LSW] acl 3000<br \/>\n[LSW-acl-adv-3000] rule deny ip source 10.1.1.10 0 destination 10.1.1.20 0 # \u7981\u6b62PC1\u8bbf\u95eePC2<br \/>\n[LSW-acl-adv-3000] rule deny ip source 10.1.1.20 0 destination 10.1.1.10 0 # \u7981\u6b62PC2\u8bbf\u95eePC1<br \/>\n[LSW-acl-adv-3000] quit <\/li>\n<li>\n<p>\u914d\u7f6e\u6d41\u5206\u7c7b\u4e0e\u6d41\u884c\u4e3a&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6d41\u5206\u7c7b&#xff1a;\u5173\u8054\u4e0a\u9762\u521b\u5efa\u7684ACL 3000&#xff0c;\u7528\u4e8e\u8bc6\u522bPC1\u548cPC2\u4e4b\u95f4\u7684\u6d41\u91cf\u3002<\/p>\n<p> [LSW] traffic classifier c_isolate<br \/>\n[LSW-classifier-c_isolate] if-match acl 3000<br \/>\n[LSW-classifier-c_isolate] quit <\/li>\n<li>\n<p>\u6d41\u884c\u4e3a&#xff1a;\u5bf9\u5339\u914d\u5230\u7684\u6d41\u91cf\u6267\u884cdeny&#xff08;\u62d2\u7edd&#xff09;\u52a8\u4f5c\u3002<\/p>\n<p> [LSW] traffic behavior b_deny<br \/>\n[LSW-behavior-b_deny] deny<br \/>\n[LSW-behavior-b_deny] quit <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u521b\u5efa\u5e76\u5e94\u7528\u6d41\u7b56\u7565&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6d41\u7b56\u7565&#xff1a;\u5c06\u6d41\u5206\u7c7b\u548c\u6d41\u884c\u4e3a\u7ed1\u5b9a\u8d77\u6765&#xff0c;\u5f62\u6210\u4e00\u4e2a\u5b8c\u6574\u7684\u7b56\u7565\u3002<\/p>\n<p> [LSW] traffic policy p_isolate<br \/>\n[LSW-trafficpolicy-p_isolate] classifier c_isolate behavior b_deny<br \/>\n[LSW-trafficpolicy-p_isolate] quit <\/li>\n<li>\n<p>\u5e94\u7528\u7b56\u7565&#xff1a;\u5c06\u6d41\u7b56\u7565\u5e94\u7528\u5230\u8fde\u63a5PC1\u548cPC2\u7684\u7269\u7406\u63a5\u53e3\u7684\u5165\u65b9\u5411&#xff08;inbound&#xff09;\u3002<\/p>\n<p> [LSW] interface GigabitEthernet 0\/0\/1  # \u5047\u8bbe\u6b64\u63a5\u53e3\u8fde\u63a5PC1<br \/>\n[LSW-GigabitEthernet0\/0\/1] traffic-policy p_isolate inbound<br \/>\n[LSW-GigabitEthernet0\/0\/1] quit<br \/>\n[LSW] interface GigabitEthernet 0\/0\/2  # \u5047\u8bbe\u6b64\u63a5\u53e3\u8fde\u63a5PC2<br \/>\n[LSW-GigabitEthernet0\/0\/2] traffic-policy p_isolate inbound<br \/>\n[LSW-GigabitEthernet0\/0\/2] quit <\/li>\n<\/ul>\n<\/li>\n<h4>\u4e8c\u3001VLAN\u95f4\u4e09\u5c42\u9694\u79bb\u6848\u4f8b<\/h4>\n<p>\u573a\u666f&#xff1a;\u67d0\u516c\u53f8\u6709\u8bbf\u5ba2&#xff08;VLAN 10&#xff09;\u3001\u5458\u5de5&#xff08;VLAN 20&#xff09;\u548c\u670d\u52a1\u5668&#xff08;VLAN 30&#xff09;\u4e09\u4e2aVLAN\u3002\u8981\u6c42\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u8bbf\u5ba2\u53ea\u80fd\u8bbf\u95ee\u4e92\u8054\u7f51&#xff0c;\u4e0d\u80fd\u8bbf\u95ee\u5458\u5de5\u533a\u548c\u670d\u52a1\u5668\u533a\u3002<\/p>\n<\/li>\n<li>\n<p>\u666e\u901a\u5458\u5de5\u53ef\u4ee5\u8bbf\u95ee\u4e92\u8054\u7f51\u548c\u670d\u52a1\u5668A\u7684FTP\u670d\u52a1&#xff08;\u7aef\u53e321&#xff09;&#xff0c;\u4f46\u4e0d\u80fd\u8bbf\u95ee\u670d\u52a1\u5668B\u3002<\/p>\n<\/li>\n<li>\n<p>\u7279\u6743\u5458\u5de5&#xff08;\u5982\u5458\u5de5A&#xff09;\u53ef\u4ee5\u8bbf\u95ee\u6240\u6709\u670d\u52a1\u5668\u8d44\u6e90\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u914d\u7f6e\u601d\u8def&#xff1a;\u5148\u914d\u7f6eVLAN\u548cVLANIF\u63a5\u53e3\u5b9e\u73b0\u4e09\u5c42\u4e92\u901a&#xff0c;\u518d\u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u65bd\u7cbe\u7ec6\u63a7\u5236\u3002<\/p>\n<p>\u5173\u952e\u914d\u7f6e\u6b65\u9aa4&#xff08;\u5728\u6838\u5fc3\u4ea4\u6362\u673aDeviceD\u4e0a\u8fdb\u884c&#xff09;&#xff1a;<\/p>\n<li>\n<p>\u914d\u7f6eACL\u5b9a\u4e49\u590d\u6742\u89c4\u5219&#xff1a;<\/p>\n<ul>\n<li>\n<p>ACL 3000&#xff1a;\u9650\u5236\u8bbf\u5ba2\u8bbf\u95ee\u5185\u90e8\u7f51\u7edc\u3002<\/p>\n<p> [DeviceD] acl 3000<br \/>\n[DeviceD-acl-adv-3000] rule deny ip destination 10.1.2.0 0.0.0.255  # \u7981\u6b62\u8bbf\u5ba2\u8bbf\u95ee\u5458\u5de5\u7f51\u6bb5<br \/>\n[DeviceD-acl-adv-3000] rule deny ip destination 10.1.3.0 0.0.0.255  # \u7981\u6b62\u8bbf\u5ba2\u8bbf\u95ee\u670d\u52a1\u5668\u7f51\u6bb5<br \/>\n[DeviceD-acl-adv-3000] quit <\/li>\n<\/ul>\n<ul>\n<li>\n<p>ACL 3001&#xff1a;\u5b9a\u4e49\u5458\u5de5\u533a\u7684\u8bbf\u95ee\u6743\u9650\u3002<\/p>\n<p> [DeviceD] acl 3001<br \/>\n[DeviceD-acl-adv-3001] rule permit ip source 10.1.2.2 0 destination 10.1.3.0 0.0.0.255  # \u5141\u8bb8\u5458\u5de5A\u8bbf\u95ee\u6574\u4e2a\u670d\u52a1\u5668\u7f51\u6bb5<br \/>\n[DeviceD-acl-adv-3001] rule permit tcp destination 10.1.3.2 0 destination-port eq 21  # \u5141\u8bb8\u6240\u6709\u5458\u5de5\u8bbf\u95ee\u670d\u52a1\u5668A\u7684FTP<br \/>\n[DeviceD-acl-adv-3001] rule deny ip destination 10.1.3.0 0.0.0.255  # \u7981\u6b62\u5458\u5de5\u8bbf\u95ee\u670d\u52a1\u5668\u533a\u7684\u5176\u4ed6\u6d41\u91cf<br \/>\n[DeviceD-acl-adv-3001] quit <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u6d41\u5206\u7c7b\u3001\u6d41\u884c\u4e3a\u5e76\u7ed1\u5b9a\u6d41\u7b56\u7565&#xff08;\u6b65\u9aa4\u4e0e\u524d\u8ff0\u6848\u4f8b\u7c7b\u4f3c&#xff0c;\u6b64\u5904\u7b80\u5199&#xff09;&#xff1a;<\/p>\n<p> !&#8211; \u4e3a\u8bbf\u5ba2VLAN\u521b\u5efa\u6d41\u7b56\u7565<br \/>\n[DeviceD] traffic classifier c_guest if-match acl 3000<br \/>\n[DeviceD] traffic behavior b_guest deny  !&#8211; \u62d2\u7edd\u8bbf\u5ba2\u8bbf\u95ee\u5185\u90e8\u7f51\u7edc<br \/>\n[DeviceD] traffic policy p_guest classifier c_guest behavior b_guest<br \/>\n[DeviceD] vlan 10<br \/>\n[DeviceD-vlan10] traffic-policy p_guest inbound  !&#8211; \u5728VLAN\u7ef4\u5ea6\u5e94\u7528\u7b56\u7565 !&#8211; \u4e3a\u5458\u5de5VLAN\u521b\u5efa\u6d41\u7b56\u7565<br \/>\n[DeviceD] traffic classifier c_employee if-match acl 3001<br \/>\n[DeviceD] traffic behavior b_employee permit  !&#8211; \u6ce8\u610f\u8fd9\u91cc\u662fpermit&#xff0c;\u56e0\u4e3aACL\u5185\u5df2\u660e\u786e\u5141\u8bb8\u548c\u62d2\u7edd\u7684\u89c4\u5219<br \/>\n[DeviceD] traffic policy p_employee classifier c_employee behavior b_employee<br \/>\n[DeviceD] vlan 20<br \/>\n[DeviceD-vlan20] traffic-policy p_employee inbound <\/li>\n<h4>\u4e09\u3001\u6280\u672f\u70b9\u5206\u6790<\/h4>\n<li>\n<p>\u6d41\u7b56\u7565\u7684\u5e94\u7528\u4f4d\u7f6e&#xff1a;\u6d41\u7b56\u7565\u53ef\u4ee5\u5e94\u7528\u5728\u7269\u7406\u63a5\u53e3\u3001VLAN\u6216\u5168\u5c40\u3002VLAN\u5185\u9694\u79bb\u901a\u5e38\u5e94\u7528\u5728\u63a5\u5165\u63a5\u53e3\u4e0a&#xff0c;\u800cVLAN\u95f4\u9694\u79bb\u66f4\u9002\u5408\u5e94\u7528\u5728VLANIF\u63a5\u53e3\u6216\u6574\u4e2aVLAN\u7684\u5165\u65b9\u5411&#xff0c;\u7ba1\u7406\u8d77\u6765\u66f4\u7b80\u6d01\u3002<\/p>\n<\/li>\n<li>\n<p>ACL\u89c4\u5219\u7684\u7ec6\u5316&#xff1a;\u4e09\u5c42\u9694\u79bb\u7684\u5f3a\u5927\u4e4b\u5904\u5728\u4e8eACL\u7684\u7075\u6d3b\u6027\u3002\u4f60\u53ef\u4ee5\u57fa\u4e8e\u6e90\/\u76ee\u7684IP\u5730\u5740\u3001\u534f\u8bae\u7c7b\u578b&#xff08;\u5982TCP\/UDP\/ICMP&#xff09;\u3001\u7aef\u53e3\u53f7\u7b49\u5143\u7d20\u8fdb\u884c\u7cbe\u7ec6\u63a7\u5236&#xff0c;\u5b9e\u73b0\u5982\u201c\u4ec5\u5141\u8bb8\u8bbf\u95ee\u7279\u5b9a\u670d\u52a1\u5668\u7684\u7279\u5b9a\u7aef\u53e3\u201d\u8fd9\u6837\u7684\u9700\u6c42\u3002<\/p>\n<\/li>\n<li>\n<p>\u7b56\u7565\u7684\u751f\u6548\u65b9\u5411&#xff1a;inbound&#xff08;\u5165\u65b9\u5411&#xff09;\u662f\u6307\u4ea4\u6362\u673a\u5728\u63a5\u6536\u5230\u62a5\u6587\u65f6\u5c31\u5f00\u59cb\u5339\u914d\u7b56\u7565\u5e76\u8fdb\u884c\u8fc7\u6ee4&#xff0c;\u8fd9\u662f\u6700\u5e38\u7528\u4e14\u9ad8\u6548\u7684\u65b9\u5f0f\u3002<\/p>\n<\/li>\n<h4>\u56db\u3001\u9009\u62e9\u4e0e\u9a8c\u8bc1<\/h4>\n<ul>\n<li>\n<p><span style=\"color:#fe2c24\">VLAN\u5185\u9694\u79bb<\/span>&#xff1a;\u5982\u679c\u9700\u6c42\u7b80\u5355&#xff0c;\u53ea\u662f\u8981\u6c42\u540c\u4e00VLAN\u4e0b\u7684\u67d0\u4e9b\u7aef\u53e3\u4e0d\u80fd\u4e92\u8bbf&#xff0c;\u7aef\u53e3\u9694\u79bb\u662f\u66f4\u7b80\u5355\u9ad8\u6548\u7684\u9009\u62e9\u3002\u5982\u679c\u9694\u79bb\u9700\u6c42\u590d\u6742&#xff08;\u5982\u9700\u8981\u5355\u5411\u9694\u79bb\u6216\u66f4\u590d\u6742\u7684\u6d41\u91cf\u5339\u914d&#xff09;&#xff0c;\u5219\u4f7f\u7528\u6d41\u7b56\u7565\u3002<\/p>\n<\/li>\n<li>\n<p><span style=\"color:#fe2c24\">VLAN\u95f4\u9694\u79bb<\/span>&#xff1a;\u5f53\u4e0d\u540c\u90e8\u95e8\u6216\u7528\u6237\u7ec4\u5df2\u5212\u5206VLAN&#xff0c;\u4e14\u9700\u8981\u5728\u4e09\u5c42\u4e92\u901a\u7684\u57fa\u7840\u4e0a\u5b9e\u65bd\u5b89\u5168\u7b56\u7565\u65f6&#xff0c;\u6d41\u7b56\u7565\u662f\u5b9e\u73b0\u7cbe\u7ec6\u8bbf\u95ee\u63a7\u5236\u7684\u4e0d\u4e8c\u4e4b\u9009\u3002\u6027\u80fd\u4e0e\u8f6c\u53d1\u6548\u7387&#xff1a;\u8fd9\u662f\u5927\u578b\u7f51\u7edc\u90e8\u7f72\u7684\u9996\u8981\u8003\u8651&#xff0c;\u4e0d\u5f53\u7684\u7b56\u7565\u4f1a\u4e25\u91cd\u5f71\u54cd\u6574\u7f51\u541e\u5410\u548c\u5ef6\u8fdf\u3002<\/p>\n<\/li>\n<li>\n<p><span style=\"color:#fe2c24\">\u7b56\u7565\u5e94\u7528\u4f4d\u7f6e<\/span>&#xff08;\u5173\u952e&#xff09;\u539f\u5219&#xff1a;\u5c3d\u91cf\u9760\u8fd1\u6d41\u91cf\u6e90&#xff08;\u5165\u65b9\u5411&#xff09;&#xff0c;\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u7a7f\u8d8a\u5e26\u5bbd\u6d88\u8017\u3002<\/p>\n<p> \u4e8c\u5c42\u9694\u79bb&#xff1a;\u5e94\u5728\u63a5\u5165\u4ea4\u6362\u673a\u7684\u7528\u6237\u4fa7\u63a5\u53e3\u5165\u65b9\u5411\u5e94\u7528&#xff0c;\u907f\u514d\u9694\u79bb\u6d41\u91cf\u4e0a\u884c\u5230\u6c47\u805a\/\u6838\u5fc3\u5c42&#xff0c;\u6d6a\u8d39\u5b9d\u8d35\u7684\u4e0a\u884c\u5e26\u5bbd\u548c\u5904\u7406\u8d44\u6e90\u3002\u4e09\u5c42\u9694\u79bb&#xff1a;\u5728\u6c47\u805a\u6216\u6838\u5fc3\u4ea4\u6362\u673a&#xff08;\u5373\u4e09\u5c42\u7f51\u5173\u6240\u5728\u8bbe\u5907&#xff09;\u7684VLANIF\u63a5\u53e3\u5165\u65b9\u5411\u6216\u5bf9\u5e94VLAN\u4e0a\u5e94\u7528\u3002\u8fd9\u662f\u7b56\u7565\u6267\u884c\u7684\u201c\u54bd\u5589\u8981\u9053\u201d&#xff0c;\u80fd\u5b9e\u73b0\u96c6\u4e2d\u3001\u9ad8\u6548\u7ba1\u63a7\u3002<\/li>\n<li>ACL\u4e0e\u7b56\u7565\u590d\u6742\u5ea6\u4f18\u5316&#xff1a;\u89c4\u5219\u987a\u5e8f&#xff1a;<span style=\"color:#fe2c24\">ACL\u89c4\u5219\u6309\u914d\u7f6e\u987a\u5e8f\u5339\u914d<\/span>\u3002\u5c06\u547d\u4e2d\u9891\u7387\u9ad8\u7684\u89c4\u5219\u3001\u62d2\u7edd\u7279\u5b9a\u653b\u51fb\u7684\u89c4\u5219&#xff08;\u5982deny\u67d0\u4e9b\u626b\u63cf&#xff09;\u653e\u5728\u524d\u9762&#xff0c;\u901a\u7528\u7684\u5141\u8bb8\u89c4\u5219\u653e\u5728\u540e\u9762&#xff0c;\u53ef\u63d0\u5347\u5339\u914d\u6548\u7387\u3002<\/li>\n<li>\n<p>\u89c4\u5219\u7cbe\u7b80&#xff1a;\u5408\u5e76\u5177\u6709\u76f8\u540c\u52a8\u4f5c\u7684\u8fde\u7eedIP\u5730\u5740\u6bb5&#xff0c;\u4f7f\u7528\u901a\u914d\u7b26\u63a9\u7801\u3002\u907f\u514d\u4f7f\u7528any\u7b49\u8fc7\u4e8e\u5bbd\u6cdb\u7684\u5339\u914d\u6761\u4ef6\u540e\u63a5\u5927\u91cf\u62d2\u7edd\u89c4\u5219&#xff0c;\u8fd9\u4f1a\u8feb\u4f7f\u8bbe\u5907\u68c0\u67e5\u6240\u6709\u6d41\u91cf\u3002\u614e\u7528\u6df1\u5c42\u5339\u914d&#xff1a;\u57fa\u4e8eTCP\/UDP\u7aef\u53e3\u7684\u89c4\u5219\u6bd4\u57fa\u4e8eIP\u7684\u89c4\u5219\u6d88\u8017\u66f4\u591a\u8d44\u6e90\u3002\u4ec5\u5728\u5fc5\u8981\u65f6\u4f7f\u7528\u3002\u67e5\u8868\u8d44\u6e90&#xff1a;\u6d41\u7b56\u7565\u6d88\u8017ACL\u3001\u6d41\u5206\u7c7b\u7b49\u786c\u4ef6\u8868\u9879\u8d44\u6e90\u3002\u5728\u90e8\u7f72\u524d&#xff0c;\u68c0\u67e5\u8bbe\u5907\u89c4\u683c&#xff0c;\u4e86\u89e3\u5176\u652f\u6301\u7684\u6700\u5927ACL\u6761\u76ee\u6570\u3001\u5e76\u53d1\u6d41\u7b56\u7565\u6570&#xff0c;\u5e76\u8bc4\u4f30\u5f53\u524d\u4f7f\u7528\u7387&#xff0c;\u907f\u514d\u56e0\u8d44\u6e90\u8017\u5c3d\u5bfc\u81f4\u7b56\u7565\u5931\u6548\u6216\u8bbe\u5907\u5f02\u5e38\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u9a8c\u8bc1\u914d\u7f6e\u7ed3\u679c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u5c31\u662f\u4f7f\u7528ping\u547d\u4ee4\u6216\u5b9e\u9645\u7684\u4e1a\u52a1\u8bbf\u95ee\u6d4b\u8bd5\u3002\u540c\u65f6&#xff0c;\u53ef\u4ee5\u901a\u8fc7display traffic-policy applied-record\u547d\u4ee4\u67e5\u770b\u6d41\u7b56\u7565\u7684\u5e94\u7528\u60c5\u51b5&#xff0c;\u4f7f\u7528display acl &lt;acl-number&gt;\u547d\u4ee4\u67e5\u770bACL\u89c4\u5219\u7684\u5339\u914d\u62a5\u6587\u8ba1\u6570&#xff0c;\u8fd9\u5bf9\u4e8e\u8c03\u8bd5\u548c\u76d1\u63a7\u975e\u5e38\u6709\u7528\u3002<\/p>\n<p>\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- MUX VLAN&#xff08;\u540c\u4e00\u7f51\u6bb5\u4e0b\u7684\u7cbe\u7ec6\u9694\u79bb\u65b9\u6848&#xff09;<\/p>\n<p>\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b-\u7b56\u7565\u8def\u7531\u8be6\u89e3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7406\u89e3\u4e24\u79cd\u9694\u79bb\u6280\u672f<br \/>\n\u5728\u534e\u4e3a\u7f51\u7edc\u8bbe\u5907\u4e2d&#xff0c;\u5229\u7528\u6d41\u7b56\u7565\u5b9e\u73b0\u7cbe\u7ec6\u5316\u7684\u8bbf\u95ee\u63a7\u5236\u662f\u4e00\u9879\u6838\u5fc3\u6280\u80fd\u3002\u5728\u89c4\u5212\u914d\u7f6e\u524d&#xff0c;\u6211\u4eec\u9996\u5148\u8981\u51c6\u786e\u7406\u89e3\u8fd9\u4e24\u79cd\u6280\u672f\u7684\u533a\u522b&#xff1a; \u7279\u6027  VLAN\u5185\u4e8c\u5c42\u9694\u79bb  VLAN\u95f4\u4e09\u5c42\u9694\u79bb  \u9694\u79bb\u5c42\u7ea7\u200b  \u6570\u636e\u94fe\u8def\u5c42&#xff08;Layer 2&#xff09;  \u7f51\u7edc\u5c42&#xff08;Layer 3&#xff09;  \u5b9e\u73b0\u57fa\u7840\u200b  \u5728\u540c\u4e00\u4e2aVLAN\u5185\u8fdb\u884c  \u5728\u4e0d\u540cVLAN\u4e4b\u95f4\u8fdb\u884c&#xff0c;\u9700\u5148\u5b9e\u73b0\u4e09\u5c42\u8def\u7531  \u5178\u578b\u76ee\u7684\u200b  \u9632\u6b62\u540c\u4e00<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[67,78,191],"topic":[],"class_list":["post-67106","post","type-post","status-publish","format-standard","hentry","category-server","tag-67","tag-78","tag-191"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/67106.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7406\u89e3\u4e24\u79cd\u9694\u79bb\u6280\u672f \u5728\u534e\u4e3a\u7f51\u7edc\u8bbe\u5907\u4e2d&#xff0c;\u5229\u7528\u6d41\u7b56\u7565\u5b9e\u73b0\u7cbe\u7ec6\u5316\u7684\u8bbf\u95ee\u63a7\u5236\u662f\u4e00\u9879\u6838\u5fc3\u6280\u80fd\u3002\u5728\u89c4\u5212\u914d\u7f6e\u524d&#xff0c;\u6211\u4eec\u9996\u5148\u8981\u51c6\u786e\u7406\u89e3\u8fd9\u4e24\u79cd\u6280\u672f\u7684\u533a\u522b&#xff1a; \u7279\u6027 VLAN\u5185\u4e8c\u5c42\u9694\u79bb VLAN\u95f4\u4e09\u5c42\u9694\u79bb \u9694\u79bb\u5c42\u7ea7\u200b \u6570\u636e\u94fe\u8def\u5c42&#xff08;Layer 2&#xff09; \u7f51\u7edc\u5c42&#xff08;Layer 3&#xff09; \u5b9e\u73b0\u57fa\u7840\u200b \u5728\u540c\u4e00\u4e2aVLAN\u5185\u8fdb\u884c \u5728\u4e0d\u540cVLAN\u4e4b\u95f4\u8fdb\u884c&#xff0c;\u9700\u5148\u5b9e\u73b0\u4e09\u5c42\u8def\u7531 \u5178\u578b\u76ee\u7684\u200b \u9632\u6b62\u540c\u4e00\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/67106.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-28T01:32:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67106.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/67106.html\",\"name\":\"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-28T01:32:58+00:00\",\"dateModified\":\"2026-01-28T01:32:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/67106.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/67106.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67106.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/67106.html","og_locale":"zh_CN","og_type":"article","og_title":"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7406\u89e3\u4e24\u79cd\u9694\u79bb\u6280\u672f \u5728\u534e\u4e3a\u7f51\u7edc\u8bbe\u5907\u4e2d&#xff0c;\u5229\u7528\u6d41\u7b56\u7565\u5b9e\u73b0\u7cbe\u7ec6\u5316\u7684\u8bbf\u95ee\u63a7\u5236\u662f\u4e00\u9879\u6838\u5fc3\u6280\u80fd\u3002\u5728\u89c4\u5212\u914d\u7f6e\u524d&#xff0c;\u6211\u4eec\u9996\u5148\u8981\u51c6\u786e\u7406\u89e3\u8fd9\u4e24\u79cd\u6280\u672f\u7684\u533a\u522b&#xff1a; \u7279\u6027 VLAN\u5185\u4e8c\u5c42\u9694\u79bb VLAN\u95f4\u4e09\u5c42\u9694\u79bb \u9694\u79bb\u5c42\u7ea7\u200b \u6570\u636e\u94fe\u8def\u5c42&#xff08;Layer 2&#xff09; \u7f51\u7edc\u5c42&#xff08;Layer 3&#xff09; \u5b9e\u73b0\u57fa\u7840\u200b \u5728\u540c\u4e00\u4e2aVLAN\u5185\u8fdb\u884c \u5728\u4e0d\u540cVLAN\u4e4b\u95f4\u8fdb\u884c&#xff0c;\u9700\u5148\u5b9e\u73b0\u4e09\u5c42\u8def\u7531 \u5178\u578b\u76ee\u7684\u200b \u9632\u6b62\u540c\u4e00","og_url":"https:\/\/www.wsisp.com\/helps\/67106.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-28T01:32:58+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/67106.html","url":"https:\/\/www.wsisp.com\/helps\/67106.html","name":"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-28T01:32:58+00:00","dateModified":"2026-01-28T01:32:58+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/67106.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/67106.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/67106.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u534e\u4e3aeNSP\u6a21\u62df\u5668\u7efc\u5408\u5b9e\u9a8c\u4e4b- \u901a\u8fc7\u6d41\u7b56\u7565\u5b9e\u73b0Vlan\u5185\u4e8c\/\u4e09\u5c42\u9694\u79bb"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=67106"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67106\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=67106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=67106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=67106"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=67106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}