HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer
HP 6125G Manual
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125G manual content summary:
- HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 1
HP 6125 Blade Switch Series Fundamentals Command Reference Part number: 5998-3164 Software version: Release 2103 Document version: 6W100-20120907 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 3
super password 10 system-view 11 Login management commands 12 acl (user interface view 12 activation-key 13 auto-execute command 14 authentication-mode 16 command accounting 17 command authorization 18 databits 18 display ip http 19 display ip https 20 display telnet client configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 4
screen-length 38 send 39 set authentication password 41 shell 41 speed (user interface view 42 stopbits 43 telnet 43 48 user privilege level 49 user-interface 50 FTP configuration commands 52 FTP server configuration commands 52 display ftp-server 52 display ftp-user 53 free ftp user 54 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 5
commands 102 archive configuration 102 archive configuration interval 102 archive configuration location 103 archive configuration max 105 backup startup-configuration 105 configuration replace file 106 display archive configuration 107 display current-configuration 108 display default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 6
patch 124 display patch information 125 patch install 126 Device management commands 128 clock datetime 128 clock summer-time one-off 128 clock time delay 165 view 166 Support and other resources 168 Contacting HP 168 Subscription service 168 Related information 168 Documents 168 Websites - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 7
Conventions 169 Index 171 v - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 8
CLI configuration commands command-alias enable Syntax command-alias enable View undo command-alias enable System view Default level 2: System level Description Use command-alias enable to enable the command keyword alias function. Use undo command-alias enable to disable the command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 9
's need. When logging in to the device, the user can access the assigned level and all levels below it. Level changes can cause maintenance, operation, and security problems. HP recommends using the default command level or modifying the command level under the guidance of professional staff. The - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 10
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 11
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 12
begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 13
line. ESC_< Specify the beginning of clipboard. ESC_> Specify the end of clipboard. hotkey Syntax hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } command View undo hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } System view Default level 2: System level Parameters CTRL_G: Assigns - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 14
to be assigned to the hotkey. Description Use hotkey to assign a command to a configurable hotkey. Use undo hotkey to restore the default. By default: • Ctrl_G: display current-configuration (display the running configuration). • Ctrl_L: display ip routing-table (display the IPv4 routing table - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 15
undo screen-length disable to enable pausing between screens of output for the current session. By default, a login user uses the settings of the screen-length command. The default settings of the screen-length command are: pausing between screens of output and displaying up to 24 lines on a screen - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 16
need to provide any password, but a VTY user must enter the switching password set with the super password command. If the entered password is incorrect or no password is configured for switching to the level, the switching operation fails. Related commands: super password and super authentication - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 17
. For more information about AAA, see Security Configuration Guide. local scheme: Uses the local password, if configured, for user privilege level switching authentication. If the password is not configured, the system allows a console port user to switch the privilege level but uses AAA to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 18
password to restore the default. By default, no password is set for switching to a higher privilege level. Whether you specify the cipher or simple keyword, the password is saved in cipher text in the configuration file. Examples # Use the password abc in plain text to authenticate a user switching - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 19
inbound | outbound } To use an Ethernet frame header ACL: acl acl-number inbound View undo acl acl-number inbound VTY user interface view Default level 2: System level Parameters ipv6: When this keyword is present, the command supports IPv6; otherwise, it supports IPv4. acl-number: Number of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 20
a VTY user interface, the match order is basic ACL, advanced ACL, and Ethernet frame header ACL. Examples # Allow only the user with the IP user-interface vty 0 [Sysname-ui-vty0] acl 2001 inbound After your configuration, user A (with the IP address 192.168.1.26) can Telnet to the device while user - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 21
key you have defined, use the display current-configuration | include activation-key command. Examples # Configure character s as the shortcut key for starting a terminal session on the console port. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] activation-key s To - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 22
in to the current user interface. Use undo auto-execute command to remove the configuration. By default, command auto-execution is disabled. The auto-execute command command is not supported by the AUX user interface. The system automatically executes the specified command when a user logs in to the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 23
Configuration Guide. Description Use authentication-mode to set the authentication mode for the user interface. Use undo authentication-mode to restore the default. By default, the authentication mode for VTY user interfaces is password, and for AUX user interfaces is none. Related commands - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 24
-vty0] quit [Sysname] local-user 123 [Sysname-luser-123] password simple 321 [Sysname-luser-123] service-type telnet [Sysname-luser-123] authorization-attribute level 3 command accounting Syntax command accounting View undo command accounting User interface view Default level 3: Manage level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 25
None Description Use command authorization to enable command authorization. Use undo command authorization to restore the default. By default, command authorization is disabled. Logged-in users can execute commands without authorization. With command authorization enabled, users can perform only - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 26
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 27
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 28
-The HTTPS service is enabled. • Stopped-The HTTPS service is disabled. display telnet client configuration Syntax View display telnet client configuration [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 29
and in the range of 0 to 7 for a VTY user interface. summary: Displays summary about user interfaces. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 30
authentication. Local authentication. This mode is not supported on the device. No authentication. Password authentication. # Display summary about all user interfaces. display user-interface summary User interface type : [AUX] 0:XXXX User interface type : [VTY] 12:UXUX XXXX 2 character - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 31
Parameters all: Displays information about all user interfaces that the device supports. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 32
View display web users [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 33
system uses the first character q as the shortcut key. default: Restores the default escape key sequence Ctrl+C. Description Use escape-key to define key you have defined, use the display current-configuration command. If you set the character argument in a user interface to log in to the device and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 34
. NOTE: The switch supports the none flow control mode only. Examples # Configure no flow control in the inbound and outbound directions for AUX 0. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] flow-control none free user-interface Syntax View free user-interface { num1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 35
-interface vty 1 Are you sure to free user-interface vty1? [Y/N]:y free web-users Syntax View free web-users { all | user-id user-id | user-name user-name } User view Default level 2: System level Parameters all: Specifies all web users. user-id: Web user ID, which is a hexadecimal number of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 36
Use free web-users to log out web users. Related commands: display web users. Examples # Log out all web users. free web-users all history-command max-size Syntax history-command max-size size-value View undo history-command max-size User interface view Default level 2: System level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 37
and 30 seconds. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] idle-timeout default, the HTTP service is not associated with any ACL. After the HTTP service is associated with an ACL, only the clients permitted by the ACL can access the device through HTTP. Related commands - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 38
Examples # Associate the HTTP service with ACL 2001 to only allow the clients within the 10.10 DSCP value for IPv4 to use for outgoing HTTP packets. Use undo ip http dscp to restore the default. By default, IPv4 uses the DSCP value 16 for outgoing HTTP packets. Examples # Set the DSCP value for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 39
. Description Use ip http port to configure the port number of the HTTP service. Use undo ip http port to restore the default. By default, the port number of the HTTP service is 80. Verify that the port number is not used by another service, because this command does not check for conflicts with - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 40
remove the association. By default, the HTTPS service is not associated with any ACL. After the HTTPS service is associated with an ACL, only the clients permitted by the ACL can access the device. Related commands: display ip https; acl (ACL and QoS Command Reference). Examples # Associate the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 41
to remove the association. By default, the HTTPS service is not associated with any certificate attribute access control policy. Association of the HTTPS service with a certificate attribute access control policy can control the access rights of clients. Related commands: display ip https; pki - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 42
to restore the default. By default, the port number of the HTTPS service is 443. 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 https. Examples # Configure the port number - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 43
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. With the HTTPS service enabled, you cannot modify the associated SSL server-end policy or remove the association between the HTTPS service - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 44
prevents unauthorized users from using the user interface. When entering the lock command, you are asked to input a password (up to 16 characters) and then confirm it by inputting the password again. To unlock the user interface, you must press Enter and input the correct password. By default, this - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 45
are supported. Before configuring a user interface to support SSH, set the authentication mode to scheme for the user interface; otherwise, the protocol inbound ssh command fails. For more information, see authentication-mode. By default, the authentication mode of the Telnet protocol is password - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 46
to be displayed on the screen. Use undo screen-length to restore the default. By default, the screen displays 24 lines. When screen output pauses, press the Space key to display the next screen. Not all terminals support this command setting. For example, assume that you set screen-length to 40, but - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 47
. VTY 0 : Location: 192.168.1.26 VTY 1 : Location: 192.168.1.20 + : Current operation user. F : Current operation user work in async mode. // The output shows that a user is using VTY 0. 2. Send a notification to the user of VTY 1. send vty 1 Enter message, end with CTRL+Z or Enter; abort - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 48
password. By default, no local authentication password is set. The password, whether specified in plain or cipher text, is always saved to the configuration file in cipher text. Related commands: authentication-mode. Examples # Set the local authentication password for the AUX 0 user - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 49
undo shell to disable terminal services on the current user interface. 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. Examples # Disable terminal services on VTYs 0 through 7, which - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 50
stopbits to restore the default. By default, the stop bit is one. The stop bits setting must be the identical for the user interfaces of the user interface AUX 0 to 1.5. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] stopbits 1.5 telnet Syntax telnet remote-host [ service - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 51
View User view Default level 0: Visit level Parameters remote-host: IPv4 address or host name of a remote host, a case-insensitive string of 1 to 20 characters. service-port: TCP port number of the Telnet service on the remote host. It is in the range of 0 to 65535 and defaults to 23. vpn-instance - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 52
to set the DSCP value for IPv6 to use for outgoing Telnet packets on a Telnet client. Use undo telnet client ipv6 dscp to restore the default. By default, IPv6 uses the DSCP value 0 for outgoing Telnet packets on a Telnet client. Examples # Set the DSCP value for IPv6 to use for outgoing Telnet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 53
telnet command takes effect. Related commands: display telnet client configuration. -type interface-number ] [ port-number ] User view Default level 0: Visit level Parameters remote-host: IP host to provide the Telnet service. It is in the range of 0 to 65535 and defaults to 23. Description Use - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 54
packets on a Telnet server. Use undo telnet server dscp to restore the default. By default, IPv4 uses the DSCP value 48 for outgoing Telnet packets on a Telnet telnet server enable View undo telnet server enable System view Default level 3: Manage level Parameters None Description Use telnet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 55
. Description Use terminal type to configure the type of terminal display of the current user interface. Use undo terminal type to restore the default. By default, the terminal display type is ANSI. The device supports two types of terminal display: ANSI and VT100. HP recommends you to set the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 56
0 to 3. Description Use user privilege level to configure the user privilege level. Users logging into the user interface are assigned a user privilege level. Use undo user privilege level to restore the default. By default, the default command level is 3 for the console user interface and 0 for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 57
-interface to enter a single or multiple user interface views. In a single user interface view, the configuration takes effect in the user view only. In multiple user interface views, the configuration takes effect in these user views. Examples # Enter the user interface view of AUX 0. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 58
[Sysname] user-interface aux 0 [Sysname-ui-aux0] # Enter the user interface views of VTYs 0 to 7. system-view [Sysname] user-interface vty 0 7 [Sysname-ui-vty0-7] 51 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 59
{ begin | exclude | include } regular-expression ] Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 60
View display ftp-user [ | { begin | exclude | include } regular-expression ] Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 61
path of the logged-in user free ftp user Syntax View free ftp user username User view Default level 3: Manage level Parameters username: Username. You can use the display ftp-user command to view FTP login user information. Description Use free ftp user to manually release the FTP connection - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 62
configuration only filters the FTP connections to be established, and has no effect on existing FTP connections and operations. If you execute the command multiple times, the last specified ACL takes effect. Examples # Associate the FTP service dscp to restore the default. By default, IP uses the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 63
level Parameters None Description Use ftp server enable to enable the FTP server and allow the login of FTP users. Use undo ftp server to disable the FTP server. By default, the FTP server is disabled. Examples # Enable the FTP server. system-view [Sysname] ftp server enable [Sysname] ftp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 64
undo ftp update to restore the default. By default, the file update mode is normal. Examples # Set the FTP update mode to normal. system-view [Sysname] ftp update normal FTP client configuration commands Before executing the FTP client configuration commands in this section, check that - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 65
return characters vary with operating systems. For example, HP and Windows use characters /r/n, and Linux uses characters to set the file transfer mode to binary (flow) mode. By default, the transfer mode is ASCII mode. Related commands: ascii. Examples # Set the file transfer mode to binary. [ftp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 66
. 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. If the current working directory is the FTP root directory, or no upper directory exists, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 67
upper directory. [ftp] pwd 257 "/ftp/subdir" is current directory. [ftp] cdup 200 CDUP command successful. [ftp] pwd 257 "/ftp" is current directory. close Syntax View close FTP client view Default level 3: Manage level Parameters None Description Use close to terminate the connection to the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 68
client debugging. By default, FTP client service ready. User(192.168.1.46:(none)):ftp 331 Password required for ftp. Password: 230 User logged in. [ftp]undo passive FTP: passive is off [ftp] debugging FTP: debugging switch is on [ftp] get sample.file ---> PORT 192,168,1,44,4,21 200 Port command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 69
received in 4.889 second(s), 675.00 byte(s)/sec. [ftp] Table 9 Command output Field ---> PORT 192,168,1,44,4,21 The parsed reply is ---> RETR a file. delete Syntax View delete remotefile FTP client view Default level 3: Manage level Parameters remotefile: File name. Description Use - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 70
Default level 3: Manage level Parameters remotefile: Name of the file or directory directory on the remote FTP server to a local file. The Is command displays only the names of files and directories. The dir command can display other related information of the files and directories, such as the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 71
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 72
. display ftp client configuration The source IP address is 192.168.0.123 ftp Syntax View ftp [ server-address [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface interface-type interface-number | ip source-ip-address } ] ] User view Default level 3: Manage level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 73
.168.0.211:(none)):abc 331 Password required for abc Password: 230 User logged in. [ftp] ftp client dscp Syntax ftp client dscp dscp-value View undo ftp client dscp System view Default level 2: System level Parameters dscp-value: Specifies a DSCP value in the range of 0 to 63. Description - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 74
. Use undo ftp client source to restore the default. By default, the source IP address is the IP address of the output interface of the route to the server is used as the source IP address. If you use the ftp client source command to first configure a source interface and then a source IP address - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 75
and the specified output interface has a link local address. For the configuration of link local addresses, see Layer 3-IP Services Configuration Guide. Description Use ftp ipv6 to log in to the FTP server and enter FTP client view. This command applies to IPv6 networks only. If you use this - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 76
downloaded and saved locally. If this argument is not specified, the local file uses the name of the source file on the FTP server by default. Description Use get to download a file from a remote FTP server and save it. Examples # Download file testcfg.cfg to the root directory of the master - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 77
output shows that the working directory of the FTP client before execution of the ftp command is flash:/clienttemp. ls Syntax View ls [ remotefile [ localfile ] ] FTP client view Default level 3: Manage level Parameters remotefile: Filename or directory on the remote FTP server. localfile - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 78
more aa.txt . .. logfile.log mkdir Syntax View mkdir directory FTP client view Default level 3: Manage level Parameters directory: Name of the directory to be created. Description Use mkdir 257 "/mytest" new directory created. open Syntax open server-address [ service-port ] 71 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 79
192.168.1.50. 220 FTP service ready. User(192.168.1.50:(none)):aa 331 Password required for aa. Password: 230 User logged in. [ftp] open ipv6 Syntax View open ipv6 server-address [ service-port ] [ -i interface-type interface-number ] FTP client view Default level 3: Manage level Parameters - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 80
addresses, see Layer 3-IP Services Configuration Guide. Description Use open ipv6 to log in to the IPv6 FTP server in FTP client view. At login, enter the username and password for accessing the FTP server. If your input is correct, the login succeeds. Related commands: close. Examples # Log in - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 81
to upload a file on the client to the remote FTP server. By default, if no name is assigned to the file to be saved on the FTP file is uploaded, it is saved in the user's authorized directory, which can be set with the authorization-attribute command on the remote server. Examples # Upload source - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 82
client from the remote FTP server and exit to user view. Examples # Disconnect from the remote FTP server and exit to user view. [ftp] quit 221 Server closing. remotehelp Syntax View remotehelp [ protocol-command ] FTP client view Default level 3: Manage level Parameters protocol - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 83
SYST STAT* HELP NOOP* XCUP XCWD XMKD XPWD XRMD 214 Direct comments to HP company. # Display the help information for the user command. [ftp] remotehelp user 214 Syntax: USER . [ftp] Table 10 Command output Field USER PASS CWD CDUP SMNT* QUIT REIN* PORT PASV TYPE STRU* MODE* RETR STOR - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 84
, the same meaning as MKD. Extension command, the same meaning as PWD. Extension command, the same meaning as RMD. Syntax of the user command: user (keyword) + space + username. rmdir Syntax View rmdir directory FTP client view Default level 3: Manage level Parameters directory: Directory - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 85
temp1 directory from the FTP root directory. [ftp] rmdir /temp1 200 RMD command successful. user Syntax View user username [ password ] FTP client view Default level 3: Manage level Parameters username: Login username. password: Login password. You can input this argument a space after the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 86
enable display of detailed prompt information received from the server. Use undo verbose to disable display of detailed prompt information. By default, the display of detailed prompt information is enabled. Examples # Enable display of detailed prompt information. [ftp] verbose FTP: verbose is on - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 87
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 88
default. By default, no ACL is used to control the device's access to TFTP servers. You can use an ACL to deny or permit the device's access to a specific TFTP server. For more information about ACL, see ACL and QoS Configuration Guide source-ip-address } ] User view Default level 3: Manage level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 89
transmit packets. This source address must be an IP address that has been configured on the device. Description Use tftp to download a file from or tftp client dscp dscp-value View undo tftp client dscp System view Default level 2: System level Parameters dscp-value: Specifies a DSCP value - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 90
client ipv6 dscp dscp-value View undo tftp client ipv6 dscp System view Default level 2: System level Parameters dscp-value: Specifies a DSCP value in a TFTP client. Use undo tftp client ipv6 dscp to restore the default. By default, IPv6 uses the DSCP value 0 for outgoing TFTP packets on a - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 91
. Use undo tftp client source to restore the default. By default, the source IP address is the IP address of the output interface of the route to the server is used as the source IP address. If you use the tftp client source command to first configure a source interface and then a source IP address - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 92
put: Uploads a file. source-file: Source filename. destination-file: Destination filename. If it is not specified, this filename is the same as the source filename. Description Use tftp ipv6 to download a file from or upload a local file to a TFTP server in an IPv6 network. Examples # Download - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 93
system management commands In the following examples, the current working directory is the root directory of the storage medium on the device. For the qualified filename formats, see Fundamentals Configuration Guide. cd Syntax View cd { directory | .. | / } User view Default level 3: Manage - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 94
source file as the file name. Examples # Copy the configuration file of the master to the Flash root directory of [ /unreserved ] file-url User view Default level 3: Manage level Parameters / the recycle bin. To restore it, use the undelete command. Use dir /all to display the files deleted from - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 95
] [ file-url | /all-filesystems ] User view Default level 3: Manage level Parameters /all: Displays all folders. If no parameter is specified, the command displays all visible files and folders in the master. (The output depends on your switch model.) dir /all Directory of flash:/ 0 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 96
directory of all storage media on the IRF fabric. (The output depends on your switch model.) dir /all-filesystems Directory of flash:/ 0 -rw- 12948314 main.bin seclog patchstate cmdtree.txt system.xml startup.cfg stp.cfg default.diag Directory of slot1#flash:/ 0 -rw- 12948314 Dec 11 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 97
| include } regular-expression ] Any view Default level 1: Monitor level Parameters filename: File name. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 98
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 99
Default level 1: Monitor level Parameters page-value: Serial number of a physical page. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide 43 0D #.. sysname HP. 0030: 0A 23 0D 0A 20 70 61 73 73 77 6F - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 100
... execute Syntax View execute filename System view Default level 2: System level Parameters filename: Name of a batch file with a .bat extension. To change the extension of a configuration file to .bat, use the rename command. Description Use execute to execute the specified batch file. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 101
Flash. fixdisk flash: Fixdisk flash: may take some time to complete... %Fixdisk flash: completed. format Syntax format device View User view Default level 3: Manage level Parameters device: Name of a storage medium, for example, flash. Description Use format to format a storage medium. 94 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 102
configuration file. Examples # Format the Flash. format flash: All data on flash: will be lost, proceed with format? [Y/N]:y ./ %Format flash: completed. mkdir Syntax View mkdir directory User view Default folder in the directory. To use this command to create a folder, the specified - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 103
screen. Pressing Ctrl+C or any other key exits the display. This command is valid only for text files. Examples # Display the contents of ---- More ---- move Syntax View move fileurl-source fileurl-dest User view Default level 3: Manage level Parameters fileurl-source: Name of the source - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 104
> move b.cfg test2 Move flash:/b.cfg to flash:/test2/b.cfg?[Y/N]:y . %Moved file flash:/b.cfg to flash:/test2/b.cfg. pwd Syntax pwd View User view Default level 3: Manage level Parameters None Description Use pwd to display the current path. Examples # Display the current path. pwd flash - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 105
.bat reset recycle-bin Syntax View reset recycle-bin [ /force ] User view Default level 3: Manage level Parameters /force: Deletes all files in the recycle bin, including files that cannot be deleted by the command without the /force keyword. Description Use reset recycle-bin to permanently - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 106
flash:/test/~/aa.cfg ?[Y/N]:y Clearing files from flash may take a long time. Please wait... .. %Cleared file flash:/test/~/aa.cfg... rmdir Syntax View rmdir directory User view 99 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 107
execute the rmdir command successfully, the files in the recycle bin in the folder will be automatically deleted. Examples # Remove the mydir folder. rmdir mydir Rmdir flash:/mydir?[Y/N]:y %Removed directory flash:/mydir. undelete Syntax View undelete file-url User view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 108
%Undeleted file flash:/test/b.cfg. Or, you can use the following steps to restore file flash:/test/b.cfg. cd test undelete b.cfg Undelete flash:/test/b.cfg?[Y/N]:y ..... %Undeleted file flash:/test/b.cfg. 101 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 109
file management commands archive configuration Syntax View archive configuration User view Default level 3: Manage level Parameters None Description Use archive configuration to manually archive the running configuration to the configuration archive directory. Before manually archiving the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 110
for saving configuration archives. 2. Use the archive configuration location command to specify the directory as the configuration archive directory and specify an archive name prefix. Configuration archive is a function that facilitates configuration rollback. It provides the manual and automatic - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 111
1. The undo archive configuration location command disables the configuration archive function (both manual and automatic approaches), restores the default settings of the archive configuration interval and archive configuration max commands, and clears all configuration archives, in addition to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 112
location command, the default archive limit is restored. Examples # Set the maximum number of configuration archives to 10. system-view [Sysname] archive configuration max 10 backup startup-configuration Syntax View backup startup-configuration to dest-addr [ dest-filename ] User - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 113
sure the server is reachable, the server is enabled with TFTP service, and you have read and write permissions. This command backs up only the main startup configuration file. Examples # Back up the next-startup configuration file of the switch to the TFTP server with IP address 2.2.2.2, and set the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 114
exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 115
regular-expression ] ] Any view Default level 2: System level Parameters configuration [ configuration ]: Displays non-interface configuration. The configuration argument specifies a type of configuration. If no configuration type is specified, this command displays all non-interface settings. If - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 116
{ begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 117
vary with device models and might differ from the default settings of commands. Related commands: display current-configuration and display saved-configuration. Examples # Display the factory defaults of the device. The factory defaults vary with switch models. The output is not shown here. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 118
file does not exist!" Related commands: display current-configuration, reset saved-configuration, and save. Examples # Display the saved startup configuration file. display saved-configuration # version 5.20.99, Release 0000 # sysname 6125G Blade Switch # irf mac-address persistent timer - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 119
, and number each line. display saved-configuration by-linenum 1: # 2: version 5.20.99, Release 0000 3: # 4: sysname 6125G Blade Switch 5: # 6: irf mac-address persistent timer 7: irf auto-update enable 8: undo irf link-delay 9: # 10: domain default enable system 11: # 12: telnet server - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 120
NULL, because the new master continues to run with the running configuration rather than rebooting with the previous current startup configuration file. Related commands: startup saved-configuration. Examples # Display the startup configuration file used at the current system startup and the startup - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 121
default settings. For some parameters that can be successfully configured even if their dependent features are not enabled, this command displays their settings after the dependent features are enabled. Executed in any user interface view, this command displays the running configuration of all user - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 122
Syntax View reset saved-configuration [ backup | main ] User view Default level 3: Manage level Parameters backup: Deletes the backup next-startup configuration file. main: Deletes the main next-startup configuration file. Description Use reset saved-configuration to delete next-startup - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 123
server is reachable, the server is enabled with TFTP service, and you have read and write permissions. This command restores only the main next-startup configuration file. This command provides an easy approach to configuration file restoration by automatically performing all operations required for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 124
is disabled, only the master device saves the configuration. Related commands: display current-configuration, display saved-configuration, reset saved-configuration, and slave auto-update config. Examples # Save the running configuration to the configuration file startup.cfg in the root directory of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 125
saved to the active main board successfully. Slot 2: The current configuration file is saved successfully. Configuration is saved to device successfully. slave auto-update config Syntax slave auto-update config View undo slave auto-update config System view Default level 2: System level 118 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 126
devices. Use undo startup saved-configuration to configure all IRF member devices to start up with the factory defaults at the next startup. In an IRF fabric, the startup saved-configuration command applies to all IRF members. To successfully configure the command, verify that the specified file - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 127
member reboots. If neither backup nor main is specified, the startup saved-configuration command specifies the main next-startup configuration file. For high availability, specify separate files as the main and backup next-startup configuration files, even though they can be the same file. The undo - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 128
Software upgrade commands boot-loader Syntax View boot-loader file file-url slot { all | slot-number } { main | backup } User view Default level 3: Manage a member device or all member devices. To execute the boot-loader command successfully, make sure you have saved the image file in the root - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 129
Sysname> boot-loader file slot2#flash:/test.bin slot 2 main This command will set the boot file of the specified board. Continue? [Y/N]:y The bootrom Syntax View bootrom update file file-url slot slot-number-list User view Default level 3: Manage level Parameters update file file-url: Loads a - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 130
. bootrom update file slot2#flash:/a.btm slot 2 This command will update bootrom file on the specified board(s), Continue? [Y/N]:y Now | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters slot slot-number: Specifies the member ID of an - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 131
{ begin | exclude | include } regular-expression ] Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 132
{ begin | exclude | include } regular-expression ] Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 133
released. Number of common patches. These patches are formally released to users. A common patch always includes the functions of its previous temporary view Default level 3: Manage level Parameters file filename: Specifies a patch package file name. Description Use the patch install command to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 134
Before executing the command, save the patch package file to the root directory of the Flash on each Member device . Examples # Install files from Flash memory. system-view [ - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 135
Device management commands clock datetime Syntax View clock datetime time date User view Default level 3: Manage level You can leave the ss field blank when you specify the time parameters. Related commands: clock summer-time one-off, clock summer-time repeating, clock timezone, and display - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 136
the device. Use undo clock summer-time to cancel the configuration of the daylight saving time. By default, daylight saving time is disabled and the UTC time in reference to the time zone and daylight saving schedule. Related commands: clock datetime, clock summer-time repeating, clock timezone, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 137
. Use undo clock summer-time to cancel the configuration of the daylight saving time. By default, daylight saving time is disabled and UTC time adjusted in reference to the time zone and daylight saving schedule. Related commands: clock datetime, clock summer-time one-off, clock timezone, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 138
the local time zone. Use undo clock timezone to restore the local time zone to the default UTC time zone. By default, the local time zone is UTC zone. To verify the setting, use the display clock command. The timestamps in system messages are adjusted in reference to the time zone and daylight - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 139
} regular-expression ] Any view Default level 1: Monitor level Parameters slot slot-number: Displays alarms presents on an IRF member switch. The slot-number argument represents the IRF member ID of the switch. If no member switch is specified, this command displays alarm information for all IRF - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 140
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 141
| { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters entry-number: Number of entries to be switch. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 142
Stat. Tick : 0x1d9c(CPU Tick High) 0xa50e5351(CPU Tick Low) Actual Stat. Cycle : 0x0(CPU Tick High) 0x950906af(CPU Tick Low) Table 20 Command output Field Slot 1 1% in last 5 seconds 1% in last 1 minute Description CPU usage statistics for the device (whose member ID is 1). After a boot, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 143
-expression ] Any view Default level 1: Monitor level Parameters switch. The slot-number argument represents the IRF member ID of the switch. If no member switch command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 144
in a chart. The system regularly collects CPU usage statistics and saves the statistics in the history record area. The display cpu-usage history command displays the CPU usage statistics for the last 60 minutes in axes, where: • The vertical axis represents the CPU usage. If a statistic is - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 145
• 2% or lower than 2%: other time display device Syntax View display device [[ slot slot-number [ subslot subslot-number ] ] | verbose ] [ | { begin | exclude | include } regular-expression ] Any view Default level 2: System level 138 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 146
. If the switch does not support the subcard or the subcard is not installed, 0 is displayed. verbose: Displays detailed information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 147
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 148
expression ] View Any view Default level 1: Monitor level Parameters job-name: Specifies a job name, a string of 1 to 32 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 149
of the switch. cpu cpu-number: Displays the memory usage statistics for a CPU. The cpu-number argument represents the ID of the CPU. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 150
. The slot-number argument represents the IRF member ID of the switch. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 151
output shows that the mode of the last reboot of member switch 1 is Cold boot (cold boot will restart a device Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 152
begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 153
number. If no interface is specified, the command displays the key parameters of all transceiver modules. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 154
Name : HP Ordering Name : JD118B Table 25 Command output Field Supported. • NO-Not supported. Vendor name. display transceiver alarm Syntax View display transceiver alarm| interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Any view Default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 155
command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. is displayed. Table 26 describes the transceiver module alarms that might occur. Support for the transceiver modules depends on the device model. Table 26 Common - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 156
{ begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters interface [ interface-type interface-number Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 157
{ begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters interface [ interface-type interface-number Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 158
Use display version to display system version information. Examples HP Comware Platform Software Comware Software, Version 5.20.99, Release 0000 Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P. HP 6125G/XG Blade Switch uptime is 0 week, 0 day, 2 hours, 1 minute Slot 2 (M): Uptime - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 159
1.04 [SubSlot 0] Back Panel [SubSlot 1] Front Panel Table 30 Command output Field HP Comware Platform Software Comware Software, Version 5.20, Release 0000 Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P. HP 6125G/XG Blade Switch uptime is 0 week, 0 day, 2 hours, 1 minute SDRAM Nor - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 160
authentication is passed. legal: Configures the banner displayed before a user inputs the username and password to access the CLI. login: Configures the banner displayed before password or scheme authentication is performed for a login user. motd: Configures the greeting banner displayed before - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 161
command. As the starting and ending characters, % is not part of the banners. # Verify the configuration by using Telnet. (The login authentication is not configured ) # Verify the configuration by using Telnet. (Password authentication is configured.) * Copyright (c) 2010-2011 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 162
to schedule multiple jobs. Related commands: time and view. Examples # Create a job saveconfiguration or enter its view. system-view [Sysname] job saveconfiguration [Sysname-job-saveconfiguration] reboot Syntax View reboot [ slot slot-number ] User view Default level 3: Manage level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 163
all IRF member switches. For data security, if you are performing file operations at the reboot time, the system does not reboot. Examples # Reboot the device (The command output is omitted here). reboot reset unused porttag Syntax View reset unused porttag User view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 164
job { at time1 [ date ] | delay time2 } view view-name command View undo schedule job User view Default level 3: Manage level Parameters at time1 [ date ]: Specifies the execution time of a specified command. • time1: Execution time of the command, in the hh:mm format. The hh value ranges from - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 165
setting can cancel the job set by using the schedule job command. • After job execution, the configuration interface, view, and user status that you have before job execution restore even if the job has run a command that changes the user interface (for example, telnet, ftp, and ssh2), the view (for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 166
User view Default reboot can interrupt network services. • Changing any clock switch supports only one device reboot schedule. If you configure the schedule reboot at command multiple times, the last configuration takes effect. The schedule reboot at command and the schedule reboot delay command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 167
reboot User view Default level services default, the scheduled reboot function is disabled. The reboot delay cannot exceed 30 x 24 x 60 minutes, or 30 days. The switch supports only one device reboot schedule. If you configure the schedule reboot delay command multiple times, the last configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 168
status detection timer. Use undo shutdown-interval to restore the default. By default, the timer is 30 seconds. Some protocols might shut down never automatically recover the port. You need to manually bring up the port by using the undo shutdown command or change the detection timer to a non-zero - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 169
Use undo sysname to restore the default. The default device name is HP. A device name identifies a device in a network and works as the user view prompt at the CLI. For to configure the exception handling method for the master switch in the IRF fabric. By default, the master switch in the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 170
view specified by the view command. Otherwise this command cannot be automatically executed. Therefore, ensure the correctness of the configuration. Description Use time at to add a command in the job schedule. Use undo time to remove a command from the job schedule. The commands in a job must be - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 171
day. system-view [Sysname] job saveconfig [Sysname-job-saveconfig] view monitor [Sysname-job-saveconfig] time 1 repeating at 12:00 command save a.cfg # Schedule a job to save the configuration file at 8:00 AM on 5th in the current month, which might be executed in the second month if the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 172
] time 1 repeating at 8:00 month-date 5 command save a.cfg # Schedule a job to save the configuration file at 8:00 AM on Friday and Saturday in command save a.cfg time delay Syntax time time-id { one-off | repeating } delay time command command View undo time time-id Job view Default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 173
run. A view name is a string of 1 to 90 characters. Description Use view to specify the view in which the commands in the job run. Use undo view to remove the configuration. By default, no view is specified for the scheduled job. Every job can have only one view. If you specify multiple views - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 174
complete form. Most commonly used view names include monitor for user view, system for system view, GigabitEthernet x/x/x, and Ten-GigabitEthernet x/x/x for Ethernet interface view, and Vlan-interfacex for VLAN interface view. Related commands: job and time. Examples # Specify the view in which the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 175
HP A-Series 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 • HP software depot http://www.software.hp.com • HP Education http://www.hp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 176
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 177
, 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. Port numbering in examples The port numbers in this document are for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 178
-usage history,136 display current-configuration,108 display default-configuration,109 display device,138 display device manuinfo,139 display diagnostic-information,140 display ftp client configuration,64 display ftp-server,52 display ftp-user,53 display history-command,4 display hotkey,5 display ip - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 179
-failure,145 display telnet client configuration,21 display tftp client configuration,80 display this,113 display transceiver,146 display transceiver alarm,147 display transceiver diagnosis,149 display transceiver manuinfo,150 display user-interface,21 display users,23 display version,151 display - HP 6125G | HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 180
,41 shell,41 shutdown-interval,161 slave auto-update config,118 speed (user interface view),42 startup saved-configuration,119 stopbits,43 Subscription service,168 super,9 super authentication-mode,9 super password,10 sysname,161 system-failure,162 system-view,11 T telnet,43 telnet client dscp
HP 6125 Blade Switch Series
Fundamentals
Command Reference
Part number: 5998-3164
Software version: Release 2103
Document version: 6W100-20120907