Solved

How can I run this command across multiple Juniper interfaces?

Posted on 2015-02-09
6
151 Views
Last Modified: 2015-03-12
I am trying to find all the Avaya VOIP phone serial numbers on our network.  All the phones are 1608i & 1616 models.  All our network devices are Juniper.  We have EX2200 & EX3200 switches and SRX Firewalls.

The following command works, but it would be too time intensive to run this one command for each of 48 interfaces on 70 network devices.  Is there an easier way?  Or some way to get one command to list out all my serial numbers?

> show lldp neighbors interface ge-0/0/36.0 | match Serial
0
Comment
Question by:AvatharV
6 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 40599642
Sorry, not familiar with your devices and you don't specify how you're interfacing with them.  If it's via Telnet or SSH you can use a scripting tool - the Telnet Scripting Tool (TST) is free (google it) and there's another tool that supports Telnet and SSH but is not free.  (A colleague of mine likes to boast how he had something like 50 different Cisco routers to update and was given 3 months to complete the job, but used the TST to get it done in about half an hour.
0
 
LVL 1

Expert Comment

by:charles abtrim
ID: 40599761
One option is to use Juniper Virtual Chassis which will allow you to do this.
0
 

Author Comment

by:AvatharV
ID: 40599771
We SSH directly into each device.  

I don't believe I can run any scripts directly on the devices (much like when you console into a Cisco switch).  But, Juniper devices are linux based (underlying OS), so it might be possible. I am just not aware of how.

We use SecureCRT and there is a script recording feature that seems to partially work.  It only wants to accept 12 lines at a time.. which means I would have to run 4 different partial scripts.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:AvatharV
ID: 40599808
How can this be accomplished with Virtual Chassis?  

As far as I am aware, Virtual Chassis is only on our EX4200s, which is 2 of 70 devices.
0
 
LVL 1

Expert Comment

by:charles abtrim
ID: 40599834
I am pretty sure its a feature available on the ex2200 now,  In the beginning of the EX  I would agree however a lot has changed since then.  Here's a How-to on ex2200 vc.  I am not sure if there is an option for multiple chassis in on VC though.  4200 3200 2200.
0
 
LVL 32

Accepted Solution

by:
Kamran Arshad earned 500 total points
ID: 40602829
Hi,

Why don't you use a Network Discovery application which shows you the serial numbers of devices as well. Also using SNMP browser you can query using SNMP Walk.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to choose hardware firewall 5 62
Download Logs File from Cisco Switch 1 64
How to change the IP address of Cisco CUCM Publisher 2 67
null0 7 39
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question