R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

97
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
It the content is too long to fit on one screen:
Pressing Enter displays the next line.
Pressing Space displays the next screen.
Pressing Ctrl+C or any other key exits the display.
This command is only applicable to text files.
Examples
# Display the contents of file test.txt.
<Sysname> more test.txt
Welcome to HP.
# Display the contents of file testcfg.cfg.
<Sysname> more testcfg.cfg
#
version 5.20, Beta 1201, Standard
#
sysname Sysname
#
vlan 2
#
return
<Sysname>
# On the 6604/6608/6616 router, display the contents of file testcfg.cfg on the standby MPU.
<Sysname> more slot1#cfa0:/testcfg.cfg
#
version 5.20, Release 0000
#
sysname Test
#
---- More ----
mount
Use mount to mount a hot swappable storage medium, such as a CF card or a USB disk.
Syntax
mount device
Default
A storage medium is automatically mounted and in mounted state after being connected to the device,
and you can use it without mounting it.