TechyGeeksHome

Cisco CLI - How to remove the "--More--" prompt when running long commands
If you are a Cisco CLI user, you will be familiar with the "--More--" prompt when you run a command that spreads over a number of pages. This can be infuriating if you run a command that brings back hundreds or even thousands of pages.

So, if you want to run a command but have it run through all the pages in one go, you can follow this simple guide.

INSTRUCTIONS

Once you have logged into your CLI terminal, just run this command before you start to run any other commands (this assumes you are logged in as a privileged administrator:

 Terminal pager 0  

This will then make the current terminal session now longer stop when you run a command and will not request you to press a key when you get to the end of the page.

COMMENTS

If you have any questions or comments on this guide, please feel free to use our Disqus system below.

Labels: ,

Cisco - How to change or view IP helper address
If you are using Cisco switches, you may find that you need to configure IP helper addresses to give devices on different VLAN's the correct direction to your DHCP server.

To do this, you can use the following commands:

To view the current vlan configuration:
This will bring back all the information about your current VLAN, including where (if at all) your IP helper address is pointing to and should look similar to this:


To configure or change where your switch is pointing its IP helper addresses to, you can use the following command:

NOTE: These commands assume that your current IP helper address is 192.168.0.1 and you want to change it to 192.168.0.2:
COMMENTS

If you have any questions about this guide, please feel free to leave us a message below using our Disqus system.

Labels: ,