Building network automation solutions

9 module online course

Start now!


  1. Hi Ivan

    Its a gud scrip. Do you have any script which can tell me how many routers are in my particular area. e.g If i am having a router with 3 areas and i wnat to know how many router ids in each area with their ip address.
    I have one more query , yesterday iw as reading your books mpls vpn arch, in which you had mentioned that on Bi-Dir MVPN data mdt wonot work. I have a query If we implement BSR then does it create the same problem or not and with this can we deliver the extranet mvpn.
  2. The OSPF idea is good :) You'll get the script ... just give me some time ;)

    As for the MVPN question, I have to think it through; I'm no multicast guru.
  3. Hi,

    I'm just starting to work with tcl scripts. I found the arp.tcl and it workt fine. However, when I execute the command on our Cisco Catalyst 6513 running on IOS s72033-advipservicesk9_wan-mz.122-18.SXF14.bin we do not see the physical interface.

    If I run a show -mac-addres-table command myself teh output looks like:

    vlan mac address type learn age ports

    606 3333.0000.0001 static Yes - Switch,Stby-Switch
    607 3333.0000.0001 static Yes - Switch,Stby-Switch
    602 001b.7803.5faa dynamic Yes 0 Gi9/42
    669 0013.211f.f061 dynamic Yes 5 Po3
    11 7a9f.b000.2003 dynamic Yes 0 Gi10/27
    74 0013.216b.ab27 dynamic Yes 75 Gi9/12
    18 0017.a48d.546b dynamic Yes 0 Gi9/6

    Etc. I really want to see the Gix/x entries back in the arp output. That would save me tons of time. Thnax in advamce for your reaction.
  4. dhcp snooping feature on L3 switch can get you the same information as script.
    It need configure dhcp snooping, wait filling of dhcp snooping database. Enter:
    sh ip dhcp snoop bin
  5. I am having the same problem as C on my 3550. The physical interfaces are missing. And the Port Channel is not displayed correctly as well.
    IP address MAC address Physical intf Logical intf
    =============== ============== ==================== =========== 0012.80f0.0b00 Port 001b.21c8.d0ac Vlan15 000c.29b5.5526 Vlan15 0050.568e.4c60 Vlan15 c43d.c79a.dd3c Vlan15 0011.20e4.2830 Vlan15 001f.9eec.5441 Vlan15

    The mac address is here
    15 000b.5f0f.a680 DYNAMIC Gi0/2
    15 000b.5f0f.a6b1 DYNAMIC Gi0/2
    15 000c.29b5.5526 DYNAMIC Gi0/1
    15 000c.29e3.eb96 DYNAMIC Gi0/1
    15 000f.f7d4.b69e DYNAMIC Fa0/17
    15 0011.20e4.2830 DYNAMIC Fa0/13
    15 0017.95ae.6377 DYNAMIC Fa0/5
    15 0019.2f4e.67dd DYNAMIC Fa0/3
    15 001b.21c8.d0ac DYNAMIC Gi0/1

    Any ideas?
  6. The script has the wrong command for a 3550. show mac address-table
    split [exec "show mac-address-table"] "\n"]
    should be split [exec "show mac address-table"] "\n"] {
  7. i dont know what i am doing wrong folks, but this is what i get when i run the script.

    IP address MAC address Physical intf Logical intf
    =============== ============== ==================== ===========

    1. You're using a platform that has a different printout format. You'll have to adapt the script to the outputs generated by your platform,
Add comment