Large scale comand deployment

Unanswered Question
Nov 6th, 2008
User Badges:

May be anybody knows how to send one line command for all interfaces on many different Cisco devices (switches and routers )with Netconfig service from RME?

LMS 3.0.1

RME 4.1.1



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Joe Clarke Thu, 11/06/2008 - 08:07
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Yes, Netconfig can do this. If it's the same command you need to send to all devices, it can be as easy as creating a Netconfig job using the Ad Hoc task. To do this, go to RME > Config Mgmt > Netconfig > Netconfig > Netconfig Jobs, and create a new job. Choose your devices, then choose Ad Hoc from the task list. Configure your Ad Hoc instance (i.e. the command you want to deploy), and schedule your job.

mikecrowe4ics Thu, 11/06/2008 - 17:21
User Badges:

Actually, I'm looking to do the same thing as OP, but I believe it's a little more complicated.


Rather than just a global config command, I want to issue a command at the interface-config prompt for every device. For instance, I want to add a description of "Interface" to each interface on multiple devices. Normally, I would enter:

# conf t

(config)# interface [name1]

(config)# desc Interface

(config)# interface [name2]

(config)# desc Interface

(config)# interface [name3]

(config)# desc Interface

and so on ...


Is there a way to use Netconfig to deploy this on multiple devices, considering the number and type of interfaces could differ by device?


Thanks!

Joe Clarke Thu, 11/06/2008 - 23:11
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Please start a new thread for your issue.

ALBERT RAKOVSHIK Thu, 11/06/2008 - 23:53
User Badges:

Thank you for you interest in this issue.

I think it is pretty the same.


best regards

ALBERT RAKOVSHIK Thu, 11/06/2008 - 23:51
User Badges:

Thank you for the qiuck responce but an issue is a little complicated.

I want to use a command "no logging event link-status" under interface-config prompt

on different types of interfaces on all devices in the campus.

We are speaking about hundreds of interfaces.


Many thanks in advance

Joe Clarke Thu, 11/06/2008 - 23:59
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

If there is a well-defined rule for the interfaces that need this command, you might consider using the Baseline Compliance feature of RME instead of Netconfig. For example, if this needs to be applied to all FastEthernet0/X interfaces on all switches, you could create a template like:


Submode: interface [#FastEthernet0/.*#]

Commandset:


+ no logging event link-status


For all switches that are not compliant, you will be able to deploy this command. See RME > Config Mgmt > Baseline Templates and the context-sensitive help in this section for more details.

mikecrowe4ics Sun, 11/09/2008 - 17:08
User Badges:

Great! Thanks very much, that's exactly what I was looking for. I believe this will handle what I was looking to do, possibly with a couple of modifications.

Actions

This Discussion