Cisco1812JVLan情報の再構築 » History » Revision 2
Revision 1 (Tsutomu KIMURA, 07/14/2013 11:49 PM) → Revision 2/3 (Tsutomu KIMURA, 07/14/2013 11:50 PM)
h1. 前口上 滅多にある事ではないが、CFの交換作業をやっているとファイルのうっかりコピー忘れがある。それがVLanデータベースの構成情報を持っているvlan.datだと、目も当てられない事態になる(というか、なった)。 で、復活の仕方である。 h1. 復活の仕方 <pre> tomcat02#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. tomcat02(vlan)#show VLAN ISL Id: 1 Name: default Media Type: Ethernet VLAN 802.10 Id: 100001 State: Operational MTU: 1500 Translational Bridged VLAN: 1002 Translational Bridged VLAN: 1003 (中略) VLAN ISL Id: 1005 Name: trnet-default Media Type: Token Ring Net VLAN 802.10 Id: 101005 State: Operational MTU: 1500 Bridge Type: SRB Bridge Number: 1 STP Type: IBM </pre> 長いので略するが、いわゆるデフォルトのVlanインタフェイス以外は存在しない。そこで… <pre> tomcat02(vlan)#? VLAN database editing buffer manipulation commands: abort Exit mode without applying the changes apply Apply current changes and bump revision number exit Apply changes, bump revision number, and exit mode no Negate a command or set its defaults reset Abandon current changes and reread current database show Show database information vlan Add, delete, or modify values associated with a single VLAN vtp Perform VTP administrative functions. tomcat02(vlan)#apply APPLY completed. tomcat02(vlan)#vlan 32 VLAN 32 added: Name: VLAN0032 tomcat02(vlan)#exit APPLY completed. Exiting.... tomcat02#dir flash: Directory of flash:/ (略) 18 -rw- 660 Aug 11 2012 20:56:22 +09:00 vlan.dat (略) 512819200 bytes total (366755840 bytes free) </pre> 以上でよい。 要は、 * vlanコマンドでVLan構築モードへ移行。 * applyコマンドを使用する。 これで良い…筈だ。