NEC SOPHO IP 5000 Operating manual

SOPHO IP 5000/SOPHO IP6000
SOPHO IP 5000
SOPHO IP 6000
Command Reference Guide

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 2
SOPHO IP 6000
http://www.nec-philips.com/
NEC-PHILIPS Corporation
Copyright © 2004, NEC-PHILIPS Corporation. All rights reserved. No part of this documentation may be reproduced in any
form or by any means or used to make any derivative work (such as translation, transformation, or adaptation) without written
permission from NEC-PHILIPS Corporation.
NEC-PHILIPS Corporation reserves the right to revise this documentation and to make changes in content from time to time without
obligation on the part of NEC-PHILIPS Corporation to provide notification of such revision or change.
NEC-PHILIPS Corporation provides this documentation without warranty, term, or condition of any kind, either implied or expressed,
including, but not limited to, the implied warranties, terms or conditions of merchantability, satisfactory quality, and fitness for a particular
purpose. NEC-PHILIPS may make improvements or changes in the product(s) and/or the program(s) described in this documentation at
any time.
If there is any software on removable media described in this documentation, it is furnished under a license agreement included with the
product as a separate document, in the hard copy documentation, or on the removable media in a directory file named LICENSE.TXT or
!LICENSE.TXT. If you are unable to locate a copy, please contact NEC-PHILIPS and a copy will be provided to you.
UNITED STATES GOVERNMENT LEGEND
If you are a United States government agency, then this documentation and the software described herein are provided to you subject
to the following:
All technical data and computer software are commercial in nature and developed solely at private expense. Software is delivered as
“Commercial Computer Software” as defined in DFARS 252.227-7014 (June 1995) or as a “commercial item” as defined in FAR
2.101(a) and as such is provided with only such rights as are provided in NEC-PHILIPS’s standard commercial license for the Software.
Technical data is provided with limited rights only as provided in DFAR 252.227-7015 (Nov 1995) or FAR 52.227-14 (June 1987),
whichever is applicable. You agree not to remove or deface any portion of any legend provided on any licensed program or
documentation contained in, or delivered to you in conjunction with, this User Guide.
Unless otherwise indicated, NEC-PHILIPS registered trademarks are registered in the United States and may or may not be registered
in other countries.
NEC-PHILIPS and the NEC-PHILIPS logo are registered trademarks of NEC-PHILIPS Corporation.
Intel and Pentium are registered trademarks of Intel Corporation. Microsoft, MS-DOS, Windows, and Windows NT are registered
trademarks of Microsoft Corporation. Novell and NetWare are registered trademarks of Novell, Inc.
All other company and product names may be trademarks of the respective companies with which they are associated.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 3
TABLE OF CONTENTS
1. ABOUT THIS GUIDE................................................................................................................4
1.1 Conventions....................................................................................................................... 4
1.2 Related Documentation ..................................................................................................... 5
2. CONFIGURATION COMMANDS..............................................................................................6
2.1 Basic Configuration Commands ........................................................................................ 6
3. SYSTEM MAINTENANCE & MANAGEMENT COMMANDS ..................................................17
3.1 Debugging ....................................................................................................................... 17
3.2 Information Processing Commands................................................................................. 24
3.3 System Operating Management Commands - AR46 Series ........................................... 38
3.4 File Management Commands ......................................................................................... 44
3.5 FTP Server Configuration Commands ............................................................................ 53
3.6 FTP client module commands .........................................................................................56
3.7 TFTP Configuration Commands......................................................................................64
3.8 Configuration Files Management Commands ................................................................. 65
3.9 User Interface Configuration Commands ........................................................................ 69
3.10 \SNMP Configuration Commands ...................................................................................93
3.11 Terminal Service Commands ........................................................................................ 108
3.12 SSH Configuration Commands .....................................................................................110
4. INTERFACE MANAGEMENT COMMANDS ........................................................................121
4.1 Interface Management Commands .............................................................................121
4.2 Fundamental Ethernet interface configuration commands ........................................... 125
4.3 Fundamental WAN Interface Configuration Commands............................................. 128
4.4 Fundamental CE1/PRI Interface Configuration Commands ....................................... 134
4.5 Fundamental CT1/PRI Interface Configuration Commands ....................................... 139
4.6 E1-F Interface Configuration Commands .................................................................... 145
4.7 T1-F Interface Configuration Commands .................................................................... 148
4.8 Fundamental CE3 Interface Configuration Commands .............................................. 152
4.9 Fundamental CT3 Interface Configuration Commands .............................................. 159
4.10 ATM E3/T3 Interface Configuration Commands.......................................................... 166
4.11 ATM 25M Interface Configuration Commands ............................................................169
4.12 ATM OC-3c/STM-1 Interface Configuration Commands ............................................ 170
4.13 G.SHDSL Interface Configuration Commands ............................................................ 172
4.14 ADSL Interface Configuration Commands................................................................... 177
4.15 Logic-Channel Interface ............................................................................................... 184
4.16 Configuration Command of Virtual Template and Virtual Access Interface................ 184
4.17 MP-group Interface Configuration Command .............................................................. 186
4.18 Virtual Ethernet Interface Configuration Command......................................................188
4.19 Configuration Command of Loopback Interface and Null Interface............................... 189

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide
1. ABOUT THIS GUIDE
This guide describes the NEC-PHILIPS® SOPHO IP 6000 Routers of routers and how to install hardware,
configure and boot software, and maintain software and hardware. This guide also provides troubleshooting
and support information for your router.
This guide is intended for the system or network administrator who is responsible for installing, configuring,
using, and managing the routers. It assumes a working knowledge of wide area network (WAN) operations
and familiarity with communication protocols that are used to interconnect WANs.
1.1 Conventions
Table 1 and Table 2 list conventions that are used throughout this guide.
Table 1 Notice Icons
Icon Notice Type Description
Information note Information that describes important
features or instructions.
Caution
Information that alerts you to potential loss
of data or potential damage to an
application, system, or device.
Warning Information that alerts you to potential
personal injury.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 5
Table 2 Text Conventions
Convention Description
Screen displays This typeface represents information as it appears on the
screen.
Keyboard key
names
If you must press two or more keys simultaneously, the key
names are linked with a plus sign (+), for example:
Press Ctrl+Alt+Del
The words
“enter” and type”
When you see the word “enter” in this guide, you must type
something, and then press Return or Enter. Do not press
Return or Enter when an instruction simply says “type.”
Words in italics Italics are used to:
Emphasize a point.
Denote a new term at the place where it is defined in the
text.
Identify menu names, menu commands, and software button
names. Examples:
From the Help menu, select Contents.
Click OK.
Words in bold
Boldface type is used to highlight command names in text.
For example, “Use the display user-interface command
to...”
1.2 Related Documentation
The following manuals offer additional information necessary for managing your Router 6000:
■Command Reference Guide — Provides detailed descriptions of command line interface (CLI)
commands, that you require to manage the Router 6000.
■Configuration Guide— Describes how to configure your Router 6000 using the supported protocols
and CLI commands.
■Release Notes — Contains the latest information about your product. If information in this guide differs
from information in the release notes, use the information in the Release Notes.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 6
2. CONFIGURATION COMMANDS
This chapter describes how to use the following commands:
Basic Configuration Commands
■Clock Summer Times
■clock datetime
■clock timezone
■command-privilege
■display clipboard
■display clock
■display history-command
■display version
■headerNEC-PHILIPS
■hotkey
■language-mode
■lock
■quit
■Reboot
■return
■super
■super password
■sysname
■system-view
2.1 Basic Configuration Commands
Clock Summer Times Syntax
Clock summer-time zone_name {absolute / recurring}
HH:MM:SS YYYY/MM/DD HH:MM:SS YYYY/MM/DD HH:MM:SS
Undo clock summer-time zone.
View
User view
Parameter
zone_name: Name of the summer time, which is a character string of 1 to 32
characters.
absolute: Only sets the summer time of some year.
recurring: Sets the summer time of every year starting from some year.
HH:MM:SS: Time (hour/minute/second).
YYYY/MM/DD: Date (year/month/day).
Description
Using the clock summer-time command, you can set the name, and the
starting and ending time of the summer time. Using the undo clock summer-
time command, you can remove the configuration of the summer time.
After the configuration takes effect you can verify it by using the display clock
command. Beside the time of the log or debug information will be the local time
on which the adjustment of the time zone and summer time has been made.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 7
For related command, see clock timezone.
Example
Add one hour to the clock for the summer time z2 that starts at 06:00:00 on
2002/06/08 and ends at 06:00:00 on 2002/09/01.
<NEC-PHILIPS> clock summer-time z2 absolute 06:00:00 2002/06/08
06:00:00 2002/09/01 01:00:00
# Add one hour to the clock each year starting from 2002 for the summer time
z2 that starts at 06:00:00 on 08/06 and ends at 06:00:00 on 01/09.
<NEC-PHILIPS> clock summer-time z2 recurring 06:00:00 2002/06/08
06:00:00 2002/09/01 01:00:00
clock datetime Syntax
clock datetime HH:MM:SS YYYY/MM/DD
View
User view
Parameter
HH:MM:SS: Time (hour/minute/second).
YYYY/MM/DD: Date (year/month/day) in the range of 1993 to 2035.
Description
Using the clock datetime command, you can set the time and date.
After the configuration takes effect, you can verify it by executing the display
clock command. The time applied to the log and debug information has been
adjusted.
Example
Set the current system time to 10:20:55 2003/04/05.
<NEC-PHILIPS> clock datetime 10:20:55
2003/04/05
clock timezone Syntax
zone_name { add | minus } HH:MM:SS undo clock timezone
View
User view
Parameter
zone_name: Timezone name, which is a string of 1 to 32 characters.
add: Adds the time on the basis of Universal Time Coordinated (UTC)
timezone.
minus: Reduces the time on the basis of UTC timezone.
HH:MM:SS: Time (hour/minute/second).
Description
Using the clock timezone command, you can set the information for the local
timezone. Using the undo clock timezone command, you can restore the local
timezone to the default UTC timezone.
After the configuration takes effect, you can view it by executing the display
clock command. The time applied to the log and debug information has been
adjusted according to the involved timezone and summer time.
For related command, see clock summer-time.
Example

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 8
Set the local timezone name to Z5 and set Z5 to be five hours faster than UTC
time.
<NEC-PHILIPS> clock timezone z5 add 05:00:00
command-privilege Syntax
level level view view command-key undo command-privilege view view
command-key
View
System view
Parameter
level level: Command priority ranging from 0 to 3.
view view: View. The command line provides the following views:
■shell: View of current user level.
■system: System view
■Routing protocol view: Include ospf (OSPF view), rip (RIP view), bgp
(BGP view), isis (IS-IS view), etc.
■Interface view: Include ethernet (FE), gigabitethernet (GE), serial (serial
interface), ce1 (cE1 interface), ce3 (E3 interface), ct1 (cT1 interface), atm
(ATM interface), pos (POS interface), virtual-template (virtual interface
template), virtual-ethernet (virtual Ethernet interface), loopback (Loopback
interface), null (Null interface), tunnel (Tunnel interface).
■user-interface: User view
■l2tp-group: System view of L2TP group.
■route-policy: Route map view
Refer to "Command Line Views" section in the Operation Manual for more
details.
commandkey: Command to be set.
Description
Using the command-privilege command, you can set the command level in the
specified view. Using the undo command-privilege view command, you can
remove current settings.
Command priority falls into 4 levels, access, monitor, configure and manage,
that are identified with 0 to 3. The administrator can grant certain rights to a
user on their demand so that the user can operate in the related view. When the
user logs in, the system can set the command operation rights either according
to the rights corresponding to the user name, or based on the rights of the user-
interface. If the two sets of rights conflict, the minimum rights will be adopted.
By default, the command level of the ping, tracert and telnet commands is
access (level 0), the command level of the display and debugging commands
is monitor (level 1), that of configuration commands is configure (level 2), and
the commands for user key setting, FTP, XMODEM, TFTP and file system
operation fit into commands of manage-level (level 3).
Example
Set the priority of the “interface” command to 0.
[NEC-PHILIPS] command-privilege level 0 view system interface

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 9
display clipboard Syntax
display clipboard
View
Any view
Parameter
None Description Using the display clipboard command, you can display the
contents of clipboard.
Example
Display the contents of clipboard.
<NEC-PHILIPS> display clipboard
-----------------clipboard -----------------
ip route 10.1.0.0 255.0.0.0 eth 0
display clock Syntax
display clock
View
Any view
Parameter
None
Description
Using the display clock command, you can display the clock status and the
configuration information.
Example
Display the current time.
<NEC-PHILIPS> display clock
19:22:03 UTC Sat 2054/03/07
display history command Syntax
display history-command
View
Any view
Parameter
None
Description
Using the display history-command command, you can browse the history
commands.
The terminal will automatically save the history commands typed by the user,
that is, completely record the user's input (via keyboard) separated by "Enter".
For the related command, see history-command size.
Example
Display history commands.
<NEC-PHILIPS> display history-command
show interface
show interface e 1/0/0
c
in e 1/0/0

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 10
display version Syntax
Display version
View
Any view
Parameter
None
Description
Using the display version command, you can browse system version
information.
Through viewing system version information, you will learn about the software
version in use, rack type, and the information related to the main processing
board and interface cards.
Example
Display system version information of a NEC-PHILIPS R1760 router.
<NEC-PHILIPS> display version NEC-PHILIPS Versatile Routing Platform
Software VRP(tm) software, Version 3.30 Copyright (c) 2000-2002 NEC-
PHILIPS Corporation. NEC-PHILIPS Serial Router R1760 System has kept
running 0weeks, 0days, 0hours, 15minutes
CPU type Powerpc8241 166Mhz
64M bytes SDRAM
8M bytes Flash Memory
Pcb Version:001
Logic Version:001
BootROM Version:0.0
Slot0: WAN (pcb)001 (software)000 (logic)001
headerNEC-PHILIPS Syntax
header [ shell | incoming | login ] text
undo header [ shell | incoming | login ]
View
System view
Parameter
login: Greeting information when login.
shell: Greeting information of the creation of a user session.
incoming: Greeting information when login to the user view.
text: Content of greeting information.
Description
Using the header command, you can set the greeting information to be
displayed. Using the undo header command, you can remove the preset
greeting information.
When a user is logging on to a router via a terminal line the router prompts
related information through setting title attribute. After activating the terminal
connection, the router sends the login title to the terminal. If the user logs on to
the router successfully, the shell greeting information will be displayed.
Text takes the first English character as the start and end characters. After the
end character is input, the system will quit the interactive process automatically.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 11
If you do not want to start the interactive process, make sure that the first and
last characters of the text are the same English character and press <Enter>
directly.
Example
Configure a session creation title.
[NEC-PHILIPS] header shell %
Enter TEXT message. End with the character '%'.
SHELL : Hello! Welcome use NEC-PHILIPS R1760.%
# Test the configuration.
[NEC-PHILIPS] quit
<NEC-PHILIPS> quit
Press RETURN to get started
SHELL : Hello! Welcome use NEC-PHILIPS R1760.
<NEC-PHILIPS>
hotkey Syntax
hotkey [ CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U ] command_text
undo hotkey [ CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U ]
View
System view
Parameter
CTRL_G: Specify a command for the hotkey <CTRL+G>.
CTRL_L: Specify a command for the hotkey <CTRL+L>.
CTRL_O: Specify a command for the hotkey <CTRL+O>.
CTRL_T: Specify a command for the hotkey <CTRL+T>.
CTRL_U: Specify a command for the hotkey <CTRL+U>.
command_text: The command line correlated with the hotkey.
Description
Using the hotkey command, you can correlate a command line with a hotkey.
Using the undo hotkey command, you can recover the default value of the
system.
By default, CTRL_G, CTRL_L and CTRL_O correspond to the following
commands respectively:
display current-configuration (display current configuration);
display ip routing-table (display routing table information);
undo debugging all (disable the overall debugging function, that is, disable the
output of all debugging information).
You can change the definitions on your demand. The default values for the
other hotkeys are null.
Example
Correlate the display tcp status command with the hotkey CTRL_T.
[NEC-PHILIPS] hotkey ctrl_t display tcp status
[NEC-PHILIPS] display hotkey
----------------- HOTKEY -----------------
=Defined hotkeys=
Hotkeys Command
CTRL_G display current-configuration
CTRL_L display ip routing-table

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 12
CTRL_O undo debug all
CTRL_T display tcp status
=Undefined hotkeys=
Hotkeys Command
CTRL_U NULL
=System hotkeys=
Hotkeys Function
CTRL_A Move the cursor to the beginning of the current line.
CTRL_B Move the cursor one character left.
CTRL_C Stop current command function.
CTRL_D Erase current character.
CTRL_E Move the cursor to the end of the current line.
CTRL_F Move the cursor one character right.
CTRL_H Erase the character left of the cursor.
CTRL_K Kill outgoing connection.
CTRL_N Display the next command from the history buffer.
CTRL_P Display the previous command from the history buffer.
CTRL_R Redisplay the current line.
CTRL_V Paste text from the clipboard.
CTRL_W Delete the word left of the cursor.
CTRL_X Delete all characters up to the cursor.
CTRL_Y Delete all characters after the cursor.
CTRL_Z Return to the user view.
CTRL_] Kill incoming connection or redirect connection.
ESC_B Move the cursor one word back.
ESC_D Delete remainder of word.
ESC_F Move the cursor forward one word.
ESC_N Move the cursor down a line.
ESC_P Move the cursor up a line.
ESC_< Specify the beginning of clipboard.
ESC_> Specify the end of clipboard.
language-mode Syntax
language-mode { chinese | english }
View
User view
Parameter
None
Description
Using the language-mode command, you can switch between different
language modes of command line interface.
By default, the language mode is English.
The command line interface of the system also supports Chinese mode to fit
into domestic users in China.
Example
Switch from English mode to Chinese mode.
<NEC-PHILIPS> language-mode Chinese
Change language mode, confirm? [Y/N]y
% Switch to Chinese mode.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 13
lock Syntax
lock
View
User view
Parameter
None
Description
Using the lock command, you can lock the active user interface to prevent an
unauthorized user from operating the interface.
A user interface includes CON port, AUX port and VTY, etc.
After inputting the lock command, the user is prompted to enter the
screensaver's password and confirm the password. If the two passwords are
the same, the interface will be successfully locked. To enter the system once
again, you must press <Enter> first, and enter the preset password following the
prompt.
Example
Log in from the CON port and lock the active user interface.
<NEC-PHILIPS> lock
Password:
Again:
quit Syntax
quit
View
Any view
Parameter
None
Description
Using the quit command, you can quit from the active view to a lower-level view
(if the active view is user view, you will exit the system).
Views fall into three levels; in ascending order:
■User view (with user level as 0)
■System view (with user level as 3)
■and Configuration view (routing protocol view, interface view, VPDN group
view, etc).
For the related command, see return.
Example
Switch from Ethernet1/0/0 interface view to system view, and then to user view.
[NEC-PHILIPS-Ethernet1/0/0] quit
[NEC-PHILIPS] quit
<NEC-PHILIPS>

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 14
Reboot Syntax
reboot
View
User view
Parameter
None
Description
Using the reboot command, you can reboot the device.
This command produces the same effect as the power being turned on and
then off, but provides the user with a convenient method of rebooting the device
from a remote site.
The operation of this command will render the network unusable for a short
period of time. So it should be used with caution. Before rebooting the
Router, remember to save the configuration file if necessary,
Example
Reboot the device.
<NEC-PHILIPS> reboot
System will reboot! Continue?[Y/N]
return Syntax
return
View
Any view, except user view
Parameter
None
Description
Using the return command, you can return to user view from any other views.
The combination key <Ctrl+Z> performs the same function as the return
command.
For the related command, see quit.
Example
Return to user view from system view.
[NEC-PHILIPS] return
<NEC-PHILIPS>
super Syntax
super [ level ]
View
User view
Parameter
Level: User level ranging from 0 to 3.
Description
Using the super command, you can switch from current user level to a specified
level.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 15
User level refers to the class of a login user. There are 4 user levels
corresponding to 4 command levels. After a user of certain level logs in, it can
only use the commands of the same or lower level.
There are 4 command levels access, monitor, configure and manage, as
follows:
■Access: Includes the network diagnosis tool commands (ping, tracert);
commands for accessing an external device from local device (including
Telnet client, SSH client, RLOGIN), etc. Commands of this level cannot
perform configuration file saving operation.
■Monitor: Commands used for system maintenance, service fault diagnosis
and so on, including the display and debugging commands. Commands
of this level cannot perform configuration file saving operation.
■Configure: Service configuration commands, including routing commands
and commands of various network layers. Commands of this level provide
direct network services for users.
■Manage: Commands related to basic system running and system support
modules. These commands provide support for various services.
Commands of this level include file system, FTP, TFTP, Xmodem
download and configuration file switchover commands, power control
commands, standby board control commands, user management
commands, level setting commands, system internal parameter setting
commands (not being provided in protocols or RFC documentation), etc.
To prevent unauthorized users from intruding the system, you must pass the
authentication when you are trying to switch from current user to a higher-level
user. This means that you must enter the password of the higher-level user (if
the super password [ level user-level ]{ simple | cipher } line command is
configured). For the sake of security, your entered password is not directly
displayed on the screen. If you enter the correct password within three times,
you will be able to switch to the higher-level user, or you will stay at current
level.
For the related command, see super password.
Example
<NEC-PHILIPS> super 3
Password:
User privilege changes to 3 level, just equal or less this level's commands can
be used.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
super password Syntax
super password [ level user-level ] { simple | cipher } password
undo super password [ level user-level ]
View
System view
Parameter
user-level: User level ranging from 0 to 3.
simple: Configure simple text password.
cipher: Configure cipher text password.
password: Content of password. A simple text password is a consecutive
character string with the length no more than 16, such as 1234567. A cipher
text password has 24 characters in length, and is in the format of
"_(TT8F]Y\5SQ=^Q`MAF4<1!!".

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 16
Description
Using the super password command, you can set the password need to switch
from a lower-level user to a higher-level user. Using the undo super password
command, you can remove the current setting.
By default, simple text password is adopted.
Example
Execute the following command in system view:
[NEC-PHILIPS] super password level 3 simple zbr
sysname Syntax
ysname sysname
View
System view
Parameter
sysname: Name of the router. It is a character string containing 1 to 30
characters.
Description
Using the sysname command, you can set the name of a router.
By default, a router is named "NEC-PHILIPS".
Modification to a router's name will affect the prompt of the command line
interface. For example, if the router's name is "NEC-PHILIPS", the prompt of
user view will be "<NEC-PHILIPS>".
Example
Set the name of the router to R1760.
[NEC-PHILIPS] sysname R1760
[R1760]
system-view Syntax
system-view
View
User view
Parameter
None
Description
Using the system-view command, you can enter system view from current user
view.
For the related command, see quit, return.
Example
<NEC-PHILIPS> system-view Enter system view , return user view with Ctrl+Z.
[NEC-PHILIPS]

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 17
3. SYSTEM MAINTENANCE & MANAGEMENT COMMANDS
Network Test Tool Commands
3.1 Debugging
Debugging Syntax
debugging { all | module-name [ debug-option1 ] [ debug-option2 ] …}
undo debugging { all | module-name [ debug-option1 ] [ debug-option2 ]
…}
View
User view
Parameter
all: Enables or disables all the debugging switches.
module-name: Module name.
debug-option: Debugging option.
Description
Using the debug command, you can enable system debugging. Using the
undo debug command, you can disable system debugging.
By default, the system disables all the debugging switches.
The router system provides a variety of debugging functions mainly for the
support technicians and senior maintenance engineers to perform network
fault diagnosis.
Enabling debugging will generate a large amount of debugging information that
can result in a decrease in system efficiency. This is especially the case when
the command debugging all is executed to enable all the debugging switches.
An extreme aftermath after doing so can be system paralysis. For these
reasons, you are recommended not to use the command debugging all. On
the contrary, using undo debugging all will bring you great convenience
because you can disable all the debugging switches at once rather than
disabling them one by one.
For related command, see display debugging.
Example
Enable IP packet debugging.
display debugging Syntax
display debugging [ interface interface-type interface-number] [ module-
name ]
View
Any view
Parameter
module-name: Module name.
interface-type: Interface type.

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 18
interface-number: Interface number.
Description
Using the display debugging command, you can display the enabled
debugging switches.
By default, no parameters have been defined and all the enabled debugging
switches are displayed.
For related command, see debugging.
Example
Display all the enabled debugging switches.
<NEC-PHILIPS> display debugging IP packet debugging switch is on.
display diagnostic- Syntax
information display diagnostic information
View
Any view
Parameter
None
Description
Using the display diagnostic-information command, you can display the
operating information of all the active modules of the system and collect all the
information at one time to isolate the problem when failure occurs to the system.
In case failures occurs to the system, lots of information needs to be collected
for the convenience of isolating the problems. However, it is rather difficult for
you to collect all the information at one time because there are many display
commands involved. In this case, you can use the display diagnostic-
information command to collect the operating information of all the active
modules in the system.
Example
Display the technical support information.
<NEC-PHILIPS> display diagnostic-information
------------------ display version -----------------
NEC-PHILIPSNEC-PHILIPS Versatile Routing Platform Software
VRP 3600E Software Version
VRPV3R001M06B03D003, DEBUG SOFTWARE
Copyright (c) 2000-2003 by VRP Team Beijing Institute NEC-PHILIPS Tech, Inc
Compiled Mar 24 2003 20:28:31 by zhaomin
------------------ display running-config -----------------
#
sysname NEC-PHILIPS
#
------------------ display history commands -----------------
display diagnostic-information
------------------ display tasks -----------------
ID Name Priority Status CPU Time
1 WEIL 10 Ready 10/20
2 SYST 180 Ready 0/7
3 XMON 140 Event Sem 0/0
4 VMON 140 Event Sem 41/41
5 INFO 100 Event Sem 1/6
6 co0 100 Ready 0/3178

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 19
7 LDP 100 Event Sem 1/299
8 LAGT 100 Queue Sem 0/1
9 Clon 100 Event Sem 0/0
10 ROUT 100 Event Sem 0/172
11 FIB 100 Event Sem 0/178
12 SOCK 100 Event Sem 0/47961
13 VTYD 100 Event Sem 0/25
14 IPSP 100 Event Sem 0/537
15 IKE 100 Event Sem 1/20
16 RSA 100 Event Sem 1/94
17 RDUS 100 Delay 1/1574
18 L2TP 100 Event Sem 0/14
19 TNLM 100 Event Sem 0/0
20 AGNT 100 Event Sem 0/4904
21 TRAP 100 Queue Sem 0/0
22 MDMT 100 Queue Sem 0/3
23 NTPT 100 Delay 0/7
24 PIMT 100 Delay 0/7
25 CFM 100 Queue Sem 363/1355
26 LSPM 100 Delay 0/414
27 L2V 100 Delay 0/6
28 VRRP 100 Event Sem 0/0
------------------ display memory ------------------
Slice Memory Usage:
Block Size 32 Free 960 Used 60134 Total 61094
Block Size 64 Free 275 Used 29356 Total 29631
Block Size 128 Free 9 Used 5882 Total 5891
Block Size 256 Free 8 Used 1664 Total 1672
Block Size 512 Free 1 Used 120 Total 121
Block Size 1024 Free 58 Used 157 Total 215
Block Size 2048 Free 5 Used 1547 Total 1552
Block Size 4096 Free 1 Used 67 Total 68
-----------------------------Summary--------------------------------
Used(Byte) 8646848 Free 1317 Used 98927 Total 100244
Total Slice Memory(Include Control Data and Free Slice): 10742144 bytes
Raw Slice Memory Usage:
Total Size: 10501832 bytes Num: 77 Total Raw Slice Memory(Include Control
Data and Free Slice): 12606400 bytes
System Total Memory(bytes): 33541536
------------------ display interfaces ------------------
Atm1/0/0 is down , line protocol is down
Description : NEC-PHILIPS, NEC-PHILIPS Series, Atm1/0/0 Interface
The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
AAL enabled: AAL5, Maximum VCs: 32
Current VCs: 0 (0 on main interface)
5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec
5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec
0 packets input, 0 bytes
0 packets output, 0 bytes
0 input errors, 0 CRCs, 0 giants, 0 pads, 0 aborts,0 overflows
0 output errors, 0 underflows, 0 overflows
NULL0 is up , line protocol is up (spoofing)
Description : NEC-PHILIPS, NEC-PHILIPS Series, NULL0 Interface
The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
Serial0/0/0 is down , line protocol is down
Description : NEC-PHILIPS, NEC-PHILIPS Series, Serial0/0/0 Interface
The Maximum Transmit Unit is 1500, The keepalive is 10(sec)

