資源描述:
《華為s5700vlan劃分和acl配置命令》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、華為s5700vlan劃分和acl配置命令#!SoftwareVersionV100R005C01SPC100sysnameQuidway#FTPserverenable#vlanbatch2to6#undohttpserverenable#dropillegal-macalarm#aclnumber3001rule5permitipsource192.168.2.2000destination192.168.4.00.0.0.255aclnumber3002rule5denyipsource192.168.2.00.0.0.255destination192.168.3.00.0.0.2
2、55aclnumber3003rule5denyipsource192.168.2.00.0.0.255destination192.168.4.00.0.0.255#trafficclassifierc2operatorandif-matchacl3002trafficclassifierc3operatorandif-matchacl3003trafficclassifierc1operatorandif-matchacl3001#trafficbehaviorb2denytrafficbehaviorb3denytrafficbehaviorb1permit#trafficpolic
3、ytestclassifierc1behaviorb1classifierc2behaviorb2classifierc3behaviorb3#aaaauthentication-schemedefaultauthorization-schemedefaultaccounting-schemedefaultdomaindefaultdomaindefault_adminlocal-useradminpasswordsimpleadminlocal-useradminservice-typehttplocal-userhuaweipasswordsimplehuaweilocal-userh
4、uaweiprivilegelevel15local-userhuaweiftp-directoryflash:local-userhuaweiservice-typeftp#interfaceVlanif1ipaddress192.168.6.254255.255.255.0#interfaceVlanif2ipaddress192.168.2.254255.255.255.0#interfaceVlanif3ipaddress192.168.3.254255.255.255.0#interfaceVlanif4ipaddress192.168.4.254255.255.255.0#in
5、terfaceMEth0/0/1#interfaceGigabitEthernet0/0/1portlink-typeaccessportdefaultvlan2traffic-policytestoutbound#interfaceGigabitEthernet0/0/2portlink-typeaccessportdefaultvlan2#interfaceGigabitEthernet0/0/3portlink-typeaccessportdefaultvlan3#interfaceGigabitEthernet0/0/4portlink-typeaccessportdefaultv
6、lan3#interfaceGigabitEthernet0/0/5portlink-typeaccessportdefaultvlan4#interfaceGigabitEthernet0/0/6portlink-typeaccessportdefaultvlan4#interfaceGigabitEthernet0/0/7portlink-typeaccessportdefaultvlan5#interfaceGigabitEthernet0/0/8portlink-typeaccessportdefaultvlan5#interfaceGigabitEthernet0/0/9port
7、link-typeaccess#interfaceGigabitEthernet0/0/10portlink-typeaccess#interfaceGigabitEthernet0/0/11portlink-typeaccess#interfaceGigabitEthernet0/0/12portlink-typeaccess#interfaceGigabitEthernet0/0/13portlink-typeacc