Basic vro operations-view the current configuration
The command line interface of the Quidway series routers provides a variety of configuration commands. In the system view, all commands are grouped. For a view corresponding to each group, see the first VRP operation manual.) you can use commands to switch between different views. Generally, only limited commands can be executed in a view, but some common commands such as ping, display current-configuration, and interface can be executed in various views.
View the current configuration command: [Router] display current-configuration
Note: disp cur displays the configuration parameters currently in effect for the vro. The displayed entries are the commands we enter. disp is the abbreviation of display. When there is no ambiguity, the vro automatically recognizes incomplete words;
Basic router operations-comparison between old and new common command lines
Basic vro operations-how to get command help
Quidway series routers provide a wide range of online help:
(1) In any view, type "?" Obtain all commands in this view and their simple descriptions.
(2) Type A command and separate it with spaces "?" Key. If this position is a keyword, all the keywords and their simple descriptions are listed.
(3) type a command and separate it with spaces "?" Key. If this location is a parameter, the related parameter descriptions are listed.
(4) Type A string followed "?", Lists All commands starting with this string.
(5) Type A command followed by a string followed "?" Key to list all keywords starting with this string.
The above "" indicates the reference and does not need to be input.
Basic vro operations-how to enable debug
Debugging is a very important and effective method for device debugging. You must be familiar with network protocols and Quidway products.
Process: first enter
[Router] info-center enable
When using the console Configuration Port, enter:
[Router] info-center console
[Router] info-center console debug
When using remote telnet, enter:
[Router] info-center monitor
[Router] info-center monitor debug
The following describes how to debug the ppp data packets of the link layer protocol.
[Router] debugging ppp packet
Note: debug is enabled in privileged mode. You can see which debugging switches are enabled from display debug. If the debug switch is enabled, the performance of the router may be affected accordingly, therefore, disable debugging information in time after use: [Router] undo debug all, or ctrl + d.
Basic vro operations-how to capture text
Due to the large number of debug outputs, the copies on the screen are incomplete in many cases, which greatly interferes with troubleshooting. The following provides an effective way to capture text. The following operations are effective for Windows 98/NT/2000/XP.
The following describes how to capture text during telnet Remote Logon:
Step 1: Use the Super Terminal to create a connection, select TCP/IP (Winsock), and enter the IP address at the host address location.
Step 2: Select transfer-capture text
Step 3: select a folder, enter the file name, and click Start.
Step 4: After debugging shows enough information, click transfer-capture text-stop.