cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4538
Views
0
Helpful
3
Replies

How can I create a multi line banner?

ryan.chaney
Level 1
Level 1

I am using the following:

action 1.0 cli command "banner exec Z text1 text2 text3 Z"

I would like the text to appear as:

text1

text2

text3

What do I need to change to be able to do this?

Ryan

3 Replies 3

Jeff Van Houten
Level 5
Level 5

Force a line feed with either or I forget which.

Sent from Cisco Technical Support iPad App

Neither of these work.

router(config-applet)#action 91.3 cli command "banner exec Z

Warning: Assumed end-quote for quoted string

router(config-applet)#action 91.3 cli command "banner exec Z

Warning: Assumed end-quote for quoted string

chaney-xtr(config-applet)#

Ok this works:

action 91.3 cli command "banner exec Z\x0aCurrent ADSL speed is $dsl_rate Mbps Noise Margin is $noise_margin dB, $carrier_transitions WAN interface resets since counters last cleared \x0aZ"

Review Cisco Networking for a $25 gift card