Allow netutils to handle multiple consecutive banners.
Cisco IOS supports many (7) banners. Configs with more banners will fail config compliance with the error “RENDER COMPLIANCE TASK GROUP failed: Unable to parse banner end.” This happens even if the compliance rule is specific to the banner like “banner login ^C”
banner exec ^C
******************************************************************************
* *
* WARNING WARNING WARNING *
* *
* This is a private computer system, owned by org, which may *
* be accessed and used ("use") only for org business purposes. *
* Unauthorized use may subject violators to discipline, up to *
* and including termination and other legal action. All information *
* on this computer system may be monitored, intercepted, recorded, *
* read, copied and/or disclosed as deemed appropriate by org. *
* Use of this computer system by any other person, whether *
* authorized or unauthorized, constitutes consent to these terms. *
* *
******************************************************************************
^C
banner login ^C
******************************************************************************
* *
* WARNING WARNING WARNING *
* *
* This is a private computer system, owned by org, which may *
* be accessed and used ("use") only for org business purposes. *
* Unauthorized use may subject violators to discipline, up to *
* and including termination and other legal action. All information *
* on this computer system may be monitored, intercepted, recorded, *
* read, copied and/or disclosed as deemed appropriate by org. *
* Use of this computer system by any other person, whether *
* authorized or unauthorized, constitutes consent to these terms. *
* *
******************************************************************************
^C
banner motd ^C
******************************************************************************
* *
* WARNING WARNING WARNING *
* *
* This is a private computer system, owned by org, which may *
* be accessed and used ("use") only for org business purposes. *
* Unauthorized use may subject violators to discipline, up to *
* and including termination and other legal action. All information *
* on this computer system may be monitored, intercepted, recorded, *
* read, copied and/or disclosed as deemed appropriate by org. *
* Use of this computer system by any other person, whether *
* authorized or unauthorized, constitutes consent to these terms. *
* *
******************************************************************************
Environment
Proposed Functionality
Allow netutils to handle multiple consecutive banners.
Use Case
Cisco IOS supports many (7) banners. Configs with more banners will fail config compliance with the error “RENDER COMPLIANCE TASK GROUP failed: Unable to parse banner end.” This happens even if the compliance rule is specific to the banner like “banner login ^C”
Sample config