Guest

Preview Tool

Cisco Bug: CSCvs68729 - can't configure banner longer than 245 symbols

Last Modified

Jan 22, 2020

Products (1)

  • Cisco IOS

Known Affected Releases

16.12.2r

Description (partial)

Symptom:
can't configure banner, getting the error like below:

[15-Jan-2020 14:41:16 CET] Failed to process device request. Error response : rpc-reply error: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="11">
  <rpc-error>
    <error-type>application</error-type>
    <error-tag>invalid-value</error-tag>
    <error-severity>error</error-severity>
    <error-message unknown:lang="en">inconsistent value: Device refused one or more commands:
banner login ====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a============================
^
% Invalid input detected at '^' marker."</error-message>
    <error-info>
      <severity xmlns="http://cisco.com/yang/cisco-ia">error_cli</severity>
      <detail xmlns="http://cisco.com/yang/cisco-ia">
        <bad-cli>
          <bad-command>banner login ====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a============================</bad-command>
          <error-location>0</error-location>
          <parser-context>banner login ====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a====================\\x0a============================</parser-context>
        </bad-cli>
      </detail>
    </error-info>
  </rpc-error>
</rpc-reply>

Conditions:
example of the banner 245 characters long that user is trying to configure:

====================\x0a====================\x0a====================\x0a====================\x0a====================\x0a====================\x0a====================\x0a====================\x0a====================\x0a============================

244,243 works fine. 242 give empty banner, less than 242 all fine.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.