Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Silver

Reg : configuration revision number

Hi Experts ,

Is there any commad to change the configuration revision number of Switch ?

If I want to change the coniguration revision number of switch what command I should use ?

Thanks,

Satish

11 REPLIES
Hall of Fame Super Blue

Re: Reg : configuration revision number

Hi Satish

Do you mean the VTP configuration revision number ? If so there are 2 ways as far as i aware

1) Modify the vlan database on the VTP server, this will update the revision number and then all clients will update their number.

2) Change the VTP server to VTP transparent then back to VTP server again, this will reset the revision number to 0. Don't recommend doing this though as all the clients will then have a higher revision number and so they will ignore any VTP updates from VTP server switch.

Hope i've answered your question

Jon

Silver

Re: Reg : configuration revision number

Hi Jon ,

Thanks for the reply and info.

I read following from Cisco.

a VLAN database was introduced into Cisco IOS Software as a method to immediately save VTP updates for VTP clients and servers. In some versions of software, this VLAN database is in the form of a separate file in NVRAM, called the vlan.dat file. You can view VTP/VLAN information that is stored in the vlan.dat file for the VTP client or VTP server if you issue the show vtp status command.

VTP server/client mode switches do not save the entire VTP/VLAN configuration to the startup config file in the NVRAM when you issue the copy running-config startup-config command on these systems. It saves the configuration in the vlan.dat file. This does not apply to systems that run as VTP transparent. VTP transparent systems save the entire VTP/VLAN configuration to the startup config file in NVRAM when you issue the copy running-config startup-config command. For example, if you delete vlan.dat file after the configuration of the VTP in server or client mode and reload the switch, it resets the VTP configuration to default settings. However, if you configure VTP in transparent mode, delete the vlan.dat and reload the switch. This retains the VTP configuration.

You said that to cahnge the configuration revision number we need to modify the valn database.

Can you tell me the ways to modify the vlan database.

Is it possible to do changes to valn.dat file.

Thanks,

Satish

Hall of Fame Super Blue

Re: Reg : configuration revision number

Satish

You would modify the vlan database by

1) From enable mode type

switch# vlan database

switch(vlan)#

And from there you can add, delete, modify vlan info if on VTP server.

Cisco are trying to move people away from this method.

2) From config mode on the switch

switch(config)# vlan

switch(config-vlan)#

And from here you can add additional parameters.

This is recommended way to manipulate the vlan database now.

The above are IOS. On CatOS they are all "set vlan..." based commands.

HTH

Jon

Silver

Re: Reg : configuration revision number

Hi Jon ,

I've tried same on 3750G switch and noticed that whenever the switch is in server mode and addition or deletion of vlan is increasing the configuration revision by 1 which is accumulative.

In Clinet mode , we can't modify the vlan database.

What would be the max.value the configuration revision number can reach ?

How this value resets to zero once it reaches to max.

Thanks,

Satish

Hall of Fame Super Blue

Re: Reg : configuration revision number

Satish

The VTP configuration number is a 32bit unsigned integer so the maximum it can be is

2147483647

I have no idea what happens when it wraps around as i have never experienced this.

Perhaps someone else knows the exact details ?

Jon

Re: Reg : configuration revision number

Have a look at this

Integer wrap in VTP Revision

CSCse40078

CSCse47765

http://www.cisco.com/warp/public/707/cisco-sr-20060913-vtp.shtml

HTH

Narayan

Silver

Re: Reg : configuration revision number

Hi Narayan ,

Valuable info..Thanks a lot.

Cheers :)

Satish

Re: Reg : configuration revision number

Jon, can I do the same for CatOS?

Re: Reg : configuration revision number

Yes it would..

Just a deviation from Jon's post, the client switches will not ignore the requests after it is changed back to server mode but rather update the server too with the revision number that is existing on their database.

They will be ignoring the request only when the domain names are different

Narayan

Hall of Fame Super Blue

Re: Reg : configuration revision number

Thanks Narayan.

Re: Reg : configuration revision number

Thanks

636
Views
19
Helpful
11
Replies
CreatePlease to create content