Upload
vantuyen
View
281
Download
2
Embed Size (px)
Citation preview
3Com Router 3000 Ethernet Family Command Reference Guide
3C13636
www.3Com.com
Part Number: 10014940 Rev. AA
February 2006
Copyright 2006, 3Com 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 3Com Corporation.
3Com Corporation reserves the right to revise this documentation and to make changes in content from time to time without
obligation on the part of 3Com Corporation to provide notification of such revision or change.
3Com 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. 3Com 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 3Com 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 3Coms 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, 3Com registered trademarks are registered in the United States and may or may not be registered in
other countries.
3Com, the 3Com logo, are registered trademarks of 3Com Corporation.
Intel and Pentium are registered trademarks of Intel Corporation. Microsoft, MS-DOS, Windows, and Windows NT are
registered trademarks of Microsoft Corporation. UNIX is a registered trademark in the United States and other countries, licensed
exclusively through X/Open Company, Ltd.
All other company and product names may be trademarks of the respective companies with which they are associated.
3Com Corporation
350 Campus Drive
Marlborough, MA
01752-3064
Basic Commands
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
Table of Contents
Chapter 1 Basic Configuration Commands................................................................................ 1-1 1.1 Basic Configuration Commands ........................................................................................ 1-1
1.1.1 clock datetime ......................................................................................................... 1-1 1.1.2 clock summer-time .................................................................................................. 1-1 1.1.3 clock timezone......................................................................................................... 1-3 1.1.4 command-privilege.................................................................................................. 1-3 1.1.5 cpu-usage cycle ...................................................................................................... 1-4 1.1.6 display clipboard...................................................................................................... 1-5 1.1.7 display clock ............................................................................................................ 1-5 1.1.8 display cpu-usage ................................................................................................... 1-6 1.1.9 display cpu-usage history........................................................................................ 1-7 1.1.10 display history-command ...................................................................................... 1-9 1.1.11 display log startup ............................................................................................... 1-10 1.1.12 display memory ................................................................................................... 1-10 1.1.13 display version..................................................................................................... 1-11 1.1.14 free unused porttag ............................................................................................. 1-12 1.1.15 header ................................................................................................................. 1-12 1.1.16 hotkey.................................................................................................................. 1-14 1.1.17 language-mode ................................................................................................... 1-16 1.1.18 lock ...................................................................................................................... 1-16 1.1.19 log startup............................................................................................................ 1-17 1.1.20 quit....................................................................................................................... 1-18 1.1.21 return ................................................................................................................... 1-18 1.1.22 super ................................................................................................................... 1-19 1.1.23 super password................................................................................................... 1-20 1.1.24 sysname.............................................................................................................. 1-21 1.1.25 system-view......................................................................................................... 1-21 1.1.26 vrbd ..................................................................................................................... 1-22
1.2 Command-Alias Configuration Commands ..................................................................... 1-23 1.2.1 command-alias enable .......................................................................................... 1-23 1.2.2 command-alias mapping ....................................................................................... 1-24 1.2.3 display command-alias.......................................................................................... 1-25
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-1
Chapter 1 Basic Configuration Commands
1.1 Basic Configuration Commands
1.1.1 clock datetime
Syntax
clock datetime time date
View
System view
Parameter
time: Current time in the format of HH:MM:SS, where HH is hours in the range 0 to 23, MM is minutes in the range 0 to 59, and SS is seconds in the range 0 to 59.
date: Current date in the format of MM/DD/YYYY or YYYY/MM/DD. MM is the month of the year in the range 1 to 12, DD is the day of the month in the range 1 to 31, and YYYY is a year in the range 2000 to 2099.
Description
Use the clock datetime command to set the current time and date of the router.
The current time and date of the router must be set in an environment that requires the acquisition of absolute time.
You may choose not to provide seconds when inputting the time parameters.
Related command: display clock.
Example
# Set the current system time to 00:00:00 01/01/2001.
[3Com] clock datetime 0:0:0 01/01/2001
1.1.2 clock summer-time
Syntax
clock summer-time zone_name { one-off | repeating } start-time start-date end-time end-date add-time
undo clock summer-time
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-2
View
System view
Parameter
zone_name: Name of the daylight saving time, a character string of 1 to 32 characters.
one-off: Only sets the daylight saving time of some year.
repeating: Sets the daylight saving time of every year starting from some year.
time: In the format of HH:MM:SS (hours/minutes/seconds).
date: In the format of MM/DD/YYYY (months/days/years), YYYY/MM/DD, or YYYY MM week-of-month day-of-week, where YYYY ranges from 2000 to 2099.
Description
Use the clock summer-time command to set the name, starting and ending time of the daylight saving time.
Use the undo clock summer-time command to cancel the configuration of the daylight saving time.
After the configuration takes effect, you can use the display clock command to view it. Besides, the time of the log or debug information is the local time of which the time zone and daylight saving time has been adjusted.
Related command: clock timezone.
Example
# For daylight saving time in z2 between 06:00:00 on 2002/06/08 and 06:00:00 on 2002/09/01, set the system clock ahead one hour.
[3Com] clock summer-time z2 one-off 06:00:00 06/08/2002 06:00:00 09/01/2002
01:00:00
# For daylight saving time in z2 between 06:00:00 on 06/08 and 06:00:00 on 09/01 every year since 2002, set the system clock ahead one hour.
[3Com] clock summer-time z2 repeating 06:00:00 06/08/2002 06:00:00 09/01/2002
01:00:00
# Set the system clock ahead one hour for daylight saving time starting at zero oclock on Sunday of the first week of January in 2002 and ended at zero oclock on Sunday of the first week of January in 2003.
[3Com] clock summer-time z2 repeating 00:00:00 2001 January first Sunday
07:00:00 2002 January first Sunday 1
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-3
1.1.3 clock timezone
Syntax
clock timezone zone_name { add | minus } time
undo clock timezone
View
System view
Parameter
zone_name: Time zone name, a string of 1 to 32 characters.
add: Positive offset to universal time coordinated (UTC) time.
minus: Negative offset to UTC time.
time: In the format of HH/MM/SS (hours/minutes/seconds).
Description
Use the clock timezone command to set the local time zone.
Use the undo clock timezone command to restore the local time zone to the default UTC time zone.
After the configuration takes effect, you can view it by executing the display clock command. The time applied to the log and debug information is the local time with time zone and daylight saving time adjustment.
Related command: clock summer-time.
Example
# Set the name of the local time zone to Z5, five hours ahead of UTC time.
[3Com] clock timezone z5 add 05:00:00
1.1.4 command-privilege
Syntax
command-privilege level level view view command-key
undo command-privilege view view command-key
View
System view
Parameter
level level: Command level ranging from 0 to 3.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-4
view view: Specifies a view.
commandkey: Command to be set in the specified view.
Description
Use the command-privilege command to assign a command level to the commands in the specified view.
Use the undo command-privilege view command to restore the default.
Command privilege falls into four levels: visit, monitor, system, and manage, which are identified by 0 through 3.
For a user logs onto the router from a user interface, the command level that the user can access can be the one administratively assigned to the user or the one assigned to the user interface, whichever is smaller. For more information on how to assign command level to a user interface, refer to Chapter 4 User Interface Configuration Commands in V 2.41 Command Manual System Management.
The following table describes the default level of the commands.
Table 1-1 Default level of the commands
Command level Commands
Visit (0) ping, tracert, telnet
Monitor (1) display, debugging
System (2) Configuration commands
Manage (3) Key settings, FTP, Xmodem, TFTP, file system operation commands
Example
# Set the command level of the interface command to 0.
[3Com] command-privilege level 0 view system interface
1.1.5 cpu-usage cycle
Syntax
cpu-usage cycle { 5sec | 1min | 5min | 72min } [ slave | slot slot-num ]
View
System view
Parameter
5sec: Sets the statistic interval to five seconds.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-5
1min: Sets the CPU usage statistic interval to one minute.
5min: Sets the CPU usage statistic interval to five minutes.
72min: Sets the CPU usage statistic interval to 72 minutes.
slave: Given a dual-RPU/ERPU supported device, sets the usage statistic interval of the CPU on the slave RPU/ERPU.
slot slot-num: Given a distributed device, sets the usage statistic interval of the CPU on the interface board specified by its slot number.
Description
Use the cpu-usage cycle command to set the CPU usage statistic interval.
Depending on the specified interval, the statistical period displayed by executing the display cpu-usage history command is different.
The default CPU usage statistic interval is 60 seconds.
Example
# Set the CPU usage statistic interval to five seconds.
[3Com] cpu-usage cycle 5Sec
1.1.6 display clipboard
Syntax
display clipboard
View
Any view
Parameter
None
Description
Use the display clipboard command to view the contents of the clipboard.
Example
# Display the contents of the clipboard.
display clipboard
-----------------clipboard -----------------
ip route 10.1.0.0 255.0.0.0 eth 0
1.1.7 display clock
Syntax
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-6
display clock
View
Any view
Parameter
None
Description
Use the display clock command to view the current system time and date.
If the displayed system time and date are incorrect, use the clock datetime command to adjust them.
Example
# Display the current time and date.
display clock
15:50:45 UTC Mon 02/12/2003
1.1.8 display cpu-usage
Syntax
display cpu-usage [ configuration | number [ offset ] [ verbose ] [ from-device ] ]
View
Any view
Parameter
configuration: Displays the configuration about CPU usage statistics, such as whether CPU usage statistics is enabled, statistic interval, and CPU usage alarm thresholds.
number: Number of CPU usage statistics queries.
offset: Offset of the starting entry to be displayed to the last statistic entry.
verbose: Displays the detailed information.
from-device: Displays information stored on an external storage device such as a Flash memory or hard disk. (Not available yet.)
Description
Use the display cpu-usage command to view statistics about CPU usage.
The function of both display cpu-usage and display cpu-usage 1 0 verbose is to display detailed information on the last CPU usage statistics.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-7
Example
# Display detailed information on CPU usage statistics.
[Router] display cpu-usage
===== Current CPU usage info =====
CPU Usage Stat. Cycle: 1 (Second)
CPU Usage : 1%
CPU Usage Stat. Time : 2004-09-15 15:51:48
CPU Usage Stat. Tick : 0x27(CPU Tick High) 0x88cf18e4(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x2264cc2(CPU Tick Low)
TaskName CPU Runtime(CPU Tick High/CPU Tick Low)
VIDL 99% 0/ 222de39
TICK 0% 0/ 88d8
co0 0% 0/ 6e5
SRM 0% 0/ 1da
ROUT 0% 0/ 1d6c
SOCK 0% 0/ 3c65
VTYD 0% 0/ 1074
IPSP 0% 0/ 28b
TAC 0% 0/ 15ac
SC 0% 0/ 10de
RDS 0% 0/ e71
ACM 0% 0/ 180a
LSSO 0% 0/ 3a2
TRAP 0% 0/ 2d0
NTPT 0% 0/ 1082a
PIMT 0% 0/ 2f8
LSPM 0% 0/ 90c
L2V 0% 0/ 1066
IPS 0% 0/ 7575
SIP 0% 0/ 6b87
DHCP 0% 0/ 33d
HOT 0% 0/ fca
DHCC 0% 0/ 414
1.1.9 display cpu-usage history
Syntax
display cpu-usage history [ task task-id ] [ slave | slot slot-num ]
View
Any view
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-8
Parameter
task task-id: Specifies a task ID.
slave: Given a dual-RPU/ERPU supported device, sets the usage statistic interval of the CPU on the slave RPU/ERPU.
slot slot-num: Given a distributed device, sets the usage statistic interval of the CPU on the interface board specified by its slot number.
Description
Use the display cpu-usage history command to view in graphics the CPU usage statistic history of the entire system, the specified task, or the interface board in the specified slot.
Example
# Display the CPU usage statistic history of the entire system.
[Router] display cpu-usage history
100%|
95%|
90%|
85%|
80%|
75%|
70%|
65%|
60%|
55%|
50%|
45%|
40%|
35%|
30%|
25%|
20%|
15%|
10%|
5%|
------------------------------------------------------------
10 20 30 40 50 60 (minutes)
cpu-usage last 60 minutes(SYSTEM)
# Display the CPU usage statistic history of task 6.
[Router] display cpu-usage history task 6
100%|
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-9
95%|
90%|
85%|
80%|
75%|
70%|
65%|
60%|
55%|
50%|
45%|
40%|
35%|
30%|
25%|
20%|
15%|
10%|
5%|
------------------------------------------------------------
10 20 30 40 50 60 (minutes)
cpu-usage last 60 minutes(T03M)
1.1.10 display history-command
Syntax
display history-command
View
Any view
Parameter
None
Description
Use the display history-command command to view the history commands.
The terminal automatically saves the commands that are input and each ended with a carriage return.
Example
# Display history commands.
display history-command
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-10
display interface
displayinterface e 1/0/0
interface e 1/0/0
1.1.11 display log startup
Syntax
display log startup
View
User view
Parameter
None
Description
Use the display log startup command to display the state of the configuration restoration log switch.
Example
# Display the state of the configuration restoration log switch.
log startup
display log startup
Log startup switch is on.
undo log startup
display log startup
Log startup switch is off.
1.1.12 display memory
Syntax
display memory
View
Any view
Parameter
None
Description
Use the display memory command to view information on system memory load.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-11
Example
# Display information on the current system memory load.
[Router] display memory
System Total Memory(bytes): 41918976
Total Used Memory(bytes): 15949136
Used Rate: 38%
1.1.13 display version
Syntax
display version
View
Any view
Parameter
None
Description
Use the display version command to view system version information.
By viewing system version information, you can learn about the current software version, rack type and the information related to the main control board and interface boards.
Example
# Display system version information of the AR 46-40.
display version
Copyright Notice:SK_VSIR_NAME crea
All rights reserved (Sep 13 2004).rule 1 de icmp ?create...
3Com-3Com Versatile Routing Platform Software
VRP(R) software, Version 3.40, Release 0001SP03
Copyright (c) 2003-2004 Hangzhou 3Com-3Com Tech. Co.,Ltd. All rights reserved
.
Copyright (c) 2000-2003 3Com Tech. Co.,Ltd. All rights reserved.
3Com Series Router AR46-40 uptime is 0 week, 0 day, 0 hour, 22 minutes
Rpu's version information:
Router AR46-40 with 1 PowerPC 750 Processor
256M bytes SDRAM
32M bytes FLASH
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-12
512K bytes NVRAM
Pcb Version : RTM1RPUA.1
RPE Logic Version : RPE3.4
SBG Logic Version : 012
Small BootROM Version : 3.04
Big BootROM Version : 5.03
Config Register points to FLASH
[SLOT 0] AUX0 (Hardware)A.1, (Driver)1.0, (Cpld)3.4
[SLOT 0] ETH0 (Hardware)A.1, (Driver)1.0, (Cpld)3.4
[SLOT 0] ETH1 (Hardware)A.1, (Driver)1.0, (Cpld)3.4
1.1.14 free unused porttag
Syntax
free unused porttag
View
System view
Parameter
None
Description
Use the free unused porttag command to release the port tag resources used by removed interfaces for creating new interfaces.
The port tag resources currently available only support up to 65,535 interfaces. If all port tag resources are depleted, no interface can be created any longer. To do that, use the free unused porttag command to release the port tag resources assigned to the removed interfaces first.
Example
# Release the port tag resources used by removed interfaces.
[3Com] free unused porttag
1.1.15 header
Syntax
header [ incoming | login | motd | shell ] text
undo header [ incoming | login | motd | shell ]
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-13
View
System view
Parameter
motd: Banner displayed before the login interface.
incoming: Banner displayed when a user logs onto a terminal user interface.
login: Login banner at authentication.
shell: Banner displayed for entering user view.
text: Banner message, with the first character being the start and ending delimiters. After the ending delimiter is input, the system quits automatically.
Description
Use the header command to create a banner.
Use the undo header command to clear a banner.
The motd banner is displayed when a user just logs in from a user interface. If password or scheme authentication is set, the banner is displayed before login authentication.
The login banner is displayed only when login authentication is set to password or scheme. It is displayed after the motd banner is displayed and before login authentication.
The shell banner is displayed after a user session is established.
Two ways are available for inputting a banner message:
1) Input the message in one line. This allows 255 characters including the command keyword.
2) Input the message in separate lines each ended with a carriage return. This allows 1024 characters (including those invisible) in addition to the command keyword.
If no keyword, incoming, login, motd, or shell, is specified, the configured banner is taken as a login banner by default. Therefore, if no text is provided after you input one of these keywords, incoming, for example, it will be taken as the text for a login banner rather than a keyword.
You may do the following to have the start delimiter as part of the banner message or not:
To have the start delimiter excluded from the banner message, input a carriage return immediately after it or make sure that the start and ending delimiters are in the same line.
To have the start delimiter being part of the banner message, make sure that the start and ending delimiters are in different lines and the start delimiter is not immediately followed by a carriage return.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-14
Example
# Configure banner information.
[Router] header login %login text%
[Router] header shell %shell text%
[Router] header motd %motd text%
quit
*********************************************************
* All rights reserved (1997-2005) *
* Without the owner's prior written consent, *
*no decompiling or reverse-engineering shall be allowed.*
*********************************************************
User interface aux0 is available.
Please press ENTER.
motd text
login text
Login authentication
Username:admin
Password:
shell text
1.1.16 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: Assigns the hot key to a command.
CTRL_L: Assigns the hot key to a command.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-15
CTRL_O: Assigns the hot key to a command.
CTRL_T: Assigns the hot key to a command.
CTRL_U: Assigns the hot key to a command.
command_text: The command line associated with the hot key.
Description
Use the hotkey command to assign a hot key to a command line.
Use the undo hotkey command to restore the default assignment scheme of the system: to display current-configuration, to display ip routing-table, to undo debugging all, and null to other two hot keys.
You can customize this scheme however.
Example
# Assign the hot key < CTRL_T> to the display tcp status command.
[3Com] hotkey ctrl_t display tcp status
[3Com] display hotkey
----------------- HOTKEY -----------------
=Defined hotkeys=
Hotkeys Command
CTRL_G display current-configuration
CTRL_L display ip routing-table
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.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-16
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.
1.1.17 language-mode
Syntax
language-mode { chinese | english }
View
User view
Parameter
None
Description
Use the language-mode command to toggle the display language of the command line interface (CLI) between English and Chinese.
The default language is English.
Example
# Toggle the language from English to Chinese.
language-mode chinese
Change language mode, confirm? [Y/N]y
% Switch to Chinese mode.
1.1.18 lock
Syntax
lock
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-17
View
User view
Parameter
None
Description
Use the lock command to lock the illegitimate users out of the active user interface, which can be console, AUX, or VTY.
After entering the lock command, you are prompted to enter and confirm the screensaver's password. If you enter the same password twice, the interface is locked. To unlock and access the system after that, you must press first and enter the password you just set.
Example
# Log in through the console port and lock the active user interface.
lock
Password:
Again:
1.1.19 log startup
Syntax
log startup
undo log startup
View
User view
Parameter
None
Description
Use the log startup command to turn on the configuration restoration log switch.
Use the undo log startup command to turn off the configuration restoration log switch.
By default, the configuration restoration log switch is turned on.
When the configuration restoration log switch is turned on, the commands executed for the configuration file to be recovered at startup are logged and the log information is output in the following format:
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-18
%May 31 06:46:58:015 2005 5500G-EI SHELL/5/CMD:- 1 -task:CFM ip:** user:** command:sysname 5500G-EI
As the log information may occupy a large space, you are recommended to turn off the switch in normal cases.
Example
# Turn off the configuration restoration log switch.
undo log startup
1.1.20 quit
Syntax
quit
View
Any view
Parameter
None
Description
Use the quit command to quit to a lower-level view (if the current view is user view, you exit the system).
The views fall into three levels, in ascending order:
User view (for user level 0) System view (for user level 3) Configuration view (such as routing protocol view, interface view, and VPDN
group view)
Related command: return.
Example
# Switch from Ethernet1/0/0 interface view to system view, and then to user view.
[3Com-Ethernet1/0/0] quit
[3Com] quit
1.1.21 return
Syntax
return
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-19
View
Any view except for user view
Parameter
None
Description
Use the return command to return to user view from any other view, as you would with the hot key .
Related command: quit.
Example
# Return to user view from system view.
[3Com] return
1.1.22 super
Syntax
super [ level ]
View
User view
Parameter
level: User level ranging from 0 to 3.
Description
Use the super command to switch from current user level to a specified user level, or the command level that the user can access.
There are four levels of commands:
Visit: involves commands for network diagnosis (such as ping and tracert), commands for accessing an external device (such as Telnet client, SSH client, RLOGIN). Saving the configuration file is not allowed at this level.
Monitor: includes the display and debugging commands for system maintenance, service fault diagnosis. Saving the configuration file is not allowed at this level.
System: provides service configuration commands, including routing and commands at each level of the network for providing services.
Manage: influences the basic operation of the system and the system support modules for service support. Commands at this level involve file system, FTP, TFTP, Xmodem download and configuration file switch, power control, standby
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-20
board control, user management, level setting, as well as parameter setting within a system (the last case involves those non-protocol or non RFC provisioned commands).
Login users are also classified into four levels that correspond to the four command levels. After users at different levels log in, they can only use commands at their own, or lower, levels.
To fence off intrusion of illegitimate users, users are required to provide the correct super password, if one has been configured using the super password command, when they switch from a lower level to a higher level. For privacy sake, the entered password is not displayed on the screen. Users have three chances to provide the correct password. Only after the correct password is entered can they switch to the higher level. Otherwise, the original user level remains unchanged.
Related command: super password.
Example
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
1.1.23 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 in the range 1 to 3.
simple: Plain text password, a string of up to 16 consecutive characters.
cipher: Ciphertext password. You can define it in plain text, or a string of up to 16 consecutive characters. The system will automatically generate the corresponding ciphertext, for example, 7-CZB#/YX]KQ=^Q`MAF4
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-21
Description
Use the super password command to set the password needed to switch from a lower user level to a higher one.
Use the undo super password command to cancel the current setting.
By default, plain text password is adopted.
Example
# Set the password to zbr for switching the user level to three.
[3Com] super password level 3 simple zbr
1.1.24 sysname
Syntax
sysname sysname
View
System view
Parameter
sysname: Name of the router, a string containing 1 to 30 characters.
Description
Use the sysname command to set the name of the router.
The router name defaults to 3Com.
Modifying router name affects the prompt of the CLI. For example, if the router's name is 3Com, the prompt of user view is .
Example
# Set the name of the router to R1760.
[3Com] sysname R1760
[R1760]
1.1.25 system-view
Syntax
system-view
View
User view
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-22
Parameter
None
Description
Use the system-view command to enter system view from current user view.
Related command: quit, return.
Example
system-view
System View: return to User View with Ctrl+Z.
[3Com]
1.1.26 vrbd
Syntax
vrbd
View
Any view
Parameter
None
Description
Use the vrbd command to view software version details, including product software version and the matched platform software version.
Example
# Display the internal version information.
[Router] vrbd
Routing Platform Software
Version AR46XX 8040V300R003B01D009 (COMWAREV300R002B11D001), RELEASE
SOFTWARE
Compiled Sep 13 2004 15:36:51 by sunyu
1.1.24 console switch-to aux
Syntax
console switch-to aux
undo console switch-to
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-23
View
User interface view
Parameter
None
Description
Use the console switch-to aux command to configure the Console interface to operate in AUX mode.
Use the undo console switch-to command to restore the default operation mode of the Console interface.
By default, the interface operates as a Console port, through which, you can use the console switch-to aux command to configure the interface to operate as an AUX port, in this case, you will be disconnected to the router and have to use another way, such as Telnet or AUX port, to login again.
Example
# Configure interface Console 0 to operate in AUX mode and save the configuration.
[Quidway] user-interface console 0
[Quidway-ui-console0] console switch-to aux
The configuration will be written to the device.[Y/N]y.
Current configuration has been saved to the device successfully.
# Configure interface Console 0 to operate in Console mode and save the configuration.
[Quidway] user-interface console 0
[Quidway-ui-console0] undo console switch-to
The configuration will be written to the device.[Y/N]y.
Current configuration has been saved to the device successfully
1.2 Command-Alias Configuration Commands
1.2.1 command-alias enable
Syntax
command-alias enable
undo command-alias enable
View
System view
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-24
Parameter
None
Description
Use the command-alias enable command to enable the command alias function.
Use the undo command-alias enable command to disable the command alias function.
By default, the command alias function is disabled.
Example
# Enable the command alias function.
[3Com] command-alias enable
Command alias switch is on!
# Disable the command alias function.
[3Com] undo command-alias enable
Command alias switch is off!
1.2.2 command-alias mapping
Syntax
command-alias mapping cmdkey alias
undo command-alias mapping alias
View
System view
Parameter
cmdkey: The first keyword to be substituted in current commands by the alias. You must provide the complete keyword name.
alias: Alias assigned by the user. It must not conflict with the first keyword in any current command.
Description
Use the command-alias mapping command to map an alias to a keyword.
Use the undo command-alias mapping command to cancel the alias setting.
By default, no command alias is configured.
Example
# Assign the alias show to the keyword display.
3Com Router 3000 Ethernet Family Command Reference Guide Chapter 1 Basic Configuration Commands
3Com Corporation
1-25
[3Com] command-alias mapping display show
# Cancel the configured alias show.
[3Com] undo command-alias mapping show
1.2.3 display command-alias
Syntax
display command-alias
View
Any view
Parameter
None
Description
Use the display command-alias command to view the current command alias settings.
Example
# Display the current command alias settings.
[3Com] display command-alias
index alias commandkey
0 show display
3Com Router 3000 Ethernet Family Command Reference Guide
3Com Corporation
i
System Management
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
i
Table of Contents
Chapter 1 System Maintenance and Management Commands................................................ 1-1 1.1 Auto-Config Commands .................................................................................................... 1-1
1.1.1 auto-config............................................................................................................... 1-1 1.1.2 auto-config enable................................................................................................... 1-3 1.1.3 display auto-config .................................................................................................. 1-3
1.2 Network Test Tool Commands .......................................................................................... 1-4 1.2.1 debugging................................................................................................................ 1-4 1.2.2 display debugging ................................................................................................... 1-5 1.2.3 display diagnostic-information................................................................................. 1-5 1.2.4 ip df-check enable ................................................................................................... 1-8 1.2.5 ip option source-routing........................................................................................... 1-8 1.2.6 ping.......................................................................................................................... 1-9 1.2.7 reboot .................................................................................................................... 1-11 1.2.8 tracert .................................................................................................................... 1-12
1.3 Information Processing Commands................................................................................. 1-14 1.3.1 display channel...................................................................................................... 1-14 1.3.2 display info-center ................................................................................................. 1-15 1.3.3 display logbuffer .................................................................................................... 1-17 1.3.4 display logbuffer summary .................................................................................... 1-19 1.3.5 display trapbuffer................................................................................................... 1-20 1.3.6 info-center channel................................................................................................ 1-21 1.3.7 info-center console channel .................................................................................. 1-22 1.3.8 info-center enable ................................................................................................. 1-23 1.3.9 info-center logbuffer .............................................................................................. 1-23 1.3.10 info-center logfile................................................................................................. 1-24 1.3.11 info-center loghost............................................................................................... 1-25 1.3.12 info-center loghost source................................................................................... 1-26 1.3.13 info-center monitor channel................................................................................. 1-26 1.3.14 info-center snmp channel.................................................................................... 1-27 1.3.15 info-center source ............................................................................................... 1-28 1.3.16 info-center synchronous...................................................................................... 1-30 1.3.17 info-center timestamp.......................................................................................... 1-31 1.3.18 info-center timestamp loghost ............................................................................. 1-31 1.3.19 info-center trapbuffer........................................................................................... 1-32 1.3.20 reset logbuffer ..................................................................................................... 1-33 1.3.21 reset trapbuffer .................................................................................................... 1-33 1.3.22 terminal debugging.............................................................................................. 1-34 1.3.23 terminal logging................................................................................................... 1-34 1.3.24 terminal monitor .................................................................................................. 1-35
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
ii
1.3.25 terminal trapping ................................................................................................. 1-36 1.4 System Operating Management Commands .................................................................. 1-36
1.4.1 display alarm urgent.............................................................................................. 1-36 1.4.2 display environment .............................................................................................. 1-37 1.4.3 display device........................................................................................................ 1-38 1.4.4 display schedule reboot ........................................................................................ 1-39 1.4.5 remove slot............................................................................................................ 1-40 1.4.6 reset alarm urgent ................................................................................................. 1-40 1.4.7 schedule reboot at................................................................................................. 1-41 1.4.8 schedule reboot delay ........................................................................................... 1-42 1.4.9 upgrade ................................................................................................................. 1-43 1.4.10 undo schedule reboot.......................................................................................... 1-44
Chapter 2 Auto Detect Configuration Commands ..................................................................... 2-1 2.1 Basic Auto Detect Configuration Commands .................................................................... 2-1
2.1.1 detect-group ............................................................................................................ 2-1 2.1.2 detect-list ................................................................................................................. 2-1 2.1.3 display detect-group................................................................................................ 2-2 2.1.4 option....................................................................................................................... 2-3 2.1.5 retry ......................................................................................................................... 2-4 2.1.6 timer loop................................................................................................................. 2-5 2.1.7 timer wait ................................................................................................................. 2-6
2.2 Auto Detect Application Commands.................................................................................. 2-6 2.2.1 ip route-static detect-group ..................................................................................... 2-6 2.2.2 standby detect-group .............................................................................................. 2-7 2.2.3 vrrp vrid track detect-group ..................................................................................... 2-8
Chapter 3 HWPing Commands .................................................................................................... 3-1 3.1 HWPing Client Commands ................................................................................................ 3-1
3.1.1 count........................................................................................................................ 3-1 3.1.2 datafill ...................................................................................................................... 3-1 3.1.3 datasize ................................................................................................................... 3-2 3.1.4 description ............................................................................................................... 3-3 3.1.5 destination-ip ........................................................................................................... 3-3 3.1.6 destination-port........................................................................................................ 3-4 3.1.7 display hwping......................................................................................................... 3-4 3.1.8 filename................................................................................................................... 3-7 3.1.9 frequency................................................................................................................. 3-7 3.1.10 ftp-operation .......................................................................................................... 3-8 3.1.11 history-records....................................................................................................... 3-9 3.1.12 http-operation ........................................................................................................ 3-9 3.1.13 hwping ................................................................................................................. 3-10 3.1.14 hwping-agent enable........................................................................................... 3-11 3.1.15 hwping-agent max-requests................................................................................ 3-11
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
iii
3.1.16 jitter-interval......................................................................................................... 3-12 3.1.17 jitter-packetnum................................................................................................... 3-12 3.1.18 password ............................................................................................................. 3-13 3.1.19 probe-failtimes..................................................................................................... 3-14 3.1.20 send-trap ............................................................................................................. 3-15 3.1.21 sendpacket passroute ......................................................................................... 3-15 3.1.22 source-interface .................................................................................................. 3-16 3.1.23 source-ip.............................................................................................................. 3-16 3.1.24 source-port .......................................................................................................... 3-17 3.1.25 test-type............................................................................................................... 3-17 3.1.26 test-enable........................................................................................................... 3-18 3.1.27 test-failtimes ........................................................................................................ 3-19 3.1.28 timeout................................................................................................................. 3-20 3.1.29 tos........................................................................................................................ 3-20 3.1.30 ttl.......................................................................................................................... 3-21 3.1.31 username ............................................................................................................ 3-21 3.1.32 vpninstance ......................................................................................................... 3-22
3.2 HWPing Server Commands............................................................................................. 3-23 3.2.1 hwping-server enable............................................................................................ 3-23 3.2.2 hwping-server tcpconnect ..................................................................................... 3-23 3.2.3 hwping-server udpecho......................................................................................... 3-24
Chapter 4 File Management Commands..................................................................................... 4-1 4.1 File System Commands..................................................................................................... 4-1
4.1.1 bootfile dir................................................................................................................ 4-1 4.1.2 bootfile main ............................................................................................................ 4-2 4.1.3 bootfile backup ........................................................................................................ 4-4 4.1.4 cd............................................................................................................................. 4-5 4.1.5 copy......................................................................................................................... 4-6 4.1.6 delete....................................................................................................................... 4-7 4.1.7 dir ............................................................................................................................ 4-8 4.1.8 execute.................................................................................................................... 4-9 4.1.9 file prompt.............................................................................................................. 4-10 4.1.10 fixdisk .................................................................................................................. 4-11 4.1.11 format .................................................................................................................. 4-11 4.1.12 mkdir.................................................................................................................... 4-12 4.1.13 more .................................................................................................................... 4-13 4.1.14 move.................................................................................................................... 4-13 4.1.15 pwd...................................................................................................................... 4-14 4.1.16 rename ................................................................................................................ 4-15 4.1.17 reset recycle-bin.................................................................................................. 4-16 4.1.18 rmdir .................................................................................................................... 4-17 4.1.19 undelete............................................................................................................... 4-18
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
iv
4.2 File System Check Configuration Commands................................................................. 4-18 4.2.1 vfs check file-system ............................................................................................. 4-18 4.2.2 vfs check check-method fix ................................................................................... 4-19 4.2.3 vfs check check-method discard........................................................................... 4-20 4.2.4 vfs check check-method discard auto................................................................... 4-21
4.3 FTP Server Configuration Commands............................................................................. 4-22 4.3.1 display ftp-server................................................................................................... 4-22 4.3.2 display ftp-user ...................................................................................................... 4-23 4.3.3 display ftp-server source-ip ................................................................................... 4-24 4.3.4 ftp server enable.................................................................................................... 4-24 4.3.5 ftp-server source-interface .................................................................................... 4-25 4.3.6 ftp-server source-ip ............................................................................................... 4-26 4.3.7 ftp timeout.............................................................................................................. 4-27 4.3.8 ftp update .............................................................................................................. 4-27
4.4 FTP Client Commands .................................................................................................... 4-28 4.4.1 ascii ....................................................................................................................... 4-28 4.4.2 binary..................................................................................................................... 4-29 4.4.3 bye......................................................................................................................... 4-29 4.4.4 cd........................................................................................................................... 4-30 4.4.5 cdup....................................................................................................................... 4-30 4.4.6 close ...................................................................................................................... 4-31 4.4.7 debugging.............................................................................................................. 4-31 4.4.8 delete..................................................................................................................... 4-32 4.4.9 dir .......................................................................................................................... 4-32 4.4.10 disconnect ........................................................................................................... 4-33 4.4.11 display ftp source-ip ............................................................................................ 4-33 4.4.12 ftp ........................................................................................................................ 4-34 4.4.13 ftp host source-interface...................................................................................... 4-34 4.4.14 ftp host source-ip................................................................................................. 4-35 4.4.15 ftp source-interface ............................................................................................. 4-35 4.4.16 ftp source-ip......................................................................................................... 4-36 4.4.17 get ....................................................................................................................... 4-37 4.4.18 lcd........................................................................................................................ 4-38 4.4.19 ls.......................................................................................................................... 4-38 4.4.20 mkdir.................................................................................................................... 4-39 4.4.21 open .................................................................................................................... 4-39 4.4.22 passive ................................................................................................................ 4-40 4.4.23 put ....................................................................................................................... 4-40 4.4.24 pwd...................................................................................................................... 4-41 4.4.25 quit....................................................................................................................... 4-41 4.4.26 remotehelp .......................................................................................................... 4-42 4.4.27 rename ................................................................................................................ 4-42
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
v
4.4.28 rmdir .................................................................................................................... 4-43 4.4.29 user ..................................................................................................................... 4-43 4.4.30 verbose................................................................................................................ 4-43
4.5 TFTP Client Configuration Commands............................................................................ 4-44 4.5.1 display tftp source-ip ............................................................................................. 4-44 4.5.2 tftp ......................................................................................................................... 4-45 4.5.3 tftp host source-interface....................................................................................... 4-45 4.5.4 tftp host source-ip.................................................................................................. 4-46 4.5.5 tftp-server acl......................................................................................................... 4-47 4.5.6 tftp source-interface .............................................................................................. 4-47 4.5.7 tftp source-ip.......................................................................................................... 4-48
4.6 xmodem Configuration Commands ................................................................................. 4-49 4.6.1 xmodem get........................................................................................................... 4-49
4.7 Configuration File Management Commands ................................................................... 4-50 4.7.1 display current-configuration ................................................................................. 4-50 4.7.2 display saved-configuration................................................................................... 4-52 4.7.3 display startup ....................................................................................................... 4-54 4.7.4 display this............................................................................................................. 4-55 4.7.5 reset saved-configuration...................................................................................... 4-56 4.7.6 save....................................................................................................................... 4-56 4.7.7 startup saved-configuration................................................................................... 4-57 4.7.8 upgrade ................................................................................................................. 4-59
Chapter 5 User Interface Configuration Commands ................................................................. 5-1 5.1.1 accounting commands ............................................................................................ 5-1 5.1.2 acl............................................................................................................................ 5-2 5.1.3 activation-key .......................................................................................................... 5-2 5.1.4 authentication-mode................................................................................................ 5-3 5.1.5 auto-execute command........................................................................................... 5-4 5.1.6 databits.................................................................................................................... 5-5 5.1.7 debugging vty .......................................................................................................... 5-6 5.1.8 display configure-user ............................................................................................. 5-6 5.1.9 display user-interface .............................................................................................. 5-7 5.1.10 display users ......................................................................................................... 5-8 5.1.11 escape-key.......................................................................................................... 5-10 5.1.12 flow-control .......................................................................................................... 5-11 5.1.13 free user-interface ............................................................................................... 5-11 5.1.14 history-command max-size ................................................................................. 5-12 5.1.15 idle-timeout.......................................................................................................... 5-13 5.1.16 modem ................................................................................................................ 5-13 5.1.17 modem auto-answer ........................................................................................... 5-14 5.1.18 modem timer answer........................................................................................... 5-15 5.1.19 parity.................................................................................................................... 5-15
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
vi
5.1.20 protocol inbound.................................................................................................. 5-16 5.1.21 re-authentication ................................................................................................. 5-17 5.1.22 screen-length....................................................................................................... 5-18 5.1.23 send..................................................................................................................... 5-18 5.1.24 set authentication password................................................................................ 5-19 5.1.25 shell ..................................................................................................................... 5-20 5.1.26 speed................................................................................................................... 5-21 5.1.27 stopbits ................................................................................................................ 5-22 5.1.28 user privilege....................................................................................................... 5-22 5.1.29 user-interface ...................................................................................................... 5-23
Chapter 6 NTP Configuration Commands .................................................................................. 6-1 6.1.1 debugging ntp-service............................................................................................. 6-1 6.1.2 display ntp-service sessions ................................................................................... 6-2 6.1.3 display ntp-service status........................................................................................ 6-3 6.1.4 display ntp-service trace ......................................................................................... 6-4 6.1.5 ntp-service access .................................................................................................. 6-5 6.1.6 ntp-service authentication enable ........................................................................... 6-6 6.1.7 ntp-service authentication-keyid.............................................................................. 6-6 6.1.8 ntp-service broadcast-client .................................................................................... 6-7 6.1.9 ntp-service broadcast-server................................................................................... 6-8 6.1.10 ntp-service max-dynamic-sessions....................................................................... 6-9 6.1.11 ntp-service multicast-client.................................................................................... 6-9 6.1.12 ntp-service multicast-server ................................................................................ 6-10 6.1.13 ntp-service refclock-master ................................................................................. 6-11 6.1.14 ntp-service reliable authentication-keyid............................................................. 6-12 6.1.15 ntp-service source-interface................................................................................ 6-12 6.1.16 ntp-service unicast-peer...................................................................................... 6-13 6.1.17 ntp-service unicast-server ................................................................................... 6-14
Chapter 7 SNMP Configuration Commands ............................................................................... 7-1 7.1.1 debugging snmp-agent ........................................................................................... 7-1 7.1.2 display snmp-agent ................................................................................................. 7-1 7.1.3 display snmp-agent community............................................................................... 7-2 7.1.4 display snmp-agent group....................................................................................... 7-3 7.1.5 display snmp-agent mib-view.................................................................................. 7-4 7.1.6 display snmp-agent statistics .................................................................................. 7-5 7.1.7 display snmp-agent sys-info.................................................................................... 7-7 7.1.8 display snmp-agent trap-list .................................................................................... 7-8 7.1.9 display snmp-agent usm-user ................................................................................. 7-9 7.1.10 snmp-agent ......................................................................................................... 7-10 7.1.11 snmp-agent community....................................................................................... 7-10 7.1.12 snmp-agent group ............................................................................................... 7-11 7.1.13 snmp-agent local-engineid .................................................................................. 7-13
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
vii
7.1.14 snmp-agent mib-view .......................................................................................... 7-13 7.1.15 snmp-agent packet max-size .............................................................................. 7-14 7.1.16 snmp-agent sys-info............................................................................................ 7-15 7.1.17 snmp-agent target-host ....................................................................................... 7-16 7.1.18 snmp-agent trap enable ...................................................................................... 7-17 7.1.19 snmp-agent trap life ............................................................................................ 7-18 7.1.20 snmp-agent trap queue-size ............................................................................... 7-19 7.1.21 snmp-agent trap source ...................................................................................... 7-20 7.1.22 snmp-agent usm-user ......................................................................................... 7-20
Chapter 8 RMON Configuration Commands .............................................................................. 8-1 8.1 RMON Configuration Commands...................................................................................... 8-1
8.1.1 display rmon alarm.................................................................................................. 8-1 8.1.2 display rmon event .................................................................................................. 8-2 8.1.3 display rmon eventlog ............................................................................................. 8-3 8.1.4 display rmon history ................................................................................................ 8-4 8.1.5 display rmon prialarm.............................................................................................. 8-5 8.1.6 display rmon statistics ............................................................................................. 8-7 8.1.7 rmon alarm .............................................................................................................. 8-7 8.1.8 rmon event .............................................................................................................. 8-8 8.1.9 rmon history............................................................................................................. 8-9 8.1.10 rmon prialarm ...................................................................................................... 8-10 8.1.11 rmon statistics ..................................................................................................... 8-11
Chapter 9 Terminal Service Commands ..................................................................................... 9-1 9.1 Telnet and Telnet Redirect ................................................................................................ 9-1
9.1.1 debugging telnet...................................................................................................... 9-1 9.1.2 display tcp status..................................................................................................... 9-1 9.1.3 display telnet-server source-ip ................................................................................ 9-2 9.1.4 redirect bind vpn-instance ....................................................................................... 9-3 9.1.5 redirect enable......................................................................................................... 9-3 9.1.6 redirect listen-port ................................................................................................... 9-4 9.1.7 redirect timeout........................................................................................................ 9-4 9.1.8 redirect return-deal from-telnet................................................................................ 9-5 9.1.9 redirect return-deal from-terminal............................................................................ 9-6 9.1.10 redirect refuse-negotiation .................................................................................... 9-6 9.1.11 redirect disconnect ................................................................................................ 9-7 9.1.12 telnet...................................................................................................................... 9-7 9.1.13 telnet-server source-interface ............................................................................... 9-8 9.1.14 telnet-server source-ip .......................................................................................... 9-9 9.1.15 telnet source-interface......................................................................................... 9-10 9.1.16 telnet source-ip.................................................................................................... 9-10
9.2 SSH Server Configuration Commands............................................................................ 9-11 9.2.1 debugging ssh server............................................................................................ 9-11
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
viii
9.2.2 display rsa local-key-pair public ............................................................................ 9-12 9.2.3 display rsa peer-public-key ................................................................................... 9-13 9.2.4 display ssh server ................................................................................................. 9-14 9.2.5 display ssh-server source-ip ................................................................................. 9-15 9.2.6 display ssh user-information ................................................................................. 9-15 9.2.7 peer-public-key end............................................................................................... 9-16 9.2.8 public-key-code begin ........................................................................................... 9-16 9.2.9 public-key-code end .............................................................................................. 9-17 9.2.10 rsa local-key-pair create...................................................................................... 9-18 9.2.11 rsa local-key-pair destroy .................................................................................... 9-19 9.2.12 rsa peer-public-key.............................................................................................. 9-20 9.2.13 ssh authentication-type default ........................................................................... 9-21 9.2.14 ssh server authentication-retries......................................................................... 9-21 9.2.15 ssh server compatible_ssh1x enable.................................................................. 9-22 9.2.16 ssh server rekey-interval ..................................................................................... 9-23 9.2.17 ssh-server source-interface................................................................................. 9-23 9.2.18 ssh-server source-ip............................................................................................ 9-24 9.2.19 ssh server timeout............................................................................................... 9-25 9.2.20 ssh user............................................................................................................... 9-25 9.2.21 ssh user assign ................................................................................................... 9-26 9.2.22 ssh user authentication-type ............................................................................... 9-27 9.2.23 ssh user service-type .......................................................................................... 9-28
9.3 SSH Client Configuration Commands ............................................................................. 9-29 9.3.1 display ssh server-info .......................................................................................... 9-29 9.3.2 display ssh2 source-ip........................................................................................... 9-30 9.3.3 quit......................................................................................................................... 9-30 9.3.4 ssh client assign rsa-key ....................................................................................... 9-31 9.3.5 ssh client first-time enable..................................................................................... 9-31 9.3.6 ssh2....................................................................................................................... 9-32 9.3.7 ssh2 source-interface............................................................................................ 9-33 9.3.8 ssh2 source-ip ....................................................................................................... 9-34
9.4 SFTP Server Configuration Commands .......................................................................... 9-35 9.4.1 sftp server enable.................................................................................................. 9-35
9.5 SFTP Client Configuration Commands ........................................................................... 9-36 9.5.1 bye......................................................................................................................... 9-36 9.5.2 cd........................................................................................................................... 9-36 9.5.3 cdup....................................................................................................................... 9-37 9.5.4 delete..................................................................................................................... 9-37 9.5.5 dir .......................................................................................................................... 9-37 9.5.6 display sftp source-ip ............................................................................................ 9-38 9.5.7 exit ......................................................................................................................... 9-39 9.5.8 get ......................................................................................................................... 9-39
3Com Router 3000 Ethernet Family Command Reference Guide Table of Contents
3Com Corporation
ix
9.5.9 help........................................................................................................................ 9-40 9.5.10 ls.......................................................................................................................... 9-40 9.5.11 mkdir.................................................................................................................... 9-41 9.5.12 put ....................................................................................................................... 9-41 9.5.13 pwd...................................................................................................................... 9-42 9.5.14 quit....................................................................................................................... 9-42 9.5.15 remove ................................................................................................................ 9-43 9.5.16 rename ................................................................................................................ 9-43 9.5.17 rmdir .................................................................................................................... 9-44 9.5.18 sftp....................................................................................................................... 9-44 9.5.19 sftp source-interface............................................................................................ 9-45 9.5.20 sftp source-ip....................................................................................................... 9-46
9.6 RSH Commands.............................................................................................................. 9-47 9.6.1 rsh ............................................................................................