HP Load Balancing Module System Management Command Reference Part number: 5998-4224 Software version: Feature 3221 Document version: 6PW100-20130326
Legal and notice information © Copyright 2013 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Login management commands ··································································································································· 1 activation-key ···························································································································································· 1 authentication-mode ················································································································································· 2 a
oap reboot ····························································································································································· 39 ACSEI configuration commands ······························································································································· 41 ACSEI server configuration commands ······················································································································· 41 acsei client reboot
User management commands ··································································································································· 87 acl (user interface view) ········································································································································ 87 free web-users ························································································································································ 88 super ·········
archive configuration max ·································································································································· 129 backup startup-configuration ······························································································································ 129 configuration encrypt ·········································································································································· 130 configuration replace file
Login management commands activation-key Use activation-key to define a shortcut key for starting a terminal session. Use undo activation-key to restore the default. Syntax activation-key character undo activation-key Default Pressing the Enter key starts a terminal session.
****************************************************************************** User interface con0 is available. Please press ENTER. 3. Press Enter. Pressing Enter does not start a session. 4. Enter s. A terminal session is started. %Mar 2 18:40:27:981 2012 Sysname SHELL/5/LOGIN: Console login from con0 authentication-mode Use authentication-mode to set the authentication mode for a user interface. Use undo authentication-mode to restore the default.
[Sysname-ui-vty0] authentication-mode password [Sysname-ui-vty0] set authentication password simple 321 # Enable scheme authentication for user interface VTY 0 and the username to 123 and the password to 321.
Examples # Configure the device to automatically Telnet to 192.168.1.41 after a user logs in to interface VTY 0. system-view system-view [Sysname] user-interface vty 0 [Sysname -ui-vty0] auto-execute command telnet 192.168.1.41 % This action will lead to configuration failure through ui-vty0. Are you sure? [Y/N]:y [Sysname-ui-vty0] # To verify the configuration, Telnet to 192.168.1.40. The device automatically Telnets to 192.168.1.
Default command level 3: Manage level Usage guidelines When command accounting is enabled and command authorization is not, every executed command is recorded on the HWTACACS server. When both command accounting and command authorization are enabled, only the authorized and executed commands are recorded on the HWTACACS server. Examples # Enable command accounting for user interface VTY 0.
undo databits Default Eight data bits are used for each character. Views User interface view Default command level 2: System level Parameters 5: Uses five data bits for each character. 6: Uses six data bits for each character. 7: Uses seven data bits for each character. 8: Uses eight data bits for each character. Usage guidelines This command is only applicable to asynchronous serial interfaces, including AUX and console ports. This setting must be the same as that on the configuration terminal.
Examples # Display information about HTTP. display ip http HTTP port: 80 Basic ACL: 2222 Current connection: 0 Operation status: Running Table 1 Command output Field Description HTTP port Port number used by the HTTP service. Basic ACL Basic ACL number associated with the HTTP service. Current connection Number of current connections. Operation status: Operation status • Running—The HTTP service is enabled. • Stopped—The HTTP service is disabled.
Table 2 Command output Field Description HTTPS port Port number used by the HTTPS service. SSL server policy SSL server policy associated with the HTTPS service. Certificate access-control-policy Certificate attribute access control policy associated with the HTTPS service. Basic ACL Basic ACL number associated with the HTTPS service. Current connection Number of current connections. Operation status: Operation status • Running—The HTTPS service is enabled.
Syntax display user-interface [ num1 | { aux | console | vty } num2 ] [ summary ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters num1: Specifies the absolute number of a user interface. The value range typically starts from 0. aux: Specifies the AUX user interface. console: Specifies the console user interface. vty: Specifies the VTY user interface. num2: Specifies the relative number of a user interface.
Field Description Type Type and relative number of the user interface. Tx/Rx Transmit/receive rate of the user interface. Whether the modem is allowed to dial in (in), dial out (out), or both (inout). Modem If modem dial-in is disabled, a hyphen (-) is displayed. Privi Command level of a user under that user interface. Authentication mode for the users: • • • • Auth Int A—Scheme authentication mode. L—Local authentication mode (not supported). N—None authentication mode.
Parameters all: Displays information about all user interfaces the device supports. |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Syntax display web users [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Views User interface view Default command level 3: Manage level Parameters character: Specifies the shortcut key for terminating 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 shortcut key. For example, if you enter an ASCII code value of 113, the system uses its corresponding character q as the shortcut key.
free user-interface Use free user-interface to release a user interface. Syntax free user-interface { num1 | { aux | console | vty } num2 } Views User view Default command level 3: Manage level Parameters num1: Specifies the absolute number of a user interface. The value range typically starts from 0. aux: Specifies the AUX user interface. console: Specifies the console user interface. vty: Specifies the VTY user interface. num2: Specifies the relative number of a user interface.
undo history-command max-size Default The buffer of a user interface saves 10 history commands at most. Views User interface view Default command level 2: System level Parameters size-value: Specifies the maximum number of history commands the buffer can store, in the range of 0 to 256. Usage guidelines Each user interface uses a separate command history buffer to save commands successfully executed by its user. The size of the buffer determines how many history commands the buffer can store.
Usage guidelines The system automatically terminates the user connection on the user interface if there is no information interaction between the device and the user within the idle-timeout time. Setting the idle-timeout timer to 0 disables the idle-timeout function. Examples # Set the idle-timeout timer to 1 minute and 30 seconds. system-view [Sysname] user-interface console 0 [Sysname-ui-console0] idle-timeout 1 30 ip http acl Use ip http acl to associate the HTTP service with an ACL.
ip http enable Use ip http enable to enable the HTTP service. Use undo ip http enable to disable the HTTP service. Syntax ip http enable undo ip http enable Default The HTTP service is enabled. Views System view Default command level 2: System level Usage guidelines The device can act as the HTTP server that can be accessed only after the HTTP service is enabled. Examples # Enable the HTTP service. system-view [Sysname] ip http enable # Disable the HTTP service.
Parameters port-number: Port number of the HTTP service, which ranges from 1 to 65535. Usage guidelines Verify that the port number is not used by another service, because this command does not check for conflicts with configured port numbers. Examples # Configure the port number of the HTTP service as 8080. system-view [Sysname] ip http port 8080 Related commands display ip http ip https acl Use ip https acl to associate the HTTPS service with an ACL.
Related commands • display ip https • acl number (Security Command Reference) ip https certificate access-control-policy Use ip https certificate access-control-policy to associate the HTTPS service with a certificate attribute access control policy. Use undo ip https certificate access-control-policy to remove the association.
Views System view Default command level 3: Manage level Usage guidelines The device can act as the HTTP server that can be accessed only after the HTTP service is enabled. Enabling the HTTPS service triggers an SSL handshake negotiation process: • If the local certificate of the device exists, the SSL negotiation succeeds, and the HTTPS service can be started. • If no local certificate exists, the SSL negotiation triggers a certificate application process that often fails because it times out.
Related commands display ip https ip https ssl-server-policy Use ip https ssl-server-policy to associate the HTTPS service with an SSL server-end policy. Use undo ip https ssl-server-policy to remove the association. Syntax ip https ssl-server-policy policy-name undo ip https ssl-server-policy Default The HTTPS service is not associated with any SSL server-end policy, and the device uses a self-signed certificate for authentication.
Views User view Default command level 3: Manage level Usage guidelines When you must leave the device for a while, use this command to lock the current user interface to prevent unauthorized access. After you enter this command, you are asked to enter a password (up to 16 characters) and then confirm it by entering the password again. To unlock the user interface, press Enter and enter the correct password. Examples # Lock the current user interface and then unlock it.
Default command level 2: System level Parameters even: Performs even parity check. mark: Performs mark parity check. none: Disables parity check. odd: Performs odd parity check. space: Performs space parity check. Usage guidelines This command is only applicable to asynchronous serial interfaces, including AUX and console ports. The configuration terminal and the device must be configured with the same parity check mode to communicate.
Before configuring a user interface to support SSH, set the authentication mode to scheme for the user interface. For more information, see authentication-mode. Examples # Enable the VTYs 0 through 4 to support only SSH. system-view [Sysname] user-interface vty 0 4 [Sysname-ui-vty0-4] authentication-mode scheme [Sysname-ui-vty0-4] protocol inbound ssh screen-length Use screen-length to set the maximum number of lines to be displayed on a screen. Use undo screen-length to restore the default.
send Use send to send messages to user interfaces. Syntax send { all | num1 | { aux | console | vty } num2 } Views User view Default command level 1: Monitor level Parameters all: Specifies all user interfaces. num1: Specifies a user interface by its absolute number. The value range typically starts from 0. aux: Specifies an AUX user interface. console: Specifies a console user interface. vty: Specifies a VTY user interface. num2: Relative number of a user interface.
Following are more details. VTY 0 : Location: 192.168.0.123 + : Current operation user. F : Current operation user work in async mode. // The output shows that you are using the console user interface and another user is using VTY 0. 2. Send a notification message to the user of VTY1. send vty 0 Enter message, end with CTRL+Z or Enter; abort with CTRL+C: Your attention, please.
Keyword combination Password string form cipher Plain text, cipher text hash cipher Cipher text (hashed form) Length (in characters) Plain text: 1 to 16 Cipher text: 1 to 53 1 to 110 Usage guidelines For security purposes, all passwords, including passwords configured in plain text, are saved in cipher text. Examples # Set the password for password authentication on user interface Console 0 to plaintext hello.
The following message appears when a user tries to Telnet to the device: The connection was closed by the remote host! speed (user interface view) Use speed to set the transmission rate (also called the "baud rate") on a user interface. Use undo speed to restore the default. Syntax speed speed-value undo speed Default The transmission rate is 9600 bps. Views User interface view Default command level 2: System level Parameters speed-value: Transmission rate in bps.
Views User interface view Default command level 2: System level Parameters 1: Uses one stop bit. 1.5: Uses one and a half stop bits. 2: Uses two stop bits. Usage guidelines This command is only applicable to asynchronous serial interfaces, including AUX and console ports. The configuration terminal and the device must be configured to use the same number of stop bits to communicate. Examples # Set the number of stop bits to 1.5 for user interface AUX 0.
Usage guidelines To terminate the current Telnet connection, press Ctrl+K or execute the quit command. The source IPv4 address or source interface specified by this command is only applicable to the current Telnet connection. Examples # Telnet to host 1.1.1.2, using 1.1.1.1 as the source IP address for outgoing Telnet packets. telnet 1.1.1.2 source ip 1.1.1.
telnet ipv6 Use telnet ipv6 to Telnet to a host in an IPv6 network Syntax telnet ipv6 remote-host [ -i interface-type interface-number ] [ port-number ] [ vpn-instance vpn-instance-name ] Views User view Default command level 0: Visit level Parameters remote-host: Specifies the IP address or host name of a remote host, a case-insensitive string of 1 to 46 characters. -i interface-type interface-number: Specifies the outbound interface for sending Telnet packets.
Examples # Enable the Telnet server function. system-view [Sysname] telnet server enable terminal type Use terminal type to specify the terminal display type. Use undo terminal type to restore the default. Syntax terminal type { ansi | vt100 } undo terminal type Default The terminal display type is ANSI. Views User interface view Default command level 2: System level Parameters ansi: Specifies the terminal display type ANSI. vt100: Specifies the terminal display type VT100.
Default The command level is 3 for the console user interface and 0 for other user interfaces. Views User interface view Default command level 3: Manage level Parameters level: Specifies a user privilege level, which ranges from 0 to 3. Usage guidelines User privilege levels include visit, monitor, system, and manage, represented by the number 0, 1, 2 and 3 respectively. You can change the user privilege level when necessary. Examples # Set the command level for users logging in through VTY 0 to 0.
last-num1: Specifies the absolute number of the last user interface. The value range typically starts from 0, and last-num1 cannot be smaller than first-num1. aux: Specifies the AUX user interface. console: Specifies the console user interface. vty: Specifies the VTY user interface. first-num2: Specifies the relative number of the first user interface. last-num2: Specifies the relative number of the last user interface. It cannot be smaller than first-num2.
After you configure a fixed verification code for Web login, a Web user can use the code for login, without caring about the verification code displayed on the login page. This feature is intended for test environments where a script is usually used for Web function tests. Eliminating the requirement for entering the verification code every time, this feature helps improve the test efficiency. For Web access security, do not use this feature in production environments.
web idle-timeout Use web idle-timeout to set the Web user connection timeout time. Use undo web idle-timeout to restore the default. Syntax web idle-timeout minutes undo web idle-timeout Default The Web user connection timeout time is 10 minutes. Views System view Default command level 2: System level Parameters minutes: Timeout time in minutes, in the range of 1 to 999. Examples # Set the Web user connection timeout time to 20 minutes.
[System] web logbuffer size 800 37
OAP module configuration commands The commands in this chapter apply only to distributed devices that hold LB modules, such as 7500, 9500, and 12500 switches, and 8800 routers. Unless otherwise stated, the term "OAP module" in this chapter refers to LB modules. oap connect Use oap connect to access the CLI of the OAP module from the device.
Syntax In standalone mode: oap management-ip ip-address slot slot-number undo oap management-ip slot slot-number In IRF mode: oap management-ip ip-address chassis chassis-number slot slot-number undo oap management-ip slot chassis chassis-number slot slot-number Default The management IP address of an OAP module is not configured. Views System view Default command level 2: System level Parameters slot slot-number: Specifies the number of the slot where an OAP system resides. (In standalone mode.
oap reboot chassis chassis-number slot slot-number Views User view Default command level 3: Manage level Parameters slot slot-number: Specifies the number of the slot where an OAP system resides. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. (In IRF mode.) Examples # Reset the OAP module in slot 3 in standalone mode. oap reboot slot 3 This command will recover the OAP from shutdown or other failed state.
ACSEI configuration commands ACSEI server configuration commands acsei client reboot Use acsei client reboot to restart the specified ACSEI client. Syntax acsei client reboot client-id Views ACSEI server view Default command level 2: System level Parameters client-id: ID of the ACSEI client to be restarted. Examples # Restart ACSEI client 1. system-view [Sysname] acsei server [Sysname-acsei-server] acsei client reboot 1 acsei server Use acsei server to enter ACSEI server view.
acsei server enable Use acsei server enable to enable ACSEI server. Use undo acsei server enable to disable ACSEI server. Syntax acsei server enable undo acsei server enable Default ACSEI server is disabled. Views System view Default command level 2: System level Examples # Enable ACSEI server.
[Sysname-acsei-server] acsei timer clock-sync 20 acsei timer monitor Use acsei timer monitor to set the monitoring timer for ACSEI server to monitor ACSEI client. Use undo acsei timer monitor to restore the default. Syntax acsei timer monitor seconds undo acsei timer monitor Default The monitoring timer is set to 5 seconds. Views ACSEI server view Default command level 2: System level Parameters seconds: Value of the monitoring timer that is used for ACSEI server to monitor ACSEI clients.
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. Usage guidelines If executed without the client-id argument, the command displays information about all ACSEI clients in order of registration time. Examples # Display information about ACSEI client 1.
Field Description PCB Version PCB version of the ACSEI client. CPLD Version CPLD version of the ACSEI client. Bootrom Version Boot ROM version of the ACSEI client. CF card CF card information of the ACSEI client. Memory Memory information of the ACSEI client. display acsei client summary Use display acsei client summary to display ACSEI client summary information. Summary information of multiple ACSEI clients is displayed in order of registration time.
Status: Open MAC Address: 3822-d628-f340 Interface: Ten-GigabitEthernet4/0/1 Last registered: 09/20/2012 16:45:24 Table 9 Command output Field Description Client ID ID of the ACSEI client. Status ACSEI client status. MAC Address MAC address of the ACSEI client. Interface Interface carrying the ACSEI client. Last registered Last registration time of the ACSEI client.
display acsei-client information Use display acsei-client information to display information about ACSEI client. Syntax display acsei-client information [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management Configuration Guide.
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Device management commands clock datetime Use clock datetime to set the system time and date. Syntax clock datetime time date Views User view Default command level 3: Manage level 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. date: Specifies a date, in the MM/DD/YYYY or YYYY/MM/DD format.
Default Daylight saving time is disabled and the UTC time zone applies. Views System view Default command level 3: Manage level Parameters zone-name: Specifies a daylight saving time schedule by a zone name, a case-sensitive string of 1 to 32 characters. start-time: Specifies a start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00. start-date: Specifies a start date, in the MM/DD/YYYY or YYYY/MM/DD format. end-time: Specifies an end time, in the hh:mm:ss format.
Syntax clock summer-time zone-name repeating start-time start-date end-time end-date add-time undo clock summer-time Default Daylight saving time is disabled and UTC time zone applies. Views System view Default command level 3: Manage level Parameters zone-name: Specifies a daylight saving time schedule by a zone name, a case-sensitive string of 1 to 32 characters. start-time: Specifies a start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.
Examples # Set the system time ahead one hour every year after 2012 (inclusive) for the period from August 1 at 06:00:00 to September 1 at 06:00:00. system-view [Sysname] clock summer-time abc2 repeating 06:00:00 08/01/2012 06:00:00 09/01/2012 01:00:00 Related commands • clock datetime • clock summer-time one-off • clock timezone • display clock clock timezone Use clock timezone to set the local time zone.
Related commands • clock datetime • clock summer-time one-off • clock summer-time repeating • display clock configure-user count Use configure-user count to configure the maximum number of users allowed to enter system view at the same time. Use undo configure-user count to restore the default. Syntax configure-user count number undo configure-user count Views System view Default command level 2: System level Parameters number: Specifies the maximum number of concurrent users.
Default This feature is enabled. Views System view Default command level 3: Manage level Examples # Enable displaying the copyright statement. system-view [Sysname] copyright-info enable • When a Telnet user logs in, the following statement appears: ************************************************************************** * Copyright (c) 2004-2013 Hewlett-Packard Development Company, L.P.
Syntax display clock [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display the users that have logged into the system but are not in user view.
Syntax display copyright [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
verbose: Displays the average CPU usage statistics for each task in the specified period. If this keyword is not provided, this command displays the brief information of the CPU usage statistics. from-device: Displays the external storage medium, such as a hard disk. The from-device keyword is not supported. |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management Configuration Guide.
Field Description 1% in last 5 seconds After a boot, the system calculates and records the average CPU usage rate every five seconds. This field displays the average CPU usage rate in the last five seconds. 1% in last 1 minute After a boot, the system calculates and records the average CPU usage rate every one minute. This field displays the average CPU usage rate in the last minute. 1% in last 5 minutes After a boot, the system calculates and records the average CPU usage rate every five minutes.
statistics for the entire system (the CPU usage rates of the entire system is the sum of CPU usage rates of all tasks). |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
10 20 30 40 50 60 (minutes) cpu-usage last 60 minutes(SYSTEM) The output shows the historical CPU usage statistics (with the task name SYSTEM) in the last 60 minutes: • 5%: 12 minutes ago • 10%: 13 minutes ago • 15%: 14 minutes ago • 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 historical CPU usage statistics for task 6.
Syntax display device [ cf-card ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: System level Parameters cf-card: Displays CF card information. verbose: Displays detailed information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
display device manuinfo Use display device manuinfo to display the electronic label data for the device. Syntax display device manuinfo [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management Configuration Guide.
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Parameters slot slot-number: Displays temperature information for a module. |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
• The vertical axis represents the flow engine usage. If a statistic is not a multiple of the usage step, it is rounded up or down to the closest multiple of the usage step, whichever is closer. For example, if the CPU usage step is 5%, the statistic 53% is rounded up to 55%, and the statistic 52% is rounded down to 50%. • The horizontal axis represents the time. • Consecutive pound signs (#) indicate the flow engine usage at a specific time.
Default command 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. For more information about regular expressions, see System Management 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.
Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Usage guidelines If no subcard is specified, this command displays the mode of the last reboot of the device. Examples # Display the mode of the last reboot. display reboot-type The rebooting type this time is: Cold The output shows that the last reboot mode is Cold boot (cold boot will restart a device by powering it on). (The display of Warm represents a warm boot, which means to restart a device by using the commands like reboot).
Field Description Executed time Execution time of the command and the difference between the current system time and scheduled time. Related commands schedule job display schedule reboot Use display schedule reboot to display the reboot schedule. Syntax display schedule reboot [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 3: Manage level Parameters |: Filters command output by specifying a regular expression.
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Syntax header { incoming | legal | login | motd | shell } text undo header { incoming | legal | login | motd | shell } Views System view Default command 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. login: Configures the banner displayed before password or scheme authentication is performed for a login user.
# Verify the configuration by using Telnet. (The login authentication is not configured.) ****************************************************************************** * Copyright (c) 2004-2013 Hewlett-Packard Development Company, L.P. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * ****************************************************************************** Welcome to legal (header legal) Press Y or ENTER to continue, N to exit.
Default command level 3: Manage level Parameters job-name: Specifies the name for a job, a string of 1 to 32 characters. Usage guidelines You can add commands in job view to execute at certain times. You can use the job command to create multiple jobs. Examples # Create the job saveconfiguration or enter its view. system-view [Sysname] job saveconfiguration [Sysname-job-saveconfiguration] Related commands • time • view reboot Use reboot to reboot the device or the specified subcard.
Syntax reset unused porttag Views User view Default command level 1: Monitor level Usage guidelines 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. reset unused porttag Current operation will delete all unused port tag(s).
• shell—Represents user view. • system—Represents system view. command: Command to execute. Usage guidelines You can schedule a job to automatically run a command or a set of commands without administrative interference. The commands in a job are polled every minute. When the scheduled time for a command is reached, the job automatically executes the command. If a confirmation is required while the command is running, the system automatically enters Y or Yes.
Syntax schedule reboot at hh:mm [ date ] undo schedule reboot Default The scheduled reboot function is disabled. Views User view Default command level 3: Manage level Parameters hh:mm: Specifies a reboot time, in the hh:mm format. The hh value ranges from 0 to 23, and the mm value ranges from 0 to 59. date: Specifies a reboot date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from 2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31.
Related commands schedule reboot delay schedule reboot delay Use schedule reboot delay to schedule a device reboot to occur after a delay. Use undo schedule reboot to disable the scheduled reboot function. Syntax schedule reboot delay { hh:mm | mm } undo schedule reboot Default The scheduled reboot function is disabled. Views User view Default command level 3: Manage level Parameters hh:mm: Specifies a delay for the device reboot, in the hh:mm format.
%Jun 6 11:48:44:860 2012 Sysname CMD/4/REBOOT: vty0(192.168.1.54): Set schedule reboot parameters at 11:48:44 06/06/2012, and system will reboot at 13:16 06/06/2012. Related commands schedule reboot at sysname Use sysname to set the device name. Use undo sysname to restore the default. Syntax sysname sysname undo sysname Default The default name is HP. Views System view Default command level 2: System level Parameters sysname: Name of the device, which is a string of 1 to 30 characters.
Views System view Default command 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. Examples # Set the exception handling method to reboot.
Related commands display environment time at Use time at to add a command to run at a specific time and date in the job schedule. Use undo time to remove a command from the job schedule. Syntax time time-id at time date command command time time-id { one-off | repeating } at time [ month-date month-day | week-day week-daylist ] command command undo time time-id Views Job view Default command level 3: Manage level Parameters time timeid: Time setting entry, an integer that ranges from 1 to 10.
Use Table 18 when you add commands in a job. Table 18 Command schedule options Command Description time timeid at time date command command Schedules a command to run at a specific time and date. The time or date must be later than the current system time or date. time timeid one-off at time command command Schedules a command to run at a specific time on the current day. If the specified time has passed, the command runs the next day. The command runs only once.
[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. system-view [Sysname] job saveconfig [Sysname-job-saveconfig] view monitor [Sysname-job-saveconfig] time 1 one-off at 8:00 week-day fri sat command save a.cfg # Schedule a job to save the configuration file at 8:00 every Fridays and Saturdays.
The time ID (time-id) must be unique in a job. If two time and command bindings have the same time ID, the one configured last takes effect. Changing a clock setting does not affect the schedule set by using the time delay command. Use Table 19 when you add commands in a job. Table 19 Command schedule options Command Description time timeid one-off delay time2 command command Schedules a command to run after a delay time. time timeid repeating delay time2 command command The command runs only once.
Usage guidelines If you install a transceiver module whose vendor name is not HP, the system repeatedly outputs traps and logs to notify you to replace the module. To continue to use such a transceiver module that is manufactured or customized by HP but has no vendor information, you can disable alarm traps so that the system stops outputting alarm traps. Examples # Disable alarm traps for transceiver modules.
User management commands acl (user interface view) Use acl to reference ACLs to control access to the VTY user interface. Use undo acl to cancel the ACL application. Syntax To use a basic or advanced ACL: acl acl-number { inbound | outbound } undo acl acl-number { inbound | outbound } To use an Ethernet frame header ACL: acl acl-number inbound undo acl acl-number inbound Default Access to the VTY user interface is not restricted.
The system regards the basic/advanced ACL with the inbound keyword, the basic/advanced ACL with the outbound keyword, and Ethernet frame header ACL as different types of ACLs, which can coexist in one VTY user interface. The match order is basic/advanced ACL, Ethernet frame header ACL. At most one ACL of each type can be referenced in the same VTY user interface, and the most recently configured one takes effect. For more information about ACL, see Security Command Reference.
Parameters all: Specifies all Web users. user-id: Web user ID, a hexadecimal number of eight digits. user-name: Web user name, a string of 1 to 80 characters. Examples # Log out all Web users. free web-users all Related commands display web users super Use super to switch from the current user privilege level to a specified user privilege level.
whose level is equal or less than this. Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE Related commands • super password • super authentication-mode super authentication-mode Use super authentication-mode to set the authentication mode for user privilege level switching. Use undo super authentication-mode to restore the default. Syntax super authentication-mode { local | scheme } * undo super authentication-mode Default The authentication mode for the user privilege level switching is local.
super password Use super password to set the password used to switch from the current user privilege level to a higher one. Use undo super password to restore the default. Syntax super password [ level user-level ] { cipher | simple } password undo super password [ level user-level ] Default No password is set for switching to a higher privilege level. Views System view Default command level 2: System level Parameters level user-level: User privilege level, which ranges from 1 to 3 and defaults to 3.
VD configuration commands allocate interface Use allocate interface to assign a Layer 3 interface to a VD. Use undo allocate interface to reclaim a Layer 3 interface assigned to a VD. Syntax allocate interface interface-type interface-number undo allocate interface interface-type interface-number Default All Layer 3 interfaces belong to the default VD. A non-default VD can use any Layer 2 interface in the system but can use no Layer 3 interface.
undo allocate vlan vlan-list Default All VLANs belong to the default VD, and a non-default VD has no VLAN to use. Views VD view Default command level 2: System level Parameters vlan vlan-list: Specifies the VLANs to be assigned to the VD. The vlan-list argument must be in the form { vlan-id1 [ to vlan-id2 ] }&<1-10>, where vlan-id1 and vlan-id2 are the IDs of two existing VLANs in the range 1 to 4094 and vlan-id2 must be greater than vlan-id1.
Parameters max-entries: Specifies the maximum number of sessions that can be set up on a non-default VD, in the range of 0 to 2200000. Usage guidelines Use this command to put a limit on the maximum of sessions that can be set up on a non-default VD. The actual number of sessions available for a non-default VD, however, is also restricted by the number of sessions available on the physical device.
Examples # Set the maximum number of concurrent sessions to 2000 for the default VD. system-view [Sysname] session max-entries 2000 # Set the maximum number of concurrent sessions to 3000 for VD test. system-view [Sysname] switchto vd test [Sysname-vsys-test] session max-entries 3000 Related commands • vd • switchto switchto Use switchto to log in to a non-default VD from the system view of the default VD and enter VD system view.
Syntax vd vd-name [ id vd-id ] undo vd vd-name [ id vd-id ] Default There is a default VD with the name Root and the ID 1. Views System view Default command level 2: System level Parameters vd-name: Specifies the VD name, a case-insensitive string of 1 to 20 characters that contains no question mark (?), less-than sign (<), greater-than sign (>), backward slash (\), quotation mark ("), percentage sign (%), apostrophe ('), ampersand (&), or number sign (#).
Unified multisystem management configuration commands unified-management vlan Use unified-management vlan to configure the unified management VLAN. Use undo unified-management vlan to remove the unified management VLAN. Syntax unified-management vlan vlan-id undo unified-management vlan Default No unified management VLAN is configured. Views System view Default command level 2: System level Parameters vlan-id: Specifies the unified management VLAN by its ID, in the range of 1 to 4094.
NTP configuration commands display ntp-service sessions Use display ntp-service sessions to display information about all NTP sessions. Syntax display ntp-service sessions [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters verbose: Displays detailed information about all NTP sessions. If you do not specify this keyword, the command displays only brief information about the NTP sessions.
Field Description stra Stratum level of the clock source, which determines the clock precision. The value is in the range of 1 to 16. The clock precision decreases from stratum 1 to stratum 16. A stratum 1 clock has the highest precision, and a stratum 16 clock is not synchronized. reach Reachability count of the clock source. 0 indicates that the clock source is unreachable. poll Poll interval in seconds, namely, the maximum interval between successive NTP messages.
Table 21 Command output Field Description clock source IP address of the clock source. clock stratum Stratum level of the clock source, which determines the clock precision. The value is in the range of 1 to 16. The clock precision decreases from stratum 1 to stratum 16. A stratum 1 clock has the highest precision, and a stratum 16 clock is not synchronized.
Field Description Operation mode of the peer device: peer mode • • • • • • • • unspec—The mode is unspecified. active—Active mode. passive—Passive mode. client—Client mode. server—Server mode. bdcast—Broadcast server mode. control—Control query mode. private—Private message mode. peer poll Poll interval of the peer device, in seconds. The value displayed is a power of 2. For example, if the displayed value is 6, the poll interval of the local device is 26, or 64 seconds.
Field Description timecode Time code. Total associations Total number of associations. NOTE: When a device is operating in NTP broadcast/multicast server mode, using the display ntp-service sessions command on the device does not display NTP session information corresponding to the broadcast/multicast server, but the sessions are counted in the total number of associations. display ntp-service status Use display ntp-service status to display NTP service status information.
Table 22 Command output Field Description Status of the system clock: Clock status • Synchronized—The system clock has been synchronized. • Unsynchronized—The system clock has not been synchronized. Clock stratum Stratum level of the system clock. Reference clock ID When the system clock is synchronized to a remote time server, this field indicates the address of the remote time server.
Usage guidelines The display ntp-service trace command takes effect only when the local device and all the devices on the NTP server chain can reach one another. Otherwise, this command is unable to display all the NTP servers on the NTP chain due to timeout. Examples # Display brief information about each NTP server from the local device back to the primary reference source. display ntp-service trace server 127.0.0.1,stratum 2, offset -0.013500, synch distance 0.03154 server 133.1.1.
Parameters peer: Permits full access. This level of right permits the peer devices to perform synchronization and control query to the local device and also permits the local device to synchronize its clock to that of a peer device. Control query refers to query of NTP status information, such as alarm information, authentication status, and clock source information. query: Permits control query.
Default command level 3: Manage level Examples # Enable NTP authentication. system-view [Sysname] ntp-service authentication enable Related commands • ntp-service authentication-keyid • ntp-service reliable authentication-keyid ntp-service authentication-keyid Use ntp-service authentication-keyid to set the NTP authentication key. Use undo ntp-service authentication-keyid to remove the set NTP authentication key.
If an NTP authentication key is specified as a trusted key, the key automatically changes to untrusted after you delete the key. In this case, you do not need to execute the undo ntp-service reliable authentication-keyid command. Examples # Set an MD5 authentication key, with the key ID of 10 and key value of BetterKey.
Default The device does not operate in any NTP operation mode. Views Interface view Default command level 3: Manage level Parameters authentication-keyid keyid: Specifies the key ID to be used for sending broadcast messages to broadcast clients, where keyid is in the range of 1 to 4294967295. This parameter is not meaningful if authentication is not required. version number: Specifies the NTP version, where number is in the range of 1 to 3 and defaults to 4.
Use undo ntp-service max-dynamic-sessions to restore the maximum number of dynamic NTP sessions to the system default. Syntax ntp-service max-dynamic-sessions number undo ntp-service max-dynamic-sessions Default The number is 100. Views System view Default command level 3: Manage level Parameters number: Maximum number of dynamic NTP sessions that are allowed to be established, in the range of 0 to 100.
Default command level 3: Manage level Parameters ip-address: Multicast IP address, which defaults to 224.0.1.1. Examples # Configure the device to operate in multicast client mode and receive NTP multicast messages on GigabitEthernet 0/1, and set the multicast address to 224.0.1.1. system-view [Sysname] interface gigabitethernet 0/1 [Sysname-GigabitEthernet0/1] ntp-service multicast-client 224.0.1.
ntp-service refclock-master Use ntp-service refclock-master to configure the local clock as a reference source for other devices. Use undo ntp-service refclock-master to remove the configuration. Syntax ntp-service refclock-master [ ip-address ] [ stratum ] undo ntp-service refclock-master [ ip-address ] Views System view Default command level 3: Manage level Parameters ip-address: IP address of the local clock, which is 127.127.1.u, where u is the NTP process ID that is in the range of 0 to 3.
Parameters keyid: Specifies the authentication key number in the range of 1 to 4294967295. Examples # Enable NTP authentication, specify to use MD5 encryption algorithm, with the key ID of 37 and key value of BetterKey. system-view [Sysname] ntp-service authentication enable [Sysname] ntp-service authentication-keyid 37 authentication-mode md5 BetterKey # Specify this key as a trusted key.
Use undo ntp-service unicast-peer to remove the symmetric-passive peer designated for the device. Syntax ntp-service unicast-peer { ip-address | peer-name } [ authentication-keyid keyid | priority | source-interface interface-type interface-number | version number ] * undo ntp-service unicast-peer { ip-address | peer-name } Default No symmetric-passive peer is designated for the device.
Views System view Default command level 3: Manage level Parameters ip-address: IP address of the NTP server. It must be a unicast address, rather than a broadcast address, a multicast address or the IP address of the local clock. server-name: Host name of the NTP server, which is a string of 1 to 20 characters. authentication-keyid keyid: Specifies the key ID to be used for sending NTP messages to the NTP server, where keyid is in the range of 1 to 4294967295.
Software upgrade commands boot-loader Use boot-loader to specify a startup system software image for the device. Syntax boot-loader file file-url { main | backup } Views User view Default command level 3: Manage level Parameters file file-url: Specifies the file path, a string of 1 to 63 characters. If you enter a relative path, the system automatically converts it to an absolute path. The absolute path can contain up to 63 characters.
Views User view Default command level 3: Manage level Parameters backup: Backs up the BootWare image in the Normal area to the Backup area of memory. read: Backs up the BootWare image in the Normal area of memory to the storage medium. restore: Replaces the BootWare image in the Normal area with the BootWare image in the Backup area for image restoration or version rollback. update file file-url: Loads a BootWare image in the storage medium to the Normal area of memory.
Now backuping bootrom, please wait... Backup bootrom! Please wait... Read normal basic bootrom completed! ................................................ Backup normal basic bootrom completed! Read normal extended bootrom completed! ................................................ Backup normal extended bootrom completed! Backup bootrom completed! # Restore the BootWare image. bootrom restore all This command will restore bootrom file, Continue? [Y/N]:y Now restoring bootrom, please wait...
Default command level 2: System level Usage guidelines Before a BootWare image upgrade starts, the BootWare image validity check function examines the upgrade BootWare image for file validity or incompatibility with hardware. If the BootWare image passes the check, the upgrade process starts. If not, the system does not perform the upgrade. Examples # Enable BootWare image validity check.
Field Description Attributes of the system software image: attribute • main. • backup. The boot file used at the next reboot System software image to be used at the next startup. Failed to get the secure boot file used at the next reboot! If the main and the backup system software images are not available or damaged, the secure system software image will be used for the boot of the device. Related commands boot-loader display patch Use display patch to display patch files that have been installed.
display patch information Use display patch information to display patch information. Syntax display patch information [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
patch active Use patch active to activate patches. Syntax patch active [ patch-number ] Views System view Default command level 3: Manage level Parameters patch-number: Specifies the sequence number of a patch. If no sequence number is specified, this command validates all INACTIVE patches. If a sequence number is specified, this command activates the specified patch and all its previous INACTIVE patches.
Examples # Stop running patch 3 and all its subsequent ACTIVE patches. system-view [Sysname] patch deactive 3 # Stop running all ACTIVE patches. system-view [Sysname] patch deactive patch delete Use patch delete to remove patches from the patch memory area. Syntax patch delete [ patch-number ] Views System view Default command level 3: Manage level Parameters patch-number: Specifies the sequence number of a patch.
Default command level 3: Manage level Parameters patch-location: Specifies the patch file path, a string of 1 to 64 characters. The file must be saved in the root directory of the storage medium. Provide this argument if the patch file is not packaged in a patch package file, and make sure the file name is correct. file filename: Specifies a patch package file name.
Default The system loads the patch file from the storage medium. Views System view Default command level 3: Manage level Parameters file filename: Specifies a patch package file name. If the package file is specified, the system loads patch files from the patch package. If no package file is specified, the system loads patch files from the storage medium. Usage guidelines Before loading patches, make sure you have saved the patch files to the specified patch file location.
For reliable patch loading, HP recommends saving patch files to the root directory of the storage medium. If the patch file is saved in the root directory, you do not need to specify the patch location. If not, use the patch location patch-location command to specify the patch file location. The patch install patch-location command can change the patch file location that has been specified with the patch location command. In contrast, the patch install file filename does not.
Configuration file management commands archive configuration Use archive configuration to manually archive the running configuration to the configuration archive directory. Syntax archive configuration Views User view Default command level 3: Manage level Usage guidelines Before manually archiving the running configuration, complete the following tasks: 1. Create a directory for saving configuration archives. 2.
Syntax archive configuration interval minutes undo archive configuration interval Default The system does not automatically archive the running configuration. Views System view Default command level 3: Manage level Parameters minutes: Specifies the interval (in minutes) for automatically saving the running configuration. The value range is 10 to 525600 (365 days). Usage guidelines Before enabling automatic configuration archiving, complete the following tasks: 1.
Use undo archive configuration location to restore the default. Syntax archive configuration location directory filename-prefix filename-prefix undo archive configuration location Default No configuration archive directory or configuration archive file name prefix has been set. Views System view Default command level 3: Manage level Parameters directory: Specifies a configuration archive directory, a case-insensitive string of 1 to 63 characters.
Related commands mkdir archive configuration max Use archive configuration max to set the maximum number of configuration archives. Use undo archive configuration max to restore the default. Syntax archive configuration max file-number undo archive configuration max Default A maximum of five configuration archives can be saved. Views System view Default command level 3: Manage level Parameters file-number: Sets the maximum number of configuration archives that can be saved. The value range is 1 to 10.
Syntax backup startup-configuration to dest-addr [ dest-filename ] Views User view Default command 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. If you do not specify a target file name, the source file name is used.
public-key: Encrypts configuration with a public key. Any device that supports the configuration encryption function can decrypt the encrypted configuration file. Usage guidelines Configuration encryption enables the device to automatically encrypt a configuration file when saving the current configuration to it. To view encrypted configuration, use the display saved-configuration command instead of the more command. If you use the more command, the system displays a failure message or garbled text.
display archive configuration Use display archive configuration to display configuration archive information, including the archive directory, archive prefix, archive interval, maximum number of archives, and saved archives. Syntax display archive configuration [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
display current-configuration Use display current-configuration to display the running configuration. Syntax display current-configuration [ configuration [ configuration ] | interface [ interface-type [ interface-number ] ] | exclude modules ] [ by-linenum ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: System level Parameters configuration [ configuration ]: Displays non-interface configuration.
Examples # Display the configuration from the line containing "user-interface" to the last line in the running configuration. display current-configuration | begin user-interface user-interface con 0 user-interface aux 0 user-interface vty 0 4 authentication-mode none user privilege level 3 # return # Display the running SNMP configuration.
Usage guidelines The device is shipped with some basic settings called "factory defaults." These default settings make sure the device can start up and run normally when it has no configuration file or the configuration file is corrupted. Examples # Display the factory defaults.
domain default enable system # telnet server enable # vlan 1 # vlan 999 # domain system access-limit disable state active idle-cut disable self-service-url disable # ---- More ---- At the prompt of More, press Enter to display the next line, press Space to display the next screen of configuration, or press Ctrl+C or any other key to stop displaying the configuration. # Display the next-startup configuration file and number each line. display saved-configuration by-linenum 1: # 2: 3: version 5.
display startup Use display startup to display the current startup configuration file and the next-startup configuration file. Syntax display startup [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management Configuration Guide.
Views Any view Default command 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 System Management 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.
user-interface vty 1 4 # return reset saved-configuration Use reset saved-configuration to delete next-startup configuration files. Syntax reset saved-configuration Views User view Default command level 3: Manage level Usage guidelines Delete the next-startup configuration file if it does not match the software version or has been corrupted. Use this command with caution. This command permanently deletes the next-startup configuration file. Examples # Delete the next-startup configuration file.
Usage guidelines 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. This command provides an easy approach to configuration file restoration by automatically performing all operations required for restoring the next-startup configuration file. Examples # Download the configuration file test.cfg from the TFTP server at 2.2.2.
save test.cfg The current configuration will be saved to cfa0:/test.cfg. Continue? [Y/N]:y Now saving current configuration to the device. Saving configuration cfa0:/test.cfg. Please wait... ............ Configuration is saved to cfa0 successfully. # Save the running configuration to the configuration file startup.cfg in the root directory of the storage medium, and specify the configuration file as the next-startup configuration file.
Parameters cfgfile: Specifies a configuration file name with the extension .cfg. The file must be stored in the root directory of the storage medium or the root directory of the first partition on the storage medium. Usage guidelines You can also specify a configuration file as a next-startup configuration file when you use the save command to save the running configuration to it. Examples # Specify a next-startup configuration file. startup saved-configuration testcfg.cfg Please wait .... ...
CLI configuration commands command-alias enable Use command-alias enable to enable the command keyword alias function. Use undo command-alias enable to disable the command keyword alias function. Syntax command-alias enable undo command-alias enable Default The command keyword alias function is disabled. Views System view Default command level 2: System level Usage guidelines Disabling the command keyword alias function does not delete the configured aliases, but the aliases do not take effect anymore.
Views System view Default command level 2: System level Parameters cmdkey: Complete form of the first keyword of a non-undo command, or the second keyword of an undo command. alias: Alias for the keyword, which must be different from the first keyword of any non-undo command. Usage guidelines Command keyword aliases take effect only after you enable the command keyword alias function. Examples # Define show as the alias of the display keyword.
Usage guidelines 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 device, the user can access the assigned level and all levels below it. For more information about command levels, see the chapter on CLI in System Management Configuration Guide. Inappropriate use of this command can cause maintenance, operation, and security problems.
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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines To copy some content to the clipboard: 1.
Syntax display history-command [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see System Management 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.
Examples # Display hotkey information. display hotkey ----------------- HOTKEY ----------------- =Defined hotkeys= Hotkeys Command CTRL_G display current-configuration CTRL_L display ip routing-table CTRL_O undo debug all =Undefined hotkeys= Hotkeys Command CTRL_T NULL 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.
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 } Default • Ctrl_G: display current-configuration (display the running configuration). • Ctrl_L: display ip routing-table (display the IPv4 routing table information). • Ctrl_O: undo debugging all (disable all debugging functions). • Ctrl_T: No command is assigned to this hotkey. • Ctrl_U: No command is assigned to this hotkey.
Examples # Return from GigabitEthernet 0/1 interface view to system view and then to user view. [Sysname-GigabitEthernet0/1] quit [Sysname] quit return Use return to return to user view from any other view. Pressing Ctrl+Z has the same effect. Syntax return Views Any view except user view Default command level 2: System level Examples # Return to user view from GigabitEthernet 0/1 interface view.
Examples # Disable pausing between screens of output for the current session. screen-length disable Related commands screen-length system-view Use system-view to enter system view from user view. Syntax system-view Views User view Default command level 2: System level Examples # Enter system view from user view. system-view System View: return to User View with Ctrl+Z.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
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. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
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. Represents a security product, such as a firewall, a UTM, or a load-balancing or security card that is installed in a device.
Index ABCDEFHIJLNOPQRSTUVW A D acl (user interface view),87 databits,5 acsei client reboot,41 display acsei client info,43 acsei server,41 display acsei client summary,45 acsei server enable,42 display acsei-client information,47 acsei timer clock-sync,42 display acsei-client status,47 acsei timer monitor,43 display archive configuration,132 acsei-client enable,46 display boot-loader,118 activation-key,1 display clipboard,145 allocate interface,92 display clock,54 allocate vlan,92 displ
display startup,137 ntp-service multicast-client,109 display system-failure,71 ntp-service multicast-server,110 display telnet client configuration,8 ntp-service refclock-master,111 display this,137 ntp-service reliable authentication-keyid,111 display user-interface,8 ntp-service source-interface,112 display users,10 ntp-service unicast-peer,112 display version,72 ntp-service unicast-server,113 display web users,11 O Documents,152 oap connect,38 E oap management-ip,38 escape-key,12 oap
stopbits,28 time delay,84 Subscription service,152 transceiver phony-alarm-disable,85 super,89 U super authentication-mode,90 unified-management vlan,97 super password,91 user privilege level,32 switchto,95 user-interface,33 sysname,80 system-failure,80 V system-view,151 vd,95 T view,86 telnet,29 W telnet client source,30 web captcha,34 telnet ipv6,31 web https-authorization mode,35 telnet server enable,31 web idle-timeout,36 temperature-limit,81 web logbuffer size,36 terminal ty