cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2114
Views
0
Helpful
2
Replies

Modify Banner with EEM?

Hello,

cause eem could do a lot of chances in the configuration without an operator, I want to inform the operator/admin with the content of the "banner exec" about some important system parameters.

I tried to configure some banners with eem applets, but without success.

Here is an example, section "action"

action 1.0 cli command "enable"

action 2.0 cli command "configure terminal"

action 3.0 cli command "banner exec @"

action 4.0 cli command "some text"

action 5.0 cli command "@"

action 9.0 cli command "end"

I can´t understand the problem cause writing a banner are some simple cli commands. Maybe the response of the initial "banner exec @" command is the problem? Does anyone tried it with success.

Other eem applets are running without problems on the same system.

Regards,

Thilo

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

You need to answer the interactive prompts, or do a one-line banner.  It looks like a single line will work.  Try:

action 1.0 cli command "enable"

action 2.0 cli command "configure terminal"

action 3.0 cli command "banner exec @ some test @"

action 4.0 cli command "end"

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

You need to answer the interactive prompts, or do a one-line banner.  It looks like a single line will work.  Try:

action 1.0 cli command "enable"

action 2.0 cli command "configure terminal"

action 3.0 cli command "banner exec @ some test @"

action 4.0 cli command "end"

Hi Joseph,

I tried it in the one line banner form and it works fine.

Thanks and Regards,

Thilo

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: