VLANの削除(アライドテレシス)

VLAN削除するだけなのにえらい苦労したのでメモ

1. まずこれで当該VLANのすべてのポートを削除しないといけない

Manager > delete vlan=Blue port=all

Info (1089003): Operation successful.

CentreCOM 8948XL コマンドリファレンス: DELETE VLAN PORT

2. 次に DESTROY VLAN でVLANを今度こそ削除
CentreCOM AR450S コマンドリファレンス: DESTROY VLAN
ところが

Manager > destroy vlan=Blue

Error (3089266): Cannot destroy the Blue VLAN, there are users attached.

サポート|FAQ|CentreCOM 8624XLによると、IPアドレスが設定されてると削除できないらしい。。

3. なのでこれで削除

Manager > del ip int=vlan30

Info (1005272): IP interface successfully deleted.

無事削除できてすっきり

Manager > destroy vlan=Blue

Info (1089003): Operation successful.

Manager > sh vlan

 VLAN Information
---------------------------------------------------------------------------
 Name ............... default
 Identifier ......... 1
 Status ............. static
 Protected .......... No
 Private ............ No
 Untagged ports ..... 17-24
 Tagged ports ....... None
 Spanning Tree ...... default
 Trunk ports ........ None
 Mirror port ........ None
 Attached to Bridge . No
 Attachments:
 Module           Protocol         Format    Discrim     MAC address
 -------------------------------------------------------------------
 GARP             Spanning tree    802.2     42             -
 -------------------------------------------------------------------

 Name ............... white
 Identifier ......... 10
 Status ............. static
 Protected .......... No
 Private ............ No
 Untagged ports ..... 1-8
 Tagged ports ....... None
 Spanning Tree ...... default
 Trunk ports ........ None
 Mirror port ........ None
 Attached to Bridge . No
 Attachments:
 Module           Protocol         Format    Discrim     MAC address
 -------------------------------------------------------------------
 GARP             Spanning tree    802.2     42             -
 IP               IP               Ethernet  0800           -
 IP               ARP              Ethernet  0806           -
 -------------------------------------------------------------------

 Name ............... orange
 Identifier ......... 20
 Status ............. static
 Protected .......... No
 Private ............ No
 Untagged ports ..... 9-16
 Tagged ports ....... None
 Spanning Tree ...... default
 Trunk ports ........ None
 Mirror port ........ None
 Attached to Bridge . No
 Attachments:
 Module           Protocol         Format    Discrim     MAC address
 -------------------------------------------------------------------
 GARP             Spanning tree    802.2     42             -
 IP               IP               Ethernet  0800           -
 IP               ARP              Ethernet  0806           -
 -------------------------------------------------------------------

---------------------------------------------------------------------------

Manager > sh ip int

Interface     Type     IP Address       Bc Fr PArp  Filt RIP Met.   SAMode  IPSc
Pri. Filt     Pol.Filt Network Mask     MTU   VJC   GRE  OSPF Met.  DBcast  Mul.
InvArp
--------------------------------------------------------------------------------
LOCAL         ---      Not set          -  -  -     ---  --         Pass    --
---           ---      Not set          1500  -     ---  --         ---     ---
-
vlan10#       Static   172.16.2.254     1  n  Off   ---  01         Pass    No
---           ---      255.255.255.0    1500  -     ---  0000000001 No      Rec
-
vlan20#       Static   172.16.3.254     1  n  Off   ---  01         Pass    No
---           ---      255.255.255.0    1500  -     ---  0000000001 No      Rec
-
--------------------------------------------------------------------------------