!
password-encryption enable
!
hostname ServerSW_SWX2320-30MC
!
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 auth-mac
auth-mac auth-user colon lower-case
lldp run
lldp auto-setting enable
!
radius-server host 172.16.0.1 key (RADIUSシークレット)
!
vlan database
 vlan 10,20,30,50
!
interface port1.1
 switchport
 switchport mode access
 switchport access vlan 10
 static-channel-group 1
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.2
 switchport
 switchport mode access
 switchport access vlan 10
 static-channel-group 1
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.3
 switchport
 switchport mode access
 switchport access vlan 10
 static-channel-group 2
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.4
 switchport
 switchport mode access
 switchport access vlan 10
 static-channel-group 2
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.5
 switchport
 switchport mode access
 switchport access vlan 10
 static-channel-group 3
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.6
 switchport
 switchport mode access
 switchport access vlan 10
 static-channel-group 3
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.7
 switchport
 switchport mode access
 switchport access vlan 20
 static-channel-group 4
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.8
 switchport
 switchport mode access
 switchport access vlan 20
 static-channel-group 4
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.9
 switchport
 switchport mode access
 switchport access vlan 20
 static-channel-group 5
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.10
 switchport
 switchport mode access
 switchport access vlan 20
 static-channel-group 5
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.11
 switchport
 switchport mode access
 switchport access vlan 20
 static-channel-group 6
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.12
 switchport
 switchport mode access
 switchport access vlan 20
 static-channel-group 6
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.13
 switchport
 switchport mode access
 switchport access vlan 30
 static-channel-group 7
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.14
 switchport
 switchport mode access
 switchport access vlan 30
 static-channel-group 7
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.15
 switchport
 switchport mode access
 switchport access vlan 30
 static-channel-group 8
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.16
 switchport
 switchport mode access
 switchport access vlan 30
 static-channel-group 8
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.17
 switchport
 switchport mode access
 switchport access vlan 30
 static-channel-group 9
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.18
 switchport
 switchport mode access
 switchport access vlan 30
 static-channel-group 9
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.19
 switchport
 switchport mode access
 switchport access vlan 50
 static-channel-group 10
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.20
 switchport
 switchport mode access
 switchport access vlan 50
 static-channel-group 10
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.21
 switchport
 switchport mode access
 switchport access vlan 50
 static-channel-group 11
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.22
 switchport
 switchport mode access
 switchport access vlan 50
 static-channel-group 11
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.23
 switchport
 switchport mode access
 switchport access vlan 50
 static-channel-group 12
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.24
 switchport
 switchport mode access
 switchport access vlan 50
 static-channel-group 12
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.25
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.26
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.27
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.28
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.29
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20,30,50
 channel-group 1 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx
  tlv-select basic-mgmt
  exit
!
interface port1.30
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20,30,50
 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.5/24
 no shutdown
 l2-mcast flood 239.192.128.250
 ip igmp snooping disable
 ipv6 mld snooping disable
!
interface vlan10,vlan20,vlan30,vlan50
 no switchport
 no shutdown
 ip igmp snooping disable
 ipv6 mld snooping disable
!
interface po1
 description CoreSW
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20,30,50
 no shutdown
!
interface sa1
 description Department_A_Server
 switchport
 switchport mode access
 switchport access vlan 10
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa2
 description Department_A_Server
 switchport
 switchport mode access
 switchport access vlan 10
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa3
 description Department_A_Server
 switchport
 switchport mode access
 switchport access vlan 10
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa4
 description Department_B_Server
 switchport
 switchport mode access
 switchport access vlan 20
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa5
 description Department_B_Server
 switchport
 switchport mode access
 switchport access vlan 20
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa6
 description Department_B_Server
 switchport
 switchport mode access
 switchport access vlan 20
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa7
 description Department_C_Server
 switchport
 switchport mode access
 switchport access vlan 30
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa8
 description Department_C_Server
 switchport
 switchport mode access
 switchport access vlan 30
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa9
 description Department_C_Server
 switchport
 switchport mode access
 switchport access vlan 30
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa10
 description Common_Server
 switchport
 switchport mode access
 switchport access vlan 50
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa11
 description Common_Server
 switchport
 switchport mode access
 switchport access vlan 50
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
interface sa12
 description Common_Server
 switchport
 switchport mode access
 switchport access vlan 50
 no shutdown
 auth host-mode multi-supplicant
 auth order auth-mac dot1x
 auth-mac enable
 auth timeout server-timeout 20
!
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
