05-18-2021 09:36 AM
Hello all,
There has to be an easier way to add a banner to the Prime CLI pre-login screen but I can't seem to figure out a way to do it. I've tried to scp/sftp/ftp/tftp/nfs a banner.txt file i created from a directory on my fileserver but I get an error: transfer failed. It's asking for a username and password for which i have no clue when i used some of the protocols. What am i doing wrong?
I've read some articles but nothing specific... Your help is very much appreciate it.
05-18-2021 09:48 AM
If it asking username and password (means your required authneticaiton)
best way to setup a TFTP and copy banner.txt in the root folder of TFTP and use it, make sure TFTP IP reachable to Prime
follow bannerl configuraiton :
05-18-2021 02:09 PM
When adding a banner to Prime Infrastructure, it will follow this syntax:
PI/admin# banner install pre-login <filename> repository <repoName>
So you need to create first a repository pointing to your ftp server, make sure you add the ftp user and password:
conf t
repository <repoName>
url ftp://X.X.X.X
user <username> password plain <password>
So let's say I have my banner.txt stored on an ftp server IP: 10.2.2.2, where I configured an ftp user/password: ftp-user/cisco123
conf t
repository FTP
url ftp://10.2.2.2
user ftp-user password plain cisco123
exit
banner install pre-login banner.txt repository FTP
That worked for me.
- Yaros
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide