!
enable password (pX[hFK{)
!
username ([U[FK{) privilege on password (pX[hFK{)
!
dns-client enable
port-channel load-balance src-dst-ip
aaa authentication auth-mac
auth-mac auth-user unformatted lower-case
lldp run
lldp auto-setting enable
!
radius-server host 172.16.0.240 key (RADIUSV[Nbg)
!
vlan database
 vlan 10 name VLAN0010
 vlan 20 name VLAN0020
!
interface port1.1
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.2
 switchport
 switchport mode access
 switchport access vlan 10
 no shutdown
 auth host-mode multi-supplicant
 auth-mac enable
 auth-mac static enable
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.3
 switchport
 switchport mode access
 switchport access vlan 10
 no shutdown
 auth host-mode multi-supplicant
 auth-mac enable
 auth-mac static enable
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.4
 switchport
 switchport mode access
 switchport access vlan 20
 no shutdown
 auth host-mode multi-supplicant
 auth-mac enable
 auth-mac static enable
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.5
 switchport
 switchport mode access
 switchport access vlan 20
 no shutdown
 auth host-mode multi-supplicant
 auth-mac enable
 auth-mac static enable
 auth timeout server-timeout 20
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.6
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.7
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.8
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.9
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.10
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.11
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20
 channel-group 2 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.12
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20
 channel-group 2 mode active
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.13
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.14
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.15
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface port1.16
 switchport
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx 
  exit 
!
interface vlan1
 no switchport
 auto-ip enable
 ip address 172.16.0.100/24
 no shutdown
!
interface vlan10
 no switchport
 no shutdown
!
interface vlan20
 no switchport
 no shutdown
!
interface po2
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 10,20
 no shutdown
!
ip route 0.0.0.0/0 172.16.0.240
!
!
clock timezone JST
!
ntpdate server ipv4 172.16.0.1
ntpdate interval 24
!
snmp-server community (R~jeB[) ro
snmp-server enable trap coldstart warmstart linkdown linkup authentication temperature fan l2ms errdisable rmon termmonitor bridge loopdetect
snmp-server host (SNMP}l[W[IPAhX) traps version 2c (R~jeB[)
snmp-server access permit (SNMP}l[W[IPAhX) community (R~jeB[)
!
http-server enable
http-proxy enable
!
telnet-server enable
!
line con 0
line vty 0 7
!
end
