[c-nsp] VTP domain.

Dale Shaw dale.shaw+cisco-nsp at gmail.com
Tue Feb 10 20:16:18 EST 2009


Hi,

On Wed, Feb 11, 2009 at 10:54 AM, Mark Tinka <mtinka at globaltransit.net> wrote:
> No clear way to do this, today, without deleting the
> 'vlan.dat' file. Wish that could be fixed.

Anyone out there sadistic enough to have tried copying out vlan.dat,
nullifying the VTP domain with a hex editor, then copying it back in?
I wonder if that works at all.

The VTP domain name string can be up to 32 characters. It starts at
position 0xA (10) and goes through to 0x29 (41). I suppose there's a
strong possibility other parts of the file (other than the domain name
string) are changed with a domain name change.

SW1(config)#vtp domain ABCDEFGHIJKLMNOPQRSTUVWXYZABCABCABCABC
Domain name is truncated to 32 characters, maximum VTP domain name length.
Changing VTP domain name from ZAZAZAZAZAZAZAZAZAZAZAZAZAZAZAZ to
ABCDEFGHIJKLMNOPQRSTUVWXYZABCABC
SW1(config)#end
SW1#more /binary vlan.dat
00000000:  BADB100D 00000002 03204142 43444546    :[.. .... . AB CDEF
00000010:  4748494A 4B4C4D4E 4F505152 53545556    GHIJ KLMN OPQR STUV
00000020:  5758595A 41424341 42430000 00000000    WXYZ ABCA BC.. ....
[...]

So many silly ideas, so little time..

cheers,
Dale


More information about the cisco-nsp mailing list