Posted on September 8, 2020 11:28 am
 |  Asked by David Juarez
 |  48 views
Tags:
0
0
Print Friendly, PDF & Email

We are looking to add a banner in our ZTP script. I do not see a way to enter the banner_text parameter programatically in the API Docs.  Is this feature currently supported?

Thanks!

0
Posted by Alexis Dacquay
Answered on September 8, 2020 1:39 pm

Hi David,
Are you referring to the CloudVision API or the EOS CAPI/eAPI ?
Are you using your own custom ZTP script, or are you using some CloudVision capabilities?

You can send configuration instructions as plain text, although you must consider that the banner is likely multi-line.

Can you please give some details about how you do things, so we can understand how best to do it?

Regards,
Alexis

0
Posted by David Juarez
Answered on September 15, 2020 3:09 am

Hi Alexis,

We are using the EOS eAPI.  We have a custom ZTP script which copies down some binaries and our startup-config to flash.  Within this script, we would also like to update the login banner. Is that possible?

0
Posted by Alexis Dacquay
Answered on September 15, 2020 11:16 am

David,
Sorry for being thick, but since the login banner is part of the configuration, then that would be included in your startup-config you already copy to flash.
You can either update the login banner in that config, or update it by eAPI later on with additional config instructions:

https://www.arista.com/en/um-eos/eos-section-6-3-managing-display-attributes?searchword=banner
https://www.arista.com/en/um-eos/eos-section-6-7-switch-administration-commands#ww1107345

Or is what I describe above not possible in your case?

Regards,
Alexis

Post your Answer

You must be logged in to post an answer.