HP FlexFabric 12900 series Command Reference Manual

Hide thumbs Also See for FlexFabric 12900 series:
Table of Contents

Advertisement

HP FlexFabric 12900 Switch Series
Fundamentals

Command Reference

Part number: 5998-6229
Software version: Release 1135
Document version:6W100-20150427

Advertisement

Table of Contents
loading

Summary of Contents for HP FlexFabric 12900 series

  • Page 1: Command Reference

    HP FlexFabric 12900 Switch Series Fundamentals Command Reference Part number: 5998-6229 Software version: Release 1135 Document version:6W100-20150427...
  • Page 2 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.
  • Page 3: Table Of Contents

    Contents Basic CLI commands ···················································································································································· 1   alias ··········································································································································································· 1   display | { begin | exclude | include } ················································································································· 2   display | by-linenum ················································································································································ 3   display > ··································································································································································· 4   display >> ································································································································································· 5   display alias ······························································································································································ 6  ...
  • Page 4 terminal type ·························································································································································· 43   user-interface ·························································································································································· 44   user-interface class ················································································································································ 45   user-role ·································································································································································· 46   RBAC commands ······················································································································································· 48   description ······························································································································································ 48   display role ···························································································································································· 48   display role feature ··············································································································································· 50   display role feature-group ···································································································································· 54  ...
  • Page 5 mkdir ······································································································································································· 92   newer ······································································································································································ 92   open ········································································································································································ 93   passive ···································································································································································· 94   put ··········································································································································································· 94   pwd ········································································································································································· 95   quit ·········································································································································································· 96   reget ········································································································································································ 96   rename ···································································································································································· 97   reset ········································································································································································ 98   restart ······································································································································································...
  • Page 6 display current-configuration diff ······················································································································· 137   display default-configuration ······························································································································ 139   display diff ··························································································································································· 139   display saved-configuration ······························································································································· 141   display startup ····················································································································································· 142   display this ··························································································································································· 144   reset saved-configuration ···································································································································· 145   restore startup-configuration ······························································································································· 146  ...
  • Page 7 display device manuinfo ····································································································································· 199   display device manuinfo fan ······························································································································ 201   display device manuinfo power ························································································································ 202   display diagnostic content ·································································································································· 203   display diagnostic-information ··························································································································· 205   display environment ············································································································································ 206   display exception filepath ·································································································································· 208  ...
  • Page 8 Support and other resources ·································································································································· 254   Contacting HP ······························································································································································ 254   Subscription service ············································································································································ 254   Related information ······················································································································································ 254   Documents ···························································································································································· 254   Websites ······························································································································································· 254   Conventions ·································································································································································· 255   Index ········································································································································································ 257  ...
  • Page 9: Basic Cli Commands

    Basic CLI commands alias Use alias to configure a command alias. Use undo alias to remove a command alias. Syntax alias alias command undo alias alias Default The system defines a set of command aliases, as listed in Table Table 1 System-defined command aliases Alias Command string access-list...
  • Page 10: Display | { Begin | Exclude | Include

    For example, if you configure the alias siprt for display ip routing-table, you can enter siprt to execute the display ip routing-table command. If you configure the alias ship for display ip, you can use ship to execute all commands starting with display ip: •...
  • Page 11: Display | By-Linenum

    Syntax display command | { begin | exclude | include } regular-expression 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 ?. begin: Displays the first line matching the specified regular expression and all subsequent lines.
  • Page 12: Display

    Usage guidelines By numbering each output line from a display command, you can easily identify the lines of interest. Each line number is displayed as a 5-character string and might be followed by a colon (:) or hyphen (-). If you specify the | by-linenum option and the | begin regular-expression option for a display command, a hyphen is displayed for all lines that do not match the regular expression.
  • Page 13: Display

    If the specified file does not exist, the system creates the file and saves the output to the file. If the file already exists, the system overwrites the file. Examples # Save VLAN 1 settings to a separate file named vlan.txt. <Sysname>...
  • Page 14: Display Alias

    VLAN type: Static Route interface: Not configured Description: VLAN 0001 Name: VLAN 0001 Tagged ports: None Untagged ports: FortyGigE1/0/2 VLAN ID: 999 VLAN type: Static Route interface: Configured IP address: 192.168.2.1 Subnet mask: 255.255.255.0 Description: For LAN Access Name: VLAN 0999 Tagged ports: None Untagged ports:...
  • Page 15: Display History-Command

    sirt display ip routing-table write save # Display the command alias shinc. <Sysname> display alias shinc Alias Command key shinc display $1 | include $2 Related commands alias display history-command Use display history-command to display all commands that are saved in the command history buffer for the current CLI session.
  • Page 16: Display Hotkey

    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. Users can view them and execute them again. Up to 1024 commands can be saved in the command history buffer. When this number is reached, the system deletes the earliest commands to make room for newly executed commands.
  • Page 17: Hotkey

    CTRL_T NULL CTRL_U NULL -System-reserved hotkeys- CTRL_A Move the cursor to the beginning of the line. CTRL_B Move the cursor one character to the left. CTRL_C Stop the current command. CTRL_D Erase the character at the cursor. CTRL_E Move the cursor to the end of the line. CTRL_F Move the cursor one character to the right.
  • Page 18: Quit

    Predefined user roles network-admin Parameters CTRL_G: Assigns a command to Ctrl+G. CTRL_L: Assigns a command to Ctrl+L. CTRL_O: Assigns a command to Ctrl+O. CTRL_T: Assigns a command to Ctrl+T. CTRL_U: Assigns a command to Ctrl+U. command: Specifies the command to be assigned to the hotkey. Usage guidelines The system defines some hotkeys and provides five configurable command hotkeys.
  • Page 19: Return

    return Use return to return to user view from any other view. Syntax return Views Any view except user view Predefined user roles network-admin network-operator Usage guidelines Pressing Ctrl+Z has the same effect as the return command. Examples # Return to user view from FortyGigE 1/0/1 interface view. [Sysname-FortyGigE1/0/1] return <Sysname>...
  • Page 20: System-View

    Examples # Disable pausing between screens of output for the current session. <Sysname> screen-length disable Related commands screen-length system-view Use system-view to enter system view from user view. Syntax system-view Views User view Predefined user roles network-admin network-operator Examples # Enter system view from user view. <Sysname>...
  • Page 21: Login Management Commands

    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. Some login management commands are available in both user line view and user line class view: A setting in user line view is applied only to the user line.
  • Page 22: Authentication-Mode

    If the setting in user line view is the default setting but the setting in user line class view is not, the • setting in user line class view takes effect. To display the shortcut key you have defined, use the display current-configuration | include activation-key command.
  • Page 23: Auto-Execute Command

    Parameters none: Disables authentication. password: Performs local password authentication. scheme: Performs AAA authentication. For more information about AAA, see Security Configuration Guide. Usage guidelines When the authentication mode is none, any user can log in without authentication. To improve device security, use the password or scheme authentication mode.
  • Page 24 Syntax auto-execute command command undo auto-execute command Default Command auto-execution is disabled. Views User line view, user line class view Predefined user roles network-admin Parameters command: Specifies the command to be automatically executed. Usage guidelines This command is not supported in AUX line view or AUX line class view. This command is available in both user line view and user line class view: If the setting in user line view is not the default setting, the setting in user line view takes effect.
  • Page 25: Command Accounting

    Trying 192.168.1.41 ... Press CTRL+K to abort Connected to 192.168.1.41 ... ****************************************************************************** * Copyright (c) 2010-2015 Hewlett-Packard Development Company, L.P. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. ****************************************************************************** <Sysname.41> 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 time.
  • Page 26: Command Authorization

    command authorization • command authorization Use command authorization to enable command authorization. Use undo command authorization to restore the default. Syntax command authorization undo command authorization Default Command authorization is disabled. Logged-in users can execute commands without authorization. Views User line view, user line class view Predefined user roles network-admin Usage guidelines...
  • Page 27: Display Line

    Views User line view 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 command is not supported in VTY line view.
  • Page 28: Display Telnet Client

    Examples # Display user line information. <Sysname> display line 1 Type Tx/Rx Modem Auth AUX 1 9600 : Line is active. : Line is active and in async mode. : Absolute index of line. Type : Type and relative index of line. Auth : Login authentication mode.
  • Page 29: Display User-Interface

    Syntax display telnet client Views Any view Predefined user roles network-admin network-operator Examples # Display the Telnet client configuration of the device when it serves as a Telnet client. <Sysname> display telnet client The source IP address is 1.1.1.1. The output shows that the device uses the source IPv4 address 1.1.1.1 for outgoing Telnet packets when it serves as a Telnet client.
  • Page 30 Usage guidelines This is an older command reserved for backward compatibility purposes. Although it has the same functionality and output as the display line command, HP recommends that you use the display line command. Examples # Display user line information.
  • Page 31: Display Users

    display users Use display users to display online CLI user information. Syntax display users [ all ] Views Any view Predefined user roles network-admin network-operator Parameters all: Displays all user lines supported by the device. Examples # Display online user information. <Sysname>...
  • Page 32: Escape-Key

    For more information, see the description of the command. HP recommends that you use a key sequence as the shortcut key. If you define a single character as the shortcut key, pressing the key while a command is being executed stops the command. If no command is being executed, the result depends on the following: If you are managing the local device, pressing the key enters the character as a common character.
  • Page 33: Flow-Control

    To verify the configuration: Ping IP address 192.168.1.49, specifying the -c keyword to set the number of ICMP echo request packets to 20. <Sysname> ping -c 20 192.168.1.49 PING 192.168.1.49: 56 data bytes, press a to break Reply from 192.168.1.49: bytes=56 Sequence=1 ttl=255 time=3 ms Reply from 192.168.1.49: bytes=56 Sequence=2 ttl=255 time=3 ms Press a.
  • Page 34: Free Line

    To communicate, two devices must be configured with the same flow control mode. Examples # Configure software flow control in the inbound and outbound directions for user line AUX 0. <Sysname> system-view [Sysname] line aux 0 [Sysname-line-aux0] flow-control software free line Use free line to release a user line.
  • Page 35: Free User-Interface

    This command does not release the line you are using. This is an older command reserved for backward compatibility purposes. Although it has the same functionality and output as the free line command, HP recommends you use the free line command. Examples # Release user line VTY 1: Display online users.
  • Page 36: History-Command Max-Size

    Are you sure to free line vty1? [Y/N]:y [OK] history-command max-size Use history-command max-size to set the size of the command history buffer for a user line. 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 line saves up to 10 history commands.
  • Page 37: Line

    Syntax idle-timeout minutes [ seconds ] undo idle-timeout Default The idle-timeout interval is 10 minutes. Views User line view, user line class 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.
  • Page 38: Line Class

    last-number1: Specifies the absolute number of the last user line. This number cannot be smaller than first-number1. aux: Specifies the AUX line. vty: Specifies the VTY line. first-number2: Specifies the relative number of the first user line. The value ranges are as follows: AUX line—0 to 1 in standalone mode and 0 to 7 in IRF mode.
  • Page 39: Lock

    Some login management commands are available in both user line view and user line class view: • A setting in user line view is applied only to the user line. A setting in user line class view is applied to all user lines of the class. A non-default setting in either view takes precedence over a default setting in the other view.
  • Page 40: Parity

    Syntax lock Default By default, the system does not lock any user line. Views User view Predefined user roles network-admin Usage guidelines This command is not supported in FIPS mode. After executing the lock command, enter the password for unlocking the user line and confirm the password by entering it again.
  • Page 41: Protocol Inbound

    Views User line view Predefined user roles network-admin Parameters even: Performs even parity check. mark: Performs mark parity check. none: Disables parity check. odd: Performs odd parity check. space: Performs space parity check. Usage guidelines This command is not supported in VTY line view. The configuration terminal and the device must be configured with the same parity check mode to communicate.
  • Page 42: Screen-Length

    Parameters all: Supports both protocols. ssh: Supports SSH only. telnet: Supports Telnet only. Usage guidelines This configuration is effective only for a user who logs in through the user line after the configuration is completed. Before configuring a user line to support SSH, set the authentication mode to scheme for the user line. For more information, see authentication-mode.
  • Page 43: Send

    Parameters screen-length: Specifies the maximum number of lines to be displayed on a screen, in the range of 0 to 512. Setting this argument to 0 disables pausing between screens of output. Usage guidelines This command sets the maximum number of lines that can be displayed on one screen when the screen pause function is enabled.
  • Page 44: Set Authentication Password

    AUX line—0 to 1 in standalone mode and 0 to 7 in IRF mode. • • VTY line—0 to 63. Usage guidelines To end a message, press Enter. To cancel a message and return to user view, press Ctrl+C. Examples # Before you restart the device, send a notification to VTY 1 to inform the user.
  • Page 45: Shell

    For security purposes, the password is hashed before being saved, whether you specify the hash or simple keyword. This command is available in both user line view and user line class view: If the setting in user line view is not the default setting, the setting in user line view takes effect. •...
  • Page 46: Speed

    [Sysname] line vty 0 4 [Sysname-line-vty0-4] undo shell Disable ui-vty0-4 , are you sure? [Y/N]:y [Sysname-line-vty0-4] speed Use speed to set the transmission rate (also called the "baud rate") on a user line. Use undo speed to restore the default. Syntax speed speed-value undo speed...
  • Page 47: Telnet

    Default One stop bit is used. Views User line 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 48: Telnet Client Source

    source: Specifies a source IPv4 address or source interface for outgoing Telnet packets. interface interface-type interface-number: Specifies the source interface. The primary IPv4 address of the interface will be used as the source IPv4 address for outgoing Telnet packets. ip ip-address: Specifies the source IPv4 address for outgoing Telnet packets. dscp dscp-value: Specifies the DSCP value for IP to use in outgoing Telnet packets to indicate the packet transmission priority, in the range of 0 to 63.
  • Page 49: Telnet Server Acl

    The source IPv4 address or source interface that is specified by this command applies to all Telnet connections. However, if a user specifies a source IPv4 address or source interface when executing the telnet command, the setting specified by the user takes effect. Examples # Set the source IPv4 address for outgoing Telnet packets to 1.1.1.1 when the device serves as a Telnet client.
  • Page 50: Telnet Server Dscp

    [Sysname] acl number 2001 [Sysname-acl-basic-2001] rule permit source 1.1.1.1 0 [Sysname-acl-basic-2001] quit [Sysname] telnet server acl 2001 telnet server dscp Use telnet server dscp to set the DSCP value for IPv4 to use for outgoing Telnet packets on a Telnet server. Use undo telnet server dscp to restore the default.
  • Page 51: Terminal Type

    Specifies the terminal display type VT100. Usage guidelines The device supports two terminal display types: ANSI and VT100. HP recommends that you set the display type to VT100 on both the device and the configuration terminal. If either side uses the ANSI type, a display problem such as cursor positioning error might occur when a command line has more than 80 characters.
  • Page 52: User-Interface

    To configure the same settings for multiple user lines, use this command to enter multiple user line views. This command is an older version of the line command. It is reserved for backward compatibility purposes. Although it has the same functionality and output as the line command, HP recommends you use the line command.
  • Page 53: User-Interface Class

    This command is an older version of the line class command. It is reserved for backward compatibility purposes. Although it has the same function and output as the line class command, HP recommends that you use the line class command.
  • Page 54: User-Role

    [Sysname-line-aux0] activation-key 13 To verify the configuration: Exit the console session. [Sysname-line-aux0] return <Sysname> quit Log in again through the AUX line. The following message appears: Press ENTER to get started. Press Enter. Pressing Enter does not start a session. Enter s.
  • Page 55 Examples # Assign user role network-admin through the user line VTY 0. <Sysname> system-view [Sysname] line vty 0 [Sysname-line-vty0] user-role network-admin...
  • Page 56: Rbac Commands

    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 57 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. If you do not specify a user role name, the command displays information about all user roles, including the predefined user roles.
  • Page 58: Display Role Feature

    Field Description Interface policy of the user role: • deny—Denies access to any interface except permitted interfaces. Interface policy • permit (default)—Default interface policy, which enables the user role to access any interface. Permitted interfaces Interfaces accessible to the user role. VPN instance policy of the user role: •...
  • Page 59 Syntax display role feature [ name feature-name | verbose ] Views Any view Predefined user roles network-admin network-operator Parameters name feature-name: Displays the commands of a feature. The feature-name argument specifies the feature name, and all letters must be in lower case. verbose: Displays the commands of each feature.
  • Page 60 save * archive configuration backup startup-configuration to * restore startup-configuration from * reset saved-configuration * startup saved-configuration * display transceiver * bootrom * bootrom-access * system-view ; temperature-limit * system-view ; sysname * system-view ; clock timezone * system-view ; clock summer-time * system-view ;...
  • Page 61 … # Display the commands of the aaa feature. <Sysname> display role feature name aaa Feature: aaa (AAA related commands) system-view ; domain * system-view ; header * system-view ; aaa * display domain * system-view ; user-group * system-view ; local-user * display local-user * display user-group * display debugging local-server...
  • Page 62: Display Role Feature-Group

    Field Description Command type is Execute. An execute command executes a specific function. Related commands feature display role feature-group Use display role feature-group to display feature group information. Syntax display role feature-group [ name feature-group-name ] [ verbose ] Views Any view Predefined user roles network-admin...
  • Page 63: Feature

    feature Use feature to add a feature to a feature group. Use undo feature to remove a feature from a feature group. Syntax feature feature-name undo feature feature-name Default A user-defined feature group does not have any features. Views Feature group view Predefined user roles network-admin Parameters...
  • Page 64: Permit Interface

    Views User role view Predefined user roles network-admin Usage guidelines To restrict the interface access of a user role to a set of interfaces, perform the following tasks: Use interface policy deny to enter user role interface policy view. Use permit interface to specify accessible interfaces. NOTE: The interface policy deny command denies the access of the user role to all interfaces if the permit interface command is not configured.
  • Page 65 Syntax permit interface interface-list undo permit interface [ interface-list ] Default No permitted interfaces are configured in user role interface policy view. Views User role interface policy view Predefined user roles network-admin Parameters interface interface-list: Specifies a space-separated list of up to 10 interface items. Each interface item specifies one interface in the interface-type interface-number form or a range of interfaces in the interface-type interface-number to interface-type interface-number form.
  • Page 66: Permit Vlan

    [Sysname-role-role1] quit Verify that you cannot use the user role to work on any interfaces except FortyGigE 1/0/1 and FortyGigE 1/0/5 to FortyGigE 1/0/7: # Verify that you can enter FortyGigE 1/0/1 interface view. [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] quit # Verify that you can assign FortyGigE 1/0/5 to VLAN 10.
  • Page 67: Permit Vpn-Instance

    Enter the VLAN views. • • Specify the VLANs in feature commands. You can repeat the permit vlan command to add permitted VLANs to a user role VLAN policy. The undo permit vlan command removes the entire list of permitted VLANs if you do not specify any VLANs.
  • Page 68 Default No permitted VPNs are configured in user role VPN instance policy. Views User role VPN instance policy view Predefined user roles network-admin Parameters vpn-instance-name&<1- 1 0>: Specifies a space-separated list of up to 10 MPLS L3VPN names. Each name is a case-sensitive string of 1 to 31 characters. Usage guidelines To permit a user role to access an MPLS L3VPN after you configure the vpn-instance policy deny command, you must add the VPN to the permitted VPN list of the policy.
  • Page 69: Role

    [Sysname-radius-radius1] quit # Verify that you cannot create the VPN vpn2 or enter its view. [Sysname] ip vpn-instance vpn2 Permission denied. Related commands display role • role • • vpn-instance policy deny role Use role to create a user role and enter user role view. If the user role has been created, you directly enter the user role view.
  • Page 70: Role Default-Role Enable

    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 remote AAA users. Use undo role default-role enable to restore the default. Syntax role default-role enable [ role-name ] undo role default-role enable...
  • Page 71: Rule

    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. Views System view Predefined user roles network-admin Parameters name feature-group-name: Specifies a feature group name.
  • Page 72 Default A user-defined user role does not have any rules and cannot use any command, XML element, or MIB node. 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, XML element, or MIB node.
  • Page 73 Command rule—Controls access to a command or a set of commands that match a regular • expression. Feature rule—Controls access to the commands of a feature by command type. • Feature group rule—Controls access to the commands of a group of features by command type. •...
  • Page 74 Table 9 Command string configuration rules Rule Guidelines Use a semicolon to separate the command of each view that you must enter before you access a command or a set of commands. However, do not use a semicolon to separate commands available in user view or any view, for example, display and dir.
  • Page 75: Super

    Rule Guidelines The system does not treat the redirect signs and the parameters that follow the signs as part of command lines. However, in user role command rules, Do not include the vertical bar (|), these redirect signs and parameters are handled as part of command greater-than sign (>), or double lines.
  • Page 76: Super Authentication-Mode

    Parameters rolename: Specifies a user role, a case-sensitive string of 1 to 63 characters. The user role must exist in the system. If you do not specify a user role, you obtain the default target user role. Usage guidelines The obtained user role is a temporary user role, because this command is effective only on the current login.
  • Page 77: Super Default Role

    scheme: Enables remote AAA authentication. Usage guidelines For local password authentication, use the super password command to set a password. For remote AAA authentication, set the username and password on the RADIUS or HWTACACS server. If you specify both local and scheme keywords, the keyword first entered in the command takes precedence, as follows: scheme local—Enables remote-then-local authentication mode.
  • Page 78: Super Password

    Parameters rolename: Specifies the name of the default target user role, a case-sensitive string of 1 to 63 characters. The user role must exist in the system. Usage guidelines The default target user role is applied to the super or super password command when you do not specify a user role for the command.
  • Page 79: Vlan Policy Deny

    If simple is specified, the password must be a string of 1 to 63 characters. If hash is specified, the password must be a string of 1 to 1 10 characters. In FIPS mode, the password must be a string of 15 to 63 characters. The string must contain four •...
  • Page 80: Vpn-Instance Policy Deny

    NOTE: The vlan policy deny command denies the access of the user role to all VLANs if the permit vlan command is not configured. To configure a VLAN, make sure the VLAN is permitted by the user role VLAN policy in use. You can perform the following tasks on an accessible VLAN: •...
  • Page 81 Usage guidelines To restrict the VPN access of a user role to a set of VPNs, perform the following tasks: Use vpn-instance policy deny to enter user role VPN instance policy view. Use permit vpn-instance to specify accessible VPNs. NOTE: The vpn-instance policy deny command denies the access of the user role to all VPNs if the permit vpn-instance command is not configured.
  • Page 82: Ftp Commands

    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 83: Free Ftp User

    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 flash: If a username exceeds 10 characters, a host IP address exceeds 15 bits, or a directory name exceeds 37 bits, the exceeded part is displayed in the next line and right justified, as shown below.
  • Page 84: Free Ftp User-Ip

    Parameters username: Specifies a username. You can use the display ftp-user command to display FTP user information. Examples # Release the FTP connections established by using the user account ftpuser. <Sysname> free ftp user ftpuser Are you sure to free FTP connection? [Y/N]:y <Sysname>...
  • Page 85: Ftp Server Dscp

    Predefined user roles network-admin Parameters acl-number: Specifies an IPv4 ACL number in the range of 2000 to 3999. Usage guidelines You can use this command to permit only FTP requests from specific FTP clients. This configuration takes effect only for FTP connections to be established. It does not impact existing FTP connections. If you execute the command multiple times, the most recently specified ACL takes effect.
  • Page 86: Ftp Server Enable

    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 87: Ftp Client Commands

    <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 viewing the files in the working directory, reading/downloading/uploading/renaming/removing files, and creating directories. 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 88: Binary

    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 89: Bye

    ASCII mode—Transfers text files. • 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 90: 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 91: Close

    ftp> pwd 257 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X" is current directory ftp> cdup 250 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk" is current directory ftp> pwd 257 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk" is current directory Related commands • • close Use close to terminate the connection to the FTP server without exiting FTP client view. Syntax close Views...
  • Page 92: 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 93: Disconnect

    Views FTP client view Predefined user roles network-admin Parameters remotefile: Specifies the name of a file or directory on the FTP server. localfile: Specifies the name of the local file used for saving the displayed information. Usage guidelines You can perform this operation only after you log in to the FTP server. In FTP client view, executing the dir command is the same as executing the ls command.
  • Page 94: Display Ftp Client Source

    Syntax disconnect 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. Examples # Terminate the connection to the FTP server without exiting the FTP client view. ftp>...
  • Page 95: Ftp Client Source

    Parameters ftp-server: Specifies the IPv4 address or host name of an FTP server. A host name can be a case-insensitive string of 1 to 253 characters. Valid characters for a host name include letters, digits, hyphens (-), underscores (_), and dots (.). service-port: Specifies the TCP port number of the FTP server, in the range of 0 to 65535.
  • Page 96: Get

    Use undo ftp client source to restore the default. Syntax ftp client source { interface interface-type interface-number | ip source-ip-address } undo ftp client source Default No source IPv4 address is configured for outgoing FTP packets. The device uses the primary IPv4 address of the output interface for the route to the server as the source IP address.
  • Page 97: Help

    Parameters remotefile: Specifies the name of the file to be downloaded. localfile: Specifies a name for the downloaded file. Usage guidelines You can perform this operation only after you log in to the FTP server. To save the downloaded file to the working directory accessed by the ftp command, the localfile argument must specify a file name such as a.cfg.
  • Page 98: Lcd

    Views FTP client view Predefined user roles network-admin Parameters command-name: Specifies a command supported by the FTP client. Usage guidelines In FTP client view, executing the help command is the same as entering?. Examples # Display all commands supported by the FTP client. ftp>...
  • Page 99 /: Specifies the root directory of the FTP client. Examples # Display the local working directory. ftp> lcd Local directory now /flash: # Change the local working directory to flash:/logfile. ftp> lcd /flash:/logfile Local directory now /flash:/logfile Use ls to display detailed information about the files and subdirectories under the current directory on the FTP server.
  • Page 100: Mkdir

    drwxrwxrwx 1 noone nogroup 0 Apr 1 15:34 aa 226 Transfer finished successfully 226 11 matches total Related commands mkdir Use mkdir to create a subdirectory in the current directory on the FTP server. Syntax mkdir directory Views FTP client view Predefined user roles network-admin Parameters...
  • Page 101: Open

    If the local file does not exist, this command downloads the file from the FTP server and saves it locally. If the remote file on the FTP server is not newer than the local file, this command does not update the local file.
  • Page 102: Passive

    ftp> passive Use passive to set the FTP operation mode to passive. Syntax passive Default The FTP operation mode is passive. Views FTP client view Predefined user roles network-admin Usage guidelines FTP can operate in either of the following modes: Active mode—The FTP server initiates the TCP connection.
  • Page 103: Pwd

    Usage guidelines You can perform this operation only after you log in to the FTP server. To upload a file in the working directory accessed by the ftp command, the localfile argument must specify a file name such as a.cfg. To upload a file in some other directory, the localfile argument must specify the target directory plus the file name such as flash:/subdirectory/a.cfg.
  • Page 104: Quit

    Usage guidelines You can perform this operation only after you log in to the FTP server. Examples # Display the currently accessed directory on the remote FTP server. ftp> cd subdir 250 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\subdir" is current directory ftp> pwd 257 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\subdir"...
  • Page 105: Rename

    Usage guidelines You can perform this operation only after you log in to the FTP server. If a file download is not completed due to network problems or insufficient storage space, you can use the reget command to get the missing part of the file from the FTP server after you solve the problem. Examples # Get the part of the s.bin file that is missing due to transmission interruption.
  • Page 106: Reset

    ftp> rename a.txt b.txt 350 Enter the name to rename it to... 250 File renamed successfully reset Use reset to clear the reply information received from the FTP server in the buffer. Syntax reset Views FTP client view Predefined user roles network-admin Examples # Clear the reply information received from the FTP server.
  • Page 107: Rhelp

    ftp> dir 150 Here comes the directory listing. -rw-r--r-- 80 Jul 18 02:58 h.c rhelp Use rhelp to display the FTP-related commands supported by the FTP server. Use rhelp protocol-command to display the help information of an FTP-related command supported by the FTP server.
  • Page 108: Rmdir

    Field Description Prints the working directory. CDUP Changes the directory to the upper directory. XCUP Extended command with the meaning of CDUP. XPWD Extended command with the meaning of PWD. LIST Lists files. NLST Lists brief file description. MLSD Lists file content. PORT Active mode (IPv4).
  • Page 109: Rstatus

    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. Delete all files and subdirectories in a directory before you delete the directory. For more information about how to delete files, see the delete command.
  • Page 110 211 End of status Table 13 Command output Filed Description Beginning of the display of FTP server status, where 211-FTP server status: 211 specifies the FTP command. Connected to 192.168.20.177 IP address of the FTP client. Logged in as root Login username root.
  • Page 111: Status

    Field Description File size, in bytes. Jul 18 02:58 Date and time when the file was most recently modified. a.txt File name. 213 End of status End of the display of the file information. status Use status to display FTP status. Syntax status Views...
  • Page 112: System

    Field Description Does not end with a pound sign (#) and uses "PORT" Hash mark printing: off; Use of PORT cmds: on data transmission. system Use system to display the system information of the FTP server. Syntax system Views FTP client view Predefined user roles network-admin Usage guidelines...
  • Page 113: Verbose

    Method 1 • ftp> user ftp 123456 331 Password required for ftp. 230 User logged in. • Method 2 ftp> user ftp 331 Give me your password, please Password: 230 Logged in successfully verbose Use verbose to enable or disable the device to display detailed information about FTP operations. Syntax verbose Default...
  • Page 114 150-Accepted data connection 150 The computer is your friend. Trust the computer 226 File successfully transferred 3796 bytes received in 0.00762 seconds (486.5 kbyte/s) Use ? to display all commands supported by an FTP client. Use ? command-name to display the help information for a specific command. Syntax ? [ command-name ] Views...
  • Page 115: Tftp Commands

    TFTP 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. tftp Use tftp to download a file from the TFTP server to the local device or upload a local file to the TFTP server in an IPv4 network.
  • Page 116: Tftp Client Source

    source { interface interface-type interface-number | ip source-ip-address }: Specifies the source address for outgoing TFTP packets. If this keyword is not specified, the device uses the primary IPv4 address of the output interface for the route to the server as the source IPv4 address of outgoing TFTP packets. •...
  • Page 117: Tftp-Server Acl

    Syntax tftp client source { interface interface-type interface-number | ip source-ip-address } undo tftp client source Default No source IPv4 address is configured for outgoing TFTP packets. The device uses the primary IPv4 address of the output interface for the route to the server as the source IP address. Views System view Predefined user roles...
  • Page 118 Views System view Predefined user roles network-admin Parameters acl-number: Specifies the number of a basic ACL, in the range of 2000 to 2999. 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.
  • Page 119: File System Management Commands

    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 120 NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None LSX1TGS48FC1 Normal 12900-R1135 None LSX1FAB16S1 Normal 12900-R1135 None LSX1FAB16S1 Normal 12900-R1135 None NONE Absent NONE...
  • Page 121: Copy

    <Sysname> cd flash:/ copy Use copy to copy a file. Syntax copy fileurl-source fileurl-dest 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.
  • Page 122: Delete

    Copying file flash:/test.cfg to flash:/testbackup.cfg...Done. # Copy 1.cfg from the Flash's test folder to the USB disk's first partition, and save it to the testbackup folder as 1backup.cfg. <Sysname> copy flash:/test/1.cfg usb0:/testbackup/1backup.cfg Copy flash:/test/1.cfg to usb0:/testbackup/1backup.cfg?[Y/N]:y Copying file flash:/test/1.cfg to usb0:/testbackup/1backup.cfg...Done. # Copy test.cfg from the working directory on FTP server 1.1.1.1 and save it to the local current folder as testbackup.cfg.
  • Page 123 Predefined user roles network-admin Parameters /unreserved: Permanently deletes the specified file. If you do not specify this keyword, the command moves the file to the recycle bin. file-url: Specifies the name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For example, to remove files with the .txt extension in the current directory, enter delete *.txt.
  • Page 124: Dir

    # In IRF mode, permanently delete file 1.cfg from the global active MPU's flash root directory. <Sysname> delete /unreserved 1.cfg The file cannot be restored. Delete flash:/1.cfg?[Y/N]:y Deleting the file permanently will take a long time. Please wait... # In IRF mode, remove file 1.cfg from the flash root directory of the global standby MPU that resides in slot 16 of member device 1: Method 1 •...
  • Page 125 Examples # In standalone mode, display all files and folders in the current directory. <Sysname> dir /all Directory of flash:/ # In standalone mode, display files and folders in the root directories of all storage media on the device. <Sysname> dir /all-filesystems Directory of flash:/ Directory of usb0:/ Directory of slot7#flash:/...
  • Page 126: Fdisk

    Field Description File or folder information: • 0—File or folder number, which is automatically allocated by the system. • -rwh—Attributes of the file or folder. The first character is the folder indicator (d for folder and – for file). The second character indicates whether the file or folder is readable (r for readable).
  • Page 127 Capacity of usb: : 256M bytes usb: will be divided into the following partitions: DeviceName Capacity usb0: 85MB usb1: 85MB usb2: 86MB All data on usb: will be lost, continue? [Y/N]:y Partitioning usb:...Done. # Divide the USB disk on the device into one partition in an interactive way. <Sysname>...
  • Page 128: File Prompt

    file prompt Use file prompt to set the operation mode for files and folders. Syntax file prompt { alert | quiet } undo file prompt Default The alert mode is activated and the system prompts for confirmation when you perform a destructive file or folder operation.
  • Page 129: Format

    Before you repair a storage medium, make sure no other users are accessing the medium. Otherwise, the repair operation fails. Examples # Restore the space of the Flash. <Sysname> fixdisk flash: Restoring flash: may take some time... Restoring flash:...Done. format Use format to format a storage medium.
  • Page 130: Gzip

    Views User view Predefined user roles network-admin Parameters filename: Specifies the name of the file to be decompressed. This argument must have .gz as the extension. Usage guidelines This command deletes the specified file after decompressing it. Examples # Decompress the file system.bin.gz. Before decompressing the file, you can display files whose names start with the system.
  • Page 131: Md5Sum

    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 identify whether the file has been tampered with.
  • Page 132: More

    Syntax mkdir directory Views User view Predefined user roles network-admin Parameters directory: Specifies the name of a folder. 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 133 Parameters file-url: Specifies a file name. Examples # Display the contents of the test.txt file. <Sysname> more test.txt Have a nice day. # Display the contents of the testcfg.cfg file. <Sysname> more testcfg.cfg version 7.1.045, Ess 1105 sysname Sysname telnet server enable ---- More ---- # In standalone mode, display the contents of the testcfg.cfg file on the standby MPU (in slot 16).
  • Page 134: Mount

    ---- More ---- mount Use mount to mount a hot swappable storage medium. Syntax mount medium-name Default A storage medium is automatically mounted and in mounted state after being connected to the device, and you can use it without mounting it. Views User view Predefined user roles...
  • Page 135: Pwd

    Syntax move fileurl-source fileurl-dest Views User view Predefined user roles network-admin Parameters fileurl-source: Specifies the name of the source file. fileurl-dest: Specifies the name of the destination file or folder. Usage guidelines If you specify a destination folder, the system moves the source file to the specified folder without changing the file name.
  • Page 136: Reset Recycle-Bin

    Syntax rename fileurl-source fileurl-dest Views User view Predefined user roles network-admin Parameters fileurl-source: Specifies the name of the source file or folder. fileurl-dest: Specifies the name of the destination file or folder. 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 137: Rmdir

    # Delete the b.cfg file from the recycle bin. (In this example there are two files in the recycle bin.) <Sysname> reset recycle-bin Clear flash:/a.cfg?[Y/N]:n 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...
  • Page 138: Tar Create

    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 identify whether the file has been tampered with.
  • Page 139: Tar Extract

    <Sysname> tar extract archive-file a.tar.gz verbose screen a.cfg version 7.1.045, Ess 1105 sysname HP # Extract files and folders, save them to the same folder as the archive file, and display the names of the archived files and folders. <Sysname> tar extract archive-file a.tar.gz verbose a.txt...
  • Page 140: Tar List

    Related commands tar create • tar list • tar list Use tar list to display the names of archived files and folders. Syntax tar list archive-file fileurl-dest Views User view Predefined user roles network-admin Parameters archive-file fileurl-dest: Specifies the archive file name. The suffix can be .tar or .tar.gz. Examples # Display the names of archived files and folders.
  • Page 141: Undelete

    Before you unmount a storage medium, make sure no other users are accessing the medium. Otherwise, the unmount operation fails. When a storage medium is connected to a lower version system, the system might not be able to automatically recognize the device. In this case, you must first execute the mount command for the storage medium to function correctly.
  • Page 142 Undelete flash:/copy.cfg?[Y/N]:y Undeleting file flash:/copy.cfg... Done. # Restore the startup.cfg file, which was moved from the flash:/seclog directory to the recycle bin: • Method 1 <Sysname>undelete seclog/startup.cfg Undelete flash:/seclog/startup.cfg?[Y/N]:y Undeleting file flash:/seclog/startup.cfg... Done. <Sysname> • Method 2 <Sysname> cd seclog <Sysname>...
  • Page 143: Configuration File Management Commands

    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. backup startup-configuration Use backup startup-configuration to back up the main next-startup configuration file to a TFTP server.
  • Page 144: Display Current-Configuration

    Predefined user roles network-admin Parameters private-key: Encrypts configuration with a private key. All HP devices running Comware V7 software use the same private key. public-key: Encrypts configuration with a public key. All HP devices running Comware V7 software use the same public key.
  • Page 145: Display Current-Configuration Diff

    If the system has automatically changed the setting you have made for a parameter, this command displays the effective setting instead of the configured one. An automatic change typically occurs because of system restrictions. Typically, this command does not display parameters that are using the default settings. Examples # Display local user configuration.
  • Page 146 If both the main and backup next-startup configuration files are unavailable or corrupt, the system prompts that the next-startup configuration file does not exist. Examples # Display the configuration differences between the current startup configuration file and the next-startup configuration file. <TEST1>display current-configuration diff --- Startup configuration +++ Current configuration...
  • Page 147: Display Default-Configuration

    display default-configuration Use display default-configuration to display the factory defaults. Syntax display default-configuration Views Any view Predefined user roles network-admin network-operator Usage guidelines The device does not have factory defaults. When you execute this command, the device displays nothing. Examples # Display the factory defaults.
  • Page 148 the display diff configfile file-name-s and display diff current-configuration commands, this keyword specifies the target configuration file. Usage guidelines If you specify the startup-configuration keyword, the system searches the next-startup configuration file for comparison in the following order: The main next-startup configuration file. The backup next-startup configuration file if the main next-startup configuration file is unavailable or corrupt.
  • Page 149: Display Saved-Configuration

    stp global enable - sysname TEST + sysname TEST1 telnet server enable Table 19 Command output Field Description - - - file.cfg Name and directory of the source configuration file. +++ file2.cfg Name and directory of the target configuration file. Location summary for a command line difference: •...
  • Page 150: Display Startup

    Predefined user roles network-admin network-operator Usage guidelines Use this command to verify that important settings have been saved to the configuration file for the next system startup. This command selects the configuration file to display in the following order: If the main startup configuration file is available, this command displays the contents of the main startup configuration file.
  • Page 151 In standalone mode: The standby MPU always uses the same current startup configuration file as the active MPU. After an active/standby switchover, it is normal that the current startup configuration files on them are displayed as NULL, because the new active MPU continues to run with the running configuration rather than rebooting with the previous current startup configuration file.
  • Page 152: Display This

    Table 21 Command output Field Description Displays the startup configuration files on the global active MainBoard MPU. Configuration file that the global active MPU has started up Current startup saved-configuration file with. Next main startup saved-configuration file Primary configuration file to be used at the next startup. Next backup startup saved-configuration file Backup configuration file to be used at the next startup.
  • Page 153: Reset Saved-Configuration

    return # Display the running configuration on user lines. <Sysname> system-view [Sysname] line vty 0 [Sysname-line-vty0] display this line aux 0 user-role network-admin line vty 0 63 authentication-mode none user-role network-admin user-role network-operator return reset saved-configuration Use reset saved-configuration to delete next-startup configuration files. Syntax reset saved-configuration [ backup | main ] Views...
  • Page 154: Restore Startup-Configuration

    If no configuration file attribute is specified, the reset saved-configuration command deletes the main next-startup configuration file. Examples # (In standalone mode.) Delete the main next-startup configuration file. <Sysname> reset saved-configuration The saved configuration file will be erased. Are you sure? [Y/N]:y Configuration file in flash is being cleared.
  • Page 155: Save

    The server is reachable. • • The server is enabled with TFTP service. You have read and write permissions to the server. • This command provides an easy method for configuration file restoration by automatically performing all operations required for restoring the main next-startup configuration file. This command downloads the configuration file to the root directory of the default storage medium on each MPU and specifies the file as the main next-startup configuration file.
  • Page 156 In fast mode, the device directly overwrites the target next-startup configuration file. If a reboot, power failure, or out of memory event occurs during this process, the next-startup configuration file is lost. HP recommends that you specify the safely keyword for the command.
  • Page 157 force: Saves the running configuration without prompting for confirmation. Without this keyword, the system prompts you to confirm the operation. If you do not confirm the operation within 30 seconds, the system automatically aborts the operation. If you enter Y within the time limit, you can continue the save process and change the next-startup configuration file during this process.
  • Page 158: Startup Saved-Configuration

    Save next configuration file successfully. Related commands • display current-configuration display saved-configuration • startup saved-configuration In standalone mode: Use startup saved-configuration to specify a file as a next-startup configuration file for both active and standby MPUs. Use undo startup saved-configuration to set the active and standby MPUs to start up with initial settings at the next startup.
  • Page 159 Make sure the specified configuration file is valid and saved to the root directory of the default • storage medium on each MPU. Make sure all MPUs use the same type of storage medium as the default storage medium. You can •...
  • Page 160: Software Upgrade Commands

    Software upgrade commands boot-loader file Use boot-loader file to specify startup software image files. Syntax In standalone mode: boot-loader file boot boot-package system system-package [ feature feature-package&<1-30> ] { all | slot slot-number } { backup | main } boot-loader file ipe-filename { all | slot slot-number } { backup | main } In IRF mode: boot-loader file boot boot-package system system-package [ feature feature-package&<1-30>...
  • Page 161 backup: Specifies the files as backup startup files. Backup startup images are used only when main images are not available. main: Specifies the files as main startup files. The device always first attempts to start up with main startup files. Usage guidelines Use this command to upgrade startup software images for all MPUs.
  • Page 162: Boot-Loader Update

    system.bin ssh.bin This command will set the backup startup software images. Continue? [Y/N]:Y Add images to target slot. flash:/boot.bin already exists on chassis 1 slot 17. flash:/system.bin already exists on chassis 1 slot 17. flash:/ssh.bin already exists on chassis 1 slot 17. Overwrite it? [Y/N]:y Decompressing file boot.bin to flash:/boot.bin........Done.
  • Page 163: Bootrom Backup

    The main images list is used if the active MPU or global active MPU started up with the main startup • images. The backup image list is used if the active MPU or global active MPU started up with the main •...
  • Page 164: Bootrom Restore

    Views User view Predefined user roles network-admin Parameters slot slot-number-list: Specifies a space-separated list of up to seven slot number items. Each item specifies a card by its slot number or a range of cards in the form of start-slot-number to end-slot-number. For example, slot 0 to 1 2.
  • Page 165: Bootrom Update

    Parameters slot slot-number-list: Specifies a space-separated list of up to seven slot number items. Each item specifies a card by its slot number or a range of cards in the form of start-slot-number to end-slot-number. For example, slot 0 to 1 2. (In standalone mode.) chassis chassis-number: Specifies an IRF member device by its member ID.
  • Page 166: Bootrom-Update Security-Check Enable

    chassis chassis-number: Specifies an IRF member device by its member ID. (In IRF mode.) slot slot-number-list: Specifies a space-separated list of up to seven slot number items. Each item specifies a card by its slot number or a range of cards in the form of start-slot-number to end-slot-number on the specified IRF member device.
  • Page 167: Display Boot-Loader

    Usage guidelines Before a BootWare image upgrade starts, this feature examines the upgrade BootWare image for file validity and incompatibility with hardware. If the BootWare image passes the check, the upgrade process starts. If the check fails, the system does not perform the upgrade. Examples # Enable BootWare image validity check.
  • Page 168: Version Auto-Update Enable

    Backup startup software images: flash:/12900-CMW710-BOOT.bin flash:/12900-CMW710-SYSTEM.bin # In IRF mode, displays current software images and startup software images. <Sysname> display boot-loader Software images on chassis 0 slot 16: Current software images: flash:/12900-CMW710-BOOT.bin flash:/12900-CMW710-SYSTEM.bin Main startup software images: flash:/12900-CMW710-BOOT.bin flash:/12900-CMW710-SYSTEM.bin flash:/12900-CMW710-SSH.bin Backup startup software images: flash:/12900-CMW710-BOOT.bin flash:/12900-CMW710-SYSTEM.bin...
  • Page 169: Version Check Ignore

    Predefined user roles network-admin Usage guidelines This command is available in standalone mode. To make sure the standby MPU always runs the same software images as the active MPU, configure both the version auto-update enable command and the undo version check ignore command. The startup software version check function examines the standby MPU's startup software images for version inconsistency with the active MPU's current software images at startup.
  • Page 170 The startup software version check function might fail to work because the software versions of the MPUs are incompatible. To avoid problems, do not disable startup software version check for the standby MPU unless for software upgrade. To make sure the standby MPU always runs the same software images as the active MPU, configure both the version auto-update enable command and the undo version check ignore command.
  • Page 171: Issu Commands

    # Display detailed information about active software images. <Sysname> display install active verbose Active packages on chassis 1 slot 17: flash:/BOOT-E1133.bin [Package] Vendor: HP Product: 12900 Service name: boot Platform version: 7.1.045 Product version: ESS 1133 Supported board: mpu lpu...
  • Page 172: Display Install Committed

    Vendor: HP Product: 12900 Service name: system Platform version: 7.1.045 Product version: ESS 1133 Supported board: mpu lpu [Component] Component: system Description: system package flash:/SYSTEM-Feature-E1133.bin.bin [Package] Vendor: HP Product: 12900 Service name: system-patch Platform version: 7.1.045 Product version: ESS 1133...
  • Page 173 # Display detailed information about main startup software images. <Sysname> display install committed verbose Committed packages on chassis 1 slot 17: flash:/boot-E1133.bin [Package] Vendor: HP Product: 12900 Service name: boot Platform version: 7.1.045 Product version: ESS 1133 Supported board: mr, lc, sfc...
  • Page 174: Display Install Ipe-Info

    Version type: debug [Component] Component: system Description: system package flash:/SYSTEM-Feature-E1133.bin.bin [Package] Vendor: HP Product: 12900 Service name: system-patch Platform version: 7.1.045 Product version: ESS 1133 Supported board: mpu lpu [Component] Component: system-patch Description: system-patch package For more information about the command output, see...
  • Page 175: Display Install Package

    HP xxx images in IPE: CMW710-BOOT-R2118.bin CMW710-SYSTEM-R2118.bin Related commands display install package display install package Use display install package to display software image file information. Syntax display install package { filename | all } [ verbose ] Views Any view...
  • Page 176: Display Issu Rollback-Timer

    Vendor: HP Product: 12900 Service name: system Platform version: 7.1.045 Product version: ESS 1133 Supported board: mpu Version type: debug [Component] Component: system Description: system package For more information about the command output, see Table display issu rollback-timer Use display issu rollback-timer to display automatic rollback timer information.
  • Page 177: Display Issu State

    display issu state Use display issu state to display ISSU status information. Syntax display issu state Views Any view Predefined user roles network-admin network-operator Usage guidelines The key to an ISSU is to follow the correct upgrade procedure. By using this command to view the ISSU status, you can determine what to do next.
  • Page 178: Display Version Comp-Matrix

    Field Description Version compatibility • Incompatible. Compatibility • compatible. • Unknown—No upgrade is going on. Operating state of the device: • Normal—The device is operating correctly. Work state • Independent active—When you perform an ISSU, the standby MPU that is upgraded first enters this mode.
  • Page 179 Predefined user roles network-admin network-operator Parameters boot: Specifies a boot image file. system: Specifies a system image file. filename: Specifies the name of a software image file in the root directory of the global active MPU's Flash, in the format flash:/xxx.bin. It can be a case-insensitive string of 1 to 63 characters and cannot contain slot or chassis information.
  • Page 180: Install Activate

    7.1.045 Chassis Slot Upgrade Way Reboot Reboot Table 25 Command output Field Description Verifying the file The system was verifying the validity of the file. • Under a system image, this field shows all system image versions that are compatible with the system image. Version compatibility list •...
  • Page 181 Views User view Predefined user roles network-admin Parameters patch: Specifies a patch image file. filename: Specifies the file path of a .bin patch image file, a case-insensitive string. The file must be stored in the root directory of a storage medium on an MPU. The maximum length is 63 characters for the storage-medium:/base-filename.bin segments of the file path.
  • Page 182: Install Add

    Related commands install commit • install deactivate • install add Use install add to decompress an .ipe file. Syntax install add ipe-filename medium-name: Views User view Predefined user roles network-admin Parameters ipe-filename: Specifies the name of an .ipe file in the root directory of the global active MPU's Flash, in the format flash:/xxx.ipe.
  • Page 183: Install Deactivate

    Usage guidelines The install activate or install deactivate command runs patch images or stops patch images from running in memory. For the software change to take effect at the next startup, you must execute the install commit command to change the startup software image list. For more information about the startup software image list, see Fundamental Configuration Guide.
  • Page 184: Issu Accept

    Examples # Deactivate the patch images in route-patch.bin on slot 17. <Sysname> install deactivate patch flash:/route-patch.bin slot 17 issu accept Use issu accept to accept the upgrade and delete the automatic rollback timer. Syntax issu accept Views User view Predefined user roles network-admin Usage guidelines You can execute the issu commit command to finish the ISSU process without executing this command.
  • Page 185: Issu Load

    flash:/BOOT-E1133.bin Running Version New Version Release 1132 E1133 flash:/SYSTEM-e1133.bin Running Version New Version Release 1132 E1133 Chassis Slot Upgrade Way Reboot Reboot Upgrading software images to compatible versions. Continue? [Y/N]:y For information about the command output, see Table Related commands •...
  • Page 186: Issu Rollback

    Usage guidelines To check the synchronization progress, use the display device and display system internal ha service-group commands. The synchronization is completed if the following conditions are met: All cards of the subordinate device are in normal state. • • The Action field of the display system internal ha service-group command is 0 for each service.
  • Page 187: Issu Rollback-Timer

    Views User view Predefined user roles network-admin Usage guidelines The device supports automatic rollback and manual rollback. This command performs a manual rollback. You can perform a manual rollback while an ISSU is in one of the following states: Loaded. •...
  • Page 188: Issu Run Switchover

    Views System view Predefined user roles network-admin Parameters minutes: Specifies the automatic rollback interval in minutes, in the range of 0 to 120. Setting it to 0 disables the automatic rollback function. Usage guidelines The system starts the automatic rollback timer w hen it executes the issu run switchover command. If you do not execute the issu accept or issu commit command before the timer expires, the system automatically rolls back to the software versions before the ISSU.
  • Page 189 Upgrade summary according to following table: flash:/BOOT-E1133.bin Running Version New Version Release 1132 E1133 flash:/SYSTEM-e1133.bin Running Version New Version Release 1132 E1133 Chassis Slot Switchover Way Global active standby MPU switchover Upgrading software images to compatible versions. Continue? [Y/N]:y Table 27 Command output Field Description Switchover method:...
  • Page 190: Device Management Commands

    Device management commands clock datetime Use clock datetime to set the UTC time. Syntax clock datetime time date Default The factory default UTC time is used. 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 191: Clock Protocol

    clock protocol Use clock protocol to specify the system time source. Use undo clock protocol to restore the default. Syntax clock protocol { none | ntp } undo clock protocol Default The device uses NTP to get the system time. Views System view Predefined user roles...
  • Page 192 Pre-defined user roles network-admin Parameters name: Specifies a name for the daylight saving time schedule, a case-sensitive string of 1 to 32 characters. start-time: Specifies the start 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 193: Clock Timezone

    Examples # Set the system time ahead 1 hour for the period between 06:00:00 on 08/01 and 06:00:00 on 09/01. <Sysname> system-view [Sysname] clock summer-time PDT 6 08/01 6 09/01 1 Related commands clock protocol • • clock timezone display clock •...
  • Page 194: Command

    <Sysname> system-view [Sysname] clock timezone Z5 add 5 Related commands clock datetime • clock protocol • clock summer-time • display clock • command Use command to assign a command to a job. Use undo command to revoke a command. Syntax command id command undo command id Default...
  • Page 195: Copyright-Info Enable

    Related commands scheduler job copyright-info enable Use copyright-info enable to enable displaying the copyright statement. Use undo copyright-info enable to disable displaying the copyright statement. Syntax copyright-info enable undo copyright-info enable Default The copyright statement is displayed. Views System view Predefined user roles network-admin Examples...
  • Page 196: Diagnostic Start Test

    [Sysname] undo copyright-info enable • When a Telnet user logs in, the user view prompt appears: <Sysname> When a console user quits user view, the following message appears (the device automatically tries • to restart the console session): User interface aux0 is available. Press ENTER to get started.
  • Page 197: Display Alarm

    display alarm Use display alarm to display alarm information. Syntax In standalone mode: display alarm [ slot slot-number ] In IRF mode: display alarm [ chassis chassis-number slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command displays the alarm information of all cards.
  • Page 198: Display Clock

    INFO Chassis 2 power 6 is absent. ERROR Chassis 2 slot 11 temperature is too high, above the warning limit. Table 29 Command output Field Description Chassis ID of the IRF member device with an alarm. Slot Slot number of the card. Alarm severity.
  • Page 199: Display Copyright

    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 network-operator Examples # Display the copyright statement. <Sysname> display copyright display cpu-usage Use display cpu-usage to display CPU usage statistics. Syntax In standalone mode: display cpu-usage [ slot slot-number [ cpu cpu-number ] ]...
  • Page 200 Examples # In standalone mode, display the current CPU usage. <Sysname> display cpu-usage Slot 4 CPU 0 CPU usage: 10% in last 5 seconds 10% in last 1 minute 10% in last 5 minutes Slot 10 CPU 0 CPU usage: 9% in last 5 seconds 9% in last 1 minute 9% in last 5 minutes...
  • Page 201: Display Cpu-Usage Configuration

    Field Description 10% in last 1 minute Average CPU usage during the last minute. 10% in last 5 minutes Average CPU usage during the last 5 minutes. Slot x CPU y CPU usage Usage statistics for CPU y of the card in slot x. (In standalone mode.) Chassis x Slot y CPU z CPU Usage statistics for CPU z of the card in slot y on member device x.
  • Page 202 Syntax In standalone mode: display cpu-usage history [ job job-id ] [ slot slot-number [ cpu cpu-number ] ] In IRF mode: display cpu-usage history [ job job-id ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] Views Any view Predefined user roles network-admin...
  • Page 203 65%| 60%| 55%| 50%| 45%| 40%| 35%| 30%| 25%| 20%| 15%| 10%| ######## ------------------------------------------------------------ (minutes) cpu-usage (Slot 6 CPU 0) last 60 minutes (SYSTEM) ---- More ---- The output shows the historical CPU usage statistics for the entire system (with the name SYSTEM) in the last 60 minutes: •...
  • Page 204: Display Device

    15%| 10%| ------------------------------------------------------------ (minutes) cpu-usage (Slot 16 CPU 0) last 60 minutes (scmd) ---- More ---- The output shows the historical CPU usage statistics of process 1 (with the process name scmd) in the last 60 minutes. A process name with square brackets ([ ]) means that the process is a kernel process. •...
  • Page 205 NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None LSX1TGS48FC1 Normal 12900-1135 None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None NONE Absent NONE None LSX1FAB16S1 Normal 12900-1135 None LSX1FAB16S1 Normal 12900-1135...
  • Page 206 NONE Absent NONE None 1/10 LSX1FAB16S1 Normal 12900-1135 None 1/11 LSX1FAB16S1 Normal 12900-1135 None 1/12 NONE Absent NONE None 1/13 NONE Absent NONE None 1/14 NONE Absent NONE None 1/15 NONE Absent NONE None 1/16 NONE Absent NONE None 1/17 LSX1SUP16A1 Master 12900-1135...
  • Page 207: Display Device Manuinfo

    MAC_ADDRESS : 0004-7679-C101 MANUFACTURING_DATE : 2013-05-06 VENDOR_NAME : HP Slot 1 CPU 0: DEVICE_NAME : HP FlexFabric 12900 48-port 1/10GbE SFP+ FC Module JG888A DEVICE_SERIAL_NUMBER : 21023173SA MAC_ADDRESS : 000F-E26A-581B MANUFACTURING_DATE : 2012-11-10 VENDOR_NAME : HP Slot 2 CPU 0:...
  • Page 208 DEVICE_NAME : HP FlexFabric 12900 48-port 1/10GbE SFP+ FC Module JG888A DEVICE_SERIAL_NUMBER : 210231A7VX MAC_ADDRESS : 000F-0123-4565 MANUFACTURING_DATE : 2012-12-2 VENDOR_NAME : HP Slot 10 CPU 0: DEVICE_NAME : HP FlexFabric 12910 1.92Tbps Type A Fabric Module JG622A DEVICE_SERIAL_NUMBER : 210231A720...
  • Page 209: Display Device Manuinfo Fan

    MANUFACTURING_DATE : 2013-05-06 VENDOR_NAME : HP Slot 1 CPU 0: DEVICE_NAME : HP FlexFabric 12900 48-port 1/10GbE SFP+ FC Module JG888A DEVICE_SERIAL_NUMBER : 21023173S5 MAC_ADDRESS : 000F-E26A-581B MANUFACTURING_DATE : 2012-11-10 VENDOR_NAME : HP Slot 10 CPU 0: DEVICE_NAME : HP FlexFabric 12910 1.92Tbps Type A Fabric Module JG622A...
  • Page 210: Display Device Manuinfo Power

    DEVICE_SERIAL_NUMBER : 21031S679F MAC_ADDRESS : 0004-7679-0A20 MANUFACTURING_DATE : 2013-05-06 VENDOR_NAME : HP # In IRF mode, display the electronic label information of fan 2 on IRF member device 1. <Sysname> display device manuinfo chassis 1 fan 2 Chassis 1: Fan 2: DEVICE_NAME...
  • Page 211: Display Diagnostic Content

    : LSTM2PSRA DEVICE_SERIAL_NUMBER : 21031A0HHN MANUFACTURING_DATE : 2012-08-14 VENDOR_NAME : HP # In IRF mode, display the electronic label information of power supply 2 on IRF member device 1. <Sysname> display device manuinfo chassis 1 power 2 Chassis 1: Power 2:...
  • Page 212 chassis chassis-number: Specifies an IRF member device. (In IRF mode.) verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information about diagnostic tests. Usage guidelines In standalone mode, the command displays the test settings for all cards if you do not specify the slot slot-number option.
  • Page 213: Display Diagnostic-Information

    #D/*: Disruptive test/Non-disruptive test #P/*: Per port test/NA #A/I/*: Monitoring test is active/Monitoring test is inactive/NA Chassis 1 slot 16: Name Attributes Interval IPCMonitor **M*PA 00:01:00 BoardStatusMonitor **M*PA 00:00:06 TaskMonitor **M*PA 00:00:10 PortMonitor **M*PA 00:00:10 ComponentMonitor **M*PA 00:00:30 HGMonitor **M*PI 00:00:10 EquipSelfCheck *O****...
  • Page 214: Display Environment

    To successfully save the statistics to a file, make sure the directory for saving core files on the active MPU or global active MPU is not NULL and is accessible. To display the directory, use the display exception filepath command. Examples # Display the operating statistics for multiple feature modules in the system.
  • Page 215 Examples # In standalone mode, display information about all temperature sensors on the device. <Sysname> display environment System temperature information (degree centigrade): ---------------------------------------------------------------------- Slot Sensor Temperature Lower Warning Alarm Shutdown hotspot 1 40 hotspot 2 46 hotspot 3 43 hotspot 1 43 hotspot 2 40 hotspot 3 42 inflow...
  • Page 216: Display Exception Filepath

    Field Description High-temperature shutdown threshold. When the sensor temperature reaches the limit, Shutdown the system shuts down automatically. display exception filepath Use display exception filepath to display the directory for saving core files on an MPU. Syntax In standalone mode: display exception filepath [ slot slot-number [ cpu cpu-number ] ] In IRF mode: display exception filepath [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]...
  • Page 217: Display Memory

    display fan [ fan-id ] In IRF mode: display fan [ chassis chassis-number [ fan-id ] ] Views Any view Predefined user roles network-admin network-operator Parameters chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify this option, the command displays the operating states of fans on all IRF member devices.
  • Page 218 Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command displays memory usage for all cards. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device by its slot number and the member ID.
  • Page 219 Chassis 1 Slot 17: Total Used Free Shared Buffers Cached FreeRatio Mem: 8143312 1168820 6974492 304148 85.6% -/+ Buffers/Cache: 864604 7278708 Swap: Chassis 2 Slot 4: Total Used Free Shared Buffers Cached FreeRatio Mem: 3415304 830292 2585012 13132 75.7% -/+ Buffers/Cache: 817160 2598144 Swap:...
  • Page 220: Display Memory-Threshold

    display memory-threshold Use display memory-threshold to display memory alarm thresholds and statistics. Syntax In standalone mode: display memory-threshold [ slot slot-number [ cpu cpu-number ] ] In IRF mode: display memory-threshold [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] Views Any view Predefined user roles...
  • Page 221: Display Power

    First notification at: 0.0 Latest notification at: 0.0 Total number of notifications sent: 0 [Enter severe low-memory state] First notification at: 0.0 Latest notification at: 0.0 Total number of notifications sent: 0 [Back to severe low-memory state] First notification at: 0.0 Latest notification at: 0.0 Total number of notifications sent: 0 [Enter critical low-memory state]...
  • Page 222: Display Scheduler Job

    Absent Absent Absent display scheduler job Use display scheduler job to display job configuration information. Syntax display scheduler job [ job-name ] Views Any view Predefined user roles network-admin network-operator Parameters job-name: Specifies a job by its name, a case-sensitive string of 1 to 47 characters. If you do not specify this option, the command displays the configuration information for all jobs.
  • Page 223: Display Scheduler Reboot

    Examples # Display job execution log information. <Sysname> display scheduler logfile Logfile Size: 1902 Bytes. Job name : shutdown Schedule name : shutdown Execution time : Tue Dec 27 10:44:42 2013 Completion time : Tue Dec 27 10:44:47 2013 --------------------------------- Job output ----------------------------------- <Sysname>system-view System View: return to User View with Ctrl+Z.
  • Page 224: Display Scheduler Schedule

    Related commands scheduler reboot at • scheduler reboot delay • display scheduler schedule Use display scheduler schedule to display schedule information. Syntax display scheduler schedule [ schedule-name ] Views Any view Predefined user roles network-admin network-operator Parameters schedule-name: Specifies a schedule by its name, a case-sensitive string of 1 to 47 characters. If you do not specify this option, the command displays information about all schedules.
  • Page 225: Display Statistic Mode

    Field Description Job name Name of a job under the schedule. Result of the most recent execution: • Successful. • Failed. • Waiting—The device is executing the schedule and the job is waiting to be executed. Last execution status • In process—The job is being executed.
  • Page 226: Display Transceiver Alarm

    Examples # Display system working mode information. <Sysname> display system-working-mode The current system working mode is standard. The next system working mode is advance. display transceiver alarm Use display transceiver alarm to display transceiver alarms. Syntax display transceiver alarm interface [ interface-type interface-number ] Views Any view Predefined user roles...
  • Page 227: Display Transceiver Diagnosis

    RX loss of signal(channel 4) RX power low(channel 1) RX power low(channel 2) RX power low(channel 3) RX power low(channel 4) Table 38 Command output Field Description transceiver current alarm information Alarms present on the transceiver module. RX loss of signal Received signals are lost.
  • Page 228: Display Transceiver Interface

    # Display the key parameters of the transceiver module in interface FortyGigE 1/0/1. <Sysname> display transceiver interface fortygige 1/0/1 FortyGigE1/0/1 transceiver information: Transceiver Type : 40G_BASE_SR4_QSFP_PLUS Connector Type : MPO Wavelength(nm) : 850 Transfer Distance(m) : 100(OM3) Digital Diagnostic Monitoring : YES Vendor Name : HP Ordering Name : JG325A...
  • Page 229: Display Transceiver Manuinfo

    Table 40 Command output Field Description transceiver information Transceiver information. Transceiver Type Transceiver type. Connector type options: Connector Type • MPO—Multi-fiber Push On. • RJ-45. • Fiber transceiver—Central wavelength (in nm) of the transmit laser. If the transceiver supports multiple wavelengths, every two wavelength values are Wavelength(nm) separated by a comma.
  • Page 230: Display Version

    <Sysname> display transceiver manuinfo interface fortygige 1/0/1 FortyGigE1/0/1 transceiver manufacture information: Manu. Serial Number : 213410A0000054000251 Manufacturing Date : 2012-09-01 Vendor Name : HP Table 41 Command output Field Description Manu. Serial Number Serial number generated during production of the transceiver module. Manufacturing Date Date when the electronic label information was written to the transceiver module.
  • Page 231: Exception Filepath

    Usage guidelines The device records its current startup software version information and all subsequent version update information. Such information can survive reboots. A maximum of 10 records can be saved. Examples # Display the startup software image upgrade history records. <Sysname>...
  • Page 232: Header

    Examples # Specify the directory for saving core files as flash:. <Sysname> exception filepath flash: Related commands • display exception filepath process core • 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 The default settings depend on the device model.
  • Page 233: Job

    Welcome to motd(header motd)% [Sysname] header shell Please input banner content, and quit with the character '%'. Welcome to shell(header shell)% In this example, the percentage sign (%) is the starting and ending character of the text argument. Entering the percentage sign after the text quits the header command. Because it is the starting and ending character, the percentage sign is not included in the banner.
  • Page 234: Memory-Threshold

    Parameters job-name: Specifies the job name, a case-sensitive string of 1 to 47 characters. Usage guidelines You can assign multiple jobs to a schedule. The jobs in a schedule are executed concurrently. The jobs to be assigned to a schedule must already exist. To create a job, use the scheduler job command.
  • Page 235: Memory-Threshold Usage

    Parameters minor minor-value: Specifies the minor alarm threshold. This threshold must be equal to or less than the memory size of the specified card. Setting this threshold to 0 disables the minor alarm function. severe severe-value: Specifies the severe alarm threshold. This threshold must be equal to or less than the minor alarm threshold.
  • Page 236: Monitor Cpu-Usage Enable

    undo memory-threshold [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] usage Default The memory usage threshold is 100%. Views System view Predefined user roles network-admin Parameters memory-threshold: Specifies the memory usage threshold in percentage. The value range is 0 to 100. slot slot-number: Specifies a card by its slot number.
  • Page 237: Monitor Cpu-Usage Interval

    Views System view Predefined user roles network-admin Parameters slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command enables CPU usage monitoring on the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device by its slot number and the member ID.
  • Page 238: Monitor Cpu-Usage Threshold

    Parameters interval-value: Specifies the CPU usage statistics sampling interval. It can take the value of 5Sec, 1Min, or 5Min. Enter a value in its complete form. Otherwise, the system prompts parameter error. slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command sets the interval for the active MPU.
  • Page 239: Password-Recovery Enable

    Parameters cpu-threshold: Specifies the CPU usage threshold in percentage. The value range is 0 to 100. slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command sets the CPU usage threshold for the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device by its slot number and the member ID.
  • Page 240: Process Core

    If password recovery capability is disabled, console users must restore the factory-default configuration before they can configure new passwords. Restoring the factory-default configuration deletes the next-startup configuration files. To enhance system security, disable password recovery capability. Availability of BootWare menu options varies with the password recovery capability setting. For more information, see the release notes.
  • Page 241: Reboot

    slot number of the card. If you do not specify a card, this command is applied to the global active MPU. (In IRF mode.) cpu cpu-number: Specifies a CPU by its number. Usage guidelines After you enable core file generation for a process, the system generates a core file each time the process crashes until the maximum number of core files is reached.
  • Page 242 Otherwise, the device cannot start up. Using the force keyword might cause file system corruption. HP recommends that you use this keyword • only when the system fails or cannot start up.
  • Page 243: Reset Scheduler Logfile

    This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait... # Reboot the device immediately without performing any software check. <Sysname> reboot force A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]:y Now rebooting, please wait... # In standalone mode, reboot the LPU in slot 2.
  • Page 244: Reset Version-Update-Record

    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 active MPU. (In standalone mode.) Use reset version-update-record to clear the startup software image upgrade history records of the global active MPU.
  • Page 245: Scheduler Logfile Size

    Parameters job-name: Specifies the job name, a case-sensitive string of 1 to 47 characters. Usage guidelines A job can be referenced by multiple schedules. In job view, you can assign commands to the job. Examples # Create a job named backupconfig and enter job view. <Sysname>...
  • Page 246: Scheduler Reboot Delay

    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. Views User view Predefined user roles network-admin Parameters time: Specifies the reboot 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 247: Scheduler Schedule

    Syntax scheduler reboot delay time undo scheduler reboot Default No reboot delay time is specified. Views User view Predefined user roles network-admin Parameters time: Specifies the reboot delay time in the format hh:mm or mm. This argument can contain up to 6 characters.
  • Page 248: Shutdown-Interval

    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. To configure a schedule: Use the scheduler job command to create a job.
  • Page 249: Statistic Mode

    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 250: Switch-Fabric Isolate

    Examples # Set the packet statistics collection mode to queue. <Sysname> system-view [Sysname] statistic mode queue Do you want to change the packet statistic mode? [Y/N]:y Related commands display l2vpn vsi verbose (VXLAN Command Reference) • • display qos queue-statistics (ACL and QoS Command Reference) •...
  • Page 251: Sysname

    Use sysname to set the device name. Use undo sysname to restore the default. Syntax sysname sysname undo sysname Default The default name is HP. Views System view Predefined user roles network-admin Parameters sysname: Specifies a name for the device, a string of 1 to 64 characters.
  • Page 252: System-Working-Mode

    system-working-mode Use system-working-mode to set the system operating mode. Use undo system-working-mode to restore the default. Syntax system-working-mode { advance | standard } undo system-working-mode Default The device operates in standard mode. Views System view Predefined user roles network-admin Parameters advance: Sets the system operating mode to advanced.
  • Page 253: Temperature-Limit

    temperature-limit Use temperature-limit to set the temperature alarm thresholds for the device. Use undo temperature-limit to restore the default. Syntax In standalone mode: temperature-limit slot slot-number { hotspot | inflow } sensor-number lowlimit warninglimit [ alarmlimit ] undo temperature-limit slot slot-number { hotspot | inflow } sensor-number In IRF mode: temperature-limit chassis chassis-number { slot slot-number } { hotspot | inflow } sensor-number lowlimit warninglimit [ alarmlimit ]...
  • Page 254: Time At

    When the temperature drops below the low-temperature threshold or reaches the high-temperature warning threshold, the device performs the following tasks: Logs the event. • Sends a log message. • Sends a trap. • When the temperature reaches the high-temperature alarming threshold, the device performs the following tasks: Logs the event.
  • Page 255: Time Once

    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 for DD depends on the month value.
  • Page 256: Time Repeating

    delay time: Specifies the delay time for executing the schedule, in the format hh:mm or mm. This argument can contain up to 6 characters. When in the format hh:mm, mm must be in the range of 0 to Usage guidelines After you specify an execution day and time for a schedule, the schedule will be executed once at the specified time point or each specified time point.
  • Page 257 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. If you do not specify this option, the current system time is used as the execution time.
  • Page 258: User-Role

    <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. every Friday and Saturday. <Sysname> system-view [Sysname] scheduler schedule saveconfig [Sysname-schedule-saveconfig] time repeating at 8:00 week-day fri sat Related commands scheduler schedule user-role...
  • Page 259 [Sysname-schedule-test] display this scheduler schedule test user-role network-admin user-role network-operator user-role rolename return Related commands command • • scheduler schedule...
  • Page 260: Python Commands

    Python commands python Use python to enter the Python shell. Syntax python Views User view Predefined user roles network-admin Usage guidelines In the Python shell, you can use the following items: Python 2.7 commands. • • Python 2.7 standard API. Comware V7 extended API.
  • Page 261 Parameters filename: Specifies the name of a Python script on a storage medium (flash memory or USB disk) of the device. The script name is case sensitive and must use the extension .py. The extension .py is case insensitive. param: Specifies the parameters to be passed to the script. To enter multiple parameters, use spaces as the delimiter.
  • Page 262: Support And Other Resources

    Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
  • Page 263: Conventions

    Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
  • Page 264 Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
  • Page 265: Index

    Index A B C D E F G H I J L M N O P Q R S T U V W delete,84 description,48 activation-key,13 diagnostic start test,188 alias,1 dir,1 16 append,79 dir,84 ascii,79 disconnect,85 authentication-mode,14 display | { begin | exclude | include auto-execute command,15 display |...
  • Page 266 display install committed,164 free line,26 display install ipe-info,166 free user-interface,27 display install package,167 ftp,86 display issu rollback-timer,168 ftp client source,87 display issu state,169 ftp server acl,76 display line,19 ftp server dscp,77 display memory,209 ftp server enable,78 display memory-threshold,212 timeout,78 display power,213 display role,48...
  • Page 267 mkdir,123 rhelp,99 mkdir,92 rmdir,100 monitor cpu-usage enable,228 rmdir,129 monitor cpu-usage interval,229 role,61 monitor cpu-usage threshold,230 role default-role enable,62 more,124 role feature-group,62 mount,126 rstatus,101 move,126 rule,63 newer,92 save,147 scheduler job,236 scheduler logfile size,237 open,93 scheduler reboot at,237 scheduler reboot delay,238 scheduler schedule,239 parity,32 screen-length,34...
  • Page 268 telnet server dscp,42 user-interface,44 telnet server enable,42 user-interface class,45 temperature-limit,245 user-role,250 terminal type,43 user-role,46 tftp,107 tftp client source,108 verbose,105 tftp-server acl,109 version auto-update enable,160 time at,246 version check ignore,161 time once,247 vlan policy deny,71 time repeating,248 vpn-instance policy deny,72 umount,132 Websites,254 undelete,133 user,104...

Table of Contents