Content & Malware Analysis

 View Only
  • 1.  show running-config without pagination

    Posted Dec 15, 2022 04:41 AM
    Hello,

    I have 2x CAS release 3.1.5.1 running for a customer. I would like to backup the current configuration on these CAS devices with a SSH script. But the "show running-configuration" stops the output after a few lines and is waiting for input to continue. I haven't found a command to change to behavior (like "terminal length 0" on a Cisco box). The command "show cli" gives me the information "paginate  true", but i no clue how i can change this. Any hint is highly welcome.

    Regards Thomas


  • 2.  RE: show running-config without pagination

    Posted Dec 18, 2022 09:33 AM

    Hello Tomas,
    the command for that is:

    show running-config | nomore

    For the next time: 

    show running-config ? 

    will show a list of options an on the End:

    "| Output modifiers"

    Then again: "show running-config | ?"

    Possible completions:
    annotation        Show only statements whose annotation matches a pattern
    append              Append output text to a file
    begin                 Begin with the line that matches
    context-match  Context match
    count                 Count the number of lines in the output
    csv                     Show table output in CSV format
    details               Display default values
    display              Display options
    exclude             Exclude lines that match
    extended          Display referring entries
    hide                  Hide display options
    include             Include lines that match
    linnum              Enumerate lines in the output
    more                Paginate output
    nomore            Suppress pagination
    repeat              Repeat show command with a given interval
    save                 Save output text to a file
    tab                   Enforce table output
    tags                 Show only statements whose tags matches a pattern
    until                 End with the line that matches

    So maybe there a more options you may like to use.

    Best regards Klaus