Sample of the output for this code
RMON:10/100 Port 22 on Unit 2 - 222 - 54 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:10/100 Port 8 on Unit 3 - 308 - 72 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:10/100 Port 5 on Unit 2 - 205 - 37 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:10/100 Port 5 on Unit 4 - 405 - 101 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 14 on Unit 4 - 414 - 110 RMON:10/100 Port 19 on Unit 4 - 419 - 115 RMON:10/100 Port 4 on Unit 1 - 104 - 4 RMON:10/100 Port 9 on Unit 3 - 309 - 73 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 19 on Unit 1 - 119 - 19 RMON:10/100 Port 7 on Unit 4 - 407 - 103 RMON:10/100 Port 13 on Unit 1 - 113 - 13 RMON:10/100 Port 12 on Unit 1 - 112 - 12 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 23 on Unit 3 - 323 - 87 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 11 on Unit 4 - 411 - 107 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 11 on Unit 1 - 111 - 11 RMON:10/100 Port 18 on Unit 2 - 218 - 50 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 23 on Unit 4 - 423 - 119 RMON:10/100 Port 3 on Unit 3 - 303 - 67 RMON:10/100 Port 2 on Unit 4 - 402 - 98 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 4 on Unit 3 - 304 - 68 RMON:10/100 Port 13 on Unit 4 - 413 - 109 RMON:10/100 Port 12 on Unit 3 - 312 - 76 RMON:10/100 Port 3 on Unit 4 - 403 - 99 RMON:10/100 Port 6 on Unit 2 - 206 - 38 RMON:10/100 Port 18 on Unit 3 - 318 - 82 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 15 on Unit 1 - 115 - 15 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 2 on Unit 2 - 202 - 34 RMON:10/100 Port 5 on Unit 3 - 305 - 69 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 2 - 225 - 57 RMON:10/100 Port 15 on Unit 4 - 415 - 111 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:GE Port 25 on Unit 3 - 325 - 89 RMON:10/100 Port 21 on Unit 3 - 321 - 85 RMON:GE Port 25 on Unit 3 - 325 - 89
I wish to make, for an example
0x00e0d80c7621 - RMON:10/100 Port 21 on Unit 3 - 321 - 85

In reply to Re^2: NET::SNMP mac address<->port by tolyan77
in thread NET::SNMP mac address<->port by tolyan77

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.