!
enable password (pX[hFK{)
password yamaha
!
username ([U[FK{) privilege on password (pX[hFK{)
!
dns-client enable
!
loop-detect enable
!
lldp run
lldp auto-setting enable
!
vlan database
 vlan 20 name VLAN0020
 vlan 20 state enable
 vlan 50 name VLAN0050
 vlan 50 state enable
!
interface port1.1
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.2
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.3
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.4
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20,50
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.5
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20,50
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.6
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20,50
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.7
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20,50
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.8
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20,50
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.9
 switchport mode access
 switchport access vlan 20
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.10
 switchport mode trunk ingress-filter enable
 switchport trunk allowed vlan add 20,50
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface vlan1
 ip address 192.168.1.244/24
!
interface vlan20
!
interface vlan50
!
ip route 0.0.0.0/0 192.168.1.240
!
clock timezone JST
!
ntpdate server ipv4 192.168.1.1
ntpdate interval 24
!
http-server enable
http-server secure enable
!
telnet-server enable
!
end
