Content of the files i am trying to combine, or at least add the IP address to physical interface together:

[gtreptow@nostromo show_outputs]$ cat *arp* | grep 10\.60 ARPA Vlan2010 Internet 10.60.198.59 1 d8d3.85a5.e3c4 ARPA Vlan198 Internet 10.60.226.31 0 0050.56b0.3d17 ARPA Vlan2260 Internet 10.60.227.25 1 0050.56b0.7e6e ARPA Vlan2270 Internet 10.60.226.24 0 0050.56b0.3580 ARPA Vlan2260 Internet 10.60.228.31 2 0050.56b0.3569 ARPA Vlan2280 Internet 10.60.226.25 0 0050.56b0.7fb0 ARPA Vlan2260 Internet 10.60.249.1 1 0009.0f09.0a01 ARPA Vlan2490 Internet 10.60.198.62 3 18a9.0559.c862 ARPA Vlan198 Internet 10.60.197.61 1 0015.1766.1cc8 ARPA Vlan1970 Internet 10.60.227.26 0 0050.56b0.7f8a ARPA Vlan2270 Internet 10.60.197.60 2 047d.7b4a.70ee ARPA Vlan1970 Internet 10.60.226.27 0 0050.56b0.19a3 ARPA Vlan2260 Internet 10.60.250.28 4 001b.90f0.67c1 ARPA Vlan250 Internet 10.60.249.31 0 d89d.67f4.495c ARPA Vlan2490 Internet 10.60.227.5 - 0008.e3ff.fd90 ARPA Vlan2270 [gtreptow@nostromo show_outputs]$ cat hcs51-4_sh_mac_add.txt HCS51-4# sh mac address-table | ex Po24 Legend: * - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Over +lay MAC age - seconds since last seen,+ - primary entry using vPC Peer +-Link VLAN MAC Address Type age Secure NTFY Ports/SWI +D.SSID.LID ---------+-----------------+--------+---------+------+----+----------- +------- * 3920 000c.2999.7b8c dynamic 0 F F Eth101/1/33 * 3920 000c.29b5.f5b3 dynamic 0 F F Eth101/1/33 * 3920 0014.a998.c962 dynamic 0 F F Eth102/1/27 * 2491 0050.56b0.3858 dynamic 0 F F Eth101/1/5 * 2491 0050.56b0.5c3e dynamic 20 F F Eth101/1/5 * 2491 0050.56b0.608e dynamic 0 F F Eth101/1/5 * 2491 0050.56b0.66fc dynamic 0 F F Eth101/1/5 * 2491 0050.56b0.7d2b dynamic 0 F F Po21 * 2491 0050.56b0.7e40 dynamic 0 F F Eth101/1/5 * 2491 d89d.67f4.495c dynamic 0 F F Eth101/1/15 * 2280 0050.56b0.52e8 dynamic 0 F F Po21 * 2280 0050.56b0.57df dynamic 0 F F Eth101/1/14 * 2280 0050.56b0.7258 dynamic 0 F F Po21 * 2280 0050.56b0.7e80 dynamic 0 F F Po21 * 2280 0050.56b0.7f99 dynamic 0 F F Po21 * 2280 0050.56b0.7f9a dynamic 0 F F Po21 * 2280 0050.56b0.7fe5 dynamic 0 F F Po21 * 2271 0050.56b0.1186 dynamic 0 F F Eth101/1/5 * 2271 0050.56b0.1eee dynamic 10 F F Eth101/1/5 * 2271 0050.56b0.24f1 dynamic 0 F F Eth101/1/14 * 2271 0050.56b0.7e6e dynamic 0 F F Eth101/1/5 * 2271 0050.56b0.7f8a dynamic 0 F F Eth101/1/5 * 2261 0050.56b0.221d dynamic 0 F F Eth101/1/14 * 2261 0050.56b0.357f dynamic 0 F F Eth101/1/14 * 2261 0050.56b0.7e59 dynamic 0 F F Eth101/1/14 * 2261 0050.56b0.7f8e dynamic 0 F F Eth101/1/14 * 2260 0050.56b0.19a3 dynamic 0 F F Eth101/1/14 * 2260 0050.56b0.7de5 dynamic 0 F F Eth101/1/14 * 2240 0050.56b0.0010 dynamic 0 F F Eth101/1/14 * 2240 0050.56b0.0012 dynamic 0 F F Eth101/1/14 * 2240 0050.56b0.2556 dynamic 0 F F Eth101/1/14 * 2240 0050.56b0.6261 dynamic 0 F F Eth101/1/14 * 2040 0050.56b0.002f dynamic 100 F F Eth101/1/14 [gtreptow@nostromo show_outputs]$ ... and so on....

In reply to Re^2: Merging hashes at key match by GeorgMN
in thread Merging hashes at key match by GeorgMN

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.