!
hostname SWX2220-26NT_02(Staff-Room)
!
enable password (パスワード：必須)
!
username (ユーザー名：必須) privilege on password (パスワード：必須)
!
dns-client enable
dns-client name-server 172.16.0.254
dns-client name-server 172.16.0.253
!
ip dhcp snooping enable
ip dhcp snooping information option disable
!
loop-detect enable
!
lldp run
lldp auto-setting enable
!
vlan database
 vlan 10 name School_Affairs
 vlan 10 state enable
!
interface port1.1
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.2
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.3
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.4
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.5
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.6
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.7
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.8
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.9
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.10
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.11
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.12
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.13
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.14
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.15
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.16
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.17
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.18
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.19
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.20
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.21
 description Printer
 switchport mode access
 switchport access vlan 10
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.22
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.23
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.24
 description Up-Link
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 10
 ip dhcp snooping trust
 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 dhcp snooping enable
!
interface vlan10
 ip dhcp snooping enable
!
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 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
!
end