SOPHO IP 5000/SOPHO IP6000
Command Reference Guide 20
Internet protocol processing : disabled
Encapsulation is PPP
LCP initial FIFO queuing: (Outbound queue:Size/Length/Discards)
FIFO: 0/75/0
Physical layer is synchronous, Baudrate is 64000 bps, Interface is no cable
5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec
5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec
0 packets input, 0 bytes, 0 no buffers
0 packets output, 0 bytes, 0 no buffers
0 input errors, 0 CRC, 0 frame errors
0 overrunners, 0 aborted sequences, 0 input no buffers
DCD=DOWN DTR=DOWN DSR=DOWN RTS=DOWN CTS=DOWN
ping Syntax
ping [ -a X.X.X.X | -c count | -d | -h ttl_value | -i { interface-type interface-
number } | ip | -n | - p pattern | -q | -r | -s packetsize | -t timeout | -v | vpn-
instance vpn-instance-name ] * host
View
Any view
Parameter
-a X.X.X.X: Sets the source IP address where ICMP ECHO-REQUEST packets
can be sent.
-c count: Times that ICMP ECHO-REQUEST packets are sent. It is ranging
from 1 to 4294967295.
-d: Sets socket to DEBUG mode.
-httl_value: Sets the value of TTL_value, which is ranging from 1 to 255.
-i: Sets the interface for sending ICMP ECHO-REQUEST packets.
interface-type: Interface type
interface-number: Interface number
-n: Directly uses the host parameter as IP address without domain name
resolution.
-p pattern: The filling byte of ICMP ECHO-REQUEST packet in hexadecimal
format, with the value ranging from 0 to FFFFFFFF. For example, if the
parameter is set to -pff, the entire packet will be filled with ff.
-q: Displays statistic figures rather than details.
-r: Records routes.
-s packetsize: The length of ECHO-REQUEST packet (excluding IP and ICMP
headers), which is in the range of 20 to 8100 bytes.
-t timeout: Timeout in milliseconds waiting for ECHO-RESPONSE upon
completion of sending ECHO-REQUEST, in the range from 0 to 65535.
-v: Displays the received ICMP packets other than ECHO-RESPONSE packets.
vpn-instance vpn-instance-name: Sets the vpn-instance name of MPLS VPN
to specify the VPN attribute configured in this ping command, that is, name of
the associated vpn-instance created at the local.
host: Domain name or IP address of destination host.
ip: IP protocol is used.
Description
Using the ping command, you can check the IP network connection and
whether the host is reachable.
This manual suits for next models
1
Table of contents
Other NEC Network Router manuals