HP Load Balancing Module System Management Command Reference Part number: 5998-2691 Document version: 6PW101-20120217
Legal and notice information © Copyright 2012 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 Logging in to the device commands ··························································································································· 1 Login management configuration commands ················································································································ 1 activation-key ···························································································································································· 1 auto-execute c
acsei timer clock-sync ············································································································································ 36 acsei timer monitor ················································································································································ 36 display acsei client info ········································································································································ 37 display acs
ntp-service authentication-keyid ··························································································································· 86 ntp-service broadcast-client ·································································································································· 86 ntp-service broadcast-server ································································································································· 87 ntp-service in-interface di
screen-length disable··········································································································································· 125 super ····································································································································································· 125 super authentication-mode·································································································································· 126 super passw
Logging in to the device commands Login management configuration commands activation-key Syntax activation-key character undo activation-key View User interface view Default level 3: Manage level Parameters character: Shortcut key for starting a terminal session, a single character (or its corresponding ASCII code value that ranges from 0 to 127) or a string of 1 to 3 characters. However, only the first character functions as the shortcut key.
* Copyright (c) 2010-2011 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. • At this moment, pressing Enter does not start a session. To start the terminal session, enter s instead.
CAUTION: The auto-execute command command may disable you from configuring the system through the user interface to which the command is applied. Before configuring the command and saving the configuration (by using the save command), make sure that you can access the device through VTY, TTY, console, or AUX interfaces to remove the configuration when a problem occurs. Examples # Configure the device to automatically telnet to 192.168.1.41 after a user logs in to interface VTY 0.
Default level 3: Manage level Parameters none: Performs no authentication. password: Performs local password authentication. scheme: Performs AAA authentication. For more information about AAA, see Security Configuration Guide. Description Use the authentication-mode command to set the authentication mode for the user interface. Use the undo authentication-mode command to restore the default.
Default level 3: Manage level Parameters None Description Use the command accounting command to enable command accounting. Use the undo command accounting command to restore the default. By default, command accounting is disabled. The accounting server does not record the commands that users have executed. When command accounting is enabled and command authorization is not, every executed command is recorded on the HWTACACS server.
system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] command authorization databits Syntax databits { 5 | 6 | 7 | 8 } undo databits View User interface view Default level 2: System level Parameters 5: Sets 5 data bits for each character. 6: Sets 6 data bits for each character. 7: Sets 7 data bits for each character. 8: Sets 8 data bits for each character. Description Use the databits command to set data bits for each character. Use the undo databits command to restore the default.
Parameters None Description Use the display ip http command to display HTTP information. Examples # Display information about HTTP..
Table 2 Output description Field Description HTTPS port Port number used by the HTTPS service SSL server policy The SSL server policy associated with the HTTPS service Certificate access-control-policy The certificate attribute access control policy associated with the HTTPS service Basic ACL The basic ACL number associated with the HTTPS service Operation status, which takes the following values: Operation status • Running—The HTTPS service is enabled. • Stopped—The HTTPS service is disabled.
Parameters num1: Absolute number of a user interface. The value range from 0 to 54, and typically starts from 0. num2: Relative number of a user interface. The value range is as follows: aux: Specifies the AUX user interface. The value is 0. console: Specifies the console user interface. The value is 0. vty: Specifies the VTY user interface. The value ranges from 0 to 4. summary: Displays summary about user interfaces.
Field Description Auth Authentication mode for the users, which can be A, P, L, and N. Int The physical port that corresponds to the user interface. (For user interfaces of console ports, AUX ports, and VTY interfaces, - is displayed.) A AAA authentication L Local authentication (not supported) N No authentication P Password authentication # Display summary about all user interfaces.
View Any view Default level 1: Monitor level Parameters all: Displays information about all user interfaces that the device supports. Description Use the display users command to display information about the user interfaces that are being used. Use the display users all command to display information about all user interfaces supported by the device. Examples # Display information about the user interfaces that are being used.
escape-key Syntax escape-key { default | character } undo escape-key View User interface view Default 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 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.
# Enter a. The task terminates immediately and the system returns to system view. --- 192.168.1.49 ping statistics --2 packet(s) transmitted 2 packet(s) received 0.00% packet loss round-trip min/avg/max = 3/3/3 ms flow-control Syntax flow-control { hardware | none | software } undo flow-control View User interface view Default level 2: System level Parameters hardware: Performs hardware flow control. none: Disables flow control. software: Performs software flow control.
View User interface view Default level 2: System level Parameters size-value: Specifies the maximum number of history commands that the buffer can store. The value ranges from 0 to 256. Description Use the history-command max-size command to set the size of the history command buffer of the current user interface. Use the undo history-command max-size command to restore the default. By default, the buffer saves 10 history commands.
NOTE: • The system automatically terminates the user’s connection(s) if there is no information interaction between the device and the users within the idle timeout time. • Setting idle-timeout to zero disables the timer. In this case, connections are maintained unless you terminate them. Examples # Set the idle-timeout timer to 1 minute and 30 seconds.
ip http enable Syntax ip http enable undo ip http enable View System view Default level 2: System level Parameters None Description Use the ip http enable command to enable the HTTP service. Use the undo ip http enable command to disable the HTTP service. The device can act as the HTTP server that can be accessed only after the HTTP service is enabled. Related commands: display ip http. Examples # Enable the HTTP service. system-view [Sysname] ip http enable # Disable the HTTP service.
Verify that the port number is not used by another service, because this command does not check for conflicts with configured port numbers. Related commands: display ip http. Examples # Configure the port number of the HTTP service as 8080. system-view [Sysname] ip http port 8080 ip https acl Syntax ip https acl acl-number undo ip https acl View System view Default level 3: Manage level Parameters acl-number: ACL number, which ranges from 2000 to 2999.
undo ip https certificate access-control-policy View System view Default level 3: Manage level Parameters policy-name: Name of the certificate attribute access control policy, a string of 1 to 16 characters. Description Use the ip https certificate access-control-policy command to associate the HTTPS service with a certificate attribute access control policy. Use the undo ip https certificate access-control-policy command to remove the association.
• If no local certificate exists, the SSL negotiation triggers a certificate application process that often fails because it times out. If that happens, execute the ip https enable command multiple times to start the HTTPS service. Related commands: display ip https. Examples # Enable the HTTPS service.
Default level 3: Manage level Parameters policy-name: Name of an SSL server policy, which is a string of 1 to 16 characters. Description Use the ip https ssl-server-policy command to associate the HTTPS service with an SSL server-end policy. Use the undo ip https ssl-server-policy to remove the association. By default, the HTTPS service is not associated with any SSL server-end policy. The HTTPS service can be enabled only after this command is configured successfully.
Again: locked ! Password: parity Syntax parity { even | mark | none | odd | space } undo parity View User interface view Default level 2: System level Parameters even: Performs an even parity check. mark: Performs a mark parity check. none: Performs no parity check. odd: Performs an odd parity check. space: Performs a space parity check. Description Use the parity command to set a parity check method. Use the undo parity command to restore the default.
system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] parity odd protocol inbound Syntax protocol inbound { all | ssh | telnet } undo protocol inbound View VTY interface view Default level 3: Manage level Parameters all: Supports all both the SSH and Telnet protocols. ssh: Supports SSH only. telnet: Supports Telnet only. Description Use the protocol inbound command to enable the current user interface to support either Telnet, PAD, SSH, or all of them.
View User interface view Default level 2: System level Parameters screen-length: Number of lines on the next screen, which ranges from 0 to 512. The value of 0 disables pausing between screens of output. Description Use the screen-length command to set the number of lines on the next screen. Use the undo screen-length command to restore the default. By default, the next screen displays 24 lines. When screen output pauses, press the Space key to display the next screen.
Description Use the send command to send messages to the specified user interfaces. To end message input, press Ctrl+Z. To cancel message input and return to user view, press Ctrl+C. Examples # Send message hello abc to the user interface of console port 0. send console 0 Enter message, end with CTRL+Z or Enter; abort with CTRL+C: hello abc^Z Send message? [Y/N]:y *** *** ***Message from con0 to con0 *** hello abc # Assume you are using VTY 0.
set authentication password Syntax set authentication password { cipher | simple } password undo set authentication password View User interface view Default level 3: Manage level Parameters cipher: Cipher text password. simple: Plain text password. password: A case sensitive string. If the password format is simple, the password argument must be in plain text, and the configuration file saves the password in plain text.
Default level 3: Manage level Parameters None Description Use the shell command to enable terminal services on the current user interface. Use the undo shell command to disable terminal services on the current user interface. • The console user interface does not support the undo shell command. • You cannot disable the terminal services on the user interface through which you are logged in. By default, terminal services are enabled on all user interfaces.
• 38400 bps • 57600 bps • 115200 bps The transmission rate varies with devices and configuration environment. Description Use the speed command to set the transmission rate on the user interface. Use the undo speed command to restore the default transmission rate. By default, the transmission rate is 9600 bps. NOTE: • The command is only applicable to asynchronous serial interfaces (including AUX and console ports).
NOTE: • The command is only applicable to asynchronous serial interfaces (including AUX and console ports). • The stop bits setting must be the identical for the user interfaces of the connecting ports on the device and the target device for communication. Examples # Set the stop bits on the user interface AUX 0 to 1.5. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] stopbits 1.
undo telnet client source View System view Default level 2: System level Parameters interface interface-type interface-number: Specifies the source interface. The source IPv4 address of the Telnet packets sent is the IPv4 address of the specified interface. interface-type interface-number represents the interface type and number. ip ip-address: Specifies the source IPv4 address of Telnet packets.
Description Use the telnet server enable command to enable the Telnet server. Use the undo telnet server enable command to disable the Telnet server. The Telnet server is disabled by default. Examples # Enable the Telnet server. system-view [Sysname] telnet server enable terminal type Syntax terminal type { ansi | vt100 } undo terminal type View User interface view Default level 2: System level Parameters ansi: Specifies the terminal display type as ANSI.
View User interface view Default level 3: Manage level Parameters level: Specifies a user privilege level, which ranges from 0 to 3. NOTE: User privilege levels include visit, monitor, system, and manage, represented by the number 0, 1, 2 and 3 respectively. The administrator can change the user privilege level when necessary. Description Use the user privilege level command to configure the user privilege level. Users logging into the user interface are assigned a user privilege level.
last-num1: Absolute number of the last user interface, which ranges from 1 to 54 but cannot be smaller than the first-num1. aux: Specifies the AUX user interface. console: Specifies the console user interface. vty: Specifies the VTY user interface. first-num2: Relative number of the first user interface. It is 0 for both AUX and console user interfaces, and ranges from 0 to 4 for the VTY user interface. last-num2: Relative number of the last user interface.
oap connect slot 3 Press CTRL+K to quit. Connected to OAP! oap management-ip Syntax oap management-ip ip-address slot slot-number undo oap management-ip slot slot-number View System view Default level 2: System level Parameters slot slot-number: Specifies the number of the slot where an OAP system resides. Description Use the oap management-ip command to configure the management IP address of an OAP module. Use the undo oap management-ip command to restore the default.
oap reboot slot 3 This command will recover the OAP from shutdown or other failed state. Warning: This command may lose the data on the hard disk if the OAP is not being shut down! Continue? [Y/N]:y Reboot OAP by command. ACSEI server configuration commands acsei client close Syntax acsei client close client-id View ACSEI server view Default level 2: System level Parameters client-id: ID of the ACSEI client to be closed, which ranges from 1 to 12.
system-view [Sysname] acsei server [Sysname-acsei-server] acsei client reboot 1 acsei server Syntax acsei server View System view Default level 2: System level Parameters None Description Use the acsei server command to enter ACSEI server view. Examples # Enter ACSEI server view.
[Sysname] acsei server enable acsei timer clock-sync Syntax acsei timer clock-sync minutes undo acsei timer clock-sync View ACSEI server view Default level 2: System level Parameters minutes: Value of the synchronization timer that is used for clock synchronization from ACSEI server to ACSEI client. It ranges from 0 to 1440 (in minutes), where value 0 specifies to disable the clock synchronization from ACSEI server to ACSEI client.
Use the undo acsei timer monitor command to restore the default. By default, the monitoring timer is set to 5 seconds. Examples # Set the monitor timer for ACSEI server to monitor ACSEI client to 6 seconds. system-view [Sysname] acsei server [Sysname-acsei-server] acsei timer monitor 6 display acsei client info Syntax display acsei client info [ client-id ] View Any view Default level 1: Monitor level Parameters client-id: ID of an ACSEI client, which ranges from 1 to 12.
Client ID: 1 Client Description: SecBlade LB Hardware: A.0 System Software: COMWAREV500R002B77D514 Application Software: V300R002B01D514 CPU: RMI XLR732 1000MHz PCB Version: A.0 CPLD Version: 3.0 Bootrom Version: Basic BootRom Version:1.28,Extend BootRom Version:1.
Description Use the display acsei client summary command to display ACSEI client summary information. Summary information of multiple ACSEI clients is displayed in order of registration time. If executed without the client-id argument, the command displays summary information about all the ACSEI clients. Examples # Display the summary of ACSEI client 1.
ACSEI client configuration commands acsei-client enable Syntax acsei-client enable undo acsei-client enable View Interface view Default level 2: System level Parameters None Description Use the acsei-client enable command to enable ACSEI client. Use the undo acsei-client enable command to disable ACSEI client. By default, ACSEI client is disabled. A system can run only one ACSEI client, that is, ACSEI client can be enabled on only one interface at a time.
Examples # Display information about the current ACSEI client. display acsei-client information Client Description: SecBlade LB Hardware: A.0 System Software: COMWAREV500R002B77D514 Application Software: V300R002B01D514 CPU: RMI XLR732 1000MHz PCB Version: A.0 CPLD Version: 3.0 Bootrom Version: Basic BootRom Version:1.28,Extend BootRom Version:1.
Field Description Client-side interface Interface enabled with the ACSEI client function Server-side interface: Interface enabled with the ACSEI server function 42
System time commands clock datetime Syntax clock datetime time date View User view Default level 3: Manage level Parameters time: Configured 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: Configured 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.
start-time: Start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00. start-date: Start date, in the MM/DD/YYYY or YYYY/MM/DD format. end-time: End time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00. end-date: End date, in the MM/DD/YYYY or YYYY/MM/DD format. add-time: Time added to the standard time of the device, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.
• 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 2035; the month can be January, February, March, April, May, June, July, August, September, October, November or December; the start week can be the first, second, third, fourth, fifth or last week of the month; the start date is Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.
clock timezone Syntax clock timezone zone-name { add | minus } zone-offset undo clock timezone View System view Default level 3: Manage level Parameters zone-name: Time zone name, a case-sensitive string of 1 to 32 characters. add: Adds a specified offset to UTC time. minus: Subtracts a specified offset to UTC time. zone-offset: Offset to the UTC time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00. Description Use the clock timezone command to set the local time zone.
Description Use the display clock command to view the current system time and date. The current system time and date are decided by the clock datetime, clock summer-time one-off (or clock summer-time repeating), and clock timezone commands. For more information about how the system time and date are decided, see System Management Configuration Guide. Related commands: clock datetime, clock summer-time one-off, clock summer-time repeating, and clock timezone. Examples # Display the current time and date.
Device management commands NOTE: Many types of storage media are available, such as compact Flash (CF) and universal serial bus (USB) disk. CF is exemplified in this document. configure-user count Syntax configure-user count number undo configure-user count View System view Default level 2: System level Parameters number: Number of users, which ranges from 1 to 55. Description Use the configure-user count command to configure the number of users allowed to enter system view at the same time.
View System view Default level 3: Manage level Parameters None Description Use the copyright-info enable command to enable the display of copyright information. Use the undo copyright-info enable command to disable the display of copyright information. By default, the display of copyright information is enabled. Examples # Enable the display of copyright information.
User interface con0 is available. Please press ENTER. display configure-user Syntax display configure-user View Any view Default level 1: Monitor level Parameters None Description Use the display configure-user command to display the users that have logged in to the LB module and are not in user view. Related commands: configure-user count. Examples # Display the users entering system view at the same time.
For example, the idx of the latest statistics record is 12. If the offset is set to 3, the system will display the statistics records from the one with the idx of 9, where idx represents the serial number of the period for the statistics, and its value ranges from 0 to 60 cyclically. The system makes CPU usage statistics periodically, and the system records the average CPU usage during this period, and the idx value is added by 1 automatically. verbose: Displays detailed information of CPU usage statistics.
Field Description 1% in last 1 minute After the LB module boots, the system calculates and records the average CPU usage in every one minute. This field displays the average CPU usage in the last minute. 1% in last 5 minutes After the LB module boots, the system calculates and records the average CPU usage in every five minutes. This field displays the average CPU usage in the last five minutes. CPU usage info (no: idx:) Information of CPU usage records (no: The (no+1)th record is displayed.
The system collects the statistics of history CPU utilization rates at a certain interval and saves the statistics in the history record area. You can use the display cpu-usage history command to display the history CPU utilization rates in the last 60 minutes. The history CPU utilization rates are displayed through x and y coordinates. • Any CPU utilization statistics value takes the closest y-coordinate value.
100%| 95%| 90%| 85%| 80%| 75%| 70%| 65%| 60%| 55%| 50%| 45%| 40%| 35%| 30%| 25%| 20%| 15%| 10%| 5%| # -----------------------------------------------------------10 20 30 40 50 60 (minutes) cpu-usage last 60 minutes(T03M) The output shows the CPU usage of task 6 (with the task name T03M) in the last 60 minutes: • 5%: 20 minutes ago • 2% or lower than 2%: other time display device Syntax display device [ cf-card | usb ] [verbose ] View Any view Default level 2: System level Parameters cf-card
display device Status :OK Type :LSQ1LBSC0 Hardware :A Driver :1.0 CPLD :3.
MAC_ADDRESS : 000F-E26A-58EA MANUFACTURING_DATE : 2009-11-10 VENDOR_NAME : HP display diagnostic-information Syntax display diagnostic-information View Any view Default level 1: Monitor level Parameters None Description Use the display diagnostic-information command to display or save the statistics of the running status of multiple modules in the system. In daily maintenance or in case of system failures, you need to display the running information of each functional module to locate the problem.
Actual Stat. Cycle : 0x0(CPU Tick High) 0xa3c4c311(CPU Tick Low) ……Omitted…… display environment Syntax display environment [ cpu ] View Any view Default level 1: Monitor level Parameters cpu: Displays temperature information of the CPUs on the LB module. Description Use the display environment command to display the temperature information, including the current temperature and temperature thresholds of cards.
display job Syntax display job [ job-name ] View Any view Default level 1: Monitor level Parameters job-name: Specifies the task name, which is a string of 1 to 32 characters. Description Use the display job command to display the detailed information of the scheduled tasks to be automatically executed. If no argument is specified, this command displays information about all scheduled tasks. Related commands: job, time, and view. Examples # Display detailed information of the scheduled task saveconfig.
Parameters None Description Use the display memory command to display the memory usage of the LB module. Examples # Display the memory usage of the LB module.
Default level 2: System level Parameters interface [ interface-type interface-number ]: Displays main parameters of the pluggable transceiver plugged in the specified interface. interface-type interface-number represents interface type and interface number. If it is not specified, the command displays main parameters of the pluggable transceivers in all the interfaces. Description Use the display transceiver command to display main parameters of a single or all pluggable transceivers.
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. Transceiver info I/O error Transceiver information read and write error Transceiver info checksum error Transceiver information checksum error Transceiver type and port configuration mismatch Transceiver type does not match port configuration.
Field Remarks Transceiver type and port configuration mismatch Transceiver type does not match port configuration. Transceiver type not supported by port hardware Transceiver type is not supported on the port.
Table 15 Output description Field Description transceiver current alarm information Current alarm information of the transceiver RX loss of signal Incoming (RX) signal is lost. RX power low Incoming (RX) power level is low.
Field Description Bias(mA) Digital diagnosis parameter-bias current, in mA, with the precision to 0.01 mA. RX power(dBM) Digital diagnosis parameter-RX power, in dBM, with the precision to 0.01 dBM. TX power(dBM) Digital diagnosis parameter-TX power, in dBM, with the precision to 0.01 dBM.
display version Syntax display version View Any view Default level 1: Monitor level Parameters None Description Use the display version command to view system version information. By viewing system version information, you can learn about the current software version.
Examples # Configure banners. system-view [Sysname] header incoming % Please input banner content, and quit with the character '%'. Welcome to incoming(header incoming)% [Sysname] header legal % Please input banner content, and quit with the character '%'. Welcome to incoming(header incoming)% [Sysname] header legal % Please input banner content, and quit with the character '%'. Welcome to legal (header legal)% [Sysname] header login % Please input banner content, and quit with the character '%'.
undo job job-name View System view Default level 3: Manage level Parameters job-name: Specifies name of the scheduled task, a string of 1 to 32 characters. Description Use the job command to create a scheduled task and enter job view, or enter this view directly if a task is ready. Use the undo job command to remove the task. By default, no scheduled task is created. After creating a scheduled task, you can configure the task in job view.
sysname Syntax sysname sysname undo sysname View System view Default level 2: System level Parameters sysname: Name of the LB module, which is a string of 1 to 30 characters. Description Use the sysname command to set the name of the LB module. Use the undo sysname demand to restore the default. Changing device name changes the prompt of the CLI. For example, if the device name is Sysname, the prompt of user view is . Examples # Set the name of the LB module to text.
Examples # Set the exception handling method to reboot. system-view [Sysname] system-failure reboot temperature-limit (basic) Syntax temperature-limit slot-number lower-value upper-value undo temperature-limit slot-number View System view Default level 2: System level Parameters slot-number: This argument is invalid. lower-value: Lower temperature limit in Celsius degrees. upper-value: Upper temperature limit in Celsius degrees.
Parameters time timeid: Time setting entry, an integer that ranges from 1 to 10. one-off: Specifies that the command will be executed only once. repeating: Specifies that the command will be repeatedly executed. at time: Specifies the 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. date: Specifies the execution date, in the MM/DD/YYYY or YYYY/MM/DD format.
NOTE: • The commands configured in a scheduled task must belong to the same view. • A scheduled task can be configured with up to 10 commands, each of which corresponds to a unique time ID. If you want more than 10 commands to be executed, configure them into different tasks. Examples # Schedule a task to save the configuration file a.cfg at 3:00 on May 18, 2009.
View Job view Default level 3: Manage level Parameters time timeid: Time setting entry, an integer that ranges from 1 to 10. one-off: Indicates that the command will be executed only once. repeating: Indicates that the command will be repeatedly executed. delay time: Specifies the delay time for executing the command, in the hh:mm format or mm format. • When the time argument is in the hh:mm format, the hh value ranges from 0 to 720, and the mm value ranges from 0 to 59.
view Syntax view view-name undo view View Job view Default level 3: Manage level Parameters view-name: Specifies name of the view in which commands in the scheduled task are executed. A view name is a string of 1 to 90 characters. Description Use the view command to specify the view in which the commands contained in the scheduled task are automatically executed. Use the undo view command to remove the configuration. By default, no view is specified for the scheduled task.
User management commands acl (user interface view) 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 View VTY user interface view Default level 2: System level Parameters acl-number: Number of the access control list (ACL).
The system regards the basic/advanced ACL with the inbound keyword, the basic/advanced ACL with the outbound keyword, Ethernet frame header ACL as three 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 last configured one takes effect. Examples # Allow only the user at 192.168.1.26 to access the LB module through Telnet or SSH.
user-id: Web user ID, which is a hexadecimal number of eight digits. user-name: Web user name, which is a string of 1 to 80 characters. Description Use the free web-users command to log out web users. Related commands: display web users. Examples # Log out all web users.
Unified multi-system management configuration commands unified-management vlan Syntax unified-management vlan vlan-id undo unified-management vlan View System view Default level 2: System level Parameters vlan-id: ID of the unified management VLAN, which ranges from 1 to 4094. Description Use the unified-management vlan command to configure the unified management VLAN. Use the undo unified-management vlan command to remove the unified management VLAN.
NTP configuration commands display ntp-service sessions Syntax display ntp-service sessions [ verbose ] View Any view Default level 1: Monitor level Parameters verbose: Displays detailed information about all NTP sessions. If you do not specify this keyword, only the brief information about the NTP sessions is displayed. Description Use the display ntp-service sessions command to view information about all NTP sessions. Examples # View the brief information of all NTP sessions.
Field Description poll Poll interval in seconds, namely, the maximum interval between successive NTP messages. The length of time from when the last NTP message was received or when the local clock was last updated to the current time now The time is in seconds by default. If the time length is greater than 2048 seconds, it is displayed in minutes; if greater than 300 minutes, in hours; if greater than 96 hours, in days.
Field Description clock stratum Stratum level of the clock source, which determines the clock precision. The value ranges from 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 and cannot be used as a reference clock. Status of the clock source corresponding to this session, including clock status • • • • • • • • configured: The session was created by a configuration command.
Field Description Operation mode of the peer device, including 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 working in NTP broadcast/multicast server mode, using the display ntp-service sessions command on the device does not display the NTP session information corresponding to the broadcast/multicast server, but the sessions are counted in the total number of associations.
Field Reference clock ID Description When the system clock is synchronized to a remote time server, this field indicates the address of the remote time server. When the system clock is synchronized to a local reference source, this field indicates the address of the local clock source: • When the local clock has a stratum level of 1, the value of this field is “LOCL”; • When the stratum of the local clock has another value, the value of this field is the IP address of the local clock.
server 127.0.0.1,stratum 2, offset -0.013500, synch distance 0.03154 server 133.1.1.1,stratum 1, offset -0.506500, synch distance 0.03429 refid LOCL The information above shows an NTP server chain for server 127.0.0.1: Server 127.0.0.1 is synchronized to server 133.1.1.1, and server 133.1.1.1 is synchronized to the local clock source.
Description Use the ntp-service access command to configure the access-control right for the peer devices to access the NTP services of the local device. Use the undo ntp-service access command to remove the configured NTP service access-control right to the local device. By default, the access-control right for the peer devices to access the NTP services of the local device is set to peer. From the highest NTP service access-control right to the lowest one are peer, server, synchronization, and query.
[Sysname] ntp-service authentication enable ntp-service authentication-keyid Syntax ntp-service authentication-keyid keyid authentication-mode md5 value undo ntp-service authentication-keyid keyid View System view Default level 3: Manage level Parameters keyid: Authentication key ID, which ranges from 1 to 4294967295. authentication-mode md5 value: Specifies to use the MD5 algorithm for key authentication, where value represents authentication key and is a string of 1 to 32 characters.
undo ntp-service broadcast-client View Interface view Default level 3: Manage level Parameters None Description Use the ntp-service broadcast-client command to configure the device to work in the NTP broadcast client mode and use the current interface to receive NTP broadcast packets. Use the undo ntp-service broadcast-client command to remove the configuration. By default, the device does not work in the NTP broadcast client mode.
Examples # Configure the device to work in broadcast server mode and send NTP broadcast messages on Ten-GigabitEthernet 0/0.1, using key 4 for encryption, and set the NTP version to 3. system-view [Sysname] interface ten-gigabitethernet0/0.1 [Sysname-Ten-GigabitEthernet0/0.
Description Use the ntp-service max-dynamic-sessions command to set the maximum number of dynamic NTP sessions that are allowed to be established locally. Use the undo ntp-service max-dynamic-sessions command to restore the maximum number of dynamic NTP sessions to the system default. By default, the number is 100. A single device can have a maximum of 128 concurrent associations, including static associations and dynamic associations.
ntp-service multicast-server Syntax ntp-service multicast-server [ ip-address ] [ authentication-keyid keyid | ttl ttl-number | version number ] * undo ntp-service multicast-server [ ip-address ] View Interface view Default level 3: Manage level Parameters ip-address: Multicast IP address, which defaults to 224.0.1.1. authentication-keyid keyid: Specifies the key ID to be used for sending multicast messages to multicast clients, where keyid ranges from 1 to 4294967295.
Parameters ip-address: IP address of the local clock, which is 127.127.1.u, where u is the NTP process ID that ranges from 0 to 3. If you do not specify ip-address, it defaults to 127.127.1.0. stratum: Stratum level of the local clock, which ranges from 1 to 15 and defaults to 8. Description Use the ntp-service refclock-master command to configure the local clock as a reference source for other devices. Use the undo ntp-service refclock-master command to remove the configuration.
# Specify this key as a trusted key. [Sysname] ntp-service reliable authentication-keyid 37 ntp-service source-interface Syntax ntp-service source-interface interface-type interface-number undo ntp-service source-interface View System view Default level 3: Manage level Parameters interface-type interface-number: Specifies an interface by its interface type and interface number. Description Use the ntp-service source-interface command to specify the source interface for NTP messages.
priority: Specifies the peer designated by ip-address or peer-name as the first choice under the same condition. source-interface interface-type interface-number: Specifies the source interface for NTP messages. In an NTP message the local device sends to its peer, the source IP address is the primary IP address of this interface. interface-type interface-number represents the interface type and number. version number: Specifies the NTP version, where number ranges from 1 to 3 and defaults to 3.
Description Use the ntp-service unicast-server command to designate an NTP server for the device. Use the undo ntp-service unicast-server command to remove an NTP server designated for the device. By default, no NTP server is designated for the device. NOTE: If you include vpn-instance vpn-instance-name in the undo ntp-service unicast-server command, the command removes the NTP server with the IP address of ip-address in the public network. Examples # Designate NTP server 10.1.1.
Software upgrade commands boot-loader Syntax boot-loader file file-url { main | backup } View User view Default level 3: Manage level Parameters file file-url: Specifies a file name, a string of 1 to 63 characters. If you enter a relative path here, the system automatically converts it to an absolute path. The absolute path should contain no more than 63 characters; otherwise, the command cannot be successfully executed.
View User view Default level 3: Manage level Parameters read: Reads Boot ROM, or in other words, copies the Boot ROM image from the normal partition of the Boot ROM memory to the Flash as the backup, which will be used to restore the Boot ROM when the Boot ROM memory is broken. restore: Restores Boot ROM, or in other words, restores the Boot ROM codes from the backup partition to the normal partition of the Boot ROM memory.
2 -rw- 139 Sep 24 2008 06:51:38 system.xml 3 -rw- 524288 Aug 13 2008 17:07:18 extbtm.bin 4 -rw- 524288 Aug 13 2008 17:07:18 basbtm.bin 5 -rw- 4232 Sep 24 2008 06:51:40 startup.cfg 250088 KB total (223700 KB free) File system type of cfa0: FAT16 # Back up the Boot ROM image. bootrom backup all Now backuping bootrom, please wait... Backup bootrom! Please wait... Read normal basic bootrom completed! ................................................
View System view Default level 2: System level Parameters None Description Use the bootrom-update security-check enable command to enable the validity check function. Use the undo bootrom-update security-check enable command to disable the validity check function. By default, the validity check function is enabled at the time of upgrading Boot ROM. After the validity check function is enabled, the device will strictly check whether the Boot ROM upgrade files are valid and can match the hardware.
Table 22 Output description Field Description The boot file used this time File used for the current boot of the system Attributes of a startup configuration file: attribute • main • backup The boot file used next time Startup configuration file Failed to get the secure boot file used next time! If the main startup configuration file and the backup startup configuration file are not available or damaged, the secure startup configuration file will be used for the boot of the device 99
Configuration maintenance commands archive configuration Syntax archive configuration View User view Default level 3: Manage level Parameters None Description Use the archive configuration command to save the running configuration manually. With this command executed, the system saves the running configuration with the specified filename —filename prefix + serial number—to the specified path.
Description Use the archive configuration interval command to enable the automatic saving of the running configuration and set the interval. Use the undo archive configuration interval command to restore the default. By default, the system does not automatically save the running configuration. With this command executed, the system saves the running configuration with the specified filename to the specified path at a specified interval (the value of the minutes argument).
By default, the path and filename prefix for saving configuration files are not configured, and the system does not save the configuration file periodically. Before the running configuration is saved either manually or automatically, the file path and filename prefix must be configured. If the undo archive configuration location command is executed, the running configuration cannot be saved manually or automatically.
Before executing this command, configure the path and filename prefix for saving configuration files by using the archive configuration location command; otherwise, the execution of this command fails. If the undo archive configuration location command is executed, the maximum number of configuration files that can be saved also restores to the default. Examples # Set the maximum number of configuration files that can be saved to 10.
View System view Default level 3: Manage level Parameters private-key: Encrypts a configuration file with a private key. The encrypted configuration file can only be decrypted and recognized by the local device. public-key: Encrypts a configuration file with a public key. The encrypted configuration file can be decrypted and recognized by all devices supported the configuration file encryption function. Description Use the configuration encrypt command to enable configuration file encryption.
system-view [Sysname] configuration replace file my_archive_1.cfg Current configuration will be lost, save current configuration? [Y/N]:n Info: Now replacing the current configuration. Please wait... Info: Succeeded in replacing current configuration with the file my_archive_1.cfg.
display current-configuration Syntax display current-configuration [ [ configuration [ configuration ] | interface [ interface-type ] [ interface-number ] ] [ by-linenum ] [ | { begin | exclude | include } regular-expression ] ] View Any view Default level 2: System level Parameters configuration [ configuration ]: Displays non-interface configuration. If no argument is used, all the non-interface configuration is displayed; if parameters are used, display the specified information.
display current-configuration display default-configuration Syntax display default-configuration View Any view Default level 2: System level Parameters None Description Use the display default-configuration command to display the factory defaults of the device. The command displays all commands to be executed when the device boots with the factory defaults. Related commands: display current-configuration and display saved-configuration. Examples # Display the factory defaults of the device.
Examples # Display the configuration file saved for the next startup of the device. display saved-configuration # version 5.20, Release 3204P17 # sysname LB # domain default enable system # telnet server enable # multicast routing-enable # vlan 1 # vlan 999 # domain system access-limit disable state active idle-cut disable self-service-url disable # interface NULL0 # ---- More ---- The configurations are displayed in the order of global, port, and user interface.
16: domain system 17: access-limit disable 18: state active 19: idle-cut disable 20: self-service-url disable 21: # 22: interface NULL0 23: # ---- More ---- The More prompt indicates that there are more line that the screen can display. Pressing Enter displays the next line; pressing Space displays the next screen; pressing Ctrl+C or any other key exits the display.
View Any view Default level 1: Monitor level Parameters by-linenum: Displays the number of each line. Description Use the display this command to display the valid configuration information under the current view. To check whether your configuration takes effect, use the display this command. The valid configuration that is the same as the default is not displayed. The invalid configuration is not displayed.
View User view Default level 3: Manage level Parameters None Description Use the reset saved-configuration command to delete the startup configuration file(s) saved on the storage media of the device. This command permanently deletes the startup configuration file from the device. Use it with caution. Related commands: display saved-configuration and save. Examples # Delete the startup configuration file to be used at the next startup from the storage media of the device.
save Syntax save file-url save [ safely ] View Any view Default level 2: System level Parameters file-url: File path, where the extension of the file name must be .cfg. safely: Sets the configuration saving mode to safe. If this argument is not specified, the configuration file is saved in fast mode.
Parameters cfgfile: Configuration file name. The file must be a file with an extension .cfg stored in the root directory of the storage media (For a device that has been partitioned, the file must be saved in the first partition). Description Use the startup saved-configuration command to specify a startup configuration file to be used at the next system startup.
Device reboot commands display reboot-type Syntax display reboot-type View Any view Default level 2: System level Parameters None Description Use the display reboot-type command to display the reboot mode of the LB module. Examples # Display the reboot mode of the LB module. display reboot-type The rebooting type this time is: Cold The output shows that the last reboot mode of the LB module is Cold boot (cold boot restarts a device by powering it off and then on).
display schedule reboot System will reboot at 16:00:00 03/10/2006 (in 2 hours and 5 minutes). The output shows that the system will reboot at 16:00:00 on March 10, 2006 (in two hours and five minutes). reboot Syntax reboot View User view Default level 3: Manage level Parameters None Description Use the reboot command to reboot the LB module. CAUTION: • Device reboot might result in the interruption of the ongoing services. Use these commands with caution.
Description Use the schedule reboot at command to enable the scheduled reboot function and specify a specific reboot time and date. Use the undo schedule reboot command to disable the scheduled reboot function. By default, the scheduled reboot function is disabled. If no specific reboot date is specified: • When the specified reboot time is later than the current time, the device will be rebooted at the reboot time of the current day.
undo schedule reboot View User view Default level 3: Manage level Parameters hh:mm: Device reboot wait time, in the hh:mm format. The hh value ranges from 0 to 720, and the mm value ranges from 0 to 59. When the hh value is 720, the mm value cannot be more than 0. mm: Device reboot wait time in minutes, which ranges from 0 to 43,200. Description Use the schedule reboot delay command to enable the scheduled reboot function and set a reboot wait time.
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 the command-alias enable command to enable the command alias function. Use the undo command-alias enable command to disable the command alias function. By default, the command alias function is disabled. Examples # Enable the command alias function.
alias: Specifies the command alias, which cannot be the same as the first keyword of an existing command. Description Use the command-alias mapping command to configure command aliases. Use the undo command-alias mapping command to delete command aliases. By default, a command has no alias. Examples # Configure command aliases by specifying show as the replacement of the display keyword.
• The command specified in the command-privilege command must be complete, and has valid arguments. For example, the default level of the tftp server-address { get | put | sget } source-filename [ destination-filename ] [ source { interface interface-type interface-number | ip source-ip-address } ] command is 3. After the command-privilege level 0 view shell tftp 1.1.1.1 put a.
display clipboard ---------------- CLIPBOARD----------------display current-configuration display command-alias Syntax display command-alias View Any view Default level 1: Monitor level Parameters None Description Use the display command-alias command to display defined command aliases and the corresponding commands. Examples # Display the defined command aliases and the corresponding commands.
display history-command display history-command system-view vlan 2 quit display hotkey Syntax display hotkey View Any view Default level 1: Monitor level Parameters None Description Use the display hotkey command to display hotkey information. Examples # Display hotkey information.
CTRL_P Display the previous command from the history buffer. CTRL_R Redisplay the current line. CTRL_V Paste text from the clipboard. CTRL_W Delete the word left of the cursor. CTRL_X Delete all characters up to the cursor. CTRL_Y Delete all characters after the cursor. CTRL_Z Return to the User View. CTRL_] Kill incoming connection or redirect connection. ESC_B Move the cursor one word back. ESC_D Delete remainder of word. ESC_F Move the cursor forward one word.
Examples # Associate the hot key Ctrl+T to the display tcp status command. system-view [Sysname] hotkey ctrl_t display tcp status quit Syntax quit View Any view Default level 0: Visit level (in user view) 2: System level (in other views) Parameters None Description Use the quit command to return to a lower-level view. In user view, the quit command terminates the connection and reconnects to the switch.
Examples # Return to user view from GigabitEthernet 0/1 view. [Sysname-GigabitEthernet0/1] return screen-length disable Syntax screen-length disable undo screen-length disable View User view Default level 1: Monitor level Parameters None Description Use the screen-length disable command to disable the multiple-screen output function. Use the undo screen-length disable command to enable the multiple-screen output function.
If a level is not specified, the command switches the user privilege level to 3. 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 switch, the user can access the assigned level and all levels below it. Related commands: super password. Examples # Switch to user privilege level 2 (The current user privilege level is 3.).
Description Use the super authentication-mode command to set the authentication mode for user privilege level switch. Use the undo super authentication-mode command to restore the default. By default, the authentication mode for the user privilege level switch is local. Related commands: super password. Examples # Set the authentication mode for the user privilege level switch to local.
During authentication, you must input a simple-text password regardless of the password type you set. • Examples # Set simple-text password abc for switching to user privilege level 3. system-view [Sysname] super password level 3 simple abc # Display the configured password for level switching. [Sysname] display current-configuration # super password level 3 simple abc # Set cipher-text password abc for switching to user privilege level 3.
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 LB module. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device.
Index ABCDEFHIJLNOPQRSTUVW databits,6 A display acsei client info,37 acl (user interface view),74 display acsei client summary,38 acsei client close,34 display acsei-client information,40 acsei client reboot,34 display acsei-client status,41 acsei server,35 display archive configuration,105 acsei server enable,35 display boot-loader,98 acsei timer clock-sync,36 display clipboard,120 acsei timer monitor,36 display clock,46 acsei-client enable,40 display command-alias,121 activation-key,1
display transceiver manuinfo,64 ntp-service unicast-peer,92 display user-interface,8 ntp-service unicast-server,93 display users,10 O display version,65 oap connect,32 Documents,129 oap management-ip,33 E oap reboot,33 escape-key,12 P F parity,21 flow-control,13 protocol inbound,22 free web-users,75 Q H quit,124 header,65 R history-command max-size,13 reboot,115 hotkey,123 reset saved-configuration,110 I reset unused porttag,67 idle-timeout,14 restore startup-configuration,111
time at,69 V time delay,71 view,73 U W unified-management vlan,77 Websites,129 user privilege level,30 user-interface,31 134