The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<html><head><title>NetAddr::BridgeID</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
</head>
<body class='pod'>
<!--
  generated by Pod::Simple::HTML v3.20,
  using Pod::Simple::PullParser v3.20,
  under Perl v5.016000 at Fri Sep 28 20:59:46 2012 GMT.

 If you want to change this HTML document, you probably shouldn't do that
   by changing it directly.  Instead, see about changing the calling options
   to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<a name='___top' class='dummyTopAnchor' ></a>

<h1><a class='u'
name="NAME"
>NAME</a></h1>

<p>NetAddr::BridgeID - Object for BridgeIDs (priority/MAC combos)</p>

<h1><a class='u'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<pre>   use NetAddr::BridgeID;
    
   my $bid;
   $bid = NetAddr::BridgeID-&#62;new( &#39;2#00:11:22:aa:bb:cc&#39; );
   $bid = NetAddr::BridgeID-&#62;new( bridge_id =&#62; &#39;60#0011.22AA.BBCC&#39; );
   
   use NetAddr::MAC;
   my $mac = NetAddr::MAC-&#62;new( mac =&#62; &#39;0011.22AA.BBCC&#39; );
   
   $bid = NetAddr::BridgeID-&#62;new( priority =&#62; &#39;60&#39;, mac_obj =&#62; $mac );
   $bid = NetAddr::BridgeID-&#62;new( priority =&#62; &#39;60&#39;, mac =&#62; &#39;0011.22AA.BBCC&#39; );</pre>

<h1><a class='u'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>This object class simply creates a <a href="http://search.cpan.org/perldoc?NetAddr%3A%3AMAC" class="podlinkpod"
>NetAddr::MAC</a>-like object, with a priority for STP Bridge IDs.</p>

<h1><a class='u'
name="METHODS"
>METHODS</a></h1>

<h2><a class='u'
name="original"
>original</a></h2>

<p>The original bridge ID string, as it was passed to the constructor. If it was passed in pieces (or if parts were left out), it will fill in the gaps to provide a full bridge ID</p>

<h2><a class='u'
name="bridge_id"
>bridge_id</a></h2>

<p>The bridge ID, with a Cisco-style MAC address (like <code>0000.1111.2222</code>).</p>

<h2><a class='u'
name="priority"
>priority</a></h2>

<p>The priority number.</p>

<h2><a class='u'
name="mac_obj"
>mac_obj</a></h2>

<p>The <a href="http://search.cpan.org/perldoc?NetAddr%3A%3AMAC" class="podlinkpod"
>NetAddr::MAC</a> object tied to this one.</p>

<h2><a class='u'
name="NetAddr::MAC_Methods"
>NetAddr::MAC Methods</a></h2>

<p>All of the <code>is_* / as_* / to_*</code> methods are &#34;handled&#34; to the main BridgeID object, so you can access them directly.</p>

<h1><a class='u'
name="AVAILABILITY"
>AVAILABILITY</a></h1>

<p>The project homepage is <a href="https://github.com/SineSwiper/NetAddr-BridgeID/wiki" class="podlinkurl"
>https://github.com/SineSwiper/NetAddr-BridgeID/wiki</a>.</p>

<p>The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <a href="http://www.perl.com/CPAN/" class="podlinkurl"
>http://www.perl.com/CPAN/</a> to find a CPAN site near you, or see <a href="https://metacpan.org/module/NetAddr::BridgeID/" class="podlinkurl"
>https://metacpan.org/module/NetAddr::BridgeID/</a>.</p>

<h1><a class='u'
name="SUPPORT"
>SUPPORT</a></h1>

<h2><a class='u'
name="Internet_Relay_Chat"
>Internet Relay Chat</a></h2>

<p>You can get live help by using IRC ( Internet Relay Chat ). If you don&#39;t know what IRC is, please read this excellent guide: <a href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" class="podlinkurl"
>http://en.wikipedia.org/wiki/Internet_Relay_Chat</a>. Please be courteous and patient when talking to us, as we might be busy or sleeping! You can join those networks/channels and get help:</p>

<ul>
<li>irc.perl.org
<p>You can connect to the server at &#39;irc.perl.org&#39; and join this channel: #distzilla then talk to this person for help: SineSwiper.</p>
</li>
</ul>

<h2><a class='u'
name="Bugs_/_Feature_Requests"
>Bugs / Feature Requests</a></h2>

<p>Please report any bugs or feature requests via <a href="http://search.cpan.org/perldoc?GitHub" class="podlinkpod"
><a href="https://github.com/SineSwiper/NetAddr-BridgeID/issues" class="podlinkurl"
>https://github.com/SineSwiper/NetAddr-BridgeID/issues</a></a>.</p>

<h1><a class='u'
name="AUTHOR"
>AUTHOR</a></h1>

<p>Brendan Byrd &#60;BBYRD@CPAN.org&#62;</p>

<h1><a class='u'
name="COPYRIGHT_AND_LICENSE"
>COPYRIGHT AND LICENSE</a></h1>

<p>This software is Copyright (c) 2012 by Brendan Byrd.</p>

<p>This is free software, licensed under:</p>

<pre>  The Artistic License 2.0 (GPL Compatible)</pre>

<!-- end doc -->

</body></html>