!
password-encryption enable
!
hostname 1F_SWX2310-52GT
!
enable password 8 (パスワード※：必須) ※暗号化されて表示されます。
!
username (ユーザー名：必須) privilege on password 8 (パスワード※：必須) ※暗号化されて表示されます。
!
dns-client enable
dns-client name-server 172.16.0.1
multiple-vlan transfer ympi disable
port-channel load-balance src-dst-ip
aaa authentication dot1x
lldp run
lldp auto-setting enable
!
radius-server host 172.16.0.1 key (RADIUSシークレット)
!
vlan database
 vlan 10 name VLAN0010
 vlan 20 name VLAN0020
 vlan 30 name VLAN0030
!
ip dhcp snooping enable
!
interface port1.1
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.2
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.3
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.4
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.5
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.6
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.7
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.8
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.9
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.10
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.11
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.12
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.13
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.14
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.15
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.16
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.17
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.18
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.19
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.20
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.21
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.22
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.23
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.24
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.25
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.26
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.27
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.28
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.29
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.30
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.31
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.32
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.33
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.34
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.35
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.36
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.37
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.38
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.39
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.40
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.41
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.42
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.43
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.44
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.45
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.46
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.47
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.48
 switchport
 switchport mode access
 no shutdown
 auth host-mode multi-supplicant
 dot1x port-control auto
 auth dynamic-vlan-creation
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
 spanning-tree edgeport
!
interface port1.49
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
!
interface port1.50
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
!
interface port1.51
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20,30
 channel-group 1 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
!
interface port1.52
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20,30
 channel-group 1 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx 
  tlv-select basic-mgmt  
  exit 
!
interface vlan1
 no switchport
 auto-ip enable
 ip address 172.16.0.13/24
 no shutdown
 l2-mcast flood 239.192.128.250
 ip igmp snooping disable
 ipv6 mld snooping disable
!
interface vlan10
 no switchport
 no shutdown
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface vlan20
 no switchport
 no shutdown
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface vlan30
 no switchport
 no shutdown
 ip igmp snooping disable
 ipv6 mld snooping disable
 ip dhcp snooping enable
!
interface po1
 description 1F_FloorSW
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20,30
 no shutdown
 ip dhcp snooping trust
!
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 temperature fan l2ms errdisable rmon termmonitor bridge loopdetect stack
snmp-server host (SNMPマネージャーのIPアドレス) traps version 2c (コミュニティー名)
snmp-server access permit (SNMPマネージャーのIPアドレス) community (コミュニティー名) 
!
http-server enable
http-proxy enable
!
telnet-server enable
!
line con 0
line vty 0 7
!
end
