!
password-encryption enable
!
hostname 1F_SWX2220P-26NT_01
!
enable password 8 (パスワード※：必須) ※暗号化されて表示されます。
!
username (ユーザー名：必須) privilege on password 8 (パスワード※：必須) ※暗号化されて表示されます。
!
dns-client enable
dns-client name-server 172.16.0.1
!
ip dhcp snooping enable
!
loop-detect enable
!
port-channel load-balance src-dst-ip
!
multiple-vlan transfer ympi disable
!
aaa authentication dot1x
!
radius-server host 172.16.0.1 key (RADIUSシークレット)
!
lldp run
lldp auto-setting enable
!
vlan database
 vlan 10 name VLAN0010
 vlan 10 state enable
 vlan 20 name VLAN0020
 vlan 20 state enable
 vlan 30 name VLAN0030
 vlan 30 state enable
 vlan 90 name VLAN0090
 vlan 90 state enable
!
interface port1.1
 description WLX322
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 10,20,30,90
 storm-control broadcast multicast level 1.00
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.2
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.3
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.4
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.5
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.6
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.7
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.8
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.9
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.10
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.11
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.12
 description Guest
 switchport mode access
 switchport access vlan 90
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 lldp-agent
  set lldp enable txrx
!
interface port1.13
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.14
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.15
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.16
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.17
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.18
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.19
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.20
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.21
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.22
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 lldp-agent
  set lldp enable txrx
!
interface port1.23
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 10,20,30,90
 ip dhcp snooping trust
 channel-group 1 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.24
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 10,20,30,90
 ip dhcp snooping trust
 channel-group 1 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.25
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.26
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface vlan1
 ip address 172.16.0.14/24
 ip igmp snooping disable
 ipv6 mld snooping disable
!
interface vlan10
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface vlan20
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface vlan30
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface vlan90
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface po1
 description 1F_FloorSW
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 10,20,30,90
 no shutdown
!
ip route 0.0.0.0/0 172.16.0.1
!
clock timezone JST
!
ntpdate server name ntp.nict.jp
ntpdate interval 24
!
snmp-server community (コミュニティー名) ro
snmp-server enable trap coldstart warmstart linkdown linkup authentication termmonitor temperature fan powerethernet loopdetect
snmp-server host (SNMPマネージャーのIPアドレス) traps version 2c (コミュニティー名)
snmp-server access permit (SNMPマネージャーのIPアドレス) community (コミュニティー名)
!
http-server enable
http-server secure enable
!
telnet-server enable
!
schedule 1 time */mon-fri 05:55:00 1
schedule 2 time */mon-fri 22:05:00 2
schedule template 1
 description PoE_ON
 cli-command 1 configure terminal
 cli-command 2 interface port1.1
 cli-command 3 power-inline enable
 cli-command 4 end
!
schedule template 2
 description PoE_OFF
 cli-command 1 configure terminal
 cli-command 2 interface port1.1
 cli-command 3 power-inline disable
 cli-command 4 end
!
end
