diff --git a/lib/SNMP/Info/MAU.pm b/lib/SNMP/Info/MAU.pm index 4a7f7ffc..4a9b46b7 100644 --- a/lib/SNMP/Info/MAU.pm +++ b/lib/SNMP/Info/MAU.pm @@ -460,10 +460,10 @@ Max Baker =head1 SYNOPSIS - my $mau = new SNMP::Info ( + my $mau = new SNMP::Info ( AutoSpecify => 1, Debug => 1, - DestHost => 'hpswitch', + DestHost => 'hpswitch', Community => 'public', Version => 2 ); @@ -551,14 +551,14 @@ and their index in the MAU IF Table. (C) -=item $mau->mau_link() - Returns the type of Media Access used. +=item $mau->mau_link() - Returns the type of Media Access used. - This is essentially the type of link in use. + This is essentially the type of link in use. eg. dot3MauType100BaseTXFD - 100BaseT at Full Duplex (C) -=item $mau->mau_status() - Returns the admin link condition as +=item $mau->mau_status() - Returns the admin link condition as 1 - other 2 - unknown @@ -576,9 +576,9 @@ Use 5 and !5 to see if the link is up or down on the admin side. (C) =item $mau->mau_type() - Returns a 32bit string reporting the capabilities -of the port from a MAU POV. +of the port from a MAU POV. - Directly from F : + Directly from F : Bit Capability 0 other or unknown 1 AUI @@ -619,14 +619,14 @@ ports. (C) =item $mau->mau_autosent() - Returns a 32 bit bit-string representing the -capabilities we are broadcasting on that port +capabilities we are broadcasting on that port Uses the same decoder as $mau->mau_type(). (C) -=item $mau->mau_autorec() - Returns a 32 bit bit-string representing the -capabilities of the device on the other end. +=item $mau->mau_autorec() - Returns a 32 bit bit-string representing the +capabilities of the device on the other end. Uses the same decoder as $mau->mau_type(). @@ -641,7 +641,7 @@ or provide a simpler interface to complex set operations. See L for general information on set operations. -=over +=over =item $mau->mau_set_i_speed_admin(speed, ifIndex) @@ -684,7 +684,7 @@ Accepts the following values for speed and duplex: =head1 Utility Functions -=over +=over =item munge_int2bin() - Unpacks an integer into a 32bit bit string. diff --git a/lib/SNMP/Info/MRO.pm b/lib/SNMP/Info/MRO.pm index 2584ca10..892778f9 100644 --- a/lib/SNMP/Info/MRO.pm +++ b/lib/SNMP/Info/MRO.pm @@ -157,7 +157,7 @@ or C<%FUNCS> configuration. The data structure looks like: } It should be noted that the order of method resolution in SNMP::Info is to -first look for a defined subroutine (this is done by Perl), then the +first look for a defined subroutine (this is done by Perl), then the AUTOLOAD sequence will search for a definition in C<%GLOBALS> followed by C<%FUNCS>. diff --git a/lib/SNMP/Info/NortelStack.pm b/lib/SNMP/Info/NortelStack.pm index 03bb25fe..91c63e48 100644 --- a/lib/SNMP/Info/NortelStack.pm +++ b/lib/SNMP/Info/NortelStack.pm @@ -558,7 +558,7 @@ Eric Miller =head1 SYNOPSIS - # Let SNMP::Info determine the correct subclass for you. + # Let SNMP::Info determine the correct subclass for you. my $stack = new SNMP::Info( AutoSpecify => 1, Debug => 1, @@ -566,7 +566,7 @@ Eric Miller DestHost => 'myswitch', Community => 'public', Version => 2 - ) + ) or die "Can't connect to DestHost.\n"; my $class = $stack->class(); @@ -620,13 +620,13 @@ Returns serial number of the chassis =item $stack->ns_ag_ver() Returns the version of the agent in the form -'major.minor.maintenance[letters]'. +'major.minor.maintenance[letters]'. (C) =item $stack->ns_op_mode() -Returns the stacking mode. +Returns the stacking mode. (C) @@ -821,7 +821,7 @@ Returns reference to hash. Key: Table entry, Value: Version =head2 Pseudo F information These methods emulate F Physical Table methods using -F. +F. =over @@ -905,7 +905,7 @@ is not contained in any other entity. =item $stack->munge_ns_grp_type() -Munges C into an C equivalent. +Munges C into an C equivalent. =back diff --git a/lib/SNMP/Info/PowerEthernet.pm b/lib/SNMP/Info/PowerEthernet.pm index 6cdb30bc..197e15e9 100644 --- a/lib/SNMP/Info/PowerEthernet.pm +++ b/lib/SNMP/Info/PowerEthernet.pm @@ -126,14 +126,14 @@ Bill Fenner =head1 SYNOPSIS - # Let SNMP::Info determine the correct subclass for you. + # Let SNMP::Info determine the correct subclass for you. my $poe = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 - ) + ) or die "Can't connect to DestHost.\n"; my $class = $poe->class(); diff --git a/lib/SNMP/Info/SONMP.pm b/lib/SNMP/Info/SONMP.pm index fdf81acf..d08c7b19 100644 --- a/lib/SNMP/Info/SONMP.pm +++ b/lib/SNMP/Info/SONMP.pm @@ -147,7 +147,7 @@ sub sonmp_if { $port = 26; } } - + my $index; my $int = $sub_port ? "$slot.$port.$sub_port" : "$slot.$port"; @@ -292,10 +292,10 @@ Eric Miller =head1 SYNOPSIS - my $sonmp = new SNMP::Info ( + my $sonmp = new SNMP::Info ( AutoSpecify => 1, Debug => 1, - DestHost => 'router', + DestHost => 'router', Community => 'public', Version => 2 ); @@ -321,7 +321,7 @@ Eric Miller =head1 DESCRIPTION -SNMP::Info::SONMP is a subclass of SNMP::Info that provides an object oriented +SNMP::Info::SONMP is a subclass of SNMP::Info that provides an object oriented interface to the SynOptics Network Management Protocol (SONMP) information through SNMP. @@ -334,7 +334,7 @@ Discovery Protocol (NDP). Create or use a device subclass that inherits this class. Do not use directly. -Each device implements a subset of the global and cache entries. +Each device implements a subset of the global and cache entries. Check the return value to see if that data is held by the device. =head2 Inherited Classes @@ -368,7 +368,7 @@ Returns the offset if slot numbering does not start at 0. Defaults to 1. =item $sonmp->port_offset() -Returns the offset if port numbering does not start at 0. Defaults to 0. +Returns the offset if port numbering does not start at 0. Defaults to 0. =item $sonmp->hasSONMP() @@ -382,13 +382,13 @@ Returns the IP that the device is sending out for its Nmm topology info. =item $sonmp->sonmp_run() -Returns true if SONMP is on for this device. +Returns true if SONMP is on for this device. (C) =item $sonmp->mac() -Returns MAC of the advertised IP address of this device. +Returns MAC of the advertised IP address of this device. =back @@ -481,7 +481,7 @@ Returns reference to hash. Key: IID, Value: Remote IP address If multiple entries exist with the same local port, sonmp_if(), with different IPv4 addresses, sonmp_ip(), there is either a non SONMP device in between two or -more devices or multiple devices which are not directly connected. +more devices or multiple devices which are not directly connected. Use the data from the Layer2 Topology Table below to dig deeper.