Viewing And Managing The Output From A Display Command Effectively - HP 12500 Configuration Manual

Routing switch series
Table of Contents

Advertisement

<Sysname> display vlan 1 > vlan.txt
# Verify whether the VLAN 1 settings are saved to file vlan.txt.
<Sysname> more vlan.txt
VLAN ID: 1
VLAN type: Static
Route interface: Not configured
Description: VLAN 0001
Name: VLAN 0001
Tagged ports:
Untagged ports:
GigabitEthernet3/0/2
# Append the VLAN 999 settings to the end of file vlan.txt.
<Sysname> display vlan 999 >> vlan.txt
# Verify whether the VLAN 999 settings are appended to the end of file vlan.txt.
<Sysname> more vlan.txt
VLAN ID: 1
VLAN type: Static
Route interface: Not configured
Description: VLAN 0001
Name: VLAN 0001
Tagged ports:
Untagged ports:
GigabitEthernet3/0/2
VLAN ID: 999
VLAN type: Static
Route interface: Configured
IP address: 192.168.2.1
Subnet mask: 255.255.255.0
Description: For LAN Access
Name: VLAN 0999
Tagged ports:
Untagged ports:
GigabitEthernet3/0/1
Viewing and managing the output from a display command
effectively
You can use the following measures in combination to filter and manage the output from a display
command:
Numbering each output line from a display command
Filtering the output from a display command
Saving the output from a display command to a file
To use multiple measures to view and manage the output from a display command effectively, execute the
following command in any view:
None
None
None
13

Advertisement

Table of Contents
loading

Table of Contents