When I first trying to test Palo Alto Networks firewall through its console interface I encountered an annoying problem, that is I got overlapping and confusing outputs when I issued commands.
The default terminal type used by Palo Alto Networks Firewall is VT100, however most of the time we are using xterm. You can change the terminal type from the CLI:
admin@PA-5050> set cli terminal type xterm
After the terminal type is chosen, restart PuTTY again.
To verify the cli settings either use:
admin@PA-5050> show cli info User : admin Process ID : 3240 Pager : enabled Config Display Format : default Vsys configuration mode : disabled admin@PA-5050>
Or use:
admin@PA-5050> debug cli detail Environment variables : (HOME . /home/admin) (PATH . /usr/local/bin:/bin:/usr/bin) (SHELL . /bin/bash) (TERM . xterm) (MAIL . /var/mail/admin) (LOGNAME . admin) (LANG . en_US.UTF-8) (LESSCHARSET . utf-8) (PAN_BASE_DIR . /opt/pancfg/mgmt) PAN_BUILD_TYPE : RELEASE Total Heap : 6.11 M Used : 5.47 M Nursery : 0.12 M schema md5sum : 5a14c47745176e00024c5dcb1a57453d opschema md5sum : ff44ae154fcc9a480e00113ef80a2a94 admin@PA-5050>
The set command in operational mode does not need to commit
, the change will take immediate effect.
This didn’t really work for me. The true fix can be found here.
https://live.paloaltonetworks.com/docs/DOC-3136
Run the following commands via the CLI
> set cli terminal height 500
> set cli terminal width 500