美文网首页
Cisco Notes_"show run"

Cisco Notes_"show run"

作者: Jun_Sleepy | 来源:发表于2017-02-22 11:37 被阅读166次

    一般在termina中连接Cisco设备进行 show run 操作,terminal中是分页显示内容,需要按空格或者回车来显示所有的

    想要一次性显示全部的输出内容,参考:

    On Cisco Router/Switches:

    However if u like to have freedom to choose, to execute show run without more you can use this method.

    1. Type terminal length 0in privileged mode to set your terminal to display without any breaks.

    2. Type show run or show start to show the applicable config. The config will display without any breaks or pauses.

    To display the config without lengthy certificate data, use "show run brief ".

    This is useful for capturing the complete config for documentation purposes, especially if you do not have access via TFTP or the like.

    On a Cisco Wireless LAN Controller:

    1. Type config paging disable in priviledged mode to set your terminal to display without any breaks.

    2. Type show run-configto display the config.

    On a Cisco ASA Firewall:

    To change terminal line display there are two commands you can use:

    1. pager : Sets the number of lines to display in a Telnet session before the "---more---" prompt. This command is saved to the configuration.

    2. terminal pager:Sets the number of lines to display in a Telnet session before the "---more---" prompt. This command is not saved to the configuration.

    The default is 24 lines; 0 means no page limit.

    1. Type pager 0 in priviledged mode to set your terminal to display without any breaks.

    2. Type show run-config to display the config.

    3. Type pager 20 in priviledged mode to set your terminal to display with breaks every 20 lines.

    参考: https://supportforums.cisco.com/document/29596/show-complete-configuration-without-breakspauses-cisco-routerswitches-asa-firewall

    相关文章

      网友评论

          本文标题:Cisco Notes_"show run"

          本文链接:https://www.haomeiwen.com/subject/owopwttx.html