{"id":1241,"date":"2021-05-12T17:01:04","date_gmt":"2021-05-12T17:01:04","guid":{"rendered":"https:\/\/www.jayjaydream.com\/?p=1241"},"modified":"2021-05-12T17:01:04","modified_gmt":"2021-05-12T17:01:04","slug":"2018%e4%b8%8b%e5%8d%8a%e5%b9%b4%e7%bd%91%e7%bb%9c%e7%ae%a1%e7%90%86%e5%91%98%e4%b8%8b%e5%8d%88%e7%9c%9f%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.jayjaydream.com\/?p=1241","title":{"rendered":"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898"},"content":{"rendered":"<p>\u25cf \u9605\u8bfb\u4ee5\u4e0b\u8bf4\u660e\uff0c\u56de\u7b54\u95ee\u98981\u81f3\u95ee\u98984\uff0c\u5c06\u89e3\u7b54\u586b\u5165\u7b54\u9898\u7eb8\u5bf9\u5e94\u7684\u89e3\u7b54\u680f\u5185\u3002<\/p>\n<p>\u3010\u8bf4\u660e\u3011<\/p>\n<p>\u67d0\u56ed\u533a\u7ec4\u7f51\u65b9\u6848\u5982\u56fe1-1\u6240\u793a\uff0c\u7f51\u7edc\u89c4\u5212\u5982\u88681-1\u5185\u5bb9\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c1\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c1\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/0585318c-e80d-4152-b2cf-6e03e102c46e.png\" \/><\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c2\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c2\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/5bf0d78e-a364-4de1-9033-330d79d77179.png\" \/><\/p>\n<p>\u3010\u95ee\u98981\u3011\uff086\u5206\uff0c\u6bcf\u7a7a1\u5206\uff09<\/p>\n<p>\u7ba1\u7406\u5458\u901a\u8fc7Console\u53e3\u767b\u5f55\u8bbe\u5907Switch1\uff0c\u914d\u7f6e\u7ba1\u7406IP\u548cTelnet\u3002<\/p>\n<p>&lt;HUAWEI&gt; system-view<\/p>\n<p>[HUAWEI] \uff08 1 \uff09<\/p>\n<p>[HUAWEI-vlan5]\u00a0 management-vlan<\/p>\n<p>[HUAWEI-vlan5] quit<\/p>\n<p>[HUAWEI] interface vlanif 5<\/p>\n<p>[HUAWEI-vlanif5]\uff08 2 \uff09<\/p>\n<p>[HUAWEI-vlanif5] quit<\/p>\n<p>[HUAWEI] telnet server enable<\/p>\n<p>[HUAWEI] user-interface vty 0 4<\/p>\n<p>[HUAWEI-ui-vty0-4] protocol inbound telnet<\/p>\n<p>[HUAWEI-ui-vty0-4] authentication-mode aaa<\/p>\n<p>[HUAWEI-ui-vty0-4] quit<\/p>\n<p>[HUAWEI] \uff08 3 \uff09<\/p>\n<p>[HUAWEI-aaa] local-user admin password irreversible-cipher\u00a0<a href=\"mailto:Helloworld@6789\">Helloworld@6789<\/a><\/p>\n<p>[HUAWEI-aaa] local-user admin privilege level 15<\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u5728\u7ef4\u62a4\u7ec8\u7aef\u4e0aTelnet\u5230\u4ea4\u6362\u673a\u7684\u547d\u4ee4\u662f\uff08 4 \uff09\uff0c\u767b\u5f55\u7528\u6237\u540d\u662f\uff08 5 \uff09\uff0c\u8be5\u7528\u6237\u5177\u6709\uff08 6 \uff09\u6743\u9650\u3002<\/p>\n<p>\u3010\u95ee\u9898 2\u3011\uff084\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u8bbe\u5907Switch1\u4e0eSwitch2\u3001Switch3\u4e4b\u95f4\u7684\u7ebf\u8def\u79f0\u4e3a\uff08 7 \uff09\uff0c\u5176\u4f5c\u7528\u662f\uff08 8 \uff09\u3002<\/p>\n<p>\uff087\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff081\uff09A\uff0e \u94fe\u8def\u805a\u5408\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 B. \u94fe\u8def\u5907\u4efd<\/p>\n<p>\u3010\u95ee\u9898 3\u3011\uff086\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u5728\u8be5\u7f51\u7edc\u4e2d\uff0c\u5728\uff08 9 \uff09\u8bbe\u5907\u4e0a\u914d\u7f6e\u4e86DHCP\u670d\u52a1\u7684\u4f5c\u7528\u662f\u4e3a\u7528\u6237\uff08 10 \uff09\u5206\u914d\u5730\u5740\u3002<\/p>\n<p>\u4e3a\u9632\u6b62\u5185\u7f51\u7528\u6237\u79c1\u63a5\u5c0f\u8def\u7531\u5668\u5206\u914dIP\u5730\u5740\uff0c\u5728\u63a5\u5165\u4ea4\u6362\u673a\u4e0a\u914d\u7f6e\uff0811\uff09\u529f\u80fd\u3002<\/p>\n<p>\uff0811\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff082\uff09A\uff0e \u00a0DHCP Snooping\u00a0\u00a0\u00a0\u00a0 B. \u00a0IPSG<\/p>\n<p>\u3010\u95ee\u9898 4\u3011\uff084\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u5728\u8be5\u7f51\u7edc\u7684\u6570\u636e\u89c4\u5212\u4e2d\uff0c\u9700\u8981\u5728Switch1\u548cRouter\u8bbe\u5907\u4e0a\u5404\u914d\u7f6e\u4e00\u6761\u9759\u6001\u7f3a\u7701\u8def\u7531\uff0c \u5176\u4e2d\uff0c\u5728Switch1\u914d\u7f6e\u7684\u662fip route-static \u00a00.0.0.0 \u00a00.0.0.0 \uff08 12 \uff09\uff1b\u5728Router\u914d\u7f6e\u7684\u662fip route-static \u00a00.0.0.0 0.0.0.0 \uff08 13 \uff09\u3002<\/p>\n<p>\u25cf \u9605\u8bfb\u4ee5\u4e0b\u8bf4\u660e\uff0c\u56de\u7b54\u95ee\u98981\u81f3\u95ee\u98983\uff0c\u5c06\u89e3\u7b54\u586b\u5165\u7b54\u9898\u7eb8\u5bf9\u5e94\u7684\u89e3\u7b54\u680f\u5185\u3002<\/p>\n<p>\u3010\u8bf4\u660e\u3011<\/p>\n<p>\u67d0\u5e7f\u544a\u516c\u53f8\u6709\u4e09\u4e2a\u90e8\u95e8A\u3001B\u548cC\uff0c\u5206\u522b\u8d1f\u8d23\u6559\u80b2\u3001\u91d1\u878d\u548c\u65f6\u4e8b\u65b9\u9762\u7684\u5e7f\u544a\u3002\u516c\u53f8\u8981\u4e3a\u8fd9\u4e09\u4e2a\u90e8\u95e8\u521b\u5efa\u7f51\u7ad9\uff0c\u516c\u53f8\u670d\u52a1\u5668\u7684IP\u5730\u5740\u662f10.0.248.24\/24\u3002<\/p>\n<p>\u3010\u95ee\u98981\u3011\uff086\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u5e7f\u544a\u516c\u53f8\u5728\u8fd9\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\uff0c\u4e3a\u4e09\u4e2a\u90e8\u95e8\u521b\u5efa\u4e0d\u540c\u7f51\u7ad9\u7684\u65b9\u6cd5\u6709\uff081\uff09\u3001\uff082\uff09\u548c\uff083\uff09\u3002<\/p>\n<p>\u3010\u95ee\u98982\u3011\uff088\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u516c\u53f8\u5728Windows\u670d\u52a1\u5668\u4e0a\u5206\u522b\u4e3a\u4e09\u4e2a\u90e8\u95e8\u521b\u5efa\u4e86\u7f51\u7ad9\u76ee\u5f55\u3002\u521b\u5efa\u90e8\u95e8A\u7684\u7f51\u7ad9\u5982\u56fe2-1\u6240\u793a\uff0cIP\u5730\u5740\u5e94\u586b\u5199\uff084\uff09\uff0c\u9ed8\u8ba4\u7aef\u53e3\u53f7\u4e3a\uff085\uff09\u3002<\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c3\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c3\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/44d96639-229c-4a4f-9014-7bf09a27e788.png\" \/><\/p>\n<p>\u56fe2-1<\/p>\n<p>\u5982\u679c\u521b\u5efa\u7f51\u7ad9\u65f6\u4e0d\u4f7f\u7528\u9ed8\u8ba4\u7aef\u53e3\u53f7\uff0c\u7aef\u53e3\u53f7\u4e00\u822c\u5728\uff086\uff09\u4e4b\u95f4\uff0c\u6b64\u65f6\u53ef\u901a\u8fc7\u5728\u5730\u5740\u680f\u8f93\u5165\uff087\uff09\u6765\u8bbf\u95ee\u90e8\u95e8A\u7684\u7f51\u7ad9\u3002<\/p>\n<p>\u3010\u95ee\u98983\u3011\uff086\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u90e8\u95e8A\u521b\u5efa\u4e86\u4e00\u4e2a\u865a\u62df\u76ee\u5f55\uff0c\u7528\u4e8e\u5b58\u50a8\u4e00\u4e9b\u8d44\u6599\u4fe1\u606f\uff0c\u5982\u56fe2-2\u6240\u793a\u3002\u5982\u679c\u90e8\u95e8A\u4f7f\u7528\u9ed8\u8ba4\u7aef\u53e3\u53f7\uff0c\u7528\u6237\u53ef\u901a\u8fc7\u5728\u5730\u5740\u680f\u8f93\u5165\uff088\uff09\u6765\u8bbf\u95ee\u865a\u62df\u76ee\u5f55\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u5982\u679c\u865a\u62df\u76ee\u5f55\u4e0b\u6709\u4e00\u4e2a\u9ed8\u8ba4\u6587\u6863index.html\u548c\u4e00\u4e2a\u5b50\u6587\u4ef6\u5939photos\uff0c\u5982\u679c\u5728\u67e5\u770b\u865a\u62df\u76ee\u5f55\u6587\u4ef6\u65f6\u51fa\u73b0\u56fe2-3\u6240\u793a\u7684\u9519\u8bef\uff0c\u662f\u56e0\u4e3a\u6ca1\u6709\u542f\u7528\uff089\uff09\u529f\u80fd\uff1b\u82e5\u542f\u7528\u6b64\u529f\u80fd\u540e\uff0c\u5728\u6d4f\u89c8\u67e5\u770b\u8be5\u865a\u62df\u76ee\u5f55\u65f6\uff0c\u4f1a\u4f18\u5148\uff0810\uff09\u3002<\/p>\n<p>\uff088\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff082\uff09A\uff0e\u00a0<a href=\"http:\/\/d\/\">http:\/\/d<\/a><\/p>\n<p>\uff083\uff09A\uff0eeducation.com\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0B.\u00a0<a href=\"http:\/\/d\/\">http:\/\/d<\/a><\/p>\n<p>\uff084\uff09A\uff0eeducation.com\/private<\/p>\n<p>C.\u00a0<a href=\"http:\/\/d\/\">http:\/\/d<\/a><\/p>\n<p>\uff085\uff09A\uff0eeducation.com\/files\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0D.\u00a0<a href=\"http:\/\/d\/\">http:\/\/d<\/a><\/p>\n<p>\uff086\uff09A\uff0eeducation.com\/e\/files<\/p>\n<p>\uff089\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff087\uff09A\uff0e\u9ed8\u8ba4\u6587\u6863\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 B.\u76ee\u5f55\u6d4f\u89c8\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 C.\u8eab\u4efd\u9a8c\u8bc1\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 D.\u6388\u6743\u89c4\u5219<\/p>\n<p>\uff0810\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff088\uff09A\uff0e\u6267\u884c\u9ed8\u8ba4\u6587\u6863index.html\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0B.\u663e\u793a\u5b50\u6587\u4ef6\u5939photos<\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c4\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c4\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/2cac9718-db92-484f-afaf-6334655c47dc.png\" \/><\/p>\n<p>\u25cf \u9605\u8bfb\u4ee5\u4e0b\u8bf4\u660e\uff0c\u56de\u7b54\u95ee\u98981\u81f3\u95ee\u98983\uff0c\u5c06\u89e3\u7b54\u586b\u5165\u7b54\u9898\u7eb8\u5bf9\u5e94\u7684\u89e3\u7b54\u680f\u5185\u3002<\/p>\n<p>\u3010\u8bf4\u660e\u3011<\/p>\n<p>\u67d0\u516c\u53f8\u7f51\u7edc\u62d3\u6251\u7ed3\u6784\u5982\u56fe 3-1 \u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c5\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c5\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/70549c96-abfd-4f86-bf87-b441a441b750.png\" \/><\/p>\n<p>\u3010\u95ee\u98981\u3011\uff083\u5206\uff0c\u6bcf\u7a7a1\u5206\uff09<\/p>\n<p>\u5982\u56fe3-1\u6240\u793a\uff0c\u9632\u706b\u5899\u7684\u63a5\u53e3\u2460~\u2462\u5206\u522b\u662f\uff081\uff09\u3001\uff082\uff09\u3001\uff083\uff09\u3002<\/p>\n<p>\u3010\u95ee\u98982\u3011\uff088\u5206\uff0c\u6bcf\u7a7a2\u5206\uff09<\/p>\n<p>\u5e38\u7528\u7684IP\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u6709\u57fa\u672c\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u548c\u9ad8\u7ea7\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u3002\u57fa\u672c\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u7684\u7f16\u53f7\u662f\uff084\uff09\uff1b\u9ad8\u7ea7\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u7684\u7f16\u53f7\u4e3a\uff085\uff09\u3002\u57fa\u672c\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u662f\u4f9d\u636eIP\u62a5\u6587\u7684\uff086\uff09\u3001\u5206\u7247\u4fe1\u606f\u548c\u751f\u6548\u65f6\u95f4\u6bb5\u6765\u5b9a\u4e49\u89c4\u5219\uff1b\u9ad8\u7ea7\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u662f\u4f9d\u636eIP\u62a5\u6587\u7684\u6e90IP\u5730\u5740\u3001\uff087\uff09\u3001\u534f\u8bae\u3001TCP\/UDP\u6e90\/\u76ee\u7684\u7aef\u53e3\u548c\u751f\u6548\u65f6\u95f4\u6bb5\u6765\u5b9a\u4e49\u89c4\u5219\u3002<\/p>\n<p>\uff084\uff09~\uff085\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff083\uff09A\uff0e1~999\u00a0\u00a0B.1000~1999\u00a0\u00a0C.2000~2999\u00a0\u00a0D.3000~3999<\/p>\n<p>\u3010\u95ee\u98983\u3011\uff089\u5206\uff0c\u6bcf\u7a7a1\u5206\uff09<\/p>\n<p>\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\uff0c\u516c\u53f8\u6709\u751f\u4ea7\u90e8\u3001\u9500\u552e\u90e8\u548c\u8d22\u52a1\u90e8\u7b49\u90e8\u95e8\uff0cVLAN\u5212\u5206\u53caIP\u5730\u5740\u89c4\u5212\u5982\u56fe3-1\u6240\u793a\u3002\u4e3a\u4e86\u5b89\u5168\u8d77\u89c1\uff0c\u516c\u53f8\u8981\u6c42\u751f\u4ea7\u90e8\u4e0d\u80fd\u591f\u8bbf\u95ee\u9500\u552e\u90e8\u7684\u4e3b\u673a\u548c\u8d22\u52a1\u670d\u52a1\u5668\uff0c\u9500\u552e\u90e8\u53ef\u4ee5\u5bf9\u516c\u53f8\u7f51\u7edc\u81ea\u7531\u8bbf\u95ee\u3002\u6839\u636e\u4ee5\u4e0a\u8981\u6c42\uff0c\u7f51\u7edc\u7ba1\u7406\u5458\u5bf9SwitchA\u505a\u4e86\u5982\u4e0b\u914d\u7f6e\uff0c\u8bf7\u6839\u636e\u63cf\u8ff0\uff0c\u5c06\u4e0b\u9762\u7684\u914d\u7f6e\u4ee3\u7801\u8865\u5145\u5b8c\u6574\u3002<\/p>\n<p>\u8bbe\u5907\u57fa\u672c\u914d\u7f6e\u53caVLAN\u914d\u7f6e\u7565<\/p>\n<p>&#8230;&#8230;<\/p>\n<p>[SwitchA]\u00a0acl\u00a03001<\/p>\n<p>[SwitchA-acl-adv-3001]\u00a0rule\u00a0permeit\u00a0ip\u00a0source\u00a0192.168.30.0\u00a00.0.0.255\u00a0destination\u00a0192.168.10.0\u00a00.0.0.255<\/p>\n<p>[SwitchA-acl-adv-3001]\u00a0rule\u00a0permeit\u00a0ip\u00a0source\u00a0192.168.30.0\u00a00.0.0.255\u00a0destination\u00a0192.168.20.0\u00a00.0.0.255<\/p>\n<p>[SwitchA-acl-adv-3001]\u00a0rule\u00a0permeit\u00a0ip\u00a0source\u00a0192.168.30.0\u00a00.0.0.255\u00a0destination\uff088\uff090<\/p>\n<p>[SwitchA]\u00a0acl\u00a03002<\/p>\n<p>[SwitchA-acl-adv-3002]\u00a0rule\u00a0deny\u00a0ip\u00a0source\u00a0192.168.10.0\u00a00.0.0.255\u00a0destination\u00a0192.168.30.0\u00a00.0.0.255<\/p>\n<p>[SwitchA-acl-adv-3002]\u00a0rule\u00a0deny\u00a0ip\u00a0source\u00a0192.168.10.0\u00a00.0.0.255\u00a0destination\u00a0172.16.1.2\u00a00<\/p>\n<p>[SwitchA]\u00a0acl\u00a03003<\/p>\n<p>[SwitchA-acl-adv-3003]\u00a0rule\u00a0deny\u00a0ip\u00a0source\u00a0192.168.20.0\u00a00.0.0.255\u00a0destination\u00a0192.168.30.0\u00a00.0.0.255<\/p>\n<p>[SwitchA-acl-adv-3003]\u00a0rule\u00a0deny\u00a0ip\u00a0source\u00a0192.168.20.0\u00a00.0.0.255\u00a0destination\u00a0172.16.1.2 0<\/p>\n<p>[SwitchA-acl-adv-3003]\u00a0quit<\/p>\n<p>[SwitchA]\u00a0traffic\u00a0classifier\u00a0tc1\u00a0 \/\/\u00a0 \uff089\uff09<\/p>\n<p>[SwitchA-classifier-tc1] if-match acl \uff0810\uff09\u00a0 \u00a0\/\/\u5c06ACL\u4e0e\u6d41\u5206\u7c7b\u5173\u8054<\/p>\n<p>[SwitchA]\u00a0traffic\u00a0classifier\u00a0tc2<\/p>\n<p>[SwitchA-classifier-tc1]\u00a0if-match\u00a0acl\u00a03002<\/p>\n<p>[SwitchA-classifier-tc1]\u00a0if-match\u00a0acl\u00a03003<\/p>\n<p>[SwitchA-classifier-tc1]\u00a0quit<\/p>\n<p>[SwitchA]\u00a0traffic\u00a0behavior\u00a0tb1\u00a0 \u00a0 \u00a0\/\/\u00a0 \uff0811\uff09<\/p>\n<p>[SwitchA-behavior-tb1]\u00a0peimit\u00a0 \u00a0 \u00a0\/\/\u914d\u7f6e\u6d41\u884c\u4e3a\u52a8\u4f5c\u4e3a\u5141\u8bb8\u62a5\u6587\u901a\u8fc7<\/p>\n<p>[SwitchA]\u00a0traffic\u00a0behavior\u00a0tb2<\/p>\n<p>[SwitchA-behavior-tb1]\u00a0deny\u00a0 \/\/\u914d\u7f6e\u6d41\u884c\u4e3a\u52a8\u4f5c\u4e3a\u62d2\u7edd\u62a5\u6587\u901a\u8fc7<\/p>\n<p>[SwitchA-behavior-tb1]\u00a0quit<\/p>\n<p>[SwitchA]\u00a0traffic\u00a0policy\u00a0tp 1\u00a0 \u00a0 \/\/\u00a0 \uff0812\uff09<\/p>\n<p>[SwitchA-trafficpolicy-tp1]\u00a0classifier \uff0813\uff09 behavior\u00a0tb1<\/p>\n<p>[SwitchA]\u00a0traffic\u00a0policy\u00a0tp2\u00a0 \u00a0 \/\/\u521b\u5efa\u6d41\u7b56\u7565<\/p>\n<p>[SwitchA-trafficpolicy-tp1]\u00a0classifier \uff0814\uff09 behavior\u00a0tb2<\/p>\n<p>[SwitchA-trafficpolicy-tp1] quit<\/p>\n<p>[SwitchA]\u00a0interface\u00a0 \uff0815\uff09<\/p>\n<p>[SwitchA-GigabitEthernet1\/0\/1]\u00a0traffic-policy\u00a0tp1\u00a0inbound\u00a0 \u00a0\/\/\u6d41\u7b56\u7565\u5e94\u7528\u5728\u63a5\u53e3\u5165\u65b9\u5411<\/p>\n<p>[SwitchA-GigabitEthernet1\/0\/1] quit<\/p>\n<p>[SwitchA]\u00a0interface \uff0816\uff09<\/p>\n<p>[SwitchA-GigabitEthernet1\/0\/2] traffic-policy\u00a0tp2inbound\u00a0 \u00a0 \u00a0\/\/\u6d41\u7b56\u7565\u5e94\u7528\u5728\u63a5\u53e3\u5165\u65b9\u5411<\/p>\n<p>[SwitchA-GigabitEthernet1\/0\/2] quit<\/p>\n<p>\uff088\uff09~\uff0816\uff09\u5907\u9009\u7b54\u6848<\/p>\n<p>\uff084\uff09A\uff0e172.16.1.2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0B.3001\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0C.\u521b\u5efa\u6d41\u7b56\u7565<\/p>\n<p>D.tc2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 E.gigabitethernet\u00a00\/0\/23<\/p>\n<p>F.gigabitethernet\u00a00\/0\/22\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0G.\u00a0tc1<\/p>\n<p>H.\u521b\u5efa\u6d41\u884c\u4e3a\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0I.\u521b\u5efa\u6d41\u5206\u7c7b<\/p>\n<p>\u25cf \u9605\u8bfb\u4ee5\u4e0b\u8bf4\u660e\uff0c\u56de\u7b54\u95ee\u98981\u81f3\u95ee\u98982\uff0c\u5c06\u89e3\u7b54\u586b\u5165\u7b54\u9898\u7eb8\u5bf9\u5e94\u7684\u89e3\u7b54\u680f\u5185\u3002<\/p>\n<p>\u3010\u8bf4\u660e\u3011<\/p>\n<p>\u67d0\u4e2d\u5b66\u4e3a\u65b0\u5165\u5b66\u5b66\u751f\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u5b66\u751f\u7ba1\u7406\u7cfb\u7edf\uff0c\u5b66\u751f\u9700\u8981\u63d0\u4ea4\u59d3\u540d\u3001\u6027\u522b\u548c\u4e2a\u4eba\u7b80\u4ecb\u7b49\u4fe1\u606f\uff0c\u5176\u5b66\u53f7\u6839\u636e\u5b66\u751f\u7684\u63d0\u4ea4\u987a\u5e8f\u81ea\u52a8\u7f16\u53f7\u3002\u4fe1\u606f\u63d0\u4ea4\u9875\u9762\u5982\u56fe4-1\u6240\u793a\uff0c\u63d0\u4ea4\u6210\u529f\u9875\u9762\u5982\u56fe4-2\u6240\u793a\u3002\u5f00\u5b66\u540e\u5b66\u6821\u5bf9\u5b66\u751f\u8fdb\u884c\u4e86\u82f1\u8bed\u548c\u6570\u5b66\u7684\u6478\u5e95\u8003\u8bd5\uff0c\u8868score_data\u8bb0\u5f55\u4e86\u5b66\u751f\u7684\u5b66\u53f7\u3001\u59d3\u540d\u3001\u6027\u522b\u3001\u4e2a\u4eba\u7b80\u4ecb\u53ca\u8003\u8bd5\u7684\u6210\u7ee9\uff0c\u5176\u5b57\u6bb5\u5b9a\u4e49\u5982\u88684-1\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c6\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c6\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/e38f014a-4f18-4933-a853-4fa979fe2fb5.png\" \/><\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c7\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c7\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/05d52a31-01f0-4d4b-918b-821a4a593a88.png\" \/><\/p>\n<p>\u3010\u95ee\u98981\u3011\uff088\u5206\uff0c\u6bcf\u7a7a1\u5206\uff09<\/p>\n<p>\u4ee5\u4e0b\u662f\u56fe4-1\u6240\u793a\u9875\u9762student_add.asp\u7684\u90e8\u5206\u4ee3\u7801\uff0c\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u8be5\u6bb5\u4ee3\u7801\uff0c\u5c06\uff081\uff09~\uff088\uff09\u7684\u7a7a\u7f3a\u4ee3\u7801\u8865\u9f50\u3002<\/p>\n<p>\u8bf4\u660e\uff1aconn\u4e3aConnect\u5bf9\u8c61\uff0crs\u4e3aRecordSet\u5bf9\u8c61<\/p>\n<p>&lt;%<\/p>\n<p>&#8230;&#8230;<\/p>\n<p>student_name=request.form(&#8220;student_name&#8221;)<\/p>\n<p>gender=request.form(&#8220;gender&#8221;)<\/p>\n<p>individual_resume=request.form(&#8220;individual_resume&#8221;)<\/p>\n<p>sql=&#8221;insert\u00a0into\u00a0score_data(\uff081\uff09\uff0cgender,individual_resume) values (&#8216; &#8220;&amp;student_name&amp;&#8221; &#8216;\uff0c&#8217; &#8220;&amp;gender&amp;&#8221; &#8216;\uff0c&#8217; &#8220;&amp; &#8220;individual_resume&amp;&#8221;&#8216;)&#8221;<\/p>\n<p>conn.execute\u00a0sql<\/p>\n<p>Response.Redirect(&#8220;\uff082\uff09&#8221;)<\/p>\n<p>%&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;form id=&#8221;form1&#8243; name=&#8221;form1&#8243; method=&#8221;\u00a0 \uff083\uff09\u00a0 &#8220;action=&#8221;student_add.asp&#8221;&gt;<\/p>\n<p>&lt;label for=&#8221;student_name&#8221;&gt;&lt;\/label&gt;<\/p>\n<p>&lt;input type=&#8221;\u00a0 \uff084\uff09\u00a0 &#8220;&gt; name=&#8221;student_name&#8221; id=&#8221;student_name&#8221; \/&gt;<\/p>\n<p>&lt;\/p&gt;<\/p>\n<p>&lt;p&gt;\u6027\u522b\uff1a<\/p>\n<p>&lt;input name=&#8221;gender&#8221; type=&#8221;\u00a0 \uff085\uff09\u00a0 &#8221; id=&#8221;radio&#8221; value=&#8221;\u7537&#8221; checked=&#8221;\u00a0 \uff086\uff09\u00a0 &#8221; \/&gt;<\/p>\n<p>&lt;label for=&#8221;gender&#8221;&gt;&lt;\/label&gt;\u7537<\/p>\n<p>&lt;input type=&#8221;radio&#8221; name=&#8221; \uff087\uff09 &#8221; id=&#8221;radio2&#8243; value=&#8221;\u5973&#8221; \/&gt;<\/p>\n<p>&lt;label for=&#8221;gender&#8221;&gt;&lt;\/label&gt;\u5973&lt;\/p&gt;<\/p>\n<p>&lt;p&gt;\u4e2a\u4eba\u7b80\u4ecb\uff1a &lt;\/p&gt;<\/p>\n<p>&lt;label for=&#8221;individual_resume&#8221;&gt;&lt;\/label&gt;<\/p>\n<p>&lt;\uff088\uff09name=&#8221;individual_resume&#8221; id=&#8221;individual_resume&#8221; cols=&#8221;60&#8243; rows=&#8221;15&#8243;&gt;&lt;\/textarea&gt;<\/p>\n<p>&lt;p&gt;<\/p>\n<p>&lt;input type=&#8221;submit&#8221; name=&#8221;button&#8221; id=&#8221;button&#8221; value=&#8221;\u63d0\u4ea4&#8221; \/&gt;<\/p>\n<p>&lt;\/p&gt;<\/p>\n<p>&lt;\/form&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>\uff081\uff09~\uff088\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff084\uff09A\uff0etextarea\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 B.gender\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0C.checked\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 D.student_name<\/p>\n<p>E.radio\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0F.post\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 G.text\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0H.success.asp<\/p>\n<p>\u3010\u95ee\u98982\u3011\uff087\u5206\uff0c\u6bcf\u7a7a1\u5206\uff09<\/p>\n<p>\u6478\u5e95\u8003\u8bd5\u7ed3\u675f\u540e\uff0c\u5b66\u751f\u53ef\u4ee5\u5229\u7528\u5176\u5b66\u53f7\u548c\u59d3\u540d\u5728\u5b66\u751f\u7ba1\u7406\u7cfb\u7edf\u4e2d\u67e5\u8be2\u81ea\u5df1\u7684\u6210\u7ee9\uff0c\u5982\u56fe4-3\u6240\u793a\uff0c\u67e5\u8be2\u7ed3\u679c\u5982\u56fe4-4\u6240\u793a\u3002\u4ee5\u4e0b\u662f\u6210\u7ee9\u67e5\u8be2\u548c\u67e5\u8be2\u7ed3\u679c\u663e\u793a\u9875\u9762\u7684\u90e8\u5206\u4ee3\u7801\uff0c\u8bf7\u5c06\u4e0b\u9762\u4ee3\u7801\u8865\u5145\u5b8c\u6574\u3002<\/p>\n<p><img decoding=\"async\" title=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c8\u5f20  | \u9e7f\u9e23\u5929\u6daf\" alt=\"2018\u4e0b\u534a\u5e74\u7f51\u7edc\u7ba1\u7406\u5458\u4e0b\u5348\u771f\u9898 - \u7b2c8\u5f20  | \u9e7f\u9e23\u5929\u6daf\" src=\"https:\/\/www.educity.cn\/article_images\/2018-11-15\/5a25bda5-ecb4-4520-bfec-831535e657dc.png\" \/><\/p>\n<p>\u4ee5\u4e0b\u4e3a\u6210\u7ee9\u67e5\u8be2\u9875\u9762\u6587\u4ef6\u90e8\u5206\u4ee3\u7801\u7247\u6bb5<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;form action=&#8221;result.asp&#8221; method=&#8221;get&#8221; name=&#8221;form1&#8243; target=&#8221;_blank&#8221; id=&#8221;form1&#8243;&gt;<\/p>\n<p>&lt;h2 align=&#8221;center&#8221;&gt;&lt;\/h2&gt;<\/p>\n<p>&lt;h2\u00a0align=&#8221;center&#8221;&gt;\u6210\u7ee9\u67e5\u8be2&lt;\/h2&gt;<\/p>\n<p>&lt;p\u00a0align=&#8221;center&#8221;&gt;\u5b66\u53f7\uff1a<\/p>\n<p>&lt;label for=&#8221;student_number&#8221;&gt;&lt;\/label&gt;<\/p>\n<p>&lt;input\u00a0name=&#8221;\uff089\uff09&#8221;\u00a0type=&#8221;text&#8221; id=&#8221;student_number&#8221; \/&gt;<\/p>\n<p>&lt;\/p&gt;<\/p>\n<p>&lt;p\u00a0align=&#8221;center&#8221;&gt;\u59d3\u540d\uff1a<\/p>\n<p>&lt;label\u00a0for=&#8221;student_name&#8221;&gt;&lt;\/label&gt;<\/p>\n<p>&lt;input\u00a0name=&#8221;\uff0810\uff09&#8221;\u00a0type=&#8221;text&#8221; id=&#8221;student_name&#8221; \/&gt;<\/p>\n<p>&lt;\/p&gt;<\/p>\n<p>&lt;p\u00a0align=&#8221;center&#8221;&gt;<\/p>\n<p>&lt;input\u00a0type=&#8221;\uff0811\uff09&#8221;\u00a0name=&#8221;button&#8221; id=&#8221;button&#8221; value=&#8221;\u63d0\u4ea4&#8221; \/&gt;<\/p>\n<p>&lt;\/p&gt;<\/p>\n<p>&lt;\/form&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>\u4ee5\u4e0b\u4e3a\u67e5\u8be2\u7ed3\u679c\u9875\u9762\u6587\u4ef6\u90e8\u5206\u4ee3\u7801\u7247\u6bb5<\/p>\n<p>&lt;%<\/p>\n<p>&#8230;&#8230;<\/p>\n<p>student_number=request.form(&#8220;student_number&#8221;)<\/p>\n<p>student_name=request.form(&#8220;student_name&#8221;)<\/p>\n<p>sql=\u00a0&#8220;select * from \uff0812\uff09\u00a0 where\u00a0 student_number=&#8221;&amp; student_number\u00a0&amp;&#8221;&#8216;\uff0813\uff09<\/p>\n<p>student_name=&#8221;\u2019&amp;\u00a0student_name\u00a0&amp;&#8221;&#8216; &#8221;<\/p>\n<p>rs.open\u00a0sql\u00a0,conn<\/p>\n<p>english_results=&#8221;&#8221;<\/p>\n<p>math_results=&#8221;&#8221;<\/p>\n<p>if\u00a0not\u00a0rs.eof()\u00a0then<\/p>\n<p>english_results=rs(&#8220;english_results&#8221;)<\/p>\n<p>math_results=rs(&#8220;math_results&#8221;)<\/p>\n<p>end\u00a0if<\/p>\n<p>&#8230;&#8230;<\/p>\n<p>%&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h2\u00a0align=&#8221;center&#8221;&gt;&lt;strong&gt;\u67e5\u8be2\u7ed3\u679c&lt;\/h2&gt;<\/p>\n<p>&lt;table\u00a0width=&#8221;500&#8243; border=&#8221;1&#8243;&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;\u5b66\u53f7&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;\u59d3\u540d&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;\u82f1\u8bed&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;\u6570\u5b66&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;td&gt;&lt;divalign=&#8221;center&#8221;&gt;&lt;%=student_number%&gt;&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;&lt;%=student_name%&gt;&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;&lt;%=\uff0814\uff09%&gt;&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;&lt;div\u00a0align=&#8221;center&#8221;&gt;&lt;%=\uff0815\uff09%&gt;&lt;\/div&gt;&lt;\/td&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;\/table&gt;<\/p>\n<p>&lt;\/div&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>\uff089\uff09~\uff0815\uff09\u5907\u9009\u7b54\u6848\uff1a<\/p>\n<p>\uff085\uff09A\uff0e\u00a0and\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0B.\u00a0submit\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0C.\u00a0english_results\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0D.\u00a0math_results<\/p>\n<p>E. score_data\u00a0 \u00a0 \u00a0F.\u00a0student_name\u00a0 \u00a0 G. student_number<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25cf \u9605\u8bfb\u4ee5\u4e0b\u8bf4\u660e\uff0c\u56de\u7b54\u95ee\u98981\u81f3\u95ee\u98984\uff0c\u5c06\u89e3\u7b54\u586b\u5165\u7b54\u9898\u7eb8\u5bf9\u5e94\u7684\u89e3\u7b54\u680f\u5185\u3002 \u3010\u8bf4\u660e\u3011 &hellip; <a href=\"https:\/\/www.jayjaydream.com\/?p=1241\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[54],"class_list":["post-1241","post","type-post","status-publish","format-standard","hentry","category-55","tag-54"],"_links":{"self":[{"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=\/wp\/v2\/posts\/1241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1241"}],"version-history":[{"count":1,"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=\/wp\/v2\/posts\/1241\/revisions"}],"predecessor-version":[{"id":1242,"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=\/wp\/v2\/posts\/1241\/revisions\/1242"}],"wp:attachment":[{"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jayjaydream.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}