apresia とapresia lightのコマンド
| 内容 | apresia (AEOS 8.11.03) | apresia light | アライドテレシス |
|---|---|---|---|
| vlanの作成 (VLAN100という名前で100を作成) | # enable # config terminal # vlan database # vlan 100 name VLAN100 (消去は、no vlan 100) |
(create vlan vlanid tag vlan_name) # create vlan 100 tag 100 (消去は#delete vlan 100) |
> create vlan=100 vid=100 (消去は、> destroy vlan=100) |
| ポートへのVLANの割り当て (port 4にuntagでvlan 100を割り当てる場合) |
# enable
# configure terminal
# interface port 1/4
# switchport access vlan 100
(消去は、#no switchport access)
|
(すでにvlanが設定されている場合は、 あらかじめ消去する config vlan 100 delete 4) # config vlan 100 add untag 4 |
> add vlan=100 port=4 (消去は> delete vlan=100 port=5) |
| tag付きvlanの設定(VLAN100,101を設定) port 5の場合 |
# enable
# config terminal
# interface port 1/5
# switchport mode trunk
# switchport trunk add 100-101
(消去は、no switchport mode)
(消去は、switchport trunk remove 100-101)
(必要なら、no descriptionも実行)
|
# config vlan 100 add tagged 5
# config vlan 101 add tagged 5
(tagでも消去は config vlan 100 delete 5)
|
> add vlan=100 port=5 frame=tagged |
| shutdownしたポートの復旧 (port 5を復旧させる場合) |
# enable # config terminal # int port 1/5 # no shutdown |
(# config ports 5 state disable) # config ports 5 state enable |
--- |
| 設定の保存 | (copy flas-...はSDカードに保存するコマンド。 ***はファイル名である。 なおOSのバージョンよっては、write memory コマンドでSDカードにまで保存する) |
# save all
|
> save |
| Macアドレス一覧表示 |
# show mac-address-table
|
# show fdb
|
--- |
| dhcp-snoopingの有効化と無効化(上段が有効化、下段が無効化 |
(config)# dhcp-snooping enable
(config)# no dhcp-snooping enable
|
---
|
--- |
| 設定した(認証バイパスpacket-filter2のassignの消去(2 assign port ...を消去する場合) |
# enable
# configure terminal
# packet-filter2 1
# no 2 assign port
|
---
|
--- |
| 設定の確認 |
# enable
# show run
|
# show config current_config modified
(# show config current_config)
|
> show config |
| 設定とlogの確認(量が多いのでシリアルポートでは危険!) |
# show tech
|
# show tech
|
--- |
| LAGの確認 |
# show link-aggregation
|
# show link-aggregation
|
--- |
| ループ検知の設定 (5番ポートのループを 検出したら5番ポートを使用禁止にする場合。括弧内はループ検知の設定を停止する場合) |
# enable
# config terminal
# interface port 1/5
# loop-watch port enable
(# no loop-watch port enable)
|
# config loopdetect ports 5 state enabled method shutdown
( #config loopdetect ports 5 state disabled method shutdown )
|
--- |
| descriptionの消去 (5番ポートを消去する場合) | --- |
config ports 5 clear_description
|
--- |