NAME
SNMP::Info::CiscoVTP - Perl5 Interface to Cisco's VLAN Management MIB - CISCO-VTP-MIB
AUTHOR
Max Baker (max@warped.org
)
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $vtp = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly on to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $vtp->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
SNMP::Info::CiscoVTP is a subclass of SNMP::Info that provides information about a switch's VLANs.
Use or create in a subclass of SNMP::Info. Do not use directly.
Inherited Classes
none.
Required MIBs
MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz
GLOBALS
- $vtp->vtp_version()
-
vtpVersion
- $vtp->vtp_maxstore()
-
vtpMaxVlanStorage
- $vtp->vtp_notify()
-
vtpNotificationsEnabled
- $vtp->vtp_notify_create()
-
vtpVlanCreatedNotifEnabled
- $vtp->vtp_notify_delete()
-
vtpVlanDeletedNotifEnabled
TABLE METHODS
You device will only implement a subset of these methods.
VLAN Table
See ftp://ftp.cisco.com/pub/mibs/supportlists/wsc5000/wsc5000-communityIndexing.html for a good treaty of how to connect to the VLANs
- $vtp->v_index()
-
vtpVlanIndex
- $vtp->v_state()
-
vtpVlanState
- $vtp->v_type()
-
vtpVlanType
- $vtp->v_name()
-
vtpVlanName
- $vtp->v_mtu()
-
vtpVlanMtu
- $vtp->v_said()
-
vtpVlanDot10Said
- $vtp->v_ring()
-
vtpVlanRingNumber
- $vtp->v_bridge()
-
vtpVlanBridgeNumber
- $vtp->v_stp()
-
vtpVlanStpType
- $vtp->v_parent()
-
vtpVlanParentVlan
- $vtp->v_trans1()
-
vtpVlanTranslationalVlan1
- $vtp->v_trans2()
-
vtpVlanTranslationalVlan2
- $vtp->v_btype()
-
vtpVlanBridgeType
- $vtp->v_hop_are()
-
vtpVlanAreHopCount
- $vtp->v_hop_ste()
-
vtpVlanSteHopCount
- $vtp->v_crf()
-
vtpVlanIsCRFBackup
- $vtp->v_type_ext()
-
vtpVlanTypeExt
- $vtp->v_if()
-
vtpVlanIfIndex
Managment Domain Table
- $vtp->vtp_d_index()
-
managementDomainIndex
- $vtp->vtp_d_name()
-
managementDomainName
- $vtp->vtp_d_mode()
-
managementDomainLocalMode
- $vtp->vtp_d_rev()
-
managementDomainConfigRevNumber
- $vtp->vtp_d_updater()
-
managementDomainLastUpdater
- $vtp->vtp_d_last()
-
managementDomainLastChange
- $vtp->vtp_d_status()
-
managementDomainRowStatus
- $vtp->vtp_d_tftp()
-
managementDomainTftpServer
- $vtp->vtp_d_tftp_path()
-
managementDomainTftpPathname
- $vtp->vtp_d_pruning()
-
managementDomainPruningState
- $vtp->vtp_d_ver()
-
managementDomainVersionInUse