一般在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.
-
Type
terminal length 0
in privileged mode to set your terminal to display without any breaks. -
Type
show run
orshow 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:
-
Type
config paging disable
in priviledged mode to set your terminal to display without any breaks. -
Type
show run-config
to display the config.
On a Cisco ASA Firewall:
To change terminal line display there are two commands you can use:
-
pager : Sets the number of lines to display in a Telnet session before the "---more---" prompt. This command is saved to the configuration.
-
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.
-
Type
pager 0
in priviledged mode to set your terminal to display without any breaks. -
Type
show run-config
to display the config. -
Type
pager 20
in priviledged mode to set your terminal to display with breaks every 20 lines.
网友评论