HP A8800 Series Fundamentals Command Reference

Hide thumbs Also See for A8800 Series:
Table of Contents

Advertisement

HP A8800 Routers
Fundamentals Command Reference
Part number: 5998-1753
Software version: A8800-CMW520-R3627
Document version: 6W102-20130906

Advertisement

Table of Contents
loading

Summary of Contents for HP A8800 Series

  • Page 1 HP A8800 Routers Fundamentals Command Reference Part number: 5998-1753 Software version: A8800-CMW520-R3627 Document version: 6W102-20130906...
  • Page 2 The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
  • Page 3: Table Of Contents

    Contents CLI configuration commands ······································································································································· 1   command-alias enable ············································································································································· 1   command-alias mapping ········································································································································· 1   command-privilege ··················································································································································· 2   display clipboard ····················································································································································· 3   display command-alias ············································································································································ 4   display history-command ········································································································································· 5   display hotkey ··························································································································································· 5  ...
  • Page 4 terminal type ·························································································································································· 41   user privilege level ················································································································································ 42   user-interface ·························································································································································· 43   FTP configuration commands ···································································································································· 45   FTP server configuration commands ····························································································································· 45   display ftp-server ···················································································································································· 45   display ftp-user ······················································································································································· 46   free ftp user ···························································································································································· 47  ...
  • Page 5 execute ··································································································································································· 82   fdisk ········································································································································································· 83   file prompt ······························································································································································ 85   fixdisk ······································································································································································ 85   format······································································································································································ 86   mkdir ······································································································································································· 87   more ········································································································································································ 87   mount ······································································································································································ 88   move ······································································································································································· 89   pwd ········································································································································································· 90   rename ····································································································································································...
  • Page 6 clock summer-time repeating ······························································································································ 126   clock timezone ····················································································································································· 127   copyright-info enable ·········································································································································· 128   display alarm ······················································································································································· 129   display alarm history ··········································································································································· 130   display buffer-manage configuration ················································································································ 131   display clipboard ················································································································································ 132   display clock ························································································································································ 132  ...
  • Page 7 Password recovery control command ···················································································································· 179   password-recovery enable ································································································································· 179   Support and other resources ·································································································································· 181   Contacting HP ······························································································································································ 181   Subscription service ············································································································································ 181   Related information ······················································································································································ 181   Documents ···························································································································································· 181   Websites ······························································································································································· 181  ...
  • Page 8: Cli Configuration Commands

    CLI configuration commands command-alias enable Syntax command-alias enable undo command-alias enable View System view Default level 2: System level Parameters None Description Use command-alias enable to enable the command keyword alias function. Use undo command-alias enable to disable the command keyword alias function. By default, the command keyword alias function is disabled.
  • Page 9: Command-Privilege

    Parameters cmdkey: Complete form of the first keyword of a command. alias: Specifies the command keyword alias, which must be different from the first keyword of any existing command. Description Use command-alias mapping to configure a command keyword alias. Use undo command-alias mapping to delete a command keyword alias. By default, a command keyword has no alias.
  • Page 10: Display Clipboard

    Command levels include four privileges: visit (0), monitor (1), system (2), and manage (3). You can assign a privilege level according to the user’s need. When logging in to the router, the user can access at the specified level and all lower levels. Inappropriate use of this command can cause maintenance, operation, and even security problems.
  • Page 11: Display Command-Alias

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display clipboard to view the contents of the clipboard. To copy the specified content to the clipboard: •...
  • Page 12: Display History-Command

    display history-command Syntax display history-command [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 13 exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display hotkey to display hotkey information. Examples # Display hotkey information.
  • Page 14: Hotkey

    hotkey Syntax hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } command undo hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } View System view Default level 2: System level Parameters CTRL_G: Associates hot key Ctrl+G to the specified command. CTRL_L: Associates hot key Ctrl+L to the specified command.
  • Page 15: Quit

    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.
  • Page 16: Return

    [Sysname-GigabitEthernet3/1/1] quit [Sysname] quit <Sysname> return Syntax return View Any view except user view Default level 2: System level Parameters None Description Use return to return to user view from any other view in one operation, instead of using the quit command multiple times.
  • Page 17: Super

    When the screen pause function is disabled, all output is displayed at one time and the screen is refreshes continuously. This command is applicable to the current session only. When a user re-logs in, the settings restore to their default values. Related commands: screen-length.
  • Page 18: Super Authentication-Mode

    super authentication-mode Syntax super authentication-mode { local | scheme } * undo super authentication-mode View System view Default level 2: System level Parameters local: Authenticates a user by using the local password set with the super password command. In this case, when no password is set with the super password command, privilege level switching succeeds if the user is logged in from the console port (here indicates the console port or the AUX port used as the console port), and the switch fails if the user is logged in from any of the AUX or VTY user interfaces or...
  • Page 19 View System view Default level 2: System level Parameters level user-level: Specifies a user privilege level in the range of 1 to 3. The default is 3. hash: Enables hash-based encryption. This keyword is not supported in FIPS mode. For more information about FIPS mode, see Security Configuration Guide.
  • Page 20: System-View

    [Sysname] super password level 3 simple abc system-view Syntax system-view View User view Default level 2: System level Parameters None Description Use system-view to enter system view from the current user view. Related commands: quit, return. Examples # Enter system view from the current user view. <Sysname>...
  • Page 21: Login Management Commands

    Login management commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. CLI login configuration commands All commands for Telnet are not available in FIPS mode.
  • Page 22: Telnet

    telnet Syntax telnet remote-host [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface interface-type interface-number | ip ip-address } ] View User view Default level 0: Visit level Parameters remote-host: IPv4 address or host name of a remote system, a case-insensitive string of 1 to 20 characters.
  • Page 23: Telnet Ipv6

    Default level 2: System level Parameters interface interface-type interface-number: Specifies a source interface. The primary IP address of this interface will be used as the source IPv4 address of outgoing Telnet packets. ip ip-address: Specifies a source IPv4 address. Description Use telnet client source to specify a source IPv4 address or a source interface for outgoing Telnet packets when the device serves as a Telnet client.
  • Page 24: Telnet Server Enable

    vpn-instance vpn-instance-name: Specifies the MPLS L3VPN the remote system belongs to, where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the remote system is on the public network, do not specify this option. Description Use telnet ipv6 to Telnet to a host to remotely manage the host in an IPv6 network. To stop the current Telnet login, press Ctrl+K or use the quit command.
  • Page 25 acl acl-number inbound undo acl acl-number inbound View VTY user interface view Default level 2: System level Parameters ipv6: When this keyword is present, the command supports IPv6; otherwise, it supports IPv4. acl-number: Number of the ACL: Basic ACL—2000 to 2999. •...
  • Page 26: Activation-Key

    After your configuration, user A (with IP address 192.168.1.26) can Telnet to the device while user B (with IP address 192.168.1.60) cannot Telnet to the device. Upon a connection failure, a message appears, saying "%connection closed by remote host!" # Allow the device to only Telnet to the Telnet server with IP address 192.168.1.41. <Sysname>...
  • Page 27: Auto-Execute Command

    NOTE: The activation-key command is not supported by the VTY user interface. Examples # Configure character s as the shortcut key for starting a terminal session on the console port. <Sysname> system-view [Sysname] user-interface console 0 [Sysname-ui-console0] activation-key s To verify the configuration: Exit the terminal session on the console port.
  • Page 28 command: Specifies a command to be automatically executed. Description Use auto-execute command to specify a command to be automatically executed when a user logs in to the current user interface. Use undo auto-execute command to remove the configuration. By default, command auto-execution is disabled. The auto-execute command command is not supported by the console port, or the AUX port when the router has only one AUX port and no console port.
  • Page 29: Authentication-Mode

    ****************************************************************************** <Sysname> This operation is the same as directly logging in to the device at 192.168.1.41. If the Telnet connection to 192.168.1.41 is broken down, the Telnet connection to 192.168.1.40 breaks down at the same time. authentication-mode Syntax In non-FIPS mode: authentication-mode { none | password | scheme } undo authentication-mode In FIPS mode:...
  • Page 30: Command Accounting

    [Sysname-ui-vty0] authentication-mode password [Sysname-ui-vty0] set authentication password simple 321 # Set to authenticate users by username and password when the users log in to the router through VTY 0. Set the username to 123 and the password to 321. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] authentication-mode scheme [Sysname-ui-vty0] quit...
  • Page 31: Command Authorization

    command authorization Syntax command authorization undo command authorization View User interface view Default level 3: Manage level Parameters None Description Use command authorization to enable command authorization. Use undo command authorization to restore the default. By default, command authorization is disabled. Logged-in users can execute commands without authorization.
  • Page 32: Display User-Interface

    Description Use databits to set data bits for each character. Use undo databits to restore the default. By default, 8 data bits are set for each character. NOTE: The command is only applicable to asynchronous serial interfaces, including AUX and console ports. •...
  • Page 33 regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display user-interface to display information about the specified or all user interfaces. If the summary keyword is not included, the command displays the type of the user interface, the absolute or relative number, the transmission rate, the user privilege level, the authentication mode, and the access interface.
  • Page 34: Display Users

    <Sysname> display user-interface summary User interface type : [CON] 0:XX User interface type : [AUX] 2:XX User interface type : [VTY] 20:UXXX XXXX XXXX XXXX 1 character mode users. 19 UI never used. 1 total UI in use Table 4 Command output Field Description User interface type...
  • Page 35: Escape-Key

    Use display users all to display information about all user interfaces supported by the router. Examples # Display information about the user interfaces that are being used. <Sysname> display users The user application information of the user interface(s): Idx UI Delay Type Userlevel VTY 0...
  • Page 36: Flow-Control

    character: Specifies the escape key for aborting a task, a single character (or its corresponding ASCII code value in the range of 0 to 127) or a string of 1 to 3 characters. Only the first character of a string functions as the escape key.
  • Page 37: Free User-Interface

    flow-control { hardware | none | software } undo flow-control View User interface view Default level 2: System level Parameters hardware: Performs hardware flow control. none: Performs no flow control. software: Performs software flow control. Description Use flow-control to configure flow control mode. Use undo flow-control to restore the default.
  • Page 38: History-Command Max-Size

    Parameters num1: Absolute number of a user interface. aux: AUX user interface. console: Console user interface. vty: VTY user interface. num2: Relative number of a user interface. For information about valid values, see Fundamentals Configuration Guide. Description Use free user-interface to release the connection established on the specified user interface. This command cannot release the connection that you are using.
  • Page 39: Idle-Timeout

    size-value: Specifies the number of history commands that the buffer can store. The value ranges from 0 to 256. Description Use history-command max-size to set the size of history command buffer of the current user interface. Use undo history-command max-size to restore the default. By default, the buffer saves 10 history commands.
  • Page 40: Ip Alias

    Examples # Set the idle-timeout timer to 1 minute and 30 seconds. <Sysname> system-view [Sysname] user-interface console 0 [Sysname-ui-console0] idle-timeout 1 30 ip alias Syntax ip alias ip-address port-number undo ip alias ip-address View System view Default level 2: System level Parameters ip-address: IP address associated to the Telnet redirect listening port.
  • Page 41: Parity

    In non-FIPS mode, use lock to lock the user interface by password protection. This method prevents unauthorized users from using the user interface. When entering the lock command, you are asked to enter a password (up to 16 characters) and then confirm it by entering the password again.
  • Page 42: Protocol Inbound

    space: Performs a space parity check. Description Use parity to set a parity check method. Use undo parity to restore the default. By default, no parity check is performed. NOTE: The command is only applicable to asynchronous serial interfaces, including AUX and console ports. •...
  • Page 43: Screen-Length

    CAUTION: Before configuring a user interface to support SSH, set the authentication mode to scheme for users • logging in through the user interface; otherwise, the protocol inbound ssh command fails. For more information, see authentication-mode. By default, the authentication mode of the Telnet protocol is password. •...
  • Page 44: Send

    send Syntax send { all | num1 | { aux | console | vty } num2 } View User view Default level 1: Monitor level Parameters all: Sends messages to all user interfaces. num1: Absolute number of a user interface. aux: AUX user interface.
  • Page 45: Set Authentication Password

    VTY 0 00:00:00 TEL VTY 1 00:00:03 TEL Following are more details. VTY 0 Location: 192.168.1.26 VTY 1 Location: 192.168.1.20 : Current operation user. : Current operation user work in async mode. // The output shows that you are using VTY 0 and another user is using VTY 1. Send a notification to the user of VTY1.
  • Page 46: Shell

    password Table 6 Password length and form requirements for the argument Keyword combination Password string form Length (in characters) simple Plain text 1 to 16 hash simple Plain text 1 to 16 Plain text: 1 to 16 cipher Plain text, ciphertext Ciphertext: 1 to 53 hash cipher Ciphertext (hashed form)
  • Page 47: Speed (User Interface View)

    Use undo shell to disable terminal services on the current user interface. The console user interface does not support the undo shell command. The AUX user interface does not support the undo shell command when the router has only one AUX port and no console port.
  • Page 48: Stopbits

    # Set the transmission rate on the user interface AUX 0 to 19200 bps. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] speed 19200 stopbits Syntax stopbits { 1 | 1.5 | 2 } undo stopbits View User interface view Default level 2: System level Parameters 1: One stop bit.
  • Page 49: User Privilege Level

    User interface view Default level 2: System level Parameters ansi: Specifies the terminal display type as ANSI. vt100: Specifies the terminal display type as VT100. Description Use terminal type to configure the type of terminal display under the current user interface. Use undo terminal type to restore the default.
  • Page 50: User-Interface

    This command is not supported in FIPS mode. Examples # Set the command level for the user logging in from VTY 0 to 0. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] user privilege level 0 After you Telnet to the device through VTY 0, the terminal only displays commands of level 0 in the help information: <Sysname>...
  • Page 51 In multiple user interface views, the configuration takes effect in these user views. Examples # Enter console user interface view. <Sysname> system-view [Sysname] user-interface console 0 [Sysname-ui-console0] # Enter the user interface view of VTY 0 to 4. <Sysname> system-view [Sysname] user-interface vty 0 4 [Sysname-ui-vty0-4]...
  • Page 52: Ftp Configuration Commands

    FTP configuration commands All commands for FTP are not available in FIPS mode. For more information about FIPS, see Security Configuration Guide. FTP server configuration commands display ftp-server Syntax display ftp-server [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 53: Display Ftp-User

    Field Description User count Number of the current login users. Allowed idle time of an FTP connection. If there is no packet exchange Timeout value (in minute) between the FTP server and client during this period, the FTP connection will be disconnected. Put Method Put method, fast or normal.
  • Page 54: Free Ftp User

    Field Description HostIP IP address of the currently logged-in user. Port Port that the currently logged-in user is using. Idle Duration time of the current FTP connection, in minutes. HomeDir Authorized path of the currently logged-in user. free ftp user Syntax free ftp user username View...
  • Page 55: Ftp Server Enable

    Description Use ftp server acl to control FTP clients’ access to the FTP server by using an ACL. Use undo ftp server acl to restore the default. By default, no ACL is used to control FTP clients’ access to the FTP server. By using an ACL, the FTP server can deny FTP requests from certain FTP clients, preventing unauthorized access.
  • Page 56: Ftp Timeout

    ftp timeout Syntax ftp timeout minute undo ftp timeout View System view Default level 3: Manage level Parameters minute: Idle-timeout time in minutes, in the range of 1 to 35791. Description Use ftp timeout to set the idle-timeout time. Use undo ftp timeout to restore the default. By default, the FTP idle time is 30 minutes.
  • Page 57: Ftp Client Configuration Commands

    Use ascii to set the file transfer mode to ASCII. By default, the file transfer mode is ASCII. The carriage return characters vary with operating systems. For example, HP and Windows use characters /r/n, and Linux uses characters /n. To transfer files between two systems that use different carriage return characters, determine FTP transfer mode according to the file type.
  • Page 58: Binary

    binary Syntax binary View FTP client view Default level 3: Manage level Parameters None Description Use binary to set the file transfer mode to binary (also called the flow mode). By default, the transfer mode is ASCII mode. Related commands: ascii. Examples # Set the file transfer mode to binary.
  • Page 59: Cdup

    Syntax cd { directory | .. | / } View FTP client view Default level 3: Manage level Parameters directory: Name of the target directory, in the format of [drive:][/]path, where drive represents the storage medium name, typically Flash or CF. If the target directory does not exist, the cd command does not change the current working directory.
  • Page 60: Close

    View FTP client view Default level 3: Manage level Parameters None Description Use cdup to go to the upper directory of the FTP server. If you execute this command in the FTP root directory, this command does not change the working directory.
  • Page 61: Debugging

    debugging Syntax debugging undo debugging View FTP client view Default level 1: Monitor level Parameters None Description Use debugging to enable FTP client debugging. Use undo debugging to disable FTP client debugging. By default, FTP client debugging is disabled. Examples # The router serves as the FTP client.
  • Page 62: Delete

    The parsed reply is 150 FTPC: File transfer started with the signal light turned on. FTPC: File transfer completed with the signal light turned off. .226 Transfer complete. FTP: 3304 byte(s) received in 4.889 second(s), 675.00 byte(s)/sec. [ftp] Table 9 Command output Field Description FTP command.
  • Page 63: Dir

    Syntax dir [ remotefile [ localfile ] ] View FTP client view Default level 3: Manage level Parameters remotefile: Name of the file or directory on the remote FTP server. localfile: Name of the local file to save the displayed information. Description Use dir to display detailed information about the files and subdirectories under the current directory on the FTP server.
  • Page 64: Disconnect

    [ftp] quit <Sysname> more aa.txt -rwxrwxrwx 1 noone nogroup 3077 Jun 20 15:34 router.cfg disconnect Syntax disconnect View FTP client view Default level 3: Manage level Parameters None Description Use disconnect to disconnect from the remote FTP server but remain in FTP client view. This command is equal to the close command.
  • Page 65: Ftp

    Description Use display ftp client configuration to display the source IP address configuration of the FTP client. The display ftp client configuration command displays the source IP address configuration of the FTP client. If the specified source IP address is active, this command displays the source IP address. If the specified source interface is active, this command displays the source interface.
  • Page 66: Ftp Client Source

    The source IP address specified with the ftp command has higher priority than that specified with the ftp client source command and thus is preferably used. Related commands: ftp client source. Examples # Log in from the current router Sysname1 to the router Sysname2 with the IP address of 192.168.0.21 1. The source IP address of the packets sent is 192.168.0.212.
  • Page 67: Ftp Ipv6

    The source IP address specified with the ftp client source command applies to all FTP connections while the one specified with the ftp command applies to the current FTP connection only. Related commands: display ftp client configuration. Examples # Specify the source IP address of packets sent to an FTP server as 2.2.2.2. <Sysname>...
  • Page 68: Get

    Examples # Log in to the FTP server with IPv6 address 3000::200. <Sysname> ftp ipv6 3000::200 Trying 3000::200 ... Press CTRL+K to abort Connected to 3000::200. 220 Welcome! User(3000::200:(none)): MY_NAME 331 Please specify the password. Password: 230 Login successful. [ftp] # Log in to the FTP server with IPv6 address 3000::200 in VPN 1.
  • Page 69: Lcd

    125 ASCII mode data connection already open, transfer starting for /testcfg.cfg..226 Transfer complete. FTP: 5190 byte(s) received in 7.754 second(s), 669.00 byte(s)/sec. Syntax View FTP client view Default level 3: Manage level Parameters None Description Use lcd to display the local working directory of the FTP client. Examples # Display the local working directory.
  • Page 70: Mkdir

    The ls command displays only the names of files and directories on the FTP server. The dir command displays more information about the files and directories, such as the size and the creation date. Examples # List all files and subdirectories in the current directory of the FTP server. [ftp] ls 227 Entering Passive Mode (192,168,1,50,17,165).
  • Page 71: Open

    Default level 3: Manage level Parameters directory: Name of the directory to be created. Description Use mkdir to create a subdirectory under the current working directory on the remote FTP server. To do this, you must be a user with the permission on the FTP server. Examples # Create subdirectory mytest on the current working directory of the remote FTP server.
  • Page 72: Open Ipv6

    331 Password required for aa. Password: 230 User logged in. [ftp] open ipv6 Syntax open ipv6 server-address [ service-port ] [ -i interface-type interface-number ] View FTP client view Default level 3: Manage level Parameters server-address: IP address or host name of the remote FTP server. service-port: Port number of the remote FTP server, in the range of 0 to 65535.
  • Page 73: Passive

    passive Syntax passive undo passive View FTP client view Default level 3: Manage level Parameters None Description Use passive to set the data transmission mode to passive. Use undo passive to set the data transmission mode to active. The default transmission mode is passive. Data transmission modes fall into the passive mode and the active mode.
  • Page 74: Pwd

    By default, if no name is assigned to the file to be saved on the FTP server, the name of the source file is used. After a file is uploaded, it will be saved under the user’s authorized directory, which can be set by issuing the authorization-attribute command on the remote server.
  • Page 75: Remotehelp

    SYST STAT* HELP NOOP* XCUP XCWD XMKD XPWD XRMD 214 Direct comments to HP company. # Display the help information for the user command. [ftp] remotehelp user 214-The following commands are recognized (* =>'s unimplemented). USER PORT STOR MSAM* RNTO...
  • Page 76 SMNT* STRU MAIL* ALLO* STAT XRMD SIZE* REIN MODE MSND* REST* XCWD HELP MDTM* QUIT RETR MSOM* RNFR LIST NOOP XPWD 214 Direct comments about WFTPD to alun@texis.com. [ftp] Table 10 Command output Field Description USER Username. PASS Password. Change the current working directory. CDUP Change to parent directory.
  • Page 77: Rmdir

    Field Description HELP Help. NOOP* No operation. XCUP Extension command, the same as CDUP. XCWD Extension command, the same as CWD. XMKD Extension command, the same as MKD. XPWD Extension command, the same as PWD. XRMD Extension command, the same as RMD. Syntax of the user command: user (keyword) + space + Syntax: USER <sp>...
  • Page 78: Verbose

    View FTP client view Default level 3: Manage level Parameters username: Login username. password: Login password. You can input this argument a space after the username argument; or you can input this argument when the "Password:" prompt appears after you input the username and then press Enter.
  • Page 79 Description Use verbose to enable display of detailed prompt information received from the server. Use undo verbose to disable display of detailed prompt information. By default, the display of detailed prompt information is enabled. Examples # Enable display of detailed prompt information. [ftp] verbose FTP: verbose is on # Disable display of detailed prompt information and perform a Get operation.
  • Page 80: Tftp Configuration Commands

    TFTP configuration commands All commands for TFTP are not available in FIPS mode. For more information about FIPS, see Security Configuration Guide. display tftp client configuration Syntax display tftp client configuration [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 81: Tftp

    Default level 3: Manage level Parameters ipv6: References an IPv6 ACL. If it is not specified, an IPv4 ACL is referenced. acl-number: Number of a basic ACL, in the range of 2000 to 2999. Description Use tftp-server acl to control the router’s access to a specific TFTP server using an ACL. Use undo tftp-server acl to restore the default.
  • Page 82: Tftp Client Source

    destination-filename: Destination file name. If this argument is not specified, the file uses the source file name and is saved in the directory where the user performed the TFTP operation. get: Downloads a file in normal mode. put: Uploads a file. sget: Downloads a file in secure mode.
  • Page 83: Tftp Ipv6

    View System view Default level 2: System level Parameters interface interface-type interface-number: Specifies the source interface for establishing TFTP connections. The primary IP address of the source interface is used as the source IP address of packets sent to a TFTP server. If the source interface has no primary IP address specified, no TFTP connection can be established.
  • Page 84 Default level 3: Manage level Parameters tftp-ipv6-server: IPv6 address or host name (a string of 1 to 46 characters) of a TFTP server. -i interface-type interface-number: Specifies the egress interface by its type and number. This parameter can be used only in case that the TFTP server address is a link local address and the specified egress interface must have a link local address.
  • Page 85: File Management Commands

    File management commands Throughout this document, a filename can be entered as either of the following: A fully qualified filename with the path included to indicate a file under a specific path. The • filename can be 1 to 135 characters in length, excluding the ending character. A short filename with the path excluded to indicate a file in the current working path.
  • Page 86: Copy

    copy Syntax copy fileurl-source fileurl-dest View User view Default level 3: Manage level Parameters fileurl-source: Name of the source file. fileurl-dest: Name of the target file or folder. Description Use copy to copy a file. If you specify a target folder, the system copies the file to the specified folder and uses the name of the source file as the file name.
  • Page 87: Delete

    The computed digest can be used to verify the integrity of the file. For example, you can use the command to compute the digest of a software image file, and compare the digest with that advertised on the HP website to verify whether the file is valid. Examples # Use the SHA-256 algorithm to compute the digest of the file 1.cfg.
  • Page 88: Dir

    Syntax dir [ /all ] [ file-url | /all-filesystems ] View User view Default level 3: Manage level Parameters /all: Displays all files and folders in the current directory, including hidden files, hidden folders, files moved from the current directory to the recycle bin. Files in the recycle bin are enclosed in square brackets [ ].
  • Page 89: Execute

    -rw- Jan 13 2012 18:46:52 1sshutdown.bat -rw- Jan 13 2012 18:47:42 test.bat -rw- Feb 09 2012 14:19:27 pubey -rw- Apr 27 2012 10:45:00 dd.txt 129794 KB total (129343 KB free) Directory of cf0:/ drw- Nov 25 2009 15:34:32 logfile drw- Jun 18 2000 20:03:02 diaglog -rw-...
  • Page 90: Fdisk

    Description Use execute to execute the specified batch file. Batch files are command line files. Executing a batch file is to execute a set of command lines in the file. Do not include invisible characters in a batch file. If an invisible character is found during the execution, the batch process aborts and the commands that have been executed cannot be cancelled.
  • Page 91 Examples # Divide the CF card on the router evenly into three partitions in simple mode. <Sysname> fdisk cf: 3 The capacity of cf: : 244M bytes cf: will be divided into the following partition(s): DeviceName Capacity cf0: 81MB cf1: 81MB cf2: 82MB...
  • Page 92: File Prompt

    cf2: 104MB All data on cf: will be lost, proceed with fdisk? [Y/N]:y Now begin to fdisk cf:, please wait... done. Reset (default) paths for files as needed, such as log file, ftp root directory, etc. file prompt Syntax file prompt { alert | quiet } View System view Default level...
  • Page 93: Format

    You can execute the fixdisk command for the storage medium on the active MPU, but you cannot execute the command for the storage medium on the standby MPU. Examples # Restore the space of the flash. <Sysname> fixdisk flash: Fixdisk flash: may take some time to complete. %Fixdisk flash: completed.
  • Page 94: Mkdir

    mkdir Syntax mkdir directory View User view Default level 3: Manage level Parameters directory: Name of a folder. Description Use mkdir to create a folder under a specified directory on the storage medium. The name of the folder to be created must be unique in the specified directory. Otherwise, you will fail to create the folder in the directory.
  • Page 95: Mount

    Use more to display the contents of the specified file. This command is valid only for text files. Examples # Display the contents of file test.txt. Welcome to HP. # Display the contents of file testcfg.cfg. <Sysname> more testcfg.cfg version 5.20, Beta 1201, Standard...
  • Page 96: Move

    By default, a storage medium is automatically mounted and in the mounted state after connected to the router, so you can use it without mounting it. Do not remove the storage medium or swap a card when mounting or unmounting the router, or when you are processing files on the storage medium.
  • Page 97: Pwd

    CAUTION: The source file and target file must be on the same device. You cannot more files between devices of different types; otherwise, the move command cannot be executed. Examples # Move file flash:/test/sample.txt to flash:/, and save it as 1.txt. <Sysname>...
  • Page 98: Reset Recycle-Bin

    Parameters fileurl-source: Name of the source file or folder. fileurl-dest: Name of the target file or folder. Description Use rename to rename a file or folder. The target file name must be unique in the current path. Examples # Rename file sample.txt as sample.bat. <Sysname>...
  • Page 99: Rmdir

    rmdir Syntax rmdir directory View User view Default level 3: Manage level Parameters directory: Name of the folder. Description Use rmdir to remove a folder. The folder must be empty. If not, you need to delete all files and subfolders under it with the delete command.
  • Page 100: Undelete

    When mounting or unmounting a storage medium, or performing file operations on it, do not unplug or switchover the storage medium or the card where the storage medium resides. Otherwise, the file system could be damaged. When a storage medium is connected to a lower version system, the system may not be able to recognize the router automatically, and you need to use the mount command for the storage medium to function normally.
  • Page 101: Usb Disable

    <Sysname> undelete sample.bak Undelete flash:/sample.bak? [Y/N]:y … % Undeleted file flash:/sample.bak usb disable Syntax usb disable undo usb disable View System view Default level 3: Manage level Parameters None Description Use usb disable to disable all USB ports. Use undo usb disable to enable all USB ports. By default, all USB ports are enabled.
  • Page 102: Configuration File Management Commands

    Configuration file management commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. archive configuration Syntax archive configuration...
  • Page 103: Archive Configuration Interval

    archive configuration interval Syntax archive configuration interval minutes undo archive configuration interval View System view Default level 3: Manage level Parameters minutes: Specifies the interval (in minutes) for automatically saving the running configuration, in the range of 10 to 525,600 (365 days). Description Use archive configuration interval to enable automatic running configuration archiving and set the archiving interval.
  • Page 104: Archive Configuration Location

    archive configuration location Syntax archive configuration location directory filename-prefix filename-prefix undo archive configuration location View System view Default level 3: Manage level Parameters directory: Specifies a configuration archive directory, a case-insensitive string of 1 to 63 characters. The directory must take the format storage-media-name:/folder-name. This directory must already exist on the active MPU.
  • Page 105: Archive Configuration Max

    %Created dir flash:/archive. Create the directory on the standby MPU in slot 1. <Sysname> mkdir slot1#flash:/archive %Created dir slot1#flash:/archive. Specify the directory as the configuration archive directory, and configure an archive file name prefix. <Sysname> system-view [Sysname] archive configuration location flash:/archive filename-prefix my_archive archive configuration max Syntax archive configuration max file-number...
  • Page 106: Backup Startup-Configuration

    backup startup-configuration Syntax backup startup-configuration to dest-addr [ dest-filename ] View User view Default level 2: System level Parameters dest-addr: Specifies a TFTP server's IPv4 address or name, a string of 1 to 20 characters. dest-filename: Specifies the target file name used for saving the file on the server. The file extension must be .cfg.
  • Page 107: Display Archive Configuration

    To replace the running configuration with the configuration in a configuration file without rebooting the device, use the configuration rollback function. This function helps you revert to a previous configuration state or adapt the running configuration to different network environments. To avoid rollback failure: Do not remove or install a card while the system is executing the configuration replace file •...
  • Page 108: Display Current-Configuration

    Filename prefix: my_archive Archive interval in minutes: 120 Maximum number of archive files: 10 Saved archive files: No. TimeStamp FileName Aug 05 2007 20:24:54 my_archive_1.cfg Aug 05 2007 20:34:54 my_archive_2.cfg Aug 05 2007 20:44:54 my_archive_3.cfg '#' indicates the most recent archive file. Next archive file to be saved: my_archive_4.cfg Table 12 Command output Field...
  • Page 109: Display Saved-Configuration

    controller [ interface-type [ interface-number ] ]: Displays the controller configuration, for example, CE1/PRI interface configuration. For more information, see Interface Configuration Guide. interface [ interface-type [ interface-number ] ]: Displays interface configuration, where the interface-type argument represents the interface type and the interface-number argument represents the interface number.
  • Page 110 Parameters by-linenum: Identifies each line of displayed information with a line number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 111: Display Startup

    user-interface con 0 user-interface aux 0 user-interface vty 0 4 authentication-mode none return The configurations are displayed in the order of global, port, and user interface. display startup Syntax display startup [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 112: Display This

    display this Syntax display this [ by-linenum ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters by-linenum: Displays the number of each line. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 113: Reset Saved-Configuration

    reset saved-configuration Syntax reset saved-configuration View User view Default level 3: Manage level Parameters None Description Use reset saved-configuration to delete next-startup configuration files. Delete the next-startup configuration file if it does not match the software version or has been corrupted. Use this command with caution.
  • Page 114: Save

    Description Use restore startup-configuration in non-FIPS mode to download a configuration file from a TFTP server and specify it as the next-startup configuration file. This command is not supported in FIPS mode. Before restoring the configuration file for the next startup, make sure the server is reachable, the server is enabled with TFTP service, and you have read and write permissions.
  • Page 115 safely: Saves the configuration file in safe mode. If this keyword is not specified, the system saves the configuration file in fast mode. Safe mode is slower than fast mode, but more secure. In safe mode, the system saves configuration in a temporary file and starts overwriting the target next-startup configuration file after the save operation is complete.
  • Page 116: Slave Auto-Update Config

    Next startup saved-configuration file: flash:/vrpcfg.cfg Slot 1: Current startup saved-configuration file: flash:/startup.cfg Next startup saved-configuration file: flash:/vrpcfg.cfg The output shows that the next-startup configuration file has changed from bb.cfg to vrpcfg .cfg on both active MPU and standby MPU. # Save the running configuration to the configuration file test.cfg on the standby MPU in slot 1. Approach 1: •...
  • Page 117: Startup Saved-Configuration

    Examples # Enable configuration auto-update. <Sysname> system-view [Sysname] slave auto-update config startup saved-configuration Syntax startup saved-configuration cfgfile undo startup saved-configuration View User view Default level 3: Manage level Parameters cfgfile: Specifies a configuration file name with the extension .cfg. The file must be stored in the root directory of the storage media or the first partition of the storage media.
  • Page 118: Software Upgrade Commands

    Software upgrade commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. boot-loader Syntax boot-loader file file-url slot slot-number { main | backup }...
  • Page 119: Boot-Loader Update

    Examples # Specify test.bin as the main system software image to be used at the next startup. <Sysname> boot-loader file cf0:/test.bin slot 0 main This command will set boot file, Continue? [Y/N]:y The specified file will be used as the main boot file at the next reboot! boot-loader update Syntax boot-loader update slot slot-number...
  • Page 120: Display Boot-Loader

    <Sysname> bootrom update file test.bin slot 6 This command will update bootrom file on the specified board(s), Continue? [Y/N]:y Now updating bootrom, please wait... #Aug 21 15:08:30:383 2007 HP DEV/1/BOARD REQUEST LOADING: Trap 1.3.6.1.4.1.2011.2.23.1.12.1.18<hwRequestLoading>: frameIndex is 0, slotIndex 0.6 #Aug 21 15:08:30:553 2007 HP DEV/1/LOAD FINISHED: Trap 1.3.6.1.4.1.2011.2.23.1.12.1.20<hwLoadFinished>: frameIndex is 0, slotIndex 0.6...
  • Page 121: Display Patch

    Parameters slot slot-number: Specifies the slot number of a card. If no card is specified, this command displays the system software images on all cards. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 122: Display Patch Information

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display patch to display patch files that have been installed. If a patch file is loaded from a patch package file, this command also displays the package file version.
  • Page 123: Logic Update

    Examples # Display patch information. <Sysname> display patch information The location of patches: flash: Slot Version Temporary Common Current Active Running Start-Address ---------------------------------------------------------------------- RPE004 0x310bd74 100001 0x1bb87ac OAM001 0x1bb87ac Table 15 Command output Field Description Patch file location. You can use the patch location command to change the The location of patches location.
  • Page 124: Patch Active

    subcard: Upgrades the subcard CPLD. Description Use logic update to upgrade CPLD for an interface card. If you install an interface card during a CPLD upgrade, the system can supply power to the card only after the upgrade is complete. Examples # Upgrade the CPLD of the card in slot 2 through the MBUS daughter card.
  • Page 125: Patch Delete

    View System view Default level 3: Manage level Parameters patch-number: Speifies the sequence number of a patch. Values available for this argument depend on the patch file that has been loaded. If no sequence number is specified, this command deactivates all ACTIVE patches.
  • Page 126: Patch Install

    Examples # Remove patch 3 and all its subsequent patches from the patch memory area on the MPU in slot 1. <Sysname> system-view [Sysname] patch delete 3 slot 1 # Remove all patches from the patch memory area on the MPU in slot 1. <Sysname>...
  • Page 127: Patch Load

    Examples # Install the patches on the flash and specify the patches to remain in RUNNING state after system reboot. <Sysname> system-view [Sysname] patch install flash: Make sure the patch files saved on the AMB and SMB are the same. Patches will be installed.
  • Page 128: Patch Location

    System view Default level 3: Manage level Parameters patch-location: Specifies the patch file location, a string of 1 to 64 characters. HP recommends using the root directory of a storage medium. Description Use patch location to configure the patch file location.
  • Page 129 Default level 3: Manage level Parameters patch-number: Specifies the sequence number of a patch. Values available for this argument depend on the patch file that has been loaded. If no sequence number is specified, this command confirms all ACTIVE patches and changes their state to RUNNING. If a sequence number is specified, this command confirms the specified ACTIVE patch and all its previous patches, and changes their state to RUNNING.
  • Page 130: Device Management Commands

    Device management commands In this document, SPC cards refer to the cards with silkscreen staring with SPC, for example, SPC-GT48L, SPE cards refer to the cards with silkscreen staring with SPE, for example, SPE- 1 020-E-II. File names in this document comply with the following rules: Path + file name (namely, a full file name): File on a specified path.
  • Page 131: Card-Mode

    Examples # Set the size of the shared transmit buffer on the service card in slot 3 to 2048 blocks. <Sysname> system-view [Sysname] buffer-manage egress slot 3 share-size 2048 card-mode Syntax card-mode slot slot-number subslot subslot-number mode-name View System view Default level 2: System level Parameters...
  • Page 132: Clock Summer-Time One-Off

    Parameters time: Specifies a time, in the hh:mm:ss format. The hh value ranges from 00 to 23, the mm value ranges from 00 to 59, and the ss value ranges from 00 to 59. Zeros can be omitted, unless you specify 00:00:00.
  • Page 133: Clock Summer-Time Repeating

    Description Use clock summer-time one-off to adopt daylight saving time from the start-time of the start-date to the end-time of the end-date. Daylight saving time adds the add-time to the standard time of the router. Use undo clock summer-time to cancel the configuration of the daylight saving time. By default, daylight saving time is disabled and the UTC time zone applies.
  • Page 134: Clock Timezone

    end-date: Specifies an end date, which can be set in the following ways: • Enter the year, month and date at one time, in the MM/DD/YYYY or YYYY/MM/DD format. Enter the year, month and date one by one, separated by spaces. The year ranges from 2000 to •...
  • Page 135: Copyright-Info Enable

    zone-offset: Specifies an offset to the UTC, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00. Description Use clock timezone to set the local time zone. Use undo clock timezone to restore the default UTC time zone. By default, the local time zone is UTC zone.
  • Page 136: Display Alarm

    ****************************************************************************** <Sysname> When a console user quits user view, the following message appears: • ****************************************************************************** * Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. ****************************************************************************** User interface con0 is available. Please press ENTER.
  • Page 137: Display Alarm History

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display alarm to display the alarm information on the router. After this command is configured, the system automatically queries the current alarm information on the boards and displays the alarm information.
  • Page 138: Display Buffer-Manage Configuration

    Description Use display alarm history to display historical alarm information. The device can store up to 100 alarms. This command displays all stored alarms in chronological order. If no alarms are stored, the system displays "No alarm information." Examples # Display historical alarm information. <Sysname>...
  • Page 139: Display Clipboard

    Description Use display buffer-manage configuration to display the configuration of the shared buffer on the specified card. Examples # Display the configuration of the shared buffer on card 3. <Sysname> display buffer-manage configuration slot 3 Ingress: the number of shared buffer units for received packets Egress: the number of shared buffer units for sent packets Slot No.
  • Page 140: Display Copyright

    display clock [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 141: Display Cpu-Usage

    Description Use display copyright to display the software and hardware copyright statements. With this command, you can view the software and hardware copyright statements, and third-party software license agreements. Examples # Display the software and hardware copyright statements. <Sysname> display copyright display cpu-usage Syntax display cpu-usage [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include }...
  • Page 142 Examples # Display the current CPU usage statistics. <Sysname> display cpu-usage Slot 3 CPU usage: 4% in last 5 seconds 0% in last 1 minute 0% in last 5 minutes Slot 3 CPU 1 CPU usage: 1% in last 5 seconds 1% in last 1 minute 0% in last 5 minutes Slot 6 CPU usage:...
  • Page 143: Display Cpu-Usage History

    Field Description Information of CPU usage records (no: The (no+1)th record is displayed. no numbers from 0, a smaller number equals a newer CPU usage info (no: idx:) record. idx: index of the current record in the history record table). If only the information of the current record is displayed, no and idx are not displayed.
  • Page 144 include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display cpu-usage history to display historical CPU usage statistics in charts. If no argument is specified, the CPU usage of the active MPU is displayed.
  • Page 145: Display Device

    10%: 15 minutes ago • • 5%: 16 and 17 minutes ago 10%: 18 minutes ago • 5%: 19 minutes ago • • 2% or lower than 2%: other time # Display the CPU usage statistics of the primary CPU for task 6. <Sysname>...
  • Page 146 Parameters cf-card: Displays CF card information. slot slot-number: Displays information about the specified card. The slot-number argument represents the slot number of a card. subslot subslot-number: Displays information about the specified subcard. The subslot-number represents the subslot of a subcard. verbose: Displays detailed information.
  • Page 147: Display Device Manuinfo

    This command displays part of the electronic label data. Examples # Display the electronic label data for the device. <Sysname> display device manuinfo Slot 0: DEVICE_NAME : HP A8800 Single Fabric MPU JC597A DEVICE_SERIAL_NUMBER : CN26F2M002 MAC_ADDRESS : B8AF-67BD-AA00 MANUFACTURING_DATE : 2012-09-01...
  • Page 148: Display Diagnostic-Information

    Field Description MAC_ADDRESS Factory default MAC address of the device. MANUFACTURING_DATE Manufacturing date of the device. VENDOR_NAME Vendor name. display diagnostic-information Syntax display diagnostic-information [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
  • Page 149: Display Environment

    ================================================= ===============display clock=============== ================================================= 08:54:16 UTC Fri 11/15/2008 =================================================== ===============display version=============== =================================================== ……Omitted…… display environment Syntax display environment [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the temperature information of the sensors on a card.
  • Page 150: Display Fan

    hotspot 1 hotspot 2 Table 21 Command output Field Description Temperature information of system cards (degree System Temperature information (degree centigrade) centigrade) Slot A number in this field indicates a card. Temperature sensor. • Hotspot—A hotspot sensor. Sensor • Inflow—An air intake sensor. •...
  • Page 151: Display Hardware-Configuration Mode

    Examples # Display the operating states of all fan trays. <Sysname> display fan 1 State: Normal 2 State: Normal The above information shows that all fan trays work normally. display hardware-configuration mode Syntax display hardware-configuration mode View Any view Default level 1: Monitor level Description Use display hardware-configuration mode to display the hardware configuration modes for the cards on...
  • Page 152 View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 153: Display Job

    display job Syntax display job [ job-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters job-name: Specifies the job name, which is a string of 1 to 32 characters. |: Filters command output by specifying a regular expression.
  • Page 154: Display Memory

    display memory Syntax display memory [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the memory usage statistics for a card. The slot-number argument represents the number of the slot where the card resides.
  • Page 155: Display Power-Supply

    display power-supply Syntax display power-supply [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters verbose: Displays detailed power supply information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 156: Display Schedule Reboot

    Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 157: Display System Working Mode

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display schedule reboot to display the reboot schedule. Related commands: schedule reboot at and schedule reboot delay. Examples # Display the reboot schedule.
  • Page 158: Display Transceiver

    View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 159 : 1000_BASE_SX_SFP Connector Type : LC Wavelength(nm) : 850 Transfer Distance(m) : 550(50um),270(62.5um) Digital Diagnostic Monitoring : YES Vendor Name : HP Ordering Name : JD118B Table 26 Command output Field Description transceiver information Transceiver module information. Transceiver Type Transceiver module type.
  • Page 160: Display Transceiver Alarm

    Field Description Ordering Name Product code. display transceiver alarm Syntax display transceiver alarm { controller [ controller-type controller-number ] | interface [ interface-type interface-number ] } [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters...
  • Page 161 Field Remarks TX bias low TX bias current is low. TX power high TX power is high. TX power low TX power is low. Temp high Temperature is high. Temp low Temperature is low. Voltage high Voltage is high. Voltage low Voltage is low.
  • Page 162: Display Transceiver Diagnosis

    Field Remarks Transceiver type not supported by port hardware Transceiver type is not supported on the port. Examples # Display alarms present on the transceiver module in interface GigabitEthernet 3/1/1. <Sysname> display transceiver alarm interface gigabitethernet 3/1/1 GigabitEthernet3/1/1 transceiver current alarm information: RX loss of signal RX power low Table 28 Command output...
  • Page 163: Display Transceiver Manuinfo

    Description Use display transceiver diagnosis to display the measured values of the digital diagnosis parameters for transceiver modules. Examples # Display the measured values of the digital diagnosis parameters for the transceiver module in interface GigabitEthernet 3/1/1. <Sysname> display transceiver diagnosis interface gigabitethernet 3/1/1 GigabitEthernet3/1/1 transceiver diagnostic information: Current diagnostic parameters: Temp(°C)
  • Page 164: Display Version

    <Sysname> display transceiver manuinfo interface gigabitethernet 3/1/1 GigabitEthernet3/1/1 transceiver manufacture information: Manu. Serial Number : MY13D41001 Manufacturing Date : 2011-09-01 Vendor Name : HP Table 30 Command output Field Description Serial number generated during debugging and testing of the transceiver Manu. Serial Number module.
  • Page 165: Display Xbar

    HP Comware Platform Software Comware Software, Version 5.20.106, Release 3625 Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P. HP A8800 uptime is 0 week, 0 day, 0 hour, 7 minutes Last reboot reason: Power on SR02SRP1F3 4: uptime is 0 week, 0 day, 0 hour, 28 minutes...
  • Page 166: Forward-Path Check

    View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 167: Hardware-Configuration Mode

    Description Use forward-path check to configure automatic forwarding path check. The automatic forwarding path check function can check whether traffic forwarding in the router works properly. By default, the automatic forwarding path check function is enabled. Examples # Disable automatic forwarding path check. <Sysname>...
  • Page 168: Hardware-Failure-Detection

    WARNNING : Hardware configuration mode is changed,please save the configuration and reboot the system to make it effective. hardware-failure-detection Syntax hardware-failure-detection { chip | board | forwarding } { off | warning | reset | isolate } View System view Default level 3: Manage level Parameters...
  • Page 169: Header

    header Syntax header { incoming | legal | login | motd | shell } text undo header { incoming | legal | login | motd | shell } View System view Default level 2: System level Parameters incoming: Configures the banner displayed before a Modem dial-in user accesses user view. legal: Configures the banner displayed before a user inputs the username and password to access the CLI.
  • Page 170: Job

    In this example, the percentage sign (%) is the starting and ending characters of text. Entering % after the displayed test quits the header command. As the starting and ending characters, % is not part of the banners. NOTE: Character % is the starting/ending character of text in this example. Entering % after the displayed text •...
  • Page 171: Power Alarm Enable

    Use undo job to delete a scheduled job. By default, no job is created. You can add commands in job view to execute at certain times. You can use the job command to create multiple jobs. Related commands: time and view. Examples # Create the job saveconfiguration or enter its view.
  • Page 172: Power-Supply Off

    power-supply off Syntax power-supply off slot slot-number View User view Default level 3: Manage level Parameters slot slot-number: Specifies a card by its slot number. Description Use power-supply off to stop power supply to the specified card. NOTE: The specified card cannot be an MPU. Examples # Stop the power supply to the card in slot 9.
  • Page 173: Reboot

    reboot Syntax reboot [ slot slot-number ] View User view Default level 3: Manage level Parameters slot slot-number: Specifies a card by its slot number. Description Use reboot to reboot a card, a subcard, or the whole system. If the slot keyword is not provided, this command reboots the whole system. You cannot use the reboot command to reboot the standby MPUs.
  • Page 174: Schedule Job

    A confirmation is required when you execute this command. The command will not run if you enter N to cancel the operation or fail to make a confirmation within 30 seconds. Examples # Clear unused 16-bit interface indexes. <Sysname> reset unused porttag Current operation will delete all unused port tag(s).
  • Page 175: Schedule Reboot At

    To have the command successfully executed, check that the specified view and command are valid. • The system does not verify their validity. If you specify both the time1 and date arguments, the execution time or date must be later than the •...
  • Page 176: Schedule Reboot Delay

    Description Use schedule reboot at to schedule a device reboot to occur at a specific time and date for the whole system (including all cards). Use undo schedule reboot to disable the scheduled reboot function. By default, the scheduled reboot function is disabled. The interval between the reboot date and the current date cannot exceed 30 x 24 hours, or 30 days.
  • Page 177: Shutdown-Interval

    mm: Device reboot delay in minutes, which ranges from 0 to 43200. Description Use schedule reboot delay to schedule a device reboot to occur after a delay for the whole system (including all cards). Use undo schedule reboot to disable the scheduled reboot function. By default, the scheduled reboot function is disabled.
  • Page 178: Sysname

    Description Use shutdown-interval to set the port status detection timer. Use undo shutdown-interval to restore the default. By default, the port status detection timer is 30 seconds. Some protocols might shut down ports under specific circumstances. For example, MSTP shuts down a BPDU guard–enabled port when the port receives a BPDU.
  • Page 179: System Working Mode

    System View: return to User View with Ctrl+Z. [Sysname] sysname R2000 [R2000] system working mode Syntax system working mode { hybrid | hybrid-standard | spc | spe } undo system working mode View System view Default level 3: Manage level Parameters hybrid: Specifies the system to operate in hybrid mode.
  • Page 180: Temperature-Limit

    View System view Default level 3: Manage level Parameters maintain: Specifies that when the system detects any software abnormality, it maintains the current situation, and does not take any measure to recover itself. reboot: Specifies that when the system detects any software abnormality, it recovers itself through automatic reboot.
  • Page 181: Update Clockmcu

    Description Use temperature-limit to set the temperature thresholds for the device. Use undo temperature-limit to restore the default temperature threshold. When the device temperature drops below the lower temperature threshold or reaches the warning threshold, the device logs the event and outputs a log message and a trap. When the device temperature reaches the alarming threshold, the device logs the event and outputs a log message and a trap repeatedly, and alerts users through the LED on the device panel.
  • Page 182 time timeid { one-off | repeating } delay time2 command command undo time timeID View Job view Default level 3: Manage level Parameters time timeid: Time setting entry, an integer that ranges from 1 to 10. at time1: Specifies an execution time, in the hh:mm format, where the hh value ranges from 0 to 23 and the mm value ranges from 0 to 59.
  • Page 183 Command Description Schedules a command to run at a specific time on the current day. If the specified time has passed, the command runs the next time timeid one-off at time1 command day. command The command runs only once. Schedules a command to run at a specific day in the current month.
  • Page 184: View

    [Sysname] job saveconfig [Sysname-job-saveconfig] view monitor [Sysname-job-saveconfig] time 1 one-off at 8:00 month-date 5 command save a.cfg # Schedule a job to save the configuration file at 8:00 AM on 5 every month. <Sysname> system-view [Sysname] job saveconfig [Sysname-job-saveconfig] view monitor [Sysname-job-saveconfig] time 1 repeating at 8:00 month-date 5 command save a.cfg # Schedule a job to save the configuration file at 8:00 AM on Friday and Saturday in the current week, which might be delayed to the next week if the time has passed.
  • Page 185: Xbar

    Description Use view to specify a view for a job. Use undo view to remove the view of a job. By default, no view is specified for a job. Every job can have only one view. If you specify multiple views, the one specified the last takes effect. Enter a view name in its complete form and make sure that the view name is available on the device.
  • Page 186: Password Recovery Control Command

    Password recovery control command password-recovery enable Syntax password-recovery enable undo password-recovery enable View System view Default level 3: Manage level Description Use password-recovery enable to enable password recovery capability. Use undo password-recovery enable to disable password recovery capability. By default, password recovery capability is enabled. Password recovery capability controls console user access to the device configuration and SDRAM from BootWare menus.
  • Page 187 Password Password BootWare menu recovery recovery Tasks that can be performed option enabled disabled Restore to Factory Delete the next-startup configuration file and load Default Configuration the device with the factory-default configuration. Examples # Disable password recovery capability. <Sysname> system-view [Sysname] undo password-recovery enable...
  • Page 188: Support And Other Resources

    Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
  • Page 189: Conventions

    Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
  • Page 190 Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
  • Page 191: Index

    Index A B C D E F G H I J L M O P Q R S T U V W X acl (user interface view),17 databits,24 activation-key,19 debugging,54 archive configuration,95 delete,80 archive configuration interval,96 delete,55 archive configuration location,97 dir,56 archive configuration max,98...
  • Page 192 display saved-configuration,102 history-command max-size,31 display schedule job,148 hotkey,7 display schedule reboot,149 display startup,104 idle-timeout,32 display system working mode,150 alias,33 display system-failure,150 display telnet client configuration,14 display tftp client configuration,73 job,163 display this,105 display transceiver,151 lcd,62 display transceiver alarm,153 lock,33 display transceiver diagnosis,155 logic update,1 16...
  • Page 193 quit,67 system working mode,172 system-failure,172 system-view,13 reboot,166 remotehelp,68 rename,90 telnet,15 reset recycle-bin,91 telnet client source,15 reset saved-configuration,106 telnet ipv6,16 reset unused porttag,166 telnet server enable,17 restore startup-configuration,106 temperature-limit,173 return,9 terminal type,41 rmdir,70 tftp,74 rmdir,92 tftp client source,75 tftp ipv6,76 tftp-server acl,73 save,107 time,174...

Table of Contents