HP 6125XLG Blade Switch Fundamentals Command Reference Part number: 5998-3730 Software version: Release 2306 Document version: 6W100-20130912...
Page 2
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Basic CLI 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 Predefined user roles...
Views System view Predefined user roles network-admin Parameters cmdkey: Specifies the first keyword of a non-undo command or the second keyword of an undo command. You must enter the keyword in its complete form. alias: Specifies an alias for the keyword, a string of 1 to 20 characters. It must be different from the first keyword of any non-undo command and the second keyword of any undo command.
include: Displays all lines matching the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines Use the | { begin | exclude | include } regular-expression option with a display command to filter the command output.
display > Use display > to save the output from a display command to a separate file. Syntax display command > filename Views Any view Predefined user roles network-admin network-operator Parameters command: Specifies the keywords and arguments of a display command. To display available keywords and arguments, enter display ?.
Predefined user roles network-admin network-operator Parameters command: Specifies the keywords and arguments of a display command. To display available keywords and arguments, enter display ?. filename: Specifies the name of the file that is used to save the output. Usage guidelines The display commands show the configuration, statistics, and states of the device.
Views Any view Predefined user roles network-admin network-operator Examples # Display command keyword alias information. <Sysname> display command-alias Command alias is enabled Index Alias Command key ping1 ping ssh1 Related commands command-alias enable • command-alias mapping • display history-command Use display history-command to display all commands that are saved in the command history buffer for your current CLI session.
Related commands history-command max-size display history-command all Use display history-command all to display all commands saved in the command history buffer for all CLI sessions. Syntax display history-command all Views Any view Predefined user roles network-admin network-operator Usage guidelines The system automatically saves commands successfully executed by users to the command history buffer for all CLI sessions.
Page 15
Predefined user roles network-admin network-operator Examples # Display hotkey information. <Sysname> display hotkey ----------------- Hotkeys ----------------- -Defined command hotkeys- CTRL_G display current-configuration CTRL_L display ip routing-table CTRL_O undo debugging all -Undefined command hotkeys- CTRL_T NULL CTRL_U NULL -System-reserved hotkeys- CTRL_A Move the cursor to the beginning of the line.
Syntax quit Views Any view Predefined user roles network-admin network-operator Usage guidelines Executing this command in user view disconnects you from the device. Examples # Return from Ten-GigabitEthernet1/1/5 interface view to system view and then to user view. [Sysname- Ten-GigabitEthernet1/1/5] quit [Sysname] quit <Sysname>...
Default Pausing between screens of output is enabled. Views User view Predefined user roles network-admin Usage guidelines If you disable pausing between screens of output, all output is displayed and the screen is refreshed continuously until the final screen is displayed. This command takes effect only for the current session.
Login management commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. Unless otherwise noted, devices in the configuration examples are operating in non-FIPS mode.
****************************************************************************** * Copyright (c) 2010-2013 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. Press ENTER to get started. Press Enter. Pressing Enter does not start a session.
Usage guidelines For more information about empty configuration and the default configuration file, see Fundamentals Configuration Guide Parameters none: Performs no authentication. This keyword is not supported in FIPS mode. password: Performs local password authentication. This keyword is not supported in FIPS mode. scheme: Performs AAA authentication.
Page 22
The device automatically Telnets to 192.168.1.41, and the following output is displayed: C:\> telnet 192.168.1.40 ****************************************************************************** * Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. ****************************************************************************** <Sysname>...
* Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. ****************************************************************************** <Sysname> This operation is the same as directly logging in to the device at 192.168.1.41 through Telnet. When you break the Telnet connection to 192.168.1.41, the Telnet connection to 192.168.1.40 is broken at the same...
Syntax command authorization undo command authorization Default Command authorization is disabled. Logged-in users can execute commands without authorization. Views User interface view Predefined user roles network-admin Usage guidelines When command authorization is enabled, a command is available only if the user has the commensurate user role and is authorized to use the command by the AAA scheme.
Predefined user roles network-admin 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 setting must be the same as that on the configuration terminal. Examples # Configure AUX 0 to use five data bits for each character.
Page 26
Views Any view Predefined user roles network-admin network-operator Parameters number1: Specifies the absolute number of a user interface, in the range of 0 to 35. aux: Specifies the AUX user interface. console: Specifies the console user interface. vty: Specifies the VTY user interface. number2: Specifies the relative number of a user interface, in the range of 0 to 9 for a console/AUX interface or 0 to 15 for a VTY user interface.
3 user interfaces used. 33 user interfaces not used. Table 2 Command output Fields Description The number indicates the absolute number of the first user interface of the user interface type, starting from 0. The status indicates whether the user interfaces of the user interface type are being used (X for unused and U for used).
Table 3 Command output Field Description Absolute number of the user interface. Type and relative number of the user interface. Delay Time elapsed after the user's last input, in the format hh:mm:ss. Type User type, such as Telnet or SSH. Indicates the user interface you are using.
You can execute this command multiple times, but only the most recent configuration takes effect. To view the current shortcut key definition, use the display current-configuration command. Examples # Define character a as the shortcut key for terminating a task. <Sysname>...
Examples # Configure software flow control in the inbound and outbound directions for user interface AUX 0. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] flow-control none free user-interface Use free user-interface to release a user interface. Syntax free user-interface { number1 | { aux | console | vty } number2 } Views User view Predefined user roles...
[OK] history-command max-size Use history-command max-size to set the size of the command history buffer for a user interface. Use undo history-command max-size to restore the default. Syntax history-command max-size size-value undo history-command max-size Default The buffer of a user interface saves up to 10 history commands. Views User interface view Predefined user roles...
Views User interface view Predefined user roles network-admin Parameters minutes: Specifies the number of minutes for the idle timeout, in the range of 0 to 35791. The default is 10 minutes. seconds: Specifies the number of seconds for the idle timeout, in the range of 0 to 59. The default is 0 seconds.
Password: Again: locked ! // The user interface is locked. To unlock it, press Enter and enter the password: Password: <Sysname> parity Use parity to specify a parity check mode. Use undo parity to restore the default. Syntax parity { even | mark | none | odd | space } undo parity Default The setting is none, and no parity check is performed.
protocol inbound Use protocol inbound to enable a user interface to support Telnet, SSH, or both. Use undo protocol inbound to restore the default. Syntax In non-FIPS mode: protocol inbound { all | ssh | telnet } undo protocol inbound In FIPS mode: protocol inbound { all | ssh } undo protocol inbound...
Syntax screen-length screen-length undo screen-length Default Up to 24 lines are displayed on a screen. Views User interface view Predefined user roles network-admin Parameters screen-length: Specifies the maximum number of lines to be displayed on a screen, in the range of 0 to 512.
Parameters all: Specifies all user interfaces. number1: Specifies the absolute number of a user interface, in the range of 0 to 35. aux: Specifies the AUX user interface. console: Specifies the console user interface. vty: Specifies the VTY user interface. number2: Specifies the relative number of a user interface, in the range of 0 to 9 for a console/AUX interface or 0 to 15 for a VTY user interface.
Parameters hash: Sets a hashed password. simple: Sets a plaintext password. password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be a string of 1 to 16 characters. If hash is specified, it must be a string of 1 to 1 10 characters. Usage guidelines This command is not supported in FIPS mode.
<Sysname> system-view [Sysname] user-interface vty 0 4 [Sysname-ui-vty0-4] undo shell Disable ui-vty0-4 , are you sure? [Y/N]:y [Sysname-ui-vty0-4] speed 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...
Views AUX user interface view, console user interface view Predefined user roles network-admin Parameters 1: Uses one stop bit. 1.5: Uses one and a half stop bits. The device does not support using one and a half stop bits. If you specify this keyword, two stop bits are used.
ip ip-address: Specifies the source IPv4 address for outgoing Telnet packets. Usage guidelines This command is not supported in FIPS mode. To terminate the current Telnet connection, press Ctrl+K or execute the quit command. The source IPv4 address or source interface that is specified by this command is only applicable to the current Telnet connection.
[Sysname] telnet client source ip 1.1.1.1 Related commands display telnet client configuration 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...
Views System view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number: Basic ACL—2000 to 2999. • Advanced ACL—3000 to 3999. • Ethernet frame header ACL—4000 to 4999. • Usage guidelines This command is not supported in FIPS mode. Only one ACL can be used to filter Telnet logins, and only users permitted by the ACL can Telnet to the device.
Parameters layer2-acl-number: Specifies an Ethernet frame header ACL by its number in the range of 4000 to 4999. acl-number: Specifies an IPv6 ACL by its number: Basic ACL—2000 to 2999. The ipv6 option is required. • Advanced ACL—3000 to 3999. The ipv6 option is required. •...
Examples # Enable the Telnet server function. <Sysname> 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.
Predefined user roles network-admin Parameters first-number1: Specifies the absolute number of the first user interface, in the range of 0 to 35. last-number1: Specifies the absolute number of the last user interface, in the range of 1 to 35. This number cannot be smaller than first-number1.
Page 46
Views User interface view Predefined user roles network-admin Parameters role-name: Specifies a user role name, a case-sensitive string of 1 to 63 characters. The user role can be predefined (network-admin, network-operator, or level-0 to level- 1 5) or user-defined. If you do not specify this argument for the undo user-role command, the command restores the default user role.
RBAC commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. description Use description to configure a description for a user role.
Page 48
Predefined user roles network-admin network-operator Parameters name role-name: Specifies a user role name, a case-sensitive string of 1 to 63 characters. Usage guidelines If no user role name is specified, the command displays information about all user roles, including the predefined user roles.
Field Description Permitted interfaces Interfaces accessible to the user role. VPN instance policy of the user role: • deny—Denies access to any VPN except permitted VPNs. VPN instance policy • permit (default)—Default VPN instance policy, which enables the user role to access any VPN instance. Permitted VPN instances VPNs accessible to the user role.
Page 50
Parameters name feature-name: Displays the commands of a feature. The feature-name argument specifies the feature name, and all its letters must be lower case. verbose: Displays the commands of each feature. Usage guidelines If neither name feature-name nor verbose is specified, the display role feature command displays only the list of features available in the system.
super * display password-control * reset password-control * system-view ; password-control * Table 5 Command output (display role feature name aaa) Field Description Feature Displays the name and brief function description of the feature. All the commands that start with domain in system view and all the system-view ;...
Page 53
Predefined user roles network-admin network-operator Parameters name feature-group-name: Specifies a feature group. The feature-group-name argument represents the feature group name, a case-sensitive string of 1 to 31 characters. If no feature group is specified, the command displays information about all feature groups. verbose: Displays the commands of each feature in the specified feature group.
Page 54
Feature: route-policy (Routing Policy related commands) Feature: igmp (Internet Group Management Protocol related commands) Feature: mld (Multicast Listener Discovery related commands) Feature: msdp (Multicast Source Discovery Protocol related commands) # Display the commands in each feature group. For more information about the wildcards and marks used in the command list, see Table <Sysname>...
Related commands display role feature • display role feature-group • • role feature-group interface policy deny Use interface policy deny to enter user role interface policy view. Use undo interface policy deny to restore the default user role interface policy. Syntax interface policy deny undo interface policy deny...
[Sysname] role name role1 [Sysname-role-role1] interface policy deny [Sysname-role-role1-ifpolicy] permit interface ten-gigabitethernet 1/1/5 to ten-gigabitethernet 1/1/9 Related commands • display role permit interface • role • permit interface Use permit interface to configure a list of interfaces accessible to a user role. Use undo permit interface to disable the access of a user role to specific interfaces.
Any change to a user role interface policy takes effect only on users that log in with the user role after the change. Examples # Permit the user role role1 to access Ten-GigabitEthernet 1/1/5 and Ten-GigabitEthernet 1/1/9 to Ten-GigabitEthernet 1/1/1 1, enter interface view and VLAN view, and execute all the commands that are available in interface view and VLAN view.
Page 59
Views User role VLAN policy Predefined user roles network-admin Parameters vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each VLAN item specifies a VLAN by its VLAN ID or a range of VLANs in the form of vlan-id1 to vlan-id2. The value range for the VLAN IDs is 1 to 4094.
vlan policy deny • permit vpn-instance Use permit vpn-instance to configure a list of VPNs accessible to a user role. Use undo permit vpn-instance to disable the access of a user role to specific VPNs. Syntax permit vpn-instance vpn-instance-name&<1- 1 0> undo permit vpn-instance [ vpn-instance-name&<1- 1 0>...
# Verify that you can assign the primary accounting server at 10.1 10.1.2 to the VPN in the RADIUS scheme radius1. <Sysname> system-view [Sysname] radius scheme radius1 [Sysname-radius-radius1] primary accounting 10.110.1.2 vpn-instance vpn1 # Verify that you cannot create the VPN vpn2 or enter its view. <Sysname>...
Examples # Create the user role role1 and enter its view. <Sysname> system-view [Sysname] role name role1 [Sysname-role-role1] Related commands display role • interface policy deny • rule • • vlan policy deny vpn-instance policy deny • role default-role enable Use role default-role enable to enable the default user role feature for AAA users.
role feature-group Use role feature-group to create a user role feature group and enter user role feature group view. Use undo role feature-group to delete a user role feature group. Syntax role feature-group name feature-group-name undo role feature-group name feature-group-name Default Two user role feature groups, L2 and L3, are created.
Page 64
undo rule { number | all } Default A user-defined user role has no rules and cannot use any command. Views User role view Predefined user roles network-admin Parameters number: Specifies a rule number in the range of 1 to 256. deny: Denies access to any specified command.
Page 65
If a predefined user role rule and a user-defined user role rule conflict, the user-defined user role rule • takes effect. Any rule modification, addition, or removal for a user role takes effect only on the users that log in with the user role after the change.
Rule Guidelines To control access to a command, you must specify the command immediately behind the view to which the command is assigned. The rules that control command access for any subview do not apply to the command. To control the access to a command, you must specify the For example, the "rule 1 deny command system ;...
Syntax super [ rolename ] Views User view Predefined user roles network-admin Parameters rolename: Specifies a user role, a case-sensitive string of 1 to 63 characters. The user role must exist in the system. If no user role is specified, you obtain the user role network-admin. Usage guidelines To enable a user to obtain a temporary user role that is not specified in the user account, you must configure user role authentication.
Views System view Predefined user roles network-admin Parameters local: Enables local password authentication. scheme: Enables remote AAA authentication. Usage guidelines The authentication setting applies only to AUX and VTY users. A console user can obtain the user role without authentication. For local password authentication, use the super password command to set a password.
Page 69
undo super password [ role rolename ] In FIPS mode: super password [ role rolename ] undo super password [ role rolename ] Default No password is set for a user role. Views System view Predefined user roles network-admin Parameters role rolename: Specifies a user role, a case-sensitive string of 1 to 63 characters.
vlan policy deny Use vlan policy deny to enter the user role VLAN policy view. Use undo vlan policy deny to restore the default user role VLAN policy. Syntax vlan policy deny undo vlan policy deny Default A user role has no access to any VLAN. Views User role view Predefined user roles...
vpn-instance policy deny Use vpn-instance policy deny to enter user role VPN instance policy view. Use undo vpn-instance policy deny to restore the default user role VPN instance policy. Syntax vpn-instance policy deny undo vpn-instance policy deny Default A user role has access to any VPN. Views User role view Predefined user roles...
FTP commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. FTP is not supported in FIPS mode. FTP server commands display ftp-server Use display ftp-server to display FTP server configuration and status information.
display ftp-user Use display ftp-user to display detailed information about logged-in FTP users. Syntax display ftp-user Views Any view Predefined user roles network-admin network-operator Examples # Display detailed information about logged-in FTP users. <Sysname> display ftp-user UserName HostIP Port HomeDir root 192.168.20.184 46539...
Predefined user roles network-admin Parameters username: Specifies a username. You can use the display ftp-user command to display FTP user information. Examples # Manually release the FTP connection that was established by using the user account named ftpuser. <Sysname> free ftp user ftpuser Are you sure to free FTP connection? [Y/N]:y <Sysname>...
Predefined user roles network-admin Parameters ipv6-address: Specifies the source IPv6 address of an FTP connection to be released. You can use the display ftp-user command to view the source IPv6 address of the FTP connection. port port: Specifies the source port of an FTP connection to be released. You can use the display ftp-user command to view the source port of the FTP connection.
ftp server enable Use ftp server enable to enable the FTP server. Use undo ftp server enable to disable the FTP server. Syntax ftp server enable undo ftp server enable Default The FTP server is disabled. Views System view Predefined user roles network-admin Examples # Enable the FTP server.
<Sysname> system-view [Sysname] ftp timeout 36 FTP client commands Before executing FTP client configuration commands, make sure you have configured authorization settings for users on the FTP server. Authorized operations include view the files under the working directory, read/download specified files, create directories, upload files, and rename/remove files. The FTP client commands in this section are supported by the device, but whether they can be executed successfully depends on the FTP server.
Views FTP client view Predefined user roles network-admin Usage guidelines You can perform this operation only after you log in to the FTP server. The carriage return characters vary with operating systems. For example, HP and Windows use /r/n, and Linux uses /n. To transfer files between two systems that use different carriage return characters, select the FTP transfer mode according to the file type.
Examples # Set the file transfer mode to binary. ftp> binary 200 TYPE is now 8-bit binary Related commands ascii Use bye to terminate the connection to the FTP server and return to user view. If no connection is established between the device and the remote FTP server, use this command to return to user view.
represents a folder or subfolder in the current directory. For more information about the drive and path arguments, see Fundamentals Configuration Guide. ..: Returns to the upper directory. Executing the cd .. command is the same as executing the cdup command.
ftp> pwd 257 "/ftp/subdir" is your current location ftp> cdup 250 OK. Current directory is /ftp ftp> pwd 257 "/ftp" is your current location Related commands • • close Use close to terminate the connection to the FTP server without exiting FTP client view. Syntax close Views...
Predefined user roles network-admin Usage guidelines When FTP client debugging is enabled, executing this command disables FTP client debugging. When FTP client debugging is disabled, executing this command enables FTP client debugging. Examples # Enable and then disable FTP client debugging. ftp>...
Predefined user roles network-admin Parameters remotefile: Specifies the name of a file on the FTP server. Usage guidelines You can perform this operation only after you log in to the FTP server. To perform this operation, you must have delete permission on the FTP server. Examples # Delete file b.txt.
display ftp client source Use display ftp client source to display the source address settings on the FTP client. Syntax display ftp client source Views Any view Predefined user roles network-admin network-operator Examples # Display the source address settings on the FTP client. <Sysname>...
If no parameters are specified, this command enters the FTP client view without logging in to the FTP server. If the server parameters are specified, you are prompted to enter the username and password for logging in to the FTP server. Examples # Log in to the FTP server 192.168.0.21 1, and specify the source IP address of sent FTP packets as 192.168.0.212.
The source IP address specified with the ftp client source command applies to all FTP connections while the one specified with the ftp command applies only to the current FTP connection. Examples # Specify the source IP address for sent FTP packets as 192.168.20.222. <Sysname>...
Password: 230 User logged in Remote system type is HP Use get to download a file from the FTP server and save the file. Syntax get remotefile [ localfile ] Views FTP client view Predefined user roles network-admin Parameters remotefile: Specifies the name of the file to be downloaded. localfile: Specifies a name for the downloaded file.
Related commands help Use help to display all commands supported by an FTP client. Use help command-name to display the help information of a specific command. Syntax help [ command-name ] Views FTP client view Predefined user roles network-admin Parameters command-name: Specifies a command supported by the FTP client.
Page 91
Views FTP client view Predefined user roles network-admin Parameters directory: Specifies a local directory of the FTP client. There must be a slash sign (/) before the name of the storage medium, for example, /flash:/logfile. /: Specifies the root directory of the FTP client. Examples # Display the local working directory.
Examples # Create subdirectory newdir in the current directory of the remote FTP server. ftp> mkdir newdir 257 "newdir" : The directory was successfully created newer Use newer to update a local file by using a remote file on the FTP server. Syntax newer remotefile [ localfile ] Views...
Parameters server-address: Specifies the IP address or host name of the FTP server. service-port: Specifies the TCP port number of the FTP server, in the range of 0 to 65535. The default value is 21. Usage guidelines After you issue this command, you are prompted to enter the username and password. You must provide correct username and password before you can log in to the server.
Examples # Set the FTP operation mode to passive. ftp> passive Passive mode on. ftp> passive Passive mode off. Use put to upload a file on the client to the remote FTP server. Syntax put localfile [ remotefile ] Views FTP client view Predefined user roles network-admin...
ftp> put slot2#flash:/test/a.txt b.txt local: slot2#flash:/test/a.txt remote: b.txt 150 Connecting to port 47461 226 File successfully transferred 1569 bytes sent in 0.000671 seconds (2.23 Mbyte/s) Related commands Use pwd to display the currently accessed directory on the FTP server. Syntax Views FTP client view Predefined user roles...
Related commands reget Use reget to get the missing part of a file from the FTP server. Syntax reget remotefile [ localfile ] Views FTP client view Predefined user roles network-admin network-operator Parameters remotefile: Specifies the name of the file on the FTP server. localfile: Specifies the name of the local file.
Parameters oldfilename: Specifies the original file name. newfilename: Specifies the new file name. Usage guidelines You can perform this operation only after you log in to the FTP server. Examples # Rename the file a.txt as b.txt Method 1: ftp> rename (from-name) a.txt (to-name) b.txt 350 RNFR accepted - file exists, ready for destination...
Views FTP client view Predefined user roles network-admin Parameters marker: Specifies the retransmit marker. Usage guidelines You can perform this operation only after you log in to the FTP server. Support for this command varies with FTP servers. Examples # Retransmit the file h.c (82 bytes) from 2 bytes. ftp>...
Page 100
Examples # Display the FTP-related commands supported by the FTP. ftp> rhelp 214-The following FTP commands are recognized USER PASS NOOP QUIT SYST TYPE HELP CWD XCWD PWD CDUP XCUP XPWD LIST NLST MLSD PORT EPRT PASV EPSV REST RETR STOR APPE DELE MKD XMKD RMD XRMD ABOR...
Field Description Removes folders. XRMD Extended command with the meaning of RMD. ABOR Aborts the transmission. SIZE Size of the transmission file. RNFR Original name. RNTO New name. rmdir Use rmdir to permanently delete a directory on the FTP server. Syntax rmdir directory Views...
Page 102
Views FTP client view Predefined user roles network-admin Parameters remotefile: Specifies a directory or file on the FTP server. Usage guidelines You can perform this operation only after you log in to the FTP server. Support for this command and output of this command depends on the FTP server model. Examples # Display FTP server status.
213 End of status Table 12 Command output Field Description 213-Status follows: Beginning of the display of the file, where 213 specifies the FTP command. The first bit specifies the file type: • -—Common. • B—Block. • c—Character. • d—Directory. •...
Not using any security mechanism. Mode: stream; Type: ascii; Form: non-print; Structure: file Verbose: on; Bell: off; Prompting: on; Globbing: off Store unique: off; Receive unique: off Case: off; CR stripping: on Ntrans: off Nmap: off Hash mark printing: off; Use of PORT cmds: on Table 13 Command output Field Description...
user Use user to change to another user account after login. Syntax user username [ password ] Views FTP client view Predefined user roles network-admin Parameters username: Specifies the username of the target user account. password: Specifies the password of the target user account. Usage guidelines You can perform this operation only after you log in to the FTP server.
Page 106
Usage guidelines This command takes effect only for the current logged-in users. When the users log in again, the command restores to the default setting. Examples # Disable and then enable the device to display FTP operation information. ftp> verbose Verbose mode off.
Page 107
ascii debug mkdir reget status binary newer rstatus system disconnect open rhelp user passive rename verbose cdup help reset close restart # Display the help information for the dir command. ftp> ? dir list contents of remote directory Related commands help...
TFTP configuration commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. TFTP is not supported in FIPS mode.
Usages guidelines The source address specified with the tftp command takes precedence over the one specified with the tftp client source command. The source IP address specified with the tftp client source command applies to all TFTP connections while the one specified with the tftp command applies only to the current TFTP connection. Examples # Download the new.bin file from the TFTP server at 192.168.1.1 and save it as new.bin.
Predefined user roles network-admin Parameters interface interface-type interface-number: Specifies the source interface for establishing TFTP connections. The primary IP address of the source interface is used as the source IP address of packets sent to a TFTP server. Make sure the interface is up and has the primary IP address configured. Otherwise, the transmission fails.
get: Downloads a file and writes the file directly to the destination folder. If the destination folder already has a file that uses the same name, the system deletes the existing file before starting the download operation. The existing file is permanently deleted even if the download operation fails. put: Uploads a file.
Views System view Predefined user roles network-admin Parameters interface interface-type interface-number: Specifies the source interface by its type and number. The IPv6 address configured on the source interface is the source address of sent TFTP packets. Make sure the interface is up. Otherwise, the transmission fails. ip source-ip-address: Specifies the source IPv6 address of sent TFTP packets.
Usages guidelines You can use an ACL to deny or permit the device's access to specific TFTP servers. Examples # Allow the device to access only the TFTP server at 1.1.1.1. <Sysname> System-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 1.1.1.1 0 [Sysname-acl-basic-2000] quit [Sysname] tftp-server acl 2000 tftp-server ipv6 acl...
File system management commands IMPORTANT: Before managing storage media, files, and directories, make sure you know the possible impacts. • A file or directory whose name starts with a period (.) is considered a hidden file or directory. Do not •...
Page 115
Views User view Predefined user roles network-admin Parameters fileurl-source: Specifies the name or URL of the file to be copied. If the file resides on an FTP or TFTP server rather than on the device, specify the URL of the file. The file name is case insensitive. Whether a URL is case sensitive depends on the server.
# Copy test.cfg from the current folder and save it to the working directory on FTP server 1.1.1.1 as testbackup.cfg. In this example, the FTP username and password are user and private. <Sysname> copy test.cfg ftp://user:private@1.1.1.1/testbackup.cfg Copy flash:/test.cfg to ftp://user:private@1.1.1.1/testbackup.cfg?[Y/N]:y Copying file flash:/test.cfg to ftp://user:private@1.1.1.1/testbackup.cfg...
Do not use the delete command to delete files from the recycle bin. To delete files from the recycle bin, use the reset recycle-bin command. If you successively delete two files that have the same name from the same directory, the file deleted later overwrites the file moved earlier to the recycle bin.
file-url: Displays a specific file or folder. The file-url argument is case insensitive and can use the asterisk (*) as a wildcard. For example, to display files with the .txt extension in the current directory, enter dir *.txt. /all-filesystems: Displays files and folders in the root directory of all storage media on the device. Usage guidelines If no option is specified, the command displays all visible files and folders in the current directory.
Predefined user roles network-admin Parameters alert: Prompts for confirmation when a destructive file or folder operation is being performed. quiet: Gives no confirmation prompt for file or folder operations. Usage guidelines In quiet mode, the system does not prompt for confirmation when a user performs a file or folder operation.
Views User view Predefined user roles network-admin Parameters medium-name: Specifies the name of a storage medium, case insensitive. Usage guidelines Formatting a storage medium permanently deletes all files on the storage medium. Examples # Format the Flash. <Sysname> format flash: All data on flash: will be lost, continue? [Y/N]:y Formatted flash: completed.
472972 KB total (472844 KB free) gzip Use gzip to compress a file. Syntax gzip filename Views User view Predefined user roles network-admin Parameters filename: Specifies the name of the file to be compressed. The compressed file will be saved to file filename.gz.
Parameters directory: Specifies the name of a folder, a case-sensitive string. Usage guidelines The name of the folder to be created must be unique in the specified directory. To use this command to create a folder, the specified directory must exist. For example, to create the flash:/test/mytest folder, the test folder must exist.
irf mac-address persistent timer irf auto-update enable irf link-delay 0 irf member 2 priority 1 isis 1 mac-address mac-roaming enable lldp global enable system-working-mode advance ---- More ---- <Sysname> # Display the contents of the testcfg.cfg file on the subordinate member with the member ID 2. <Sysname>...
Views User view Predefined user roles network-admin Parameters fileurl-source: Specifies the name of the source file, case insensitive. fileurl-dest: Specifies the name of the destination file or folder, case sensitive. Usage guidelines If you specify a destination folder, the system moves the source file to the specified folder without changing the file name.
Views User view Predefined user roles network-admin Parameters fileurl-source: Specifies the name of the source file or folder, case insensitive. fileurl-dest: Specifies the name of the destination file or folder, case sensitive. Usage guidelines If the destination file or folder name is the same as the name of an existing file or folder in the current working directory, this command is not executed.
Clear flash:/b.cfg?[Y/N]:y Clearing file flash:/b.cfg... Done. Related commands delete rmdir Use rmdir to remove a folder. Syntax rmdir directory Views User view Predefined user roles network-admin Parameters directory: Specifies a folder name, case insensitive. Usage guidelines To remove a directory, you must delete all files and subfolders in the directory permanently or move them to the recycle bin.
Usage guidelines The digest can be used to verify the integrity of the file. For example, you can use this command to calculate the digest of a software image file and compare it with that provided on the HP website to verify whether the file has been tampered with.
Configuration file management commands The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. Unless otherwise noted, devices in the configuration examples are operating in non-FIPS mode.
archive configuration interval Use archive configuration interval to enable automatic running-configuration archiving and set the archiving interval. Use undo archive configuration interval to restore the default. Syntax archive configuration interval minutes undo archive configuration interval Default The system does not automatically archive the running configuration. Views System view Predefined user roles...
archive configuration max • • display archive configuration archive configuration location Use archive configuration location to configure the directory and file name prefix for archiving the running configuration. 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.
Examples # Set the maximum number of configuration archives to 10. <Sysname> system-view [Sysname] archive configuration max 10 Related commands archive configuration • archive configuration location • archive configuration interval • display archive configuration • backup startup-configuration Use backup startup-configuration to back up the main next-startup configuration file to a TFTP server. Syntax backup startup-configuration to tftp-server [ dest-filename ] Views...
undo configuration encrypt Default Configuration encryption is disabled. The running configuration is saved to a configuration file without encryption. Views System view Predefined user roles network-admin Parameters private-key: Encrypts configuration with a private key. Only the encrypting device can decrypt the encrypted configuration file.
Make sure the replacement configuration file is created by using the configuration archive function • or the save command on the device. If the configuration file is not created on the device, make sure the configuration file content format • is fully compatible with the device.
Field Description Filename prefix File name prefix for configuration archives. Interval (in minutes) for the system to automatically archive the running configuration. Archive interval in minutes If automatic configuration saving is disabled, this field is not available. Maximum number of archive files Maximum number of configuration archives that can be saved.
user-role network-admin interface M-Ethernet0/0/0 ip address dhcp-alloc return display saved-configuration Use display saved-configuration to display the configuration saved to the main next-startup configuration file. Syntax display saved-configuration Views Any view Predefined user roles network-admin network-operator Usage guidelines Use this command to verify that important settings have been saved to the main next-startup configuration file.
system-working-mode advance ---- More ---- Related commands reset saved-configuration • save • display startup Use display startup to display the current startup configuration file and the next-startup configuration files. Syntax display startup Views Any view Predefined user roles network-admin network-operator Usage guidelines Current startup configuration file is the configuration file used at this startup.
Field Description Next backup startup saved-configuration file Backup startup configuration file to be used at the next startup. Slot n Displays the startup configuration files on member device n. Related commands startup saved-configuration display this Use display this to display the running configuration in the current view. Syntax display this Views...
Related commands display saved-configuration restore startup-configuration Use restore startup-configuration to download a configuration file from a TFTP server and specify it as the main next-startup configuration file. Syntax restore startup-configuration from tftp-server src-filename Views User view Predefined user roles network-admin Parameters tftp-server: Specifies a TFTP server's IPv4 address or host name.
Page 143
Use save [ safely ] [ backup | main ] [ force ] to save the running configuration to the root directory of the storage medium on each member device, and specify the file as a next-startup configuration file. Syntax save file-url save [ safely ] [ backup | main ] [ force ] Views...
Configuration is saved to flash successfully. # Save the running configuration to the main next-startup configuration file without any confirmation required. <Sysname> save force Validating file. Please wait..Configuration is saved to device successfully. # Save the running configuration to a file in the root directory of the storage medium, and specify the file as the main next-startup configuration file.
Page 145
CAUTION: In an IRF fabric, use the undo startup saved-configuration command with caution. This command can cause an IRF split after the IRF fabric or an IRF member reboots. If neither backup nor main is specified, the startup saved-configuration command specifies the main next-startup configuration file.
This command overwrites the entire startup software image list. To add new startup feature images, specify all feature package files, including feature package files in the old startup software image list. The new startup software image list will contain only the feature package files that are specified in the command.
<Sysname> Related commands boot-loader file display boot-loader Use display boot-loader to display current software images and startup software images. Syntax display boot-loader [ slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies the member ID of an IRF member device. If no member device is specified, this command displays the software images on each IRF member device.
Device management commands clock datetime Use clock datetime to set the UTC time. Syntax clock datetime time date Default The default UTC time is 00:00:00 on 01/01/201 1. Views User view Predefined user roles network-admin Parameters time: Specifies a time in the format hh:mm:ss. The hh value is in the range of 0 to 23, the mm value is in the range of 0 to 59, and the ss value is in the range of 0 to 59.
clock summer-time Use clock summer-time to configure the device to use daylight saving time during a specific period of time. Use undo clock summer-time to cancel the configuration. Syntax clock summer-time name start-time start-date end-time end-date add-time undo clock summer-time Default Daylight saving time is disabled.
week—Represents week of the month. It takes first, second, third, fourth, fifth, or last. day—Takes Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday. add-time: Specifies the time to be added to the standard time, in the format hh:mm:ss. The hh value is in the range of 0 to 23, the mm value is in the range of 0 to 59, and the ss value is in the range of 0 to 59.
minus: Decreases the UTC time by a specified offset. zone-offset: Specifies an offset to the UTC time, in the format hh:mm:ss. The hh value is in the range of 0 to 23, the mm value is in the range of 0 to 59, and the ss value is in the range of 0 to 59. The leading zero in a segment can be omitted.
[Sysname] copyright-info enable When a Telnet user logs in, the following statement appears: • ************************************************************************** * Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. **************************************************************************** <Sysname>...
* Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. **************************************************************************** User interface con0 is available. Press ENTER to get started. # Disable displaying the copyright statement. <Sysname> system-view [Sysname] undo copyright-info enable When a Telnet user logs in, the user view prompt appears: •...
Examples # Display the current CPU usage statistics for all member devices. <Sysname> display cpu-usage Slot 1 CPU 0 CPU usage: 1% in last 5 seconds 1% in last 1 minute 1% in last 5 minutes Table 18 Command output Field Description 1% in last 5 seconds...
Page 159
The horizontal axis represents the time. • • Consecutive pound signs (#) indicate the CPU usage at a specific time. The value on the vertical axis for the topmost pound sign at a specific time represents the CPU usage at that time. Examples # Display the historical CPU usage statistics for the entire system.
80%| 75%| 70%| 65%| 60%| 55%| 50%| 45%| 40%| 35%| 30%| 25%| 20%| 15%| 10%| ------------------------------------------------------------ (minutes) cpu-usage (CPU 0) last 60 minutes (scmd) The output shows the historical CPU usage statistics of process 1 (with the process name scmd) in the last 60 minutes.
Slot 1 SubSNo PortNum PCBVer FPGAVer CPLDVer BootRomVer AddrLM Type State Ver.A NULL Back Plane Normal Ver.A NULL Front Plane Normal Table 19 Command output Field Description Slot 1 Hardware information about IRF member device 1. Subslot number. For the internal Ethernet port, the subslot number is 0. For the external SubSNo Ethernet port, the subslot number is 1.
Usage guidelines For diagnostics or troubleshooting, you can use separate display commands to collect running status data module by module or use the display diagnostic-information command to bulk collect running data for multiple modules. This display command does not support the | by-linenum option, the > filename option, or the >> filename option.
Table 21 Command output Field Description Slot ID of an IRF member device. Memory usage information. Total Total physical memory size, which might be less than the actual memory size. Used Used physical memory. Free Free physical memory. Shared Physical memory shared by processes. Buffers Physical memory used for buffers.
Normal: 128M Current memory state: Normal Event statistics: [Back to normal state] First notification: 0.0 Latest notification: 0.0 Total number of notifications sent: 0 [Enter minor low-memory state] First notification at: 0.0 Latest notification at: 0.0 Total number of notifications sent: 0 [Back to minor low-memory state] First notification at: 0.0 Latest notification at: 0.0...
copy startup.cfg backup.cfg Job name: backupconfig Job name: creat-VLAN100 system-view vlan 100 // The output shows that the device has three jobs: the first has one command, the second has no command, and the third has two commands. Jobs are separated by blank lines. display scheduler logfile Use display scheduler logfile to display job execution log information.
Related commands reset scheduler logfile display scheduler reboot Use display scheduler reboot to display the automatic reboot schedule. Syntax display scheduler reboot Views Any view Predefined user roles network-admin network-operator Examples # Display the automatic reboot schedule. <Sysname> display scheduler reboot System will reboot at 16:32:20 05/23/2011 (in 1 hours and 39 minutes).
Last execution time : Tue Dec 27 10:44:42 2011 Last completion time : Tue Dec 27 10:44:47 2011 Execution counts ----------------------------------------------------------------------- Job name Last execution status shutdown Successful Table 23 Command output Field Description Execution time setting of the schedule. If no execution time is specified, this field is not Schedule type displayed.
The current system working mode is standard. The next system working mode is advance. display transceiver alarm Use display transceiver alarm to display the alarms present on transceiver modules. Syntax display transceiver alarm interface [ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator...
Field Remarks Transceiver type not supported by port hardware The port does not support this type of transceiver modules. QSFP+: RX signal loss in channel x Received signals are lost in channel x. TX fault in channel x Transmission error in channel x. TX signal loss in channel x The transmitted signal in channel x is lost.
Views Any view Predefined user roles network-admin network-operator Parameters interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays the current measured values of the digital diagnosis parameters for the transceiver modules on all interfaces.
Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the key parameters of the transceiver modules on all interfaces of the device. Examples # Display the key parameters of the transceiver module on interface Ten-GigabitEthernet 1/1/5. <Sysname>...
Syntax display transceiver manuinfo interface [ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays part of the electronic label data for the transceiver modules on all interfaces.
<Sysname> display version-update-record Name Version Compile time Record 1 (updated on Jab 01 2011 at 01:16:03): * 6125xlg-cmw710-boot-e2302.bin 7.1.035P06 ESS 2302 Apr 02 2013 15:41: * 6125xlg-cmw710-system-e2302.bin 7.1.035 ESS 2302 Apr 02 2013 15:41:30 Record 2 (updated on Jab 01 2011 at 00:54:25): * 6125xlg-cmw710-boot-a2300.bin...
[Sysname] fan slot 1 prefer-direction port-to-power Related commands display fan header Use header to create a banner. Use undo header to clear a banner. Syntax header { legal | login | motd | shell } text undo header { legal | login | motd | shell } Default No banner is configured.
# Test the configuration by using Telnet. The login banner appears only when password or scheme login authentication has been configured. ****************************************************************************** * Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed.
The jobs to be assigned to a schedule must already exist. To create a job, use the scheduler job command. Examples # Assign job save-job to schedule saveconfig. <Sysname> system-view [Sysname] scheduler schedule saveconfig [Sysname-schedule-saveconfig] job save-job Related commands scheduler job •...
slot slot-number: Specifies an IRF member device by its ID. Without this option, the command sets memory usage thresholds for the master. Usage guidelines For correct operation and higher memory utilization, the system monitors the amount of free memory space in real time. When a threshold is exceeded, the system generates an alarm notification or an alarm-removed notification and sends it to affected service modules or processes so they can take responsive actions.
Use undo password-recovery enable to disable password recovery capability. Syntax password-recovery enable undo password-recovery enable Default Password recovery capability is enabled. Views System view Predefined user roles network-admin Usage guidelines Password recovery capability controls console user access to the device configuration and SDRAM from BootWare menus.
whether the hard disk is not being written. If any circumstance might affect data protection, the system does not reboot the device. Usage guidelines CAUTION: A device reboot might interrupt network services. • • If the main startup software images are corrupt or missing, you must re-specify a set of main startup software images before using the reboot command to reboot the device.
Syntax reset scheduler logfile Default None Views User view Predefined user roles network-admin Examples # Clear job execution log information. <Sysname> reset scheduler logfile Related commands display scheduler logfile reset version-update-record Use reset version-update-record to clear the startup software image upgrade history records of the master.
Default No job exists. Views System view Predefined user roles network-admin Parameters job-name: Specifies the job name, a case-sensitive string of 1 to 47 characters. Usage guidelines A job can be referenced by multiple schedules. In job view, you can assign commands to the job. Examples # Create a job named backupconfig and enter job view.
[Sysname] scheduler logfile size 32 Related commands display scheduler logfile scheduler reboot at Use scheduler reboot at to specify the reboot date and time. Use undo scheduler reboot to remove the reboot schedule configuration. Syntax scheduler reboot at time [ date ] undo scheduler reboot Default No reboot date or time is specified.
scheduler reboot delay Use scheduler reboot delay to specify the reboot delay time. Use undo scheduler reboot to remove the reboot schedule configuration. Syntax scheduler reboot delay time undo scheduler reboot Default No reboot delay time is specified. Views User view Predefined user roles network-admin Parameters...
Views System view Predefined user roles network-admin Parameters schedule-name: Specifies the schedule name, a case-sensitive string of 1 to 47 characters. Usage guidelines You can schedule a job to have the device automatically run a command or a set of commands without administrative interference.
Predefined user roles network-admin Parameters time: Specifies a detection timer (in seconds) in the range of 1 to 300. Usage guidelines The device starts a detection timer when a port is shut down by a protocol. If the port is still down when the detection timer expires, the device automatically brings up the port so the port status reflects the port's actual physical status.
[R2000] system-working-mode Use system-working-mode to set the operating mode of the device. Use undo system-working-mode to set the operating mode to standard. Syntax system-working-mode { advance | standard } undo system-working-mode Default The device operates in advanced mode. Views System view Predefined user roles network-admin Parameters...
Views Schedule view Predefined user roles network-admin Parameters time: Specifies the schedule execution time in the format hh:mm, where hh is in the range of 0 to 23, and mm is in the range of 0 to 59. date: Specifies the schedule execution date in the format MM/DD/YYYY or YYYY/MM/DD. The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the value range of DD depends on the month value.
month-date month-day: Specifies a day in the current month for the schedule, in the range 1 to 31. week-day week-day&<1-7>: Specifies one or more week days for the schedule. Valid values include Mon, Tue, Wed, Thu, Fri, Sat, and Sun. <1-7> means that you can specify one to seven week days. To specify multiple week days, separate the values with spaces.
Page 191
undo time Default No execution time table is specified for a schedule. Views Schedule view Predefined user roles network-admin Parameters at time: Specifies the execution time in the format hh:mm, where hh is in the range of 0 to 23, and mm is in the range of 0 to 59.
Page 192
[Sysname] scheduler schedule saveconfig [Sysname-schedule-saveconfig] time repeating at 8:00 month-date 5 # Configure the device to execute schedule saveconfig at 8:00 a.m. on the last day of every month. <Sysname> system-view [Sysname] scheduler schedule saveconfig [Sysname-schedule-saveconfig] time repeating at 8:00 month-date last # Configure the device to execute schedule saveconfig at 8:00 a.m.
Emergency shell commands Unless otherwise stated, a file name or path argument in this document is case insensitive, and must indicate the storage medium and contain no slot information. The path information might contain multiple levels of directories, and each can include 1 to 255 characters. The file name alone (without the path information) can include 1 to 255 characters.
Examples # Delete the tt.cfg file from the current directory. <boot> delete flash:/tt.cfg Delete flash:/tt.cfg? [Y/N]:y Start to delete flash:/tt.cfg...Done. Use dir to display files or directories. Syntax dir [ /all ] [ file-url ] Views User view Parameters /all: Displays all files and subdirectories under the current directory, including hidden files, hidden directories, files moved from the current directory to the recycle bin.
display interface m-eth0 Use display interface m-eth0 to display information about the management Ethernet interface. Syntax display interface m-eth0 Views Any view Examples # Display information about the management Ethernet interface. <boot> display interface m-eth0 m-eth0 Link encap:Ethernet HWaddr 00:01:02:03:04:09 inet addr:192.168.0.62 Bcast:192.168.0.255 Mask:255.255.255.0...
Field Description Statistics for sent packets, including: • Total number of sent packets. • Number of erroneous packets. TX packets • Number of discarded packets. • Number of packets affected by queue overflow. • Number of packets affected by carrier errors. collisions Number of packets that encountered collisions.
Field Description Flags: • A—The route was learnt by the route advertisement. • C—The route is cached. • Flags D—The route is the default route learned through the ND protocol. • G—The destination address is a gateway. • H—The route is a host route. •...
Usage guidelines Use the format command with caution. This command permanently deletes all files and directories from a storage medium and the deleted files and directories cannot be restored. Examples # Format the Flash memory. <boot> format flash: Use ftp to access a remote FTP server. Syntax ftp { server-ipv4-address | ipv6 server-ipv6-address } user username password password { get remote-file local-file | put local-file remote-file }...
Parameters system-package: Specifies the name of the system image, a case-insensitive string of 1 to 63 characters. This file must be saved in the root directory of the current member device's storage medium, with the extension .bin. The file name must indicate the storage medium and cannot contain slot information, for example, flash:/startup-system.bin.
Related commands quit ip address Use ip address to assign an IPv4 address to the management Ethernet interface. Use undo ip address to restore the default. Syntax ip address ip-address { mask-length | mask } undo ip address Default The management Ethernet interface has no IPv4 address. Views Management Ethernet interface view Parameters...
Default The management Ethernet interface has no IPv4 gateway configured. Views Management Ethernet interface view Parameters ip-address: Specifies an IPv4 gateway address in dotted decimal notation. Usage guidelines When the device needs to communicate with a device on a remote IPv4 network, you must specify an IPv4 gateway for the management Ethernet interface.
Parameters directory: Specifies a directory name. Usage guidelines The path must already exist. For example, to create the flash:/test/mytest directory, the directory test must already exist on the Flash. The name for the new directory must be unique under the upper-level directory. Examples # Create a directory named test under the current directory.
fileurl-dest: Specifies the name of the destination file or directory, a case-insensitive string of 1 to 63 characters. Examples # Move the config.cfg file to the flash:/002 directory. <boot> move startup.cfg flash:/002 <boot> dir flash:/002 Directory of flash:/002: -rw- 1518 Apr 26 2007 12:05:38 config.cfg 14605 KB total (5096 KB free)
Table 36 Command output Field description Checking the connectivity to the device at PING 192.168.209.100(192.168.209.100) 192.168.209.100. 56 data bytes Number of data bytes in each ICMP echo request. Received an ICMP reply from the device at 192.168.209.100. If no reply is received during the timeout period, this information is not displayed.
Examples # Check the connectivity to the destination 1 1 1:1 1 1::1 1 1:1 1 1. <boot> ping ipv6 111:111::111:111 PING 111:111::111:111(111:111::111:111):56 data bytes 64 bytes from 111:111::111:111:seq=0 ttl=64 time=0.160 ms 64 bytes from 111:111::111:111:seq=1 ttl=64 time=0.062 ms 64 bytes from 111:111::111:111:seq=2 ttl=64 time=0.061 ms 64 bytes from 111:111::111:111:seq=3 ttl=64 time=0.065 ms 64 bytes from 1111:111::111:111:seq=4 ttl=64 time=0.063 ms --- 111:111::111:111 ping statistics ---...
Examples # Return from management Ethernet interface view to user view. [boot-m-eth0] quit [boot] quit <boot> reboot Use reboot to reboot the current member device. Syntax reboot Views User view Examples # Reboot the current member device. <boot> reboot rmdir Use rmdir to delete an existing directory.
shutdown Use shutdown to shut down the management Ethernet interface. Use undo shutdown to bring up the management Ethernet interface. Syntax shutdown undo shutdown Default The management Ethernet interface is active. Views Management Ethernet interface view Examples # Shut down the management Ethernet interface. <boot>...
Syntax system-view Default After entering emergency shell mode, the device is placed in user view. Views User view Examples # Switch from user view to system view. <boot> system-view [boot] Related commands quit telnet Use telnet to log in to a Telnet server. Syntax telnet { server-ipv4-address | ipv6 server-ipv6-address } Views...
Page 213
server-ipv6-address: Specifies the IPv6 address of the TFTP server. get remote-file local-file: Downloads a file from the TFTP server. The remote-file argument indicates the file to be downloaded. The local-file argument indicates the name for the downloaded file. put local-file remote-file: Uploads a file to the TFTP server. The local-file argument indicates the file to be uploaded.
Tcl commands tclsh Use tclsh to enter Tcl configuration view from user view. Syntax tclsh Views User view Predefined user roles network-admin Usage guidelines From user view, you can use the tclsh command to enter Tcl configuration view, where you can execute the following commands: All Tcl 8.5 commands.
Executing the quit command in Tcl configuration view terminates your connection to the device. Examples # Return from Tcl configuration view to user view. <Sysname-tcl> tclquit <Sysname> Related commands tclsh Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: •...
For related documentation, navigate to the Networking section, and select a networking category. • • For a complete list of acronyms and their definitions, see HP FlexNetwork Technology Acronyms. Websites HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • • HP manuals http://www.hp.com/support/manuals HP download drivers and software http://www.hp.com/support/downloads...
Page 217
Symbols Convention Description An alert that calls attention to important information that if not understood or followed can WARNING result in personal injury. An alert that calls attention to important information that if not understood or followed can CAUTION result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information.
Index A B C D E F G H I J L M N O P Q R S T U V W databits,17 debug,74 activation-key,12 delete,186 append,70 delete,109 archive configuration,121 delete,75 archive configuration interval,122 description,40 archive configuration location,123 dir,187 archive configuration max,124 dir,76...