!
! SFPポートを持つスイッチを光メディアコンバーターとして利用する
!

!
! 工場スイッチ  スマートL2スイッチ Configのサンプル
!

!
enable password admin
!
username admin privilege on password (初期管理ユーザーパスワード)
!
dns-client enable
!
loop-detect enable
!
lldp run
lldp auto-setting enable
!
vlan database
 vlan 10 name VLAN0010
 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
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.3
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.4
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.5
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.6
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.7
 switchport mode access
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface port1.8
 switchport mode access
 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
 no shutdown
 lldp-agent
  set lldp enable txrx
!
interface vlan1
 ip address dhcp
!
interface vlan10
!
clock timezone JST
!
http-server enable
http-server secure enable
!
telnet-server enable
!
end