- 追加された行はこのように表示されます。
- 削除された行は
このように表示されます。
!!! L3
!! x310
https://www.allied-telesis.co.jp/support/list/switch/x310/manual.html
! ログイン
$ telnet -l username HOSTNAME
HOST>
HOST> enable
HOST#
! 設定確認
https://www.allied-telesis.co.jp/support/list/awp/rel/5.5.0-2.3/613-001988_AG/index.html
HOST# show startup-config
HOST# show running-config
BOOTファイルの確認
HOST# show boot
Default boot config: flash:/default.cfg
Current boot config: flash:/default.cfg (file exists)
Backup boot config: Not set
Autoboot status : disabled
Boot Security Level: none
CONFHOST#IG
HOST# configure terminal
HOST(config)#
Spanning-tree
config)# [no] spanning-tree {stp|rstp|mstp} enable
config) spanning-tree shutdown
# show spanning-tree(非特権EXECモード)
# show spanning-tree mst(非特権EXECモード)
config)# spanning-tree enable(グローバルコンフィグモード)
config)# spanning-tree shutdown(グローバルコンフィグモード)
# spanning-tree force-version(インターフェースモード)
PORT 毎
# show spanning-tree interface port1.0.1-1.0.2
SNMP
access-list 1 permit 192.168.250.15
snmp-server host 192.168.250.15 version 2c comu0public
snmp-server
$ configure terminal
config)# access-list 1 permit 192.168.250.15
config)# snmp-server host 192.168.250.15 version 2c comu0public
config)# snmp-server
!! x510
https://www.allied-telesis.co.jp/support/list/switch/x510/rel/5.4.2a-0.1/001763a/docs/overview-1.html
! 設定確認
https://www.allied-telesis.co.jp/support/list/switch/x510/rel/5.4.2a-0.1/001763a/docs/overview-12.html
! スパニングツリー
https://www.allied-telesis.co.jp/support/list/switch/x510/rel/5.4.2a-0.1/001763a/docs/overview-32.html
!!! 旧装置
!!L3ホームページ
!9424
http://www.allied-telesis.co.jp/products/list/switch/9424t_sp-e/catalog.html#shiyo
!8724
http://www.allied-telesis.co.jp/products/list/switch/8724sl/catalog.html#10
!!コマンド一覧
!8724
http://www.allied-telesis.co.jp/support/list/switch/8724sl/docs/index.html
!9424
http://www.allied-telesis.co.jp/support/list/switch/9424t_sp-e/comref/index.html
!!TIPS
! 工場出荷時の Login名/パスワード
manager
friend
! 設定の確認方法
show config dynamic
! 設定ファイルの保存
CREATE CONFIG=filename
filename: ファイル名(拡張子は.cfgか.scp)
! 起動時設定ファイルの指定
SET CONFIG={filename|NONE}
filename: ファイル名(拡張子は.cfgか.scp)
! 最初の設定
enable ip
add ip interface=vlan1 ipaddress=192.168.11.250 mask=255.255.255.0
! 設定のダウンロード (TFTPserver=192.168.11.251)
load destination=flash file=L3TEST.cfg server=192.168.11.251
set config=L3TEST.cfg
----
!!! SAMPLE
!! sample1
# SYSTEM configuration
#
set system name="L3test01"
# VLAN general configuration
#
create vlan="vnet0" vid=100
# add ip int=vlan100 ip=192.168.1.250 mask=255.255.255.0 fil=1
add ip int=vlan100 ip=192.168.1.250 mask=255.255.255.0
#
create vlan="vnet1" vid=10
add ip int=vlan10 ip=192.168.11.250 mask=255.255.255.0
#
create vlan="vnet2" vid=20
add ip int=vlan20 ip=10.0.1.250 mask=255.255.255.0
#
create vlan="vnet3" vid=30
# add ip int=vlan30 ip=10.255.0.250 mask=255.255.255.0 fil=4
add ip int=vlan30 ip=10.255.0.250 mask=255.255.255.0
#
#
# VLAN port configuration
#
#
add vlan="vnet0" port=1-4
add vlan="vnet1" port=5-8
add vlan="vnet2" port=9-12
add vlan="vnet3" port=21-24
add vlan="vnet21" port=13
#
add ip rou=0.0.0.0 mask=0.0.0.0 int=vlan100 next=192.168.1.2
# SNMP configuration
#
enable snmp
enable snmp authenticate_trap
create snmp community=mikinet
enable snmp community=mikinet trap
add snmp community=mikinet traphost=192.168.1.111
# # ADD temp network.
# create vlan="vnet4" vid=40
# add vlan=vnet4 port=13-16
# add ip int=vlan40 ip=192.168.254.250 mask=255.255.255.0
# ----
#
ADD IP ROUTE=172.20.53.0 MASK=255.255.255.0 INT=vlan-black NEXTHOP=172.16.1.1
# add ip route= interface=vlan40 nexthop=10.0.1.250
----
!! 管理
!IPアドレスの設定
add ip interface=vlan1 ipaddress=192.168.10.1 mask=255.255.255.0 a
set ip local interface=vlan1 a
!ネットワークの活性
ping 192.168.10.100 a
!Download
load method=tftp distfile=test01.cfg file=test01.cfg server=192.168.10.100 a
#** distfile=appblock とした場合にはファームウェアと認識
!設定の削除
dele ip interface=vlan100-0