The IOS more command displays the content of a text file. The ‘more’ command works just like it does in Linux – it allows you to view a file on a disk. You can use this command to view a text file, e.g. your configuration file or a saved backup configuration file.
Here’s an example:
R1# more nvram:startup-config Using 648 bytes ! version 16.6.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R1 ....
In the example above we’ve listed the startup configuration (that is stored in NVRAM by default) using the more command.
You can filter the more command’s output just as you would do with a show command, e.g.:
Router# more nvram:startup-config | include interface interface GigabitEthernet0/0/0 interface GigabitEthernet0/0/1 interface GigabitEthernet0/0/2 interface Vlan1
In the example above we’ve filtered only the lines that include the word ‘interface’.
Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book.
We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training: