Monitoring, Management & Location Tracking

Variables within Banners in Templates

Q. Can I put variables like the hostname in my IOS Templates?

A. Cisco provides a way to use some variables natively:

$(hostname)
$(domain)
$(line)
$(line-desc)

So you could do something like this in your template:


banner motd ^C

You are logged on to Cisco Access Point $(hostname)

Unauthorized access is prohibited!

^C 
!

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t3/tokenban.htm#35590

Version History
Revision #:
1 of 1
Last update:
‎06-09-2014 10:18 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.