Skip to content

Commit

Permalink
Merge abbbc16 into a35b651
Browse files Browse the repository at this point in the history
  • Loading branch information
itdependsnetworks committed Oct 18, 2018
2 parents a35b651 + abbbc16 commit 96391ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/support/ios.rst
Expand Up @@ -93,17 +93,17 @@ Cisco IOS is very particular about the self-signed certificate and will reject r
Banner
______

IOS requires that the banner use the EXT character (ASCII 3). This looks like a cntl-C in the file, but as a single character. It is NOT a separate '^' + 'C' character, but an ASCII3 character::
IOS requires that the banner use the ETX character (ASCII 3). This looks like a cntl-C in the file, but as a single character. It is NOT a separate '^' + 'C' character, but an ASCII3 character::

banner motd ^C
my banner test
^C

>>> ext_char = chr(3)
>>> etx_char = chr(3)
>>> with open("my_config.conf", "a") as f:
... f.write("banner motd {}\n".format(ext_char))
... f.write("banner motd {}\n".format(etx_char))
... f.write("my banner test\n")
... f.write("{}\n".format(ext_char))
... f.write("{}\n".format(etx_char))
...
>>> quit()

Expand Down

0 comments on commit 96391ed

Please sign in to comment.