HP 6125XLG Command Reference Manual

R2306-hp 6125xlg blade switch fundamentals command reference.
Hide thumbs
HP 6125XLG Blade Switch
Fundamentals
Part number: 5998-3730
Software version: Release 2306
Document version: 6W100-20130912

Advertising

   Related Manuals for HP 6125XLG

   Summary of Contents for HP 6125XLG

  • Page 1: Command Reference

    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.

  • Page 3: Table Of Contents

    Contents Basic CLI commands ···················································································································································· 1   command-alias enable ············································································································································· 1   command-alias mapping ········································································································································· 1   display | { begin | exclude | include } ················································································································· 2   display | by-linenum ················································································································································ 3   display > ··································································································································································· 4   display >>...

  • Page 4: Table Of Contents

    user-role ·································································································································································· 38   RBAC commands ······················································································································································· 40   description ······························································································································································ 40   display role ···························································································································································· 40   display role feature ··············································································································································· 42   display role feature-group ···································································································································· 45   feature ····································································································································································· 48   interface policy deny ············································································································································ 49   permit interface ······················································································································································...

  • Page 5: Table Of Contents

    open ········································································································································································ 86   passive ···································································································································································· 87   put ··········································································································································································· 88   pwd ········································································································································································· 89   quit ·········································································································································································· 89   reget ········································································································································································ 90   rename ···································································································································································· 90   reset ········································································································································································ 91   restart ······································································································································································ 91   rhelp ········································································································································································ 92   rmdir ·······································································································································································...

  • Page 6: Table Of Contents

    display default-configuration ······························································································································ 129   display saved-configuration ······························································································································· 131   display startup ····················································································································································· 132   display this ··························································································································································· 133   reset saved-configuration ···································································································································· 134   restore startup-configuration ······························································································································· 135   save ······································································································································································· 135   startup saved-configuration ································································································································ 137   Software upgrade commands ································································································································ 139  ...

  • Page 7: Table Of Contents

    shutdown-interval ················································································································································· 179   sysname ································································································································································ 180   system-working-mode ·········································································································································· 181   time at ··································································································································································· 181   time once ······························································································································································ 182   time repeating ······················································································································································ 183   Emergency shell commands ··································································································································· 186   copy ······································································································································································ 186   delete ···································································································································································· 186  ...

  • Page 8: Basic Cli Commands, Command-alias Enable, Command-alias Mapping

    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...

  • Page 9: Display | { Begin | Exclude | Include }

    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.

  • Page 10: Display | By-linenum

    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.

  • Page 11: Display

    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 ?.

  • Page 12: Display Command-alias

    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.

  • Page 13: Display History-command

    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.

  • Page 14: Display History-command All, Display Hotkey

    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.

  • Page 16: Hotkey, Quit

    hotkey Use hotkey to assign a command to a configurable hotkey. Use undo hotkey to restore the default. Syntax hotkey { ctrl_g | ctrl_l | ctrl_o | ctrl_t | ctrl_u } command undo hotkey { ctrl_g | ctrl_l | ctrl_o | ctrl_t | ctrl_u } Default ctrl_g: display current-configuration (display the running configuration).

  • Page 17: Return, Screen-length Disable

    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>...

  • Page 18: System-view

    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.

  • Page 19: Login Management Commands, Activation-key

    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.

  • Page 20: Authentication-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.

  • Page 21: Auto-execute Command

    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>...

  • Page 23: Command Accounting, Command Authorization

    * 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...

  • Page 24: Databits

    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.

  • Page 25: Display Telnet Client, Display User-interface

    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.

  • Page 27: Display Users

    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).

  • Page 28: Escape-key

    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.

  • Page 29: Flow-control

    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>...

  • Page 30: Free User-interface

    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...

  • Page 31: History-command Max-size, Idle-timeout

    [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...

  • Page 32: Lock

    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.

  • Page 33: Parity

    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.

  • Page 34: Protocol Inbound, Screen-length

    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...

  • Page 35: Send

    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.

  • Page 36: Set Authentication Password

    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.

  • Page 37: Shell

    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.

  • Page 38: Speed, Stopbits

    <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...

  • Page 39: Telnet

    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.

  • Page 40: Telnet Client Source

    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.

  • Page 41: Telnet Ipv6, Telnet Server Acl

    [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...

  • Page 42: Telnet Server Ipv6 Acl

    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.

  • Page 43: Telnet Server Enable

    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. •...

  • Page 44: Terminal Type, User-interface

    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.

  • Page 45: User-role

    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.

  • Page 47: Rbac Commands, Description, Display 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.

  • Page 49: Display Role Feature

    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.

  • Page 51

    system-view ; clock timezone * system-view ; clock summer-time * system-view ; configuration replace file * system-view ; transceiver * system-view ; fan prefer-direction * system-view ; system-working-mode * system-view ; archive configuration * system-view ; configuration encrypt * system-view ; usb disable system-view ;...

  • Page 52: Display Role Feature-group

    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>...

  • Page 55: Feature

    Feature group: L3 Feature: route (Route management related commands) Feature: usr (Unicast static route related commands) Feature: ospf (Open Shortest Path First protocol related commands) Feature: rip (Routing Information Protocol related commands) Feature: isis (ISIS protocol related commands) Feature: bgp (Border Gateway Protocol related commands) Feature: l3vpn (Layer 3 Virtual Private Network related commands)

  • Page 56: Interface Policy Deny

    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...

  • Page 57: Permit Interface

    [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.

  • Page 58: Permit Vlan

    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.

  • Page 60: Permit Vpn-instance

    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>...

  • Page 61: Role

    # 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>...

  • Page 62: Role Default-role Enable

    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.

  • Page 63: Role Feature-group, Rule

    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.

  • Page 66: Super

    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 ;...

  • Page 67: Super Authentication-mode

    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.

  • Page 68: Super Password

    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.

  • Page 70: Vlan Policy Deny

    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...

  • Page 71: Vpn-instance Policy Deny

    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...

  • Page 72: Ftp Commands, Ftp Server Commands, Display Ftp-server

    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.

  • Page 73: Display Ftp-user, Free Ftp User

    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...

  • Page 74: Free Ftp User-ip, Free Ftp User-ip Ipv6

    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>...

  • Page 75: Ftp Server Acl

    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.

  • Page 76: Ftp Server Enable, Ftp Timeout

    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.

  • Page 77: Ftp Client Commands, Append, Ascii

    <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.

  • Page 78: Binary

    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.

  • Page 79

    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.

  • Page 80: Cdup

    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.

  • Page 81: Close, Debug

    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...

  • Page 82: Delete

    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>...

  • Page 83

    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.

  • Page 84: Disconnect

    -rwxr-xr-x 0 Sep 27 2010 kernel.bin drwxr-xr-x 8192 Jul 5 09:15 logfile drwxr-xr-x 8192 Jul 2 14:33 seclog -rwxr-xr-x 40808448 Jul 2 14:33 simware-cmw710-sys tem-a1801.bin -rwxr-xr-x 3050 Jul 7 12:26 startup.cfg -rwxr-xr-x 54674 Jul 4 09:24 startup.mdb -rwxr-xr-x 1481 Jul 7 12:34 x.cfg 226 11 matches total # Save detailed information about file a.txt to s.txt.

  • Page 85: Display Ftp Client Source

    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>...

  • Page 86: Ftp Client Source

    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.

  • Page 87: Ftp Client Ipv6 Source

    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>...

  • Page 88: Ftp Ipv6

    Related commands ftp ipv6 ftp ipv6 Use ftp ipv6 to log in to the FTP server and enter FTP client view. Syntax ftp ipv6 [ ftp-server [ service-port ] [ vpn-instance vpn-instance-name ] [ source { ipv6 source-ipv6-address | interface interface-type interface-number } ] [ -i interface-type interface-number ] ] Views User view Predefined user roles...

  • Page 89

    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.

  • Page 90: Help

    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.

  • Page 92: Mkdir

    -rwxr-xr-x 1481 Jul 7 15:36 a.txt -rwxr-xr-x 0 Sep 27 2010 base.bin drwxr-xr-x 8192 Jul 2 14:33 diagfile drwxr-xr-x 8192 Jul 7 15:21 ftp -rwxr-xr-x 0 Sep 27 2010 kernel.bin drwxr-xr-x 8192 Jul 5 09:15 logfile drwxr-xr-x 8192 Jul 2 14:33 seclog -rwxr-xr-x 40808448 Jul 2 14:33 simware-cmw710-sys...

  • Page 93: Newer, Open

    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...

  • Page 94: Passive

    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.

  • Page 95

    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...

  • Page 96: Quit

    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...

  • Page 97: Reget, Rename

    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.

  • Page 98: Reset, Restart

    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...

  • Page 99: Rhelp

    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...

  • Page 101: Rmdir, Rstatus

    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.

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

  • Page 104: System

    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...

  • Page 105: User, Verbose

    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...

  • Page 108: Tftp Configuration Commands, Tftp

    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.

  • Page 109: Tftp Client Source

    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.

  • Page 110: Tftp Ipv6

    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.

  • Page 111: Tftp Client Ipv6 Source

    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.

  • Page 112: Tftp-server Acl

    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.

  • Page 113: Tftp-server Ipv6 Acl

    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...

  • Page 114: File System Management Commands, Copy

    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.

  • Page 116

    # 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...

  • Page 117

    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.

  • Page 118: File Prompt

    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.

  • Page 119: Fixdisk, Format

    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.

  • Page 120: Gunzip

    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.

  • Page 121: Gzip, Mkdir

    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.

  • Page 122: More

    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.

  • Page 123: Move

    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>...

  • Page 124: Rename

    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.

  • Page 125: Reset Recycle-bin

    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.

  • Page 126: Sha256sum, Rmdir

    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.

  • Page 127: Undelete

    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.

  • Page 128: Configuration File Management Commands, Archive Configuration

    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.

  • Page 129: Archive Configuration Interval

    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...

  • Page 130: Archive Configuration Location

    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.

  • Page 131: Archive Configuration Max

    Examples # Configure the configuration archive directory as flash:/archive/ and the archive file name prefix as my_archive. <Sysname> mkdir flash:/archive Creating directory flash:/archive... Done. <Sysname> system-view [Sysname] archive configuration location flash:/archive filename-prefix my_archive Related commands archive configuration • archive configuration location •...

  • Page 132: Backup Startup-configuration, Configuration Encrypt

    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...

  • Page 133: Configuration Replace File

    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.

  • Page 134: Display Archive Configuration

    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.

  • Page 135: Display Current-configuration

    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.

  • Page 136: Display Default-configuration

    Examples # Display local user configuration. <Sysname> display current-configuration configuration local-user local-user 123 class manage password hash $h$6$S7Z7s7yl4Rn6v68k$0Gti4V6Mk7cH2MpHJhHmfhiEAZWU9DmZKhxftcCNRUp PA2rtuDP+x/rsylegDS2xzI8blHidk74Q/FwABkgFEQ== service-type ftp authorization-attribute work-directory flash:/ authorization-attribute user-role network-operator authorization-attribute user-role level-15 authorization-attribute user-role 15 # Display Ethernet interface configuration. <Sysname> display current-configuration interface Ten-GigabitEthernet interface Ten-GigabitEthernet1/1/5 port link-type hybrid port hybrid vlan 20 to 24 tagged...

  • Page 137

    telnet server enable local-user admin authorization-attribute user-role level-3 password simple admin undo ip redirects enable undo ip ttl-expires enable undo ip unreachables enable stp global enable lldp global enable vlan 1 interface NULL0 interface Ten-GigabitEthernet1/0/17 shutdown interface Ten-GigabitEthernet1/0/18 shutdown interface Ten-GigabitEthernet1/0/19 shutdown interface Ten-GigabitEthernet1/0/20 shutdown...

  • Page 138: Display Saved-configuration

    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.

  • Page 139: Display Startup

    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.

  • Page 140: Display This

    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...

  • Page 141: Reset Saved-configuration

    user-interface vty 0 15 authentication-mode none user-role network-admin return reset saved-configuration Use reset saved-configuration to delete next-startup configuration files. Syntax reset saved-configuration [ backup | main ] Views User view Predefined user roles network-admin Parameters backup: Deletes the backup next-startup configuration file. main: Deletes the main next-startup configuration file.

  • Page 142: Restore Startup-configuration, Save

    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...

  • Page 144: Startup Saved-configuration

    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.

  • Page 146: Software Upgrade Commands, Boot-loader File

    Software upgrade commands boot-loader file Use boot-loader file to specify startup software image files. Syntax boot-loader file boot boot-package system system-package [ feature feature-package&<1-30> ] slot slot-number { backup | main } boot-loader file ipe-filename slot slot-number { backup | main } Views User view Predefined user roles...

  • Page 147: Boot-loader Update

    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.

  • Page 148: Bootrom Update

    Examples # Synchronize startup images from the master device to subordinate device 2. <Sysname> boot-loader update slot 2 This command will update the specified standby MPU. Continue? [Y/N]:y Updating. Please wait... Copying main startup software images to slot 2. Please wait... Done.

  • Page 149: Display Boot-loader

    <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.

  • Page 150

    Related commands boot-loader file...

  • Page 151: Device Management Commands, Clock Datetime

    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.

  • Page 152: Clock Summer-time

    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.

  • Page 153: Clock Timezone

    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.

  • Page 154: Command

    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.

  • Page 155: Copyright-info Enable

    [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>...

  • Page 156: Display Clock

    * 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: •...

  • Page 157: Display Copyright, Display Cpu-usage

    Summer Time : PDT 06:00:00 08/01 06:00:00 09/01 01:00:00 Related commands • clock datetime clock timezone • • clock summer-time display copyright Use display copyright to display the copyright statement, including software and hardware copyright statements. Syntax display copyright Views Any view Predefined user roles network-admin...

  • Page 158: Display Cpu-usage History

    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.

  • Page 160: Display Device

    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.

  • Page 161: Display Device Manuinfo

    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.

  • Page 162: Display Diagnostic-information

    DEVICE_NAME : 6125XLG DEVICE_SERIAL_NUMBER : 6C02132021 MAC_ADDRESS : 0000-0002-1354 MANUFACTURING_DATE : 2013-02-02 VENDOR_NAME : HP Subslot 1 Subslot 1: DEVICE_NAME : 6125XLG DEVICE_SERIAL_NUMBER : 6C02132021 MANUFACTURING_DATE : 2013-02-02 VENDOR_NAME : HP Table 20 Command output Field Description slot 1 ID of the IRF member device.

  • Page 163: Display Memory

    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.

  • Page 164: Display Memory-threshold

    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.

  • Page 165: Display Scheduler Job

    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...

  • Page 166: Display Scheduler Logfile

    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.

  • Page 167: Display Scheduler Reboot, Display Scheduler Schedule

    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).

  • Page 168: Display System-working-mode

    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.

  • Page 169: Display Transceiver Alarm

    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...

  • Page 170: Display Transceiver Diagnosis

    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.

  • Page 171: Display Transceiver Interface

    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.

  • Page 172: Display Transceiver Manuinfo

    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>...

  • Page 173: Display Version

    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.

  • Page 174: Display Version-update-record

    <Sysname> display version HP Comware Software, Version 7.1.035, Release 2306 Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. HP 6125XLG Blade Switch uptime is 0 weeks, 0 days, 2 hours, 24 minutes Last reboot reason : Power on Boot image: flash:/6125xlg-cmw710-boot-r2306.bin Boot image version: 7.1.035P11, Release 2306...

  • Page 175: Fan Prefer-direction

    <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...

  • Page 176: Header

    [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.

  • Page 177

    # 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.

  • Page 178: Memory-threshold

    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 •...

  • Page 179: Memory-threshold Threshold, Password-recovery Enable

    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.

  • Page 180: Reboot

    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.

  • Page 181: Reset Scheduler Logfile

    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.

  • Page 182: Reset Version-update-record, Scheduler Job

    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.

  • Page 183: Scheduler Logfile Size

    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.

  • Page 184: Scheduler Reboot At

    [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.

  • Page 185: Scheduler Reboot Delay, Scheduler Schedule

    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...

  • Page 186: Shutdown-interval

    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.

  • Page 187: Sysname

    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.

  • Page 188: System-working-mode, Time At

    [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...

  • Page 189: Time Once

    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.

  • Page 190: Time Repeating

    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.

  • Page 193: Emergency Shell Commands, Copy, Delete

    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.

  • Page 194

    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.

  • Page 195

    drw- Jan 01 2012 00:00:20 seclog drw- Jan 01 2012 00:00:20 diagfile drw- Jan 01 2012 00:00:20 logfile -rw- 763904 Jan 01 2012 00:00:00 route.bin -rw- 548864 Jan 01 2012 00:00:00 ssh.bin -rw- 7588864 Jan 01 2012 00:00:00 boot.bin ---- Jan 01 2012 01:24:32 ha_log 524288 KB total (514248 KB free)

  • Page 196: Display Install Package

    Examples # Display information about the system.bin software package. <boot> display install package flash:/system.bin flash:/system.bin [Package Info] Vendor: HP Product: 6125XLG Service name: system Platform version: 7.1.035 Product version: Release 2306 Supported board: mpu [Component Info] Component: system...

  • Page 197: Display Interface M-eth0

    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...

  • Page 198: Display Ip Routing-table

    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.

  • Page 199: Display Ipv6 Routing-table

    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. •...

  • Page 200: Format, Display Version

    Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. Ltd. All rights reserved. HP 6125XLG Blade Switch Software Version V200R001B02D024 HP 6125XLG Blade Switch uptime is 0 week, 0 day, 1 hour, 30 minutes Boot image: flash:/6125xlg-cmw710-boot-r2305.bin Boot image version: 7.1.035, Release 2306...

  • Page 201: Install Load

    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 }...

  • Page 202: Interface M-eth0

    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.

  • Page 203: Ip Address, Ip Gateway

    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...

  • Page 204: Ipv6 Address

    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.

  • Page 205: Ipv6 Gateway, Mkdir

    Examples # Assign IPv6 address 2001::1/64 to the management Ethernet interface. <boot> system-view [boot] interface m-eth0 [boot-m-eth0] ipv6 address 2001::1 64 ipv6 gateway Use ipv6 gateway to specify an IPv6 gateway for the management Ethernet interface. Use undo ipv6 gateway to restore the default. Syntax ipv6 gateway link-local undo ipv6 gateway...

  • Page 206

    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.

  • Page 207: Ping

    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)

  • Page 208: Ping Ipv6

    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.

  • Page 209

    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 ---...

  • Page 210

    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.

  • Page 211: Shutdown, Ssh2, System-view

    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>...

  • Page 212: Tftp, Telnet

    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.

  • Page 214: Tcl Commands, Tclsh, Tclquit

    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.

  • Page 215: Support And Other Resources, Contacting Hp, Subscription Service, Related Information, Documents

    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: •...

  • Page 216: Websites, Conventions

    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.

  • Page 218: Index

    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...

  • Page 219

    display memory-threshold,157 timeout,69 display role,40 display role feature,42 get,82 display role feature-group,45 gunzip,1 13 display saved-configuration,131 gzip,1 14 display scheduler job,158 display scheduler logfile,159 display scheduler reboot,160 header,169 display scheduler schedule,160 help,83 display startup,132 history-command max-size,24 display system-working-mode,161 hotkey,9 display telnet client,18 display this,133...

  • Page 220

    parity,26 scheduler logfile size,176 passive,87 scheduler reboot at,177 password-recovery enable,172 scheduler reboot delay,178 permit interface,50 scheduler schedule,178 permit vlan,51 screen-length,27 permit vpn-instance,53 screen-length disable,10 ping,200 send,28 ping ipv6,201 set authentication password,29 protocol inbound,27 sha256sum,1 19 put,88 shell,30 pwd,202 shutdown,204 pwd,89 shutdown-interval,179 pwd,1 17 speed,31...

  • Page 221

    time at,181 time once,182 verbose,98 time repeating,183 vlan policy deny,63 vpn-instance policy deny,64 undelete,120 user,98 Websites,209 user-interface,37 user-role,38...

Comments to this Manuals

Symbols: 0
Latest comments: