Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Variables within Banners in Templates 

Jun 09, 2014 01:18 PM

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

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.