■VTPの設定操作ログ 通常(Catalyst2950)の操作手順でNGだった。。。

L2SW002#show vtp status VTP Version  : 2 Configuration Revision  : 0 Maximum VLANs supported locally : 68 Number of existing VLANs  : 5 VTP Operating Mode  : Server VTP Domain Name  : VTP Pruning Mode  : Disabled VTP V2 Mode  : Disabled VTP Traps Generation  : Disabled MD5 digest  : 0xBF 0x86 0x94 0x45 0xFC 0xDF 0xB5 0x70 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 L2SW002# 上記のように、VTPモード=Serverで、VTPドメイン名が空白の場合、VTP設定できないとのこと。。。

実際にコマンドを実行しようとすると。。。 L2SW001#config term Enter configuration commands, one per line. End with CNTL/Z. L2SW001(config)#vtp transpar L2SW001(config)#vtp ?

 file  Configure IFS filesystem file where VTP configuration is stored.

L2SW001(config)# ・・・ファイルって?

L2SW001(config)#vlan database

                ^

% Invalid input detected at '^' marker.

L2SW001(config)#end L2SW001# Ciscoのサイトで調べて、以下の手順であることがわかった。

L2SW001(config)#vlan database

                ^

% Invalid input detected at '^' marker.

L2SW001(config)#end L2SW001# VLANの設定は、プリビレッジモードで!!

L2SW001#vlan database   そういや,何かでVLANの設定はVLANデータベースモードでやることを推奨していた! L2SW001(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.

L2SW001(vlan)#vtp ?

 client       Set the device to client mode.
 domain       Set the name of the VTP administrative domain.
 password     Set the password for the VTP administrative domain.
 pruning      Set the administrative domain to permit pruning.
 server       Set the device to server mode.
 transparent  Set the device to transparent mode.
 v2-mode      Set the administrative domain to V2 mode.

L2SW001(vlan)#vtp domain VTPdom1 Changing VTP domain name from NULL to VTPdom1 L2SW001(vlan)#vtp server Device mode already VTP SERVER. L2SW001(vlan)# L2SW001(vlan)#show current

 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: 10
   Name: TEST-VLAN1
   Media Type: Ethernet
   VLAN 802.10 Id: 100010
   State: Operational
   MTU: 1500
 VLAN ISL Id: 11
   Name: TEST-VLAN2
   Media Type: Ethernet
   VLAN 802.10 Id: 100011
   State: Operational
   MTU: 1500
 VLAN ISL Id: 1002

~以下省略~ L2SW001(vlan)# L2SW001(vlan)#exit APPLY completed. Exiting.... L2SW001# L2SW001#show vtp status VTP Version  : 2 Configuration Revision  : 1 Maximum VLANs supported locally : 68 Number of existing VLANs  : 7 VTP Operating Mode  : Server VTP Domain Name  : VTPdom1 VTP Pruning Mode  : Disabled VTP V2 Mode  : Disabled VTP Traps Generation  : Disabled MD5 digest  : 0x92 0x59 0x17 0x1B 0x7D 0xD4 0x87 0x17 Configuration last modified by 192.168.100.2 at 3-1-93 02:40:48 L2SW001# やっと設定に成功!!

最終更新:2007年10月22日 00:25