[rancid] Re: VTP
john heasley
heas at shrubbery.net
Tue Nov 28 18:43:59 UTC 2006
Tue, Nov 28, 2006 at 08:16:43AM +0100, Johan Bergstr?m:
> On Mon, 2006-11-27 at 11:52 -0800, john heasley wrote:
> > >
> > > The important information for me is VTP Operating Mode,
> > > VTP Domain Name and VTP Traps Generation
> >
> > show vtp status was added a long time ago. and, I expect the commands to
> > alter it would appear in show running (excepting the 'defaults' which
> > cisco may change at their whim).
> >
> > > The commands I use to setup my vtp are 'vtp domain VTP_DOMAIN' and 'vtp
> > > mode server(or client or transparent)' on some switches/routers where I
> > > want vtp traps, I enable that with 'snmp-server enable traps vtp' the
> > > snmp-server command is shown in 'sh run', so it's cought with rancid
> > > already.
> > >
> > > The other VTP commands are set with 'vtp pruning', 'vtp version <1|2>'
> >
> > all of these should appear in the show running output. either you're
> > running a very old version, have the device configured as "cat5", or
> > ???
>
> It doesn't show vtp domain or vtp mode in show running, I'm using the
> following versions,
both are collected though; show running and show vtp. I don't understand
what's missing or where to get it.
Tue, Nov 28, 2006 at 09:05:41AM -0800, Lance Vermilion:
> VTP info is not really captured in the config.
s/really/entirely/
> IOS
> ------
> ops-dsr-01#sh run | i vtp
> vtp interface lo0 #user defined, by default lowest vlan is chosen
> snmp-server enable traps vtp #enable/disable is user defined
>
> CATOS (all of this is captured in the show run/config/config all)
> ------
> sh run
> ...
> ...
> set snmp trap enable vtp #enable/disable is user defined
> #vtp
> set vtp domain [ops] #ops is user defined or null
> set vtp mode client [vlan] #vlan is optional
> set logging level vtp 5 default #logging level is user defined
>
>
> The show vtp domain/status is different for catos/ios. Here are examples.
>
> IOS
> ------
> ops-dsr-01#sh vtp status
> VTP Version : 2
> Configuration Revision : 98
> Maximum VLANs supported locally : 1005
> Number of existing VLANs : 59
> VTP Operating Mode : Server
> VTP Domain Name : ops
> VTP Pruning Mode : Enabled
> VTP V2 Mode : Enabled
> VTP Traps Generation : Enabled
> MD5 digest : 0xF7 0x00 0x00 0x00 0xD6 0x60 0x24 0x85
> Configuration last modified by 172.21.253.253 at 10-19-06 19:51:14
> Local updater ID is 172.21.253.254 on interface Lo0 (preferred interface)
> Preferred interface name is lo0
>
> CATOS
> ------
> ops-as-01> (enable) sh vtp dom
Ah! This command is missing.
> Domain Name Domain Index VTP Version Local Mode Password
> -------------------------------- ------------ ----------- ----------- ----------
> ops 1 2 client -
>
> Vlan-count Max-vlan-storage Config Revision Notifications
> ---------- ---------------- --------------- -------------
> 59 1023 98 enabled
>
> Last Updater V2 Mode Pruning PruneEligible on Vlans
> --------------- -------- -------- -------------------------
> 172.21.253.253 enabled enabled 2-1000
More information about the Rancid-discuss
mailing list