! ! ネットカフェで安心・安全・平等なネットワークを実現する ! ! ! SWX3200 / SWX3100 / SWX2310P / SWX2310 Configのサンプル ! ! qos enable ! dns-client enable ! access-list 1 10 permit any 192.168.100.0 0.0.0.255 any ! access-list 2001 10 permit host (管理室PC1のMACアドレス) any access-list 2001 20 permit host (管理室PC2のMACアドレス) any access-list 2001 30 permit host (個人ブース1に接続するPCのMACアドレス) any access-list 2001 40 permit host (個人ブース2に接続するPCのMACアドレス) any access-list 2001 50 deny any any ! class-map cmap1 match access-list 1 ! policy-map pmap1 class cmap1 police single-rate 10000 62 11 yellow-action drop red-action drop ! interface port1.1 switchport switchport mode access switchport multiple-vlan group 1 access-group 2001 in no shutdown ! interface port1.2 switchport switchport mode access switchport multiple-vlan group 1 access-group 2001 in no shutdown ! interface port1.3 switchport switchport mode access switchport multiple-vlan group 2 access-group 2001 in service-policy input pmap1 no shutdown ! interface port1.4 switchport switchport mode access switchport multiple-vlan group 3 access-group 2001 in service-policy input pmap1 no shutdown ! interface port1.5 switchport switchport mode access no shutdown ! interface port1.6 switchport switchport mode access no shutdown ! interface port1.7 switchport switchport mode access no shutdown ! interface port1.8 switchport switchport mode access switchport multiple-vlan group 1-3 no shutdown ! interface port1.9 switchport switchport mode access no shutdown ! interface port1.10 switchport switchport mode access no shutdown ! interface vlan1 no switchport auto-ip enable ip address 192.168.100.240/24 no shutdown ! ! clock timezone JST ! http-server enable http-proxy enable ! telnet-server enable ! line con 0 line vty 0 7 ! end