HP Moonshot-45G/180G Switch Module CLI Command Reference Software Version 2.
© Copyright 2003, 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Confidential computer software.
HP Moonshot Switch Module CLI Command Reference Table of Contents Table of Contents About This Document.....................................................................................................................................9 Purpose ....................................................................................................................................................9 Audience .........................................................................................................
HP Moonshot Switch Module CLI Command Reference Table of Contents Telnet Commands.........................................................................................................................................62 Secure Shell Commands ............................................................................................................................... 67 Management Security Commands............................................................................................................
HP Moonshot Switch Module CLI Command Reference Table of Contents Asymmetric Flow Control...........................................................................................................................322 Protected Ports Commands .......................................................................................................................324 GARP Commands.....................................................................................................................................
HP Moonshot Switch Module CLI Command Reference Table of Contents IP Helper Commands ..................................................................................................................................546 Open Shortest Path First Commands.........................................................................................................555 General OSPF Commands ....................................................................................................................
HP Moonshot Switch Module CLI Command Reference List of Tables List of Tables Table 1: Parameter Conventions......................................................................................................................13 Table 2: Parameter Descriptions ......................................................................................................................14 Table 3: Type of Slots .........................................................................................................
HP Moonshot Switch Module CLI Command Reference List of Tables Table 36: Mac-based VLANs Log Messages....................................................................................................695 Table 37: 802.1X Log Messages......................................................................................................................695 Table 38: IGMP Snooping Log Messages ........................................................................................................
HP Moonshot Switch Module CLI Command Reference About This Document Purpose This document describes command-line interface (CLI) commands you use to view and configure HP Moonshot-45G Switch Module and Moonshot-180G Switch Module software. You can access the CLI by using a direct connection to the serial port or by using Telnet or SSH over a remote network connection. Audience This document is for system administrators who configure and operate systems using HP Moonshot Switch Module software.
HP Moonshot Switch Module CLI Command Reference HP Contact Information For United States and worldwide contact information, see the Contact HP website (http://www.hp.com/go/ assistance). In the United States: • To contact HP by phone, call 1-800-334-5144. For continuous quality improvement, calls may be recorded or monitored. • If you have purchased a Care Pack (service upgrade), see the Support & Drivers website (http:// www8.hp.com/us/en/support-drivers.html).
HP Moonshot Switch Module CLI Command Reference About Switch Module Software Section 1: About Switch Module Software Overview The HP Moonshot-45G Switch Module and Moonshot-180G Switch Module software has two purposes: • Assist attached hardware in switching frames, based on Layer 2, 3, or 4 information contained in the frames. • Provide a complete device management portfolio to the network administrator. Scope HP Moonshot Switch Module software encompasses both hardware and software support.
HP Moonshot Switch Module CLI Command Reference Using the Command-Line Interface Section 2: Using the Command-Line Interface The command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the CLI by using a direct serial connection or by using a remote logical connection with Telnet or SSH. This chapter describes the CLI syntax, conventions, and modes.
HP Moonshot Switch Module CLI Command Reference Using the “No” Form of a Command The CLI Command Reference lists each command by the command name and provides a brief description of the command. Each command reference also contains the following information: • Format shows the command keywords and the required and optional parameters. • Mode identifies the command mode you must be in to access the command. • Default shows the default value, if any, of a configurable setting on the device.
HP Moonshot Switch Module CLI Command Reference Common Parameter Values Common Parameter Values Parameter values might be names (strings) or numbers. To use spaces as part of a name parameter, enclose the name value in double quotes. For example, the expression “System Name with Spaces” forces the system to accept the spaces. Empty strings (““) are not valid user-defined strings. Table 2 describes common parameter values and value formatting.
HP Moonshot Switch Module CLI Command Reference unit/slot/port Naming Convention unit/slot/port Naming Convention HP Moonshot Switch Module software references physical entities such as cards and ports by using a unit/ slot/port naming convention. The HP Moonshot Switch Module software also uses this convention to identify certain logical entities, such as Port-Channel interfaces. The unit number identifies the stack member within a stack of switches. The slot number has two uses.
HP Moonshot Switch Module CLI Command Reference CLI Output Filtering CLI Output Filtering Many CLI show commands display a large amount of content. This can make output difficult to parse through to find the information of desired importance. The CLI Output Filtering feature allows you to optionally specify arguments in show commands to filter the CLI output to display only the desired information. The result is to simplify the display and make it easier to find the desired information.
Command Modes HP Moonshot Switch Module CLI Command Reference Command Modes The CLI groups commands into modes according to the command function. Each of the command modes supports specific HP Moonshot Switch Module software commands. The commands in one mode are not available until you switch to that particular mode, with the exception of the User EXEC mode commands. You can execute the User EXEC mode commands in the Privileged EXEC mode. Note: Show commands are available in every mode.
Command Modes HP Moonshot Switch Module CLI Command Reference Table 5: CLI Command Modes (Cont.) Command Mode Prompt Mode Description Line Telnet (Routing) (config-telnet)# Contains commands to configure telnet login/enable authentication. Allows password configuration for a user in the IAS database. Allows configuration of the email server. Allows configuration of periodic and absolute entries in within a named time range. Contains the QoS Policy-Map configuration commands.
HP Moonshot Switch Module CLI Command Reference Command Modes Table 6 explains how to enter each command mode. To exit a mode and return to the previous mode, enter exit. To exit to Privileged EXEC mode, enter end. Note: Entering end from Privileged EXEC mode exits to User EXEC mode. To exit User EXEC mode, enter logout. Table 6: CLI Mode Access Command Mode Access Method User EXEC Privileged EXEC Global Config VLAN Config Interface Config This is the first level of access.
HP Moonshot Switch Module CLI Command Reference Command Completion and Abbreviation Table 6: CLI Mode Access (Cont.) Command Mode Access Method IPv6 Access-list Config IPv4 Access-list Config MAC Access-list Config Management Access-list Config TACACS Config From the Global Config mode, enter ipv6 access-list name. From the Global Config mode, enter ip access-list name. From the Global Config mode, enter mac access-list extended name. From the Global Config mode, enter management access-list name.
HP Moonshot Switch Module CLI Command Reference CLI Line-Editing Conventions CLI Line-Editing Conventions Table 8 describes the key combinations you can use to edit commands or increase the speed of command entry. You can access this list from the CLI by entering help from the User or Privileged EXEC modes.
Using CLI Help HP Moonshot Switch Module CLI Command Reference Using CLI Help Enter a question mark (?) at the command prompt to display the commands available in the current mode. (Routing) >? enable help logout ping quit show telnet Enter into user privilege mode. Display help for various special keys. Exit this session. Any unsaved changes are lost. Send ICMP echo packets to a specified IP address. Exit this session. Any unsaved changes are lost. Display Switch Options and Settings.
HP Moonshot Switch Module CLI Command Reference Accessing the CLI Accessing the CLI You can access the CLI by using a direct console connection or by using a telnet or SSH connection from a remote management host. For the initial connection, you must use a direct connection to the console port. You cannot access the system remotely until the system has an IP address, subnet mask, and default gateway.
Stacking Commands HP Moonshot Switch Module CLI Command Reference Section 3: Stacking Commands This chapter describes the stacking commands available in the HP Moonshot Switch Module CLI. The Stacking Commands chapter includes the following sections: • “Switch Stacking” on page 24 • “Stack Port Commands” on page 33 • “Nonstop Forwarding Commands” on page 37 Note: The Primary Management Unit is the unit that controls the stack.
HP Moonshot Switch Module CLI Command Reference Switch Stacking no member This command removes a switch from the stack. The unit is the switch identifier of the switch to be removed from the stack. This command is executed on the Primary Management Unit. Format no member unit Mode Stack Global Config switch priority This command configures the ability of a switch to become the Primary Management Unit. The unit is the switch identifier.
HP Moonshot Switch Module CLI Command Reference Switch Stacking movemanagement This command moves the Primary Management Unit functionality from one switch to another. The fromunit is the switch identifier on the current Primary Management Unit. The tounit is the switch identifier on the new Primary Management Unit. Upon execution, the entire stack (including all interfaces in the stack) is unconfigured and reconfigured with the configuration on the new Primary Management Unit.
HP Moonshot Switch Module CLI Command Reference Switch Stacking slot This command configures a slot in the system. The unit/slot is the slot identifier of the slot. The cardindex is the index into the database of the supported card types, indicating the type of the card being preconfigured in the specified slot. The card index is a 32-bit integer.
HP Moonshot Switch Module CLI Command Reference Switch Stacking no set slot disable This command unconfigures the administrative mode of the slot(s). If you specify all, the command removes the configuration from all slots, otherwise the configuration is removed from the slot identified by unit/slot. If a card or other module is present in the slot, this administrative mode removes the configuration from the contents of the slot.
Switch Stacking HP Moonshot Switch Module CLI Command Reference show slot This command displays information about all the slots in the system or for a specific slot. show slot [unit/slot] Format Mode User EXEC Term Definition Slot Status Admin State Power State Configured Card Model Identifier Pluggable Power Down The slot identifier in a unit/slot format. The slot is empty, full, or has encountered an error The slot administrative mode is enabled or disabled.
HP Moonshot Switch Module CLI Command Reference Switch Stacking show supported cardtype This commands displays information about all card types or specific card types supported in the system. Format show supported cardtype [cardindex] Mode User EXEC If you do not supply a value for cardindex, the following output appears: Term Definition Card Index (CID) The index into the database of the supported card types. This index is used when preconfiguring a slot.
Switch Stacking HP Moonshot Switch Module CLI Command Reference Term Definition Plugged-In Model The model identifier of the switch in the stack. Model Identifier is a 32-character field Identifier assigned by the device manufacturer to identify the device. Switch Status The switch status. Possible values for this state are: OK, Code Mismatch, or Not Present. A mismatch indicates that a stack unit is running a different version of the code than the management unit.
Switch Stacking HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command on a Moonshot-45G switch module. (Routing) #show switch 1 Switch............................ Management Status................. Hardware Management Preference.... Admin Management Preference....... Switch Type....................... Preconfigured Model Identifier.... Plugged-in Model Identifier....... Switch Status..................... Switch Description................
Stack Port Commands HP Moonshot Switch Module CLI Command Reference Stack Port Commands This section describes the commands you use to view and configure stack port information. stack-port This command sets stacking per port or range of ports to either stack or ethernet mode. Default stack Format stack-port unit/slot/port [{ethernet | stack}] Mode Stack Global Config show stack-port This command displays summary stack-port information for all interfaces.
HP Moonshot Switch Module CLI Command Reference Stack Port Commands show stack-port counters This command displays summary data counter information for all interfaces. show stack-port counters Format Mode Privileged EXEC Term Definition Unit Interface Tx Data Rate Tx Error Rate Tx Total Errors Rx Data Rate Rx Error Rate Rx Total Errors The unit number. The slot and port numbers. Trashing data rate in megabits per second on the stacking port. Platform-specific number of transmit errors per second.
HP Moonshot Switch Module CLI Command Reference Stack Firmware Synchronization Commands Stack Firmware Synchronization Commands Stack Firmware Synchronization (SFS) provides the ability to automatically synchronize firmware for all stack members. If a unit joins the stack and its firmware version is different from the version running on the stack manager, the SFS feature can either upgrade or downgrade the firmware on the mismatched stack member.
HP Moonshot Switch Module CLI Command Reference Stack Firmware Synchronization Commands boot auto-copy-sw allow-downgrade Use this command to allow the stack manager to downgrade the firmware version on the stack member if the firmware version on the manager is older than the firmware version on the member.
HP Moonshot Switch Module CLI Command Reference Nonstop Forwarding Commands Nonstop Forwarding Commands A switch can be described in terms of three semi-independent functions called the forwarding plane, the control plane, and the management plane. The forwarding plane forwards data packets. The forwarding plane is implemented in hardware.
HP Moonshot Switch Module CLI Command Reference Nonstop Forwarding Commands nsf (Stack Global Config Mode) This command enables nonstop forwarding feature on the stack. When nonstop forwarding is enabled, if the management unit of a stack fails, the backup unit takes over as the master without clearing the hardware tables of any of the surviving units. Data traffic continues to be forwarded in hardware while the management functions initialize on the backup unit. NSF is enabled by default.
HP Moonshot Switch Module CLI Command Reference Parameter Nonstop Forwarding Commands Description Last Startup Reason The type of activation that caused the software to start the last time: • “Power-On” means that the switch rebooted. This could have been caused by a power cycle or an administrative “Reload” command. • “Administrative Move” means that the administrator issued the movemanagement command for the stand-by manager to take over.
HP Moonshot Switch Module CLI Command Reference Nonstop Forwarding Commands show checkpoint statistics This command displays general information about the checkpoint service operation. Format show checkpoint statistics Mode Privileged Exec Parameter Description Messages Checkpointed Number of checkpoint messages transmitted to the backup unit. Range: Integer. Default: 0 Bytes Checkpointed Number of bytes transmitted to the backup unit. Range: Integer.
HP Moonshot Switch Module CLI Command Reference Management Commands Section 4: Management Commands This chapter describes the management commands available in the HP Moonshot Switch Module CLI.
HP Moonshot Switch Module CLI Command Reference Enable and Do Commands Enable and Do Commands enable (Privileged EXEC access) This command gives you access to the Privileged EXEC mode. From the Privileged EXEC mode, you can configure the network interface. Format enable Mode User EXEC do (Privileged EXEC commands) This command executes Privileged EXEC mode commands from any of the configuration modes.
HP Moonshot Switch Module CLI Command Reference Network Interface Commands Network Interface Commands This section describes the commands you use to configure a logical interface for management access. To configure the management VLAN, see “network mgmt_vlan” on page 298. serviceport ip This command sets the IP address, the netmask and the gateway of the network management port. You can specify the none option to clear the IPv4 address and mask and the default gateway (i.e.
HP Moonshot Switch Module CLI Command Reference Network Interface Commands network parms This command sets the IP address, subnet mask and gateway of the device. The IP address and the gateway must be on the same subnet. When you specify the none option, the IP address and subnet mask are set to the factory defaults. Format network parms {ipaddr netmask [gateway]| none} Mode Privileged EXEC network protocol This command specifies the network configuration protocol to be used.
HP Moonshot Switch Module CLI Command Reference Network Interface Commands network mac-address This command sets locally administered MAC addresses. The following rules apply: • Bit 6 of byte 0 (called the U/L bit) indicates whether the address is universally administered (b'0') or locally administered (b'1'). • Bit 7 of byte 0 (called the I/G bit) indicates whether the destination address is an individual address (b'0') or a group address (b'1').
HP Moonshot Switch Module CLI Command Reference Network Interface Commands show network This command displays configuration settings associated with the switch's network interface. The network interface is the logical interface used for in-band connectivity with the switch via any of the switch's front panel ports. The configuration parameters associated with the switch's network interface do not affect the configuration of the front panel ports through which traffic is switched or routed.
Network Interface Commands HP Moonshot Switch Module CLI Command Reference Term Definition Management VLAN ID The VLAN ID for the management VLAN. Some network administrators use a management VLAN to isolate system management traffic from end-user data traffic. The client identifier is displayed in the output of the command only if DHCP is enabled with the client-id option on the network port. See “network protocol dhcp” on page 44.
Network Interface Commands HP Moonshot Switch Module CLI Command Reference Term Definition IPv6 Autoconfig Mode Burned in MAC Address DHCP Client Identifier Whether IPv6 Stateless address autoconfiguration is enabled or disabled. The burned in MAC address used for in-band connectivity. The client identifier is displayed in the output of the command only if DHCP is enabled with the client-id option on the service port. See “serviceport protocol” on page 43.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands IPv6 Management Commands IPv6 Management commands allow a device to be managed via an IPv6 address. HP Moonshot Switch Module software has capabilities such as: • Static assignment of IPv6 addresses and gateways for the service/network ports. • The ability to ping an IPv6 link-local address over the service/network port. • The ability to send SNMP traps and queries via the service/network port.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands serviceport ipv6 address Use the options of this command to manually configure IPv6 global address, enable/disable stateless global address autoconfiguration and to enable/disable dhcpv6 client protocol information on the service port. Note: Multiple IPv6 prefixes can be configured on the service port.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands serviceport ipv6 gateway Use this command to configure IPv6 gateway (i.e. Default routers) information for the service port. Note: Only a single IPv6 gateway address can be configured for the service port. There may be a combination of IPv6 prefixes and gateways that are explicitly configured and those that are set through auto-address configuration with a connected IPv6 router on their service port interface.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands no network ipv6 address The command no network ipv6 address removes all configured IPv6 prefixes. Use this command with the address option to remove the manually configured IPv6 global address on the network port interface. Use this command with the autoconfig option to disable the stateless global address autoconfiguration on the network port.
HP Moonshot Switch Module CLI Command Reference Parameter Description ipv6-address macaddr The IPv6 address of the neighbor or interface. The link-layer address. IPv6 Management Commands no network ipv6 neighbor Use this command to remove IPv6 neighbors from the neighbor table. Format no network ipv6 neighbor ipv6-address macaddr Mode Privileged EXEC show network ipv6 neighbors Use this command to display the information about the IPv6 neighbor entries cached on the network port.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands serviceport ipv6 neighbor Use this command to manually add IPv6 neighbors to the IPv6 neighbor table for the service port. If an IPv6 neighbor already exists in the neighbor table, the entry is automatically converted to a static entry. Static entries are not modified by the neighbor discovery process. They are, however, treated the same for IPv6 forwarding.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands Example: The following is an example of the command. (Routing) #show serviceport ipv6 neighbors Neighbor Age IPv6 Address MAC Address isRtr State (Secs) --------------------------------------- ----------------- ----- --------- -----FE80::5E26:AFF:FEBD:852C 5c:26:0a:bd:85:2c FALSE Reachable 0 Type -------Dynamic ping ipv6 Use this command to determine whether another computer is on the network.
HP Moonshot Switch Module CLI Command Reference IPv6 Management Commands Parameter Description count Use the count parameter to specify the number of ping packets (ICMP Echo requests) that are sent to the destination address specified by the ip-address field. The range for count is 1 to 15 requests. Use the interval parameter to specify the time between Echo Requests, in seconds. Range is 1 to 60 seconds. Use the size parameter to specify the size, in bytes, of the payload of the Echo Requests sent.
IPv6 Management Commands HP Moonshot Switch Module CLI Command Reference Field Description DHCPv6 Solicit Packets Transmitted DHCPv6 Request Packets Transmitted DHCPv6 Renew Packets Transmitted DHCPv6 Rebind Packets Transmitted DHCPv6 Release Packets Transmitted Total DHCPv6 Packets Transmitted The number of DHCPv6 Solicit packets transmitted on the network interface. The number of DHCPv6 Request packets transmitted on the network interface.
IPv6 Management Commands HP Moonshot Switch Module CLI Command Reference show serviceport ipv6 dhcp statistics This command displays the statistics of the DHCPv6 client running on the serviceport management interface.
Console Port Access Commands HP Moonshot Switch Module CLI Command Reference DHCPv6 Solicit Packets Transmitted.................... DHCPv6 Request Packets Transmitted.................... DHCPv6 Renew Packets Transmitted...................... DHCPv6 Rebind Packets Transmitted..................... DHCPv6 Release Packets Transmitted.................... Total DHCPv6 Packets Transmitted......................
HP Moonshot Switch Module CLI Command Reference Term Definition console telnet ssh Console terminal line. Virtual terminal for remote console access (Telnet). Virtual terminal for secured remote console access (SSH). Console Port Access Commands Example: The following shows an example of the CLI command. (Routing)(config)#line telnet (Routing)(config-telnet)# serial baudrate This command specifies the communication rate of the terminal interface.
Console Port Access Commands HP Moonshot Switch Module CLI Command Reference serial port This command controls which of the two serial ports is the active serial port. Only one serial port can be active at a time. The external serial port is the RJ45 port next to the external Ethernet/stacking ports on the switch uplink module at the rear of the chassis. The internal serial port is accessible from the iLO Chassis Manager virtual serial port feature. Only one serial port is accessible at a time.
HP Moonshot Switch Module CLI Command Reference Telnet Commands Telnet Commands This section describes the commands you use to configure and view Telnet settings. You can use Telnet to manage the device from a remote management host. ip telnet server enable Use this command to enable Telnet connections to the system and to enable the Telnet Server Admin Mode. This command opens the Telnet listening port.
HP Moonshot Switch Module CLI Command Reference Telnet Commands transport input telnet This command regulates new Telnet sessions. If enabled, new Telnet sessions can be established until there are no more sessions available. An established session remains active until the session is ended or an abnormal network error ends the session. Note: If the Telnet Server Admin Mode is disabled, Telnet sessions cannot be established. Use the ip telnet server enable command to enable Telnet Server Admin Mode.
HP Moonshot Switch Module CLI Command Reference Telnet Commands session-limit This command specifies the maximum number of simultaneous outbound Telnet sessions. A value of 0 indicates that no outbound Telnet session can be established. Default 5 Format session-limit 0-5 Mode Line Config no session-limit This command sets the maximum number of simultaneous outbound Telnet sessions to the default value.
HP Moonshot Switch Module CLI Command Reference Telnet Commands no telnetcon maxsessions This command sets the maximum number of Telnet connection sessions that can be established to the default value. Format no telnetcon maxsessions Mode Privileged EXEC telnetcon timeout This command sets the Telnet connection session timeout value, in minutes. A session is active as long as the session has not been idle for the value set. The time is a decimal value from 1 to 160.
HP Moonshot Switch Module CLI Command Reference Telnet Commands show telnet This command displays the current outbound Telnet settings. In other words, these settings apply to Telnet connections initiated from the switch to a remote system. Format show telnet Modes • Privileged EXEC • User EXEC Term Definition Outbound Telnet Login Timeout The number of minutes an outbound Telnet session is allowed to remain inactive before being logged off.
HP Moonshot Switch Module CLI Command Reference Secure Shell Commands Secure Shell Commands This section describes the commands you use to configure Secure Shell (SSH) access to the switch. Use SSH to access the switch from a remote management host. Note: The system allows a maximum of 5 SSH sessions. ip ssh Use this command to enable SSH access to the system. (This command is the short form of the ip ssh server enable command.
HP Moonshot Switch Module CLI Command Reference Secure Shell Commands sshcon maxsessions This command specifies the maximum number of SSH connection sessions that can be established. A value of 0 indicates that no ssh connection can be established. The range is 0 to 5. Default 5 Format sshcon maxsessions 0-5 Mode Privileged EXEC no sshcon maxsessions This command sets the maximum number of allowed SSH connection sessions to the default value.
HP Moonshot Switch Module CLI Command Reference Management Security Commands show ip ssh This command displays the ssh settings. Format show ip ssh Mode Privileged EXEC Term Definition Administrative Mode This field indicates whether the administrative mode of SSH is enabled or disabled. The protocol level may have the values of version 1, version 2 or both versions 1 and version 2. The number of SSH sessions currently active. The maximum number of SSH sessions allowed.
HP Moonshot Switch Module CLI Command Reference Access Commands crypto key generate dsa Use this command to generate a DSA key pair for SSH. The new key files will overwrite any existing generated or downloaded DSA key files. Format crypto key generate dsa Mode Global Config no crypto key generate dsa Use this command to delete the DSA key files from the device.
HP Moonshot Switch Module CLI Command Reference User Account Commands Term Definition Idle Time Session Time Session Type Time this session has been idle. Total time this session has been connected. Shows the type of session, which can be HTTP, HTTPS, telnet, serial, or SSH. show loginsession long This command displays the complete user names of the users currently logged in to the switch. Format show loginsession long Mode Privileged EXEC Example: The following shows an example of the command.
HP Moonshot Switch Module CLI Command Reference User Account Commands Default • defaultList. Used by the console and only contains the method local. • networkList. Used by telnet and SSH and only contains the method local. Format aaa authentication login {default | list-name} method1 [method2...] Mode Global Config Parameter Definition default Uses the listed authentication methods that follow this argument as the default list of methods when a user logs in.
HP Moonshot Switch Module CLI Command Reference User Account Commands aaa authentication enable Use this command to set authentication for accessing higher privilege levels. The default enable list is enableList. It is used by console, and contains the method as enable followed by none. A separate default enable list, enableNetList, is used for Telnet and SSH users instead of enableList. This list is applied by default for Telnet and SSH, and contains enable followed by deny methods.
HP Moonshot Switch Module CLI Command Reference User Account Commands Note: Requests sent by the switch to a RADIUS server include the username $enabx$, where x is the requested privilege level. For enable to be authenticated on Radius servers, add $enabx$ users to them. The login user ID is now sent to TACACS+ servers for enable authentication. Default default Format aaa authentication enable {default | list-name} method1 [method2...
HP Moonshot Switch Module CLI Command Reference User Account Commands aaa authorization Use this command to configure command and exec authorization method lists. This list is identified by default or a user-specified list-name. If tacacs is specified as the authorization method, authorization commands are notified to a TACACS+ server. If none is specified as the authorization method, command authorization is not applicable.
HP Moonshot Switch Module CLI Command Reference User Account Commands Parameter Description commands exec default list-name method Provides authorization for all user-executed commands. Provides exec authorization. The default list of methods for authorization services. Alphanumeric character string used to name the list of authorization methods. TACACS+/RADIUS/Local and none are supported. Example: The following shows an example of the command.
HP Moonshot Switch Module CLI Command Reference Line --------Console Telnet SSH User Account Commands Exec Method List --------------------dfltExecAuthList dfltExecAuthList dfltExecAuthList enable authentication Use this command to specify the authentication method list when accessing a higher privilege level from a remote telnet or console.
HP Moonshot Switch Module CLI Command Reference User Account Commands username (Global Config) Use the username command in Global Config mode to add a new user to the local user database. The default privilege level is 1. Using the encrypted keyword allows the administrator to transfer local user passwords between devices without having to know the passwords. When the password parameter is used along with encrypted parameter, the password must be exactly 128 hexadecimal characters in length.
HP Moonshot Switch Module CLI Command Reference User Account Commands no username Use this command to remove a user name. Format no username name Mode Global Config username name nopassword Use this command to remove an existing user’s password (NULL password). Format username name nopassword [level level] Mode Global Config Parameter Description name password level The name of the user. Range: 1-32 characters. The authentication password for the user. Range 8-64 characters. The user level.
HP Moonshot Switch Module CLI Command Reference User Account Commands no username snmpv3 accessmode This command sets the snmpv3 access privileges for the specified user as readwrite for the “admin” user and readonly for all other users. The username value is the user name for which the specified access mode will apply. no username snmpv3 accessmode username Format Mode Global Config username snmpv3 authentication This command specifies the authentication protocol to be used for the specified user.
HP Moonshot Switch Module CLI Command Reference User Account Commands no username snmpv3 encryption This command sets the encryption protocol to none. The username is the login user name for which the specified encryption protocol will be used. no username snmpv3 encryption username Format Mode Global Config username snmpv3 encryption encrypted This command specifies the des encryption protocol and the required encryption key for the specified user. The encryption key must be 8 to 64 characters long.
HP Moonshot Switch Module CLI Command Reference User Account Commands show users long This command displays the complete usernames of the configured users on the switch. show users long Format Mode Privileged EXEC Example: The following shows an example of the command. (Routing) #show users long User Name -----------admin guest test1111test1111test1111test1111 show users accounts This command displays the local user status with respect to user account lockout and password aging.
User Account Commands HP Moonshot Switch Module CLI Command Reference If the detail keyword is included, the following additional fields display. Term Definition Password Override Complexity Check Displays the user's Password override complexity check status. By default it is disabled. Password Strength Displays the user password's strength (Strong or Weak). This field is displayed only if the Password Strength feature is enabled.
HP Moonshot Switch Module CLI Command Reference User Account Commands show users login-history [username] Use this command to display information about the login history of users. Format show users login-history [username name] Mode Privileged EXEC Parameter Description name Name of the user. Range: 1-20 characters. Example: The following example shows user login history outputs.
HP Moonshot Switch Module CLI Command Reference User Account Commands password This command allows the currently logged in user to change his or her password without having read/write privileges. Format password cr Mode User EXEC Example: The following is an example of the command. console>password Enter old password:******** Enter new password:******** Confirm new password:******** password (Line Configuration) Use the password command in Line Configuration mode to specify a password on a line.
HP Moonshot Switch Module CLI Command Reference User Account Commands no password (Line Configuration) Use this command to remove the password on a line. Format no password Mode Line Config password (User EXEC) Use this command to allow a user to change the password for only that user. This command should be used after the password has aged. The user is prompted to enter the old password and the new password.
HP Moonshot Switch Module CLI Command Reference User Account Commands Example: The following is an example of adding a MAB Client to the Internal user database. (Routing) (Routing) (Routing) (Routing) (Routing) (Routing) # #configure (Config)#aaa ias-user username 1f3ccb1157 (Config-aaa-ias-User)#password 1f3ccb1157 (Config-aaa-ias-User)#exit (Config)# enable password (Privileged EXEC) Use the enable password configuration command to set a local password to control access to the privileged EXEC mode.
HP Moonshot Switch Module CLI Command Reference User Account Commands passwords min-length Use this command to enforce a minimum password length for local users. The value also applies to the enable password. The valid range is 8-64. Default 8 Format passwords min-length 8-64 Mode Global Config no passwords min-length Use this command to set the minimum password length to the default value.
HP Moonshot Switch Module CLI Command Reference User Account Commands passwords lock-out Use this command to strengthen the security of the switch by locking user accounts that have failed login due to wrong passwords. When a lockout count is configured, a user that is logged in must enter the correct password within that count. Otherwise the user will be locked out from further switch access. Only a user with read/write access can re-activate a locked user account.
HP Moonshot Switch Module CLI Command Reference User Account Commands passwords strength maximum repeated-characters Use this command to set the maximum number of repeated characters to be used in password strength. The valid range is 0-15. The default is 0. Minimum of 0 means no restriction on that set of characters.
HP Moonshot Switch Module CLI Command Reference User Account Commands passwords strength minimum numeric-characters Use this command to enforce a minimum number of numeric characters that a password should contain. The valid range is 0-16. The default is 2. Minimum of 0 means no restriction on that set of characters.
HP Moonshot Switch Module CLI Command Reference User Account Commands passwords strength exclude-keyword Use this command to exclude the specified keyword while configuring the password. The password does not accept the keyword in any form (in between the string, case in-sensitive and reverse) as a substring. User can configure up to a maximum of 3 keywords.
HP Moonshot Switch Module CLI Command Reference User Account Commands show passwords result Use this command to display the last password set result information. show passwords result Format Mode Privileged EXEC Term Definition Last User Whose Password Shows the name of the user with the most recently set password. Is Set Password Strength Check Shows whether password strength checking is enabled. Last Password Set Result Shows whether the attempt to set a password was successful.
HP Moonshot Switch Module CLI Command Reference User Account Commands aaa session-id Use this command in Global Config mode to specify if the same session-id is used for Authentication, Authorization and Accounting service type within a session. Default common Format aaa session-id [common | unique] Mode Global Config Parameter Description common unique Use the same session-id for all AAA Service types. Use a unique session-id for all AAA Service types.
HP Moonshot Switch Module CLI Command Reference User Account Commands Parameter Description exec commands dot1x default list-name start-stop Provides accounting for a user EXEC terminal sessions. Provides accounting for all user executed commands. Provides accounting for DOT1X user commands. The default list of methods for accounting services. Character string used to name the list of accounting methods.
HP Moonshot Switch Module CLI Command Reference User Account Commands password (AAA IAS User Configuration) Use this command to specify a password for a user in the IAS database. An optional parameter encrypted is provided to indicate that the password given to the command is already pre-encrypted. Format password password [encrypted] Mode AAA IAS User Config Parameter Definition password encrypted Password for this level.
HP Moonshot Switch Module CLI Command Reference User Account Commands clear aaa ias-users Use this command to remove all users from the IAS database. clear aaa ias-users Format Mode Privileged Exec Parameter Definition password encrypted Password for this level. Range: 8-64 characters Encrypted password to be entered, copied from another switch configuration. Example: The following is an example of the command.
HP Moonshot Switch Module CLI Command Reference User Account Commands accounting Use this command in Line Configuration mode to apply the accounting method list to a line config (console/ telnet/ssh). Format accounting {exec | commands } {default | listname} Mode Line Configuration Parameter Description exec commands Causes accounting for an EXEC session. This causes accounting for each command execution attempt.
HP Moonshot Switch Module CLI Command Reference User Account Commands show accounting methods Use this command to display configured accounting method lists. Format show accounting methods Mode Privileged EXEC Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference SNMP Commands SNMP Commands This section describes the commands you use to configure Simple Network Management Protocol (SNMP) on the switch. You can configure the switch to act as an SNMP agent so that it can communicate with SNMP managers on your network. snmp-server This command sets the name and the physical location of the switch, and the organization responsible for the network. The parameters name, loc and con can be up to 255 characters in length.
HP Moonshot Switch Module CLI Command Reference SNMP Commands Parameter Description ip-address The associated community SNMP packet sending address and is used along with the client IP mask value to denote a range of IP addresses from which SNMP clients may use that community to access the device. A value of 0.0.0.0 allows access from any IP address. Otherwise, this value is ANDed with the mask to determine the range of allowed client IP addresses. The name of the view to create or update.
HP Moonshot Switch Module CLI Command Reference Mode SNMP Commands • Global Config • Interface Config no snmp-server enable traps violation This command disables the sending of new violation traps. Format no snmp-server enable traps violation Mode Interface Config snmp-server enable traps This command enables the Authentication Flag. Default enabled Format snmp-server enable traps Mode Global Config no snmp-server enable traps This command disables the Authentication Flag.
HP Moonshot Switch Module CLI Command Reference SNMP Commands snmp trap link-status all This command enables link status traps for all interfaces. Format snmp trap link-status all Mode Global Config no snmp trap link-status all This command disables link status traps for all interfaces. Format no snmp trap link-status all Mode Global Config snmp-server enable traps linkmode This command enables Link Up/Down traps for the entire switch.
SNMP Commands HP Moonshot Switch Module CLI Command Reference no snmp-server enable traps multiusers This command disables Multiple User traps. Format no snmp-server enable traps multiusers Mode Global Config snmp-server enable traps stpmode This command enables the sending of new root traps and topology change notification traps.
SNMP Commands HP Moonshot Switch Module CLI Command Reference no snmp-server engineID local This command removes the specified engine ID. Default The engineID is configured automatically, based on the device MAC address. Format no snmp-server engineID local Mode Global Config snmp-server filter This command creates a filter entry for use in limiting which traps will be sent to a host. Default No filters are created by default.
HP Moonshot Switch Module CLI Command Reference SNMP Commands snmp-server group This command creates an SNMP access group. Default Generic groups are created for all versions and privileges using the default views. Format snmp-server group group-name {v1 | v2c | v3 {noauth | auth | priv}} [context contextname] [read read-view] [write write-view] [notify notify-view] Mode Global Config Parameter Description group-name The group name to be used when configuring communities or users.
HP Moonshot Switch Module CLI Command Reference SNMP Commands snmp-server host This command configures traps to be sent to the specified host. Default No default hosts are configured. Format snmp-server host host-addr {informs [timeout seconds] [retries retries]|traps version {1 | 2c }} community-string [udp-port port] [filter filter-name] Mode Global Config Parameter Description host-addr traps version 1 version 2 The IPv4 or IPv6 address of the host to send the trap or inform to.
HP Moonshot Switch Module CLI Command Reference SNMP Commands snmp-server user This command creates an SNMPv3 user for access to the system. Default No default users are created. Format snmp-server user username groupname [remote engineid-string] [ {auth-md5 password | auth-sha password | auth-md5-key md5-key | auth-sha-key sha-key} [priv-des password | priv-des-key des-key] Mode Global Config Parameter Description username The username the SNMPv3 user will connect to the switch as.
HP Moonshot Switch Module CLI Command Reference SNMP Commands snmp-server view This command creates or modifies an existing view entry that is used by groups to determine which objects can be accessed by a community or user. Default Views are created by default to provide access to the default groups. Format snmp-server viewname oid-tree {included|excluded} Mode Global Config Parameter Description viewname oid-tree The label for the view being created. The range is 1 to 30 characters.
HP Moonshot Switch Module CLI Command Reference SNMP Commands Parameter Description retries Number of times to resend an Inform. The default is 3 attempts. The range is 0 to 255 retries. Enables authentication but not encryption. No authentication or encryption. This is the default. Enables authentication and encryption. The SNMP Trap receiver port. This value defaults to port 162. The filter name to associate with this host. Filters can be used to specify which traps are sent to this host.
HP Moonshot Switch Module CLI Command Reference SNMP Commands show snmp This command displays the current SNMP configuration. Format show snmp Mode Privileged EXEC Term Community Table: Community Group Table: Host Table: Definition CommunityString CommunityAccess View Name IP Address CommunityString Group Name IP Address Target Address Type Community Version UDP Port Filter name TO Sec Retries The community string for the entry. This is used by SNMPv1 and SNMPv2 protocols to access the switch.
HP Moonshot Switch Module CLI Command Reference SNMP Commands show snmp filters This command displays the configured filters used when sending traps. Format show snmp filters [filtername] Mode Privileged EXEC Parameter Description Name OID Tree Type The filter name for this entry. The OID tree this entry will include or exclude. Indicates if this entry includes or excludes the OID Tree. show snmp group This command displays the configured groups.
HP Moonshot Switch Module CLI Command Reference SNMP Commands show snmp user This command displays the currently configured SNMPv3 users. Format show snmp user [username] Mode Privileged EXEC Term Definition Name The name of the user. Group Name The group that defines the SNMPv3 access parameters. Auth Method The authentication algorithm configured for this user. Privilege Method The encryption algorithm configured for this user.
HP Moonshot Switch Module CLI Command Reference SNMP Commands show trapflags This command displays trap conditions. The command’s display shows all the enabled OSPFv2 and OSPFv3 trapflags. Configure which traps the switch should generate by enabling or disabling the trap condition. If a trap condition is enabled and the condition is detected, the SNMP agent on the switch sends the trap to all enabled trap receivers. You do not have to reset the switch to implement the changes.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference RADIUS Commands This section describes the commands you use to configure the switch to use a Remote Authentication Dial-In User Service (RADIUS) server on your network for authentication and accounting. authorization network radius Use this command to enable the switch to accept VLAN assignment by the radius server.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference radius server attribute 4 This command specifies the RADIUS client to use the NAS-IP Address attribute in the RADIUS requests. If the specific IP address is configured while enabling this attribute, the RADIUS client uses that IP address while sending NAS-IP-Address attribute in RADIUS communication.
HP Moonshot Switch Module CLI Command Reference RADIUS Commands If you use the acct token, the command configures the IP address or hostname to use for the RADIUS accounting server. You can only configure one accounting server. If an accounting server is currently configured, use the “no” form of the command to remove it from the configuration. The IP address or hostname you specify must match that of a previously configured accounting server.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference radius server key This command configures the key to be used in RADIUS client communication with the specified server. Depending on whether the 'auth' or 'acct' token is used, the shared secret is configured for the RADIUS authentication or RADIUS accounting server. The IP address or hostname provided must match a previously configured server. When this command is executed, the secret is prompted.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference no radius server msgauth The no version of this command disables the message authenticator attribute to be used for the specified RADIUS Authenticating server. no radius server msgauth ipaddr|dnsname Format Mode Global Config radius server primary This command specifies a configured server that should be the primary server in the group of servers which have the same server name.
HP Moonshot Switch Module CLI Command Reference RADIUS Commands no radius server retransmit The no version of this command sets the value of this global parameter to the default value. no radius server retransmit Format Mode Global Config radius source-interface Use this command to specify the physical or logical interface to use as the RADIUS client source interface (Source IP address).
RADIUS Commands HP Moonshot Switch Module CLI Command Reference radius server timeout This command configures the global parameter for the RADIUS client that specifies the timeout value (in seconds) after which a request must be retransmitted to the RADIUS server if no response is received. The timeout value is an integer in the range of 1 to 30. Default 5 Format radius server timeout seconds Mode Global Config Field Description retries Maximum number of transmission attempts in the range 1–30.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference Term Definition RADIUS Attribute 4 Mode A global parameter to indicate whether the NAS-IP-Address attribute has been enabled to use in RADIUS requests. A global parameter that specifies the IP address to be used in the NAS-IPAddress attribute to be used in RADIUS requests. RADIUS Attribute 4 Value Example: The following shows example CLI display output for the command. (Routing) #show radius Number of Configured Authentication Servers...
RADIUS Commands HP Moonshot Switch Module CLI Command Reference Field Description RADIUS Accounting Mode RADIUS Attribute 4 Mode RADIUS Attribute 4 Value A global parameter to indicate whether the accounting mode for all the servers is enabled or not. A global parameter to indicate whether the NAS-IP-Address attribute has been enabled to use in RADIUS requests. A global parameter that specifies the IP address to be used in NAS-IP-Address attribute used in RADIUS requests.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference show radius accounting This command displays a summary of configured RADIUS accounting servers. Format show radius accounting name [servername] Mode Privileged EXEC Field Description servername An alias name to identify the server. RADIUS Accounting A global parameter to indicate whether the accounting mode for all the servers is Mode enabled or not.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference show radius accounting statistics This command displays a summary of statistics for the configured RADIUS accounting servers. Format show radius accounting statistics {ipaddr|dnsname | name servername} Mode Privileged EXEC Term Definition ipaddr dnsname servername RADIUS Accounting Server Name Server Host Address Round Trip Time The IP address of the server. The DNS name of the server. The alias name to identify the server.
RADIUS Commands HP Moonshot Switch Module CLI Command Reference Malformed Responses........................... Bad Authenticators............................ Pending Requests.............................. Timeouts...................................... Unknown Types................................. Packets Dropped............................... 0 0 0 0 0 0 (Routing) #show radius accounting statistics name Default_RADIUS_Server RADIUS Accounting Server Name................. Host Address...................
RADIUS Commands HP Moonshot Switch Module CLI Command Reference Term Definition RADIUS Server The name of the authenticating server. Name Server Host The IP address of the host. Address Access Requests The number of RADIUS Access-Request packets sent to this server. This number does not include retransmissions. Access The number of RADIUS Access-Request packets retransmitted to this RADIUS Retransmissions authentication server.
TACACS+ Commands HP Moonshot Switch Module CLI Command Reference Access Requests............................... Access Retransmissions........................ Access Accepts................................ Access Rejects................................ Access Challenges............................. Malformed Access Responses.................... Bad Authenticators............................ Pending Requests.............................. Timeouts...................................... Unknown Types.........
HP Moonshot Switch Module CLI Command Reference TACACS+ Commands tacacs-server key Use the tacacs-server key command to set the authentication and encryption key for all TACACS+ communications between the switch and the TACACS+ daemon. The key-string parameter has a range of 0 128 characters and specifies the authentication and encryption key for all TACACS communications between the switch and the TACACS+ server. This key must match the key used on the TACACS+ daemon.
HP Moonshot Switch Module CLI Command Reference TACACS+ Commands tacacs-server source-interface Use this command in Global Configuration mode to configure the source interface (Source IP address) for TACACS+ server configuration. The selected source-interface IP address is used for filling the IP header of management protocol packets. This allows security devices (firewalls) to identify the source packets coming from the specific switch.
HP Moonshot Switch Module CLI Command Reference TACACS+ Commands no tacacs-server timeout Use the no tacacs-server timeout command to restore the default global timeout value for TACACS servers. TACACS+ servers that do not use the global timeout will retain their configured timeout values.
HP Moonshot Switch Module CLI Command Reference TACACS+ Commands port Use the port command in TACACS Configuration mode to specify a server port number. The server port-number range is 0 - 65535. Default 49 Format port port-number Mode TACACS Config priority (TACACS Config) Use the priority command in TACACS Configuration mode to specify the order in which servers are used, where 0 (zero) is the highest priority. The priority parameter specifies the priority for servers.
HP Moonshot Switch Module CLI Command Reference TACACS+ Commands show tacacs Use the show tacacs command to display the configuration, statistics, and source interface details of the TACACS+ client. Format show tacacs [ip-address|hostname] Mode Privileged EXEC Term Definition Host address Port TimeOut Priority The IP address or hostname of the configured TACACS+ server. The configured TACACS+ server port number. The timeout in seconds for establishing a TCP connection.
HP Moonshot Switch Module CLI Command Reference Configuration Scripting Commands Configuration Scripting Commands Configuration Scripting allows you to generate text-formatted script files representing the current configuration of a system. You can upload these configuration script files to a PC or UNIX system and edit them. Then, you can download the edited files to the system and apply the new configuration. You can apply configuration scripts to one or more switches with no or minor modifications.
HP Moonshot Switch Module CLI Command Reference Configuration Scripting Commands script apply This command applies the commands in the script to the switch. The scriptname parameter is the name of the script to apply. script apply scriptname Format Mode Privileged EXEC script delete This command deletes a specified script where the scriptname parameter is the name of the script to delete. The all option deletes all the scripts present on the switch.
HP Moonshot Switch Module CLI Command Reference Banner, Prompt, and Host Name Commands Banner, Prompt, and Host Name Commands This section describes the commands you use to configure the pre-login banner and the system prompt. The pre-login banner is the text that displays before you login at the User: prompt. copy (pre-login banner) The copy command includes the option to upload or download the CLI Banner to or from the switch. You can specify local URLs by using FTP, TFTP, SFTP, SCP, or Xmodem.
HP Moonshot Switch Module CLI Command Reference Banner, Prompt, and Host Name Commands show clibanner Use this command to display the configured pre-login CLI banner. The pre-login banner is the text that displays before displaying the CLI prompt. Default No contents to display before displaying the login prompt. Format show clibanner Mode Privileged Exec Example: The following shows example CLI display output for the command.
Utility Commands HP Moonshot Switch Module CLI Command Reference Section 5: Utility Commands This chapter describes the utility commands available in the HP Moonshot Switch Module CLI.
HP Moonshot Switch Module CLI Command Reference AutoInstall Commands AutoInstall Commands The AutoInstall feature enables the automatic update of the image and configuration of the switch. This feature enables touchless or low-touch provisioning to simplify switch configuration and imaging. AutoInstall includes the following support: • Downloading an image from TFTP server using DHCP option 125. The image update can result in a downgrade or upgrade of the firmware on the switch.
HP Moonshot Switch Module CLI Command Reference AutoInstall Commands no boot host retrycount Use this command to set the number of attempts to download a configuration file to the default value. Format no boot host retrycount Mode Privileged EXEC boot host dhcp Use this command to enable AutoInstall on the switch for the next reboot cycle. The command does not change the current behavior of AutoInstall and saves the command to NVRAM.
HP Moonshot Switch Module CLI Command Reference AutoInstall Commands boot host autoreboot Use this command to allow the switch to automatically reboot after successfully downloading an image. When auto reboot is enabled, no administrative action is required to activate the image and reload the switch.
CLI Output Filtering Commands HP Moonshot Switch Module CLI Command Reference show autoinstall This command displays the current status of the AutoInstall process. Format show autoinstall Mode Privileged EXEC Example: The following shows example CLI display output for the command. (Routing) #show autoinstall AutoInstall Mode............................... AutoInstall Persistent Mode.................... AutoSave Mode.................................. AutoReboot Mode................................
CLI Output Filtering Commands HP Moonshot Switch Module CLI Command Reference show xxx|exclude “string” The command xxx is executed and the output is filtered to show all lines not containing the “string” match. Output lines containing the “string” match are suppressed. Example: The following shows an example of the CLI command. (Routing) #show interface 1/0/1 Packets Received Without Error................. Packets Received With Error.................... Broadcast Packets Received.....................
HP Moonshot Switch Module CLI Command Reference CLI Output Filtering Commands show xxx|section “string” The command xxx is executed and the output is filtered to show only lines included within the section(s) identified by lines containing the “string” match and ending with the first line containing the default end-ofsection identifier (i.e. “exit”). Example: The following shows an example of the CLI command.
HP Moonshot Switch Module CLI Command Reference Dual Image Commands Dual Image Commands HP Moonshot Switch Module software supports a dual image feature that allows the switch to have two software images in the permanent storage. You can specify which image is the primary image to be loaded in subsequent reboots. This feature allows reduced down-time when you upgrade or downgrade the software. delete This command deletes the alternate image file from the permanent storage.
HP Moonshot Switch Module CLI Command Reference Bootcode and Firmware Commands filedescr This command associates a given text description with an image. Any existing description will be replaced. The command is executed on all nodes in a stack. Format filedescr {primary | alternate} text-description Mode Privileged EXEC Bootcode and Firmware Commands update bootcode This command updates the bootcode (boot loader) on the switch. The bootcode is read from the primary image for subsequent reboots.
HP Moonshot Switch Module CLI Command Reference Bootcode and Firmware Commands show cpld versions This command shows information about the currently installed CPLD firmware code versions as well as the versions available for installation by using the update cpld command. Format show cpld versions Mode Privileged EXEC Example: The following example shows the output of the show cpld versions command.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands System Information and Statistics Commands This section describes the commands you use to view information about system features, components, and configurations. show arp switch This command displays the contents of the IP stack’s Address Resolution Protocol (ARP) table. The IP stack only learns ARP entries associated with the management interfaces - network or service ports.
System Information and Statistics Commands HP Moonshot Switch Module CLI Command Reference show hardware This command displays inventory information for the switch. Note: The show version command and the show hardware command display the same information. In future releases of the software, the show hardware command will not be available. For a description of the command output, see the command “show version” on page 150.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show version This command displays inventory information for the switch. Note: The show version command will replace the show hardware command in future releases of the software.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show platform vpd This command displays vital product data for the switch. Format show platform vpd Mode User Privileged The following information is displayed. Term Definition Operational Code Build Signature loaded into the switch Image File Name Software Version Release Version Maintenance Level and Build (RVMB) information of the switch.
HP Moonshot Switch Module CLI Command Reference Parameters System Information and Statistics Commands Definition Transmit Packets Discarded The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space. Transmit Packets Errors The number of outbound packets that could not be transmitted because of errors.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands Term Definition OutUcastPkts OutMcastPkts OutBcastPkts The total number of unicast packets transmitted by the interface. The total number of multicast packets transmitted by the interface. The total number of broadcast packets transmitted by the interface. Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands When you specify a value for unit/slot/port, the command displays the following information. Term Definition Packets Received • Total Packets Received (Octets) - The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including Frame Check Sequence (FCS) octets). This object can be used as a reasonable estimate of Ethernet utilization.
HP Moonshot Switch Module CLI Command Reference Term System Information and Statistics Commands Definition • Packets RX and TX 512–1023 Octets - The total number of packets (including bad packets) received and transmitted that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
HP Moonshot Switch Module CLI Command Reference Term System Information and Statistics Commands Definition Received Packets • Total Received Packets Not Forwarded - A count of valid frames received which were Not Forwarded discarded (in other words, filtered) by the forwarding process • 802.3x Pause Frames Received - A count of MAC Control frames received on this interface with an opcode indicating the PAUSE operation. This counter does not increment when the interface is operating in half-duplex mode.
HP Moonshot Switch Module CLI Command Reference Term System Information and Statistics Commands Definition Total transmit The sum of Single, Multiple, and Excessive Collisions. Errors Transmit Discards • Total Transmit Packets Discards - The sum of single collision frames discarded, multiple collision frames discarded, and excessive frames discarded.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands If you use the switchport keyword, the following information appears. Term Definition Total Packets Received (Octets) Packets Received Without Error Unicast Packets Received Multicast Packets Received Broadcast Packets Received Receive Packets Discarded The total number of octets of data received by the processor (excluding framing bits but including FCS octets).
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands If you use the all keyword, the following information appears for all interfaces on the switch. Term Definition Port Bytes Tx Bytes Rx Packets Tx Packets Rx The Interface ID. The total number of bytes transmitted by the interface. The total number of bytes transmitted by the interface. The total number of packets transmitted by the interface. The total number of packets transmitted by the interface.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show interface lag Use this command to display configuration information about the specified LAG interface.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show interfaces status Use this command to display interface information, including the description, port state, speed and autoneg capabilities. The command is similar to show port all but displays additional fields like interface description and port-capability.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show fiber-ports optical-transceiver This command displays the diagnostics information of the SFP like Temp, Voltage, Current, Input Power, Output Power, Tx Fault, and LOS. The values are derived from the SFP's A2 (Diagnostics) table using the I2C interface.
HP Moonshot Switch Module CLI Command Reference Field System Information and Statistics Commands Description Length (50um, OM2) This value specifies link length that is supported by the transceiver while operating in compliance with applicable standards using 50 micron multimode OM2 [500MHz*km at 850nm] fiber. A value of zero means that the transceiver does not support 50 micron multimode fiber or that the length information must be determined from the transceiver technology. Length (62.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands Enter all or no parameter to display the entire table. Enter a MAC Address and VLAN ID to display the table entry for the requested MAC address on the specified VLAN. Enter the count parameter to view summary information about the forwarding database table. Use the interface unit/slot/port parameter to view MAC addresses on a specific interface.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands The following information displays if you enter the count parameter: Term Definition Dynamic Address count Static Address (Userdefined) count Total MAC Addresses in use Total MAC Addresses available Number of MAC addresses in the forwarding database that were automatically learned. Number of MAC addresses in the forwarding database that were manually entered by a user.
System Information and Statistics Commands HP Moonshot Switch Module CLI Command Reference show process app-list This command displays the user and system applications. Format show process app-list Mode Privileged EXEC Parameter Description ID Name PID Admin Status Auto Restart Running Status The application identifier. The name that identifies the process. The number the software uses to identify the process. The administrative status of the process.
HP Moonshot Switch Module CLI Command Reference Parameter System Information and Statistics Commands Description Memory Usage The amount of memory the process is currently using. Max Mem Usage The maximum amount of memory the process has used at any given time since it started.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show process cpu This command provides the percentage utilization of the CPU by different tasks. Note: It is not necessarily the traffic to the CPU, but different tasks that keep the CPU busy. Format show process cpu Mode Privileged EXEC Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show running-config Use this command to display or capture the current setting of different protocol packages supported on the switch. This command displays or captures commands with settings and configurations that differ from the default value. To display or capture the commands with settings and configurations that are equal to the default value, include the all option.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show running-config interface Use this command to display the running configuration for a specific interface. Valid interfaces include physical, LAG, loopback, tunnel and VLAN interfaces.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show tech-support Use the show tech-support command to create a file that contains the system and configuration information that is used when you contact technical support.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show factory-defaults This command displays the content of the factory-defaults file, which is a text-based configuration file. The factory-defaults file is saved compressed in flash. With this command, the file is decompressed while displaying its content.
HP Moonshot Switch Module CLI Command Reference System Information and Statistics Commands show terminal length Use this command to display all the configured terminal length values. show terminal length Format Mode Privileged EXEC Example: The following shows example CLI display output for the command. (Routing) #show terminal length Terminal Length: ---------------------For Current Session………………….. 24 For Serial Console…………………… 24 For Telnet Sessions…………………... 24 For SSH Sessions……………………..
HP Moonshot Switch Module CLI Command Reference Warp Core Expandable Port Configuration Warp Core Expandable Port Configuration The HP Moonshot Switch Module includes expandable ports that can be configured to present a different number of ports and speeds. The expandable port configuration mode allows you to dynamically configure a 40G port in 4 × 10G mode or in 1 × 40G mode. hardware profile portmode Use the hardware profile portmode command to configure the mode for an expandable port.
HP Moonshot Switch Module CLI Command Reference Warp Core Expandable Port Configuration show interfaces hardware profile Use the show interfaces hardware profile command to display the hardware profile information for the 40G ports. The command displays the 40G interface and the corresponding 10G interfaces. Because any hardware profile configuration is only effective in the next boot of the switch, the configured mode may be different than the operational mode of the interface.
HP Moonshot Switch Module CLI Command Reference Logging Commands Logging Commands This section describes the commands you use to configure system logging, and to view logs and the logging settings. logging buffered This command enables logging to an in-memory log. Default disabled; critical when enabled Format logging buffered Mode Global Config no logging buffered This command disables logging to the in-memory log.
HP Moonshot Switch Module CLI Command Reference Logging Commands logging cli-command This command enables the CLI command logging feature, which enables the HP Moonshot Switch Module software to log all CLI commands issued on the system. Default enabled Format logging cli-command Mode Global Config no logging cli-command This command disables the CLI command Logging feature. Format no logging cli-command Mode Global Config logging console This command enables logging to the console.
Logging Commands HP Moonshot Switch Module CLI Command Reference logging host This command configures the logging host parameters. You can configure up to eight hosts. Default • port—514 • level—critical (2) Format logging host {hostaddress|hostname} addresstype {port severitylevel} Mode Global Config Parameter Description hostaddress|host name address-type port severitylevel The IP address of the logging host. Indicates the type of address ipv4 or ipv6 or dns being passed.
Logging Commands HP Moonshot Switch Module CLI Command Reference logging host remove This command disables logging to host. See “show logging hosts” on page 182 for a list of host indexes. Format logging host remove hostindex Mode Global Config logging persistent Use this command to configure the Persistent logging for the switch. The severity level of logging messages is specified at severity level.
HP Moonshot Switch Module CLI Command Reference Logging Commands logging syslog source-interface This command configures the syslog source-interface (source IP address) for syslog server configuration. The selected source-interface IP address is used for filling the IP header of management protocol packets. This allows security devices (firewalls) to identify the source packets coming from the specific switch.
Logging Commands HP Moonshot Switch Module CLI Command Reference Term Definition Logging Client Local Port Logging Client Source Interface CLI Command Logging Console Logging Console Logging Severity Filter Buffered Logging Persistent Logging Persistent Logging Severity Filter Syslog Logging Log Messages Received Port on the collector/relay to which syslog messages are sent. Shows the configured syslog source-interface (source IP address). Shows whether CLI Command logging is enabled.
HP Moonshot Switch Module CLI Command Reference Logging Commands show logging buffered This command displays buffered logging (system startup and system operation logs). Format show logging buffered Mode Privileged EXEC Term Definition Buffered (In-Memory) Logging Buffered Logging Wrapping Behavior Buffered Log Count Shows whether the In-Memory log is enabled or disabled. The behavior of the In Memory log when faced with a log full situation. The count of valid entries in the buffered log.
HP Moonshot Switch Module CLI Command Reference Logging Commands show logging persistent Use the show logging persistent command to display persistent log entries. Format show logging persistent Mode Privileged EXEC Parameter Persistent Logging Persistent Log Count Description The number of persistent log entries. Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Email Alerting and Mail Server Commands Email Alerting and Mail Server Commands logging email This command enables email alerting and sets the lowest severity level for which log messages are emailed. If you specify a severity level, log messages at or above this severity level, but below the urgent severity level, are emailed in a non-urgent manner by collecting them together until the log time expires.
HP Moonshot Switch Module CLI Command Reference Email Alerting and Mail Server Commands logging email message-type to-addr This command configures the email address to which messages are sent. The message types supported are urgent, non-urgent, and both. For each supported severity level, multiple email addresses can be configured. The to-email-addr variable is a standard email address, for example admin@yourcompany.com.
HP Moonshot Switch Module CLI Command Reference Email Alerting and Mail Server Commands no logging email message-type subject This command removes the configured email subject for the specified message type and restores it to the default email subject. Format no logging email message-type {urgent |non-urgent |both} subject Mode Global Config logging email logtime This command configures how frequently non-urgent email messages are sent.
HP Moonshot Switch Module CLI Command Reference Email Alerting and Mail Server Commands logging email test message-type This command sends an email to the SMTP server to test the email alerting function. Format logging email test message-type {urgent |non-urgent |both} message-body message-body Mode Global Config show logging email config This command displays information about the email alert configuration.
HP Moonshot Switch Module CLI Command Reference Email Alerting and Mail Server Commands show logging email statistics This command displays email alerting statistics. Format show logging email statistics Mode Privileged EXEC Term Definition Email Alert Operation Status No of Email Failures The operational status of the email alerting feature. No of Email Sent Time Since Last Email Sent The number of email messages that have attempted to be sent but were unsuccessful.
HP Moonshot Switch Module CLI Command Reference Email Alerting and Mail Server Commands security This command sets the email alerting security protocol by enabling the switch to use TLS authentication with the SMTP Server. If the TLS mode is enabled on the switch but the SMTP sever does not support TLS mode, no email is sent to the SMTP server. Default none Format security {tlsv1 | none} Mode Mail Server Config port This command configures the TCP port to use for communication with the SMTP server.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands show mail-server config This command displays information about the email alert configuration. Format show mail-server {ip-address | hostname | all} config Mode Privileged EXEC Term Definition No of mail servers configured Email Alert Mail Server Address Email Alert Mail Server Port Email Alert Security Protocol The number of SMTP servers configured on the switch.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands traceroute Use the traceroute command to discover the routes that IPv4 or IPv6 packets actually take when traveling to their destination through the network on a hop-by-hop basis. Traceroute continues to provide a synchronous response when initiated from the CLI. The user may specify the source IP address of the traceroute probes.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands Parameter Description ipaddress ipv6-address hostname ipv6 The ipaddress value should be a valid IP address. The ipv6-address value should be a valid IPv6 address. The hostname value should be a valid hostname. The optional ipv6 keyword can be used before ipv6-address or hostname. Giving the ipv6 keyword before the hostname tries it to resolve to an IPv6 address.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands Example: traceroute Failure: (Routing) # traceroute 10.40.1.1 initTtl 1 maxFail 0 interval 1 count 3 port 33434 size 43 Traceroute to 10.40.1.1 ,30 hops max 43 byte packets: 1 10.240.4.1 19 msec 18 msec 9 msec 2 10.240.1.252 0 msec 0 msec 1 msec 3 172.31.0.9 277 msec 276 msec 277 msec 4 10.254.1.1 289 msec 327 msec 282 msec 5 10.254.21.2 287 msec 293 msec 296 msec 6 192.168.76.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands clear pass This command resets all user passwords to the factory defaults without powering off the switch. You are prompted to confirm that the password reset should proceed. clear pass Format Mode Privileged EXEC clear traplog This command clears the trap log. clear traplog Format Mode Privileged EXEC clear vlan This command resets VLAN configuration parameters to the factory defaults.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands ping Use this command to determine whether another computer is on the network. Ping provides a synchronous response when initiated from the CLI and Web interfaces. Note: For information about the ping command for IPv6 hosts, see “ping ipv6” on page 55. Default • The default count is 1. • The default interval is 3 seconds. • The default size is 0 bytes.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands Example: IPv4 ping failure: In Case of Unreachable Destination: (Routing) # ping 192.168.254.222 count 3 interval 1 size 255 Pinging 192.168.254.222 with 255 bytes of data: Received Response: Unreachable Destination Received Response :Unreachable Destination Received Response :Unreachable Destination ----192.168.254.
Device Location, System Utility, and Clear Commands HP Moonshot Switch Module CLI Command Reference Replace the source and destination parameters with the options in Table 9 on page 197. For the url source or destination, use one of the following values: {xmodem | ftp://user@ipaddr|hostname/path/filename | tftp://ipaddr|hostname/filepath/filename [noval]| sftp|scp://username@ipaddr/filepath/filename} The keyword ias-users supports the downloading of the IAS user database file.
HP Moonshot Switch Module CLI Command Reference Device Location, System Utility, and Clear Commands Table 9: Copy Parameters (Cont.) Source Destination Description url nvram:clibanner url nvram:script destfilename url nvram:script destfilename noval Downloads the CLI banner to the system. Downloads a configuration script file to the system. During the download of a configuration script, the copy command validates the script.
Simple Network Time Protocol Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows an example of downloading and applying ias users file. (Routing) #copy tftp://10.131.17.104/aaa_users.txt ias-users Mode........................................... Set Server IP.................................. Path........................................... Filename....................................... Data Type...................................... TFTP 10.131.17.104 ./ aaa_users.
HP Moonshot Switch Module CLI Command Reference Simple Network Time Protocol Commands sntp client mode This command enables Simple Network Time Protocol (SNTP) client mode and may set the mode to either broadcast or unicast. Default disabled Format sntp client mode [broadcast | unicast] Mode Global Config no sntp client mode This command disables Simple Network Time Protocol (SNTP) client mode.
HP Moonshot Switch Module CLI Command Reference Simple Network Time Protocol Commands no sntp unicast client poll-interval This command resets the poll interval for SNTP unicast clients to its default value. Format no sntp unicast client poll-interval Mode Global Config sntp unicast client poll-timeout This command will set the poll timeout for SNTP unicast clients in seconds to a value from 1-30.
HP Moonshot Switch Module CLI Command Reference Simple Network Time Protocol Commands sntp server This command configures an SNTP server (a maximum of three). The server address can be either an IPv4 address or an IPv6 address. The optional priority can be a value of 1-3, the version a value of 1-4, and the port id a value of 1-65535.
HP Moonshot Switch Module CLI Command Reference Simple Network Time Protocol Commands show sntp This command is used to display SNTP settings and status. Format show sntp Mode Privileged EXEC Term Definition Last Update Time Last Attempt Time Last Attempt Status Broadcast Count Time of last clock update. Time of last transmit query (in unicast mode). Status of the last SNTP request (in unicast mode) or unsolicited message (in broadcast mode).
HP Moonshot Switch Module CLI Command Reference Simple Network Time Protocol Commands show sntp server This command is used to display SNTP server settings and configured servers. Format show sntp server Mode Privileged EXEC Term Definition Server Host Address Server Type Server Stratum Server Reference ID Server Mode Server Maximum Entries Server Current Entries IP address or hostname of configured SNTP Server. Address type of server (IPv4, IPv6, or DNS).
HP Moonshot Switch Module CLI Command Reference Simple Network Time Protocol Commands show sntp source-interface Use this command to display the SNTP client source interface configured on the switch. Format show sntp source-interface Mode Privileged EXEC Field Description SNTP Client Source Interface SNTP Client Source IPv4 Address The interface ID of the physical or logical interface configured as the SNTP client source interface.
HP Moonshot Switch Module CLI Command Reference Time Zone Commands Time Zone Commands Use the Time Zone commands to configure system time and date, Time Zone and Summer Time (that is, Daylight Saving Time). Summer time can be recurring or non-recurring. clock set This command sets the system time and date. Format clock set hh:mm:ss clock set mm/dd/yyyy Mode Global Config Parameter Description hh:mm:ss Enter the current system time in 24-hour format in hours, minutes, and seconds.
HP Moonshot Switch Module CLI Command Reference Time Zone Commands Parameter Description offset acronym The number of minutes to add during the summertime. The range is 1 to 1440. The acronym for the summer-time to be displayed when summertime is in effect. The range is up to four characters are allowed. Example: The following shows examples of the command.
HP Moonshot Switch Module CLI Command Reference Time Zone Commands clock timezone Use this command to set the offset to Coordinated Universal Time (UTC). If the optional parameters are not specified, they will be read as either 0 or \0 as appropriate. Format clock timezone {hours} [minutes minutes] [zone acronym] Mode Global Config Parameter Description hours minutes acronym Hours difference from UTC. The range is -12 to +13. Minutes difference from UTC. The range is 0 to 59.
HP Moonshot Switch Module CLI Command Reference Time Zone Commands show clock detail Use this command to display the detailed system time along with the time zone and the summertime configuration. Format show clock detail Mode Privileged Exec Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference DNS Client Commands DNS Client Commands These commands are used in the Domain Name System (DNS), an Internet directory service. DNS is how domain names are translated into IP addresses. When enabled, the DNS client provides a hostname lookup service to other components of HP Moonshot Switch Module. ip domain lookup Use this command to enable the DNS client.
HP Moonshot Switch Module CLI Command Reference DNS Client Commands ip domain list Use this command to define a list of default domain names to complete unqualified names. By default, the list is empty. Each name must be no more than 256 characters, and should not include an initial period. The default domain name, configured using the ip domain name command, is used only when the default domain name list is empty. A maximum of 32 names can be entered in to this list.
HP Moonshot Switch Module CLI Command Reference DNS Client Commands ip name source-interface Use this command to specify the physical or logical interface to use as the DNS client (IP name) source interface (source IP address) for the DNS client management application. If configured, the address of source Interface is used for all DNS communications between the DNS server and the DNS client. The selected source-interface IP address is used for filling the IP header of management protocol packets.
HP Moonshot Switch Module CLI Command Reference DNS Client Commands ipv6 host Use this command to define static host name-to-IPv6 address mapping in the host cache. The parameter name is host name and v6 address is the IPv6 address of the host. The hostname can include 1–255 alphanumeric characters, periods, hyphens, and spaces. Hostnames that include one or more space must be enclosed in quotation marks, for example “lab-pc 45”.
HP Moonshot Switch Module CLI Command Reference DNS Client Commands ip domain timeout Use this command to specify the amount of time to wait for a response to a DNS query. The parameter seconds specifies the time, in seconds, to wait for a response to a DNS query. The parameter seconds ranges from 0 to 3600. Default 3 Format ip domain timeout seconds Mode Global Config no ip domain timeout Use this command to return to the default setting.
DNS Client Commands HP Moonshot Switch Module CLI Command Reference show hosts Use this command to display the default domain name, a list of name server hosts, the static and the cached list of host names and addresses. The parameter name ranges from 1-255 characters. This command displays both IPv4 and IPv6 entries.
HP Moonshot Switch Module CLI Command Reference IP Address Conflict Commands IP Address Conflict Commands The commands in this section help troubleshoot IP address conflicts. ip address-conflict-detect run This command triggers the switch to run active address conflict detection by sending gratuitous ARP packets for IPv4 addresses on the switch.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands Serviceability Packet Tracing Commands These commands improve the capability of network engineers to diagnose conditions affecting their HP Moonshot Switch Module. Caution! The output of “debug” commands can be long and may adversely affect system performance. capture start Use the command capture start to manually start capturing CPU packets for packet trace.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands capture stop Use the command capture stop to manually stop capturing CPU packets for packet trace. Format capture stop Mode Privileged EXEC capture file|remote|line Use this command to configure file capture options. The command is persistent across a reboot cycle.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands capture remote port Use this command to configure file capture options. The command is persistent across a reboot cycle. The id parameter is a TCP port number from 1024– 49151. Format capture remote port id Mode Global Config capture file size Use this command to configure file capture options. The command is persistent across a reboot cycle.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug aaa accounting This command is useful to debug accounting configuration and functionality in User Manager. Format debug aaa accounting Mode Privileged EXEC no debug aaa accounting Use this command to turn off debugging of User Manager accounting functionality. Format no debug aaa accounting Mode Privileged EXEC debug aaa authorization Use this command to enable the tracing for AAA in User Manager.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug arp Use this command to enable ARP debug protocol messages. Default disabled Format debug arp Mode Privileged EXEC no debug arp Use this command to disable ARP debug protocol messages. no debug arp Format Mode Privileged EXEC debug clear This command disables all previously enabled “debug” traces.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug crashlog Use this command to view information contained in the crash log file that the system maintains when it experiences an unexpected reset.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug dhcp packet This command displays debugging information about DHCPv4 client activities and traces DHCPv4 packets to and from the local DHCPv4 client. Default disabled Format debug dhcp packet [transmit | receive] Mode Privileged EXEC no debug dhcp This command disables the display of “debug” trace output for DHCPv4 client activity.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug igmpsnooping packet This command enables tracing of IGMP Snooping packets received and transmitted by the switch. Default disabled Format debug igmpsnooping packet Mode Privileged EXEC no debug igmpsnooping packet This command disables tracing of IGMP Snooping packets.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands Parameter Definition Type The type of IGMP packet. Type can be one of the following: • Membership Query – IGMP Membership Query • V1_Membership_Report – IGMP Version 1 Membership Report • V2_Membership_Report – IGMP Version 2 Membership Report • V3_Membership_Report – IGMP Version 3 Membership Report • V2_Leave_Group – IGMP Version 2 Leave Group Multicast group address in the IGMP header.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands Parameter Definition Type The type of IGMP packet. Type can be one of the following: • Membership_Query – IGMP Membership Query • V1_Membership_Report – IGMP Version 1 Membership Report • V2_Membership_Report – IGMP Version 2 Membership Report • V3_Membership_Report – IGMP Version 3 Membership Report • V2_Leave_Group – IGMP Version 2 Leave Group Multicast group address in the IGMP header.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands no debug ip vrrp Use this command to disable VRRP debug protocol messages. Format no debug ip vrrp Mode Privileged EXEC debug ipv6 dhcp This command displays “debug” information about DHCPv6 client activities and traces DHCPv6 packets to and from the local DHCPv6 client.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug lacp packet This command enables tracing of LACP packets received and transmitted by the switch. Default disabled Format debug lacp packet Mode Privileged EXEC A sample output of the trace message is shown below. <15> JAN 01 14:04:51 10.254.24.31-1 DOT3AD[183697744]: dot3ad_debug.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug ospf packet This command enables tracing of OSPF packets received and transmitted by the switch. Default disabled Format debug ospf packet Mode Privileged EXEC Sample outputs of the trace messages are shown below. <15> JAN 02 11:03:31 10.50.50.1-2 OSPF[46300472]: ospf_debug.c(297) 25430 % Pkt RX - Intf:2/0/48 Src Ip:192.168.50.2 DestIp:224.0.0.5 AreaId:0.0.0.0 Type:HELLO NetMask:255.255.255.0 D esigRouter:0.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands HELLO packet field definitions: Parameter Definition Netmask DesignRouter Backup The netmask in the hello packet. Designated Router IP address. Backup router IP address. DB_DSCR packet field definitions: Field Definition MTU Options Flags MTU Options in the OSPF packet. Could be one or more of the following: • I – Init • M – More • MS – Master/Slave Sequence Number of the DD packet.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands debug ping packet This command enables tracing of ICMP echo requests and responses. The command traces pings on the network port/ service port for switching packages. For routing packages, pings are traced on the routing ports as well. Default disabled Format debug ping packet Mode Privileged EXEC A sample output of the trace message is shown below. <15> JAN 01 00:21:22 192.168.17.29-1 SIM[181040176]: sim_debug.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands A sample output of the trace message is shown below. <15> JAN 01 00:35:15 192.168.17.29-1 RIP[181783160]: rip_map_debug.c(96) 775 % Pkt RX on Intf: 1/0/1(1), Src_IP:43.1.1.1 Dest_IP:43.1.1.2 Rip_Version: RIPv2 Packet_Type:RIP_RESPONSE ROUTE 1): Network: 10.1.1.0 Mask: 255.255.255.0 Metric: 1 ROUTE 2): Network: 40.1.0.0 Mask: 255.255.0.0 Metric: 1 ROUTE 3): Network: 10.50.50.0 Mask: 255.255.255.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands no debug sflow packet Use this command to disable sFlow debug packet trace. Format no debug sflow packet Mode Privileged EXEC debug spanning-tree bpdu This command enables tracing of spanning tree BPDUs received and transmitted by the switch. Default disabled Format debug spanning-tree bpdu Mode Privileged EXEC no debug spanning-tree bpdu This command disables tracing of spanning tree BPDUs.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands Parameter Definition Root_Mac Root_Priority MAC address of the CIST root bridge. Priority of the CIST root bridge. The value is between 0 and 61440. It is displayed in hex in multiples of 4096. External root path cost component of the BPDU. Path_Cost no debug spanning-tree bpdu receive This command disables tracing of received spanning tree BPDUs.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands no debug spanning-tree bpdu transmit This command disables tracing of transmitted spanning tree BPDUs. Format no debug spanning-tree bpdu transmit Mode Privileged EXEC debug tacacs Use the debug tacacs packet command to turn on TACACS+ debugging.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands no debug udld events This command disables debugging for UDLD events. Format no debug udld events Mode Privileged EXEC debug udld packet receive This command enables debugging on the received UDLD PDUs. Default Disabled Format debug udld packet receive Mode Privileged EXEC no debug udld receive This command disables debugging on the received UDLD PDUs.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands show debugging Use the show debugging command to display enabled packet tracing configurations. Format show debugging Mode Privileged EXEC Example: The following shows example CLI display output for the command. console# debug arp Arp packet tracing enabled. console# show debugging Arp packet tracing enabled. no show debugging Use the no show debugging command to disable packet tracing configurations.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands no exception dump tftp-server Use this command to reset the exception dump remote server configuration to its factory default value. Format no exception dump tftp-server Mode Global Config exception dump filepath Use this command to configure a file-path to dump core file to a TFTP server, NFS mount or USB device subdirectory.
HP Moonshot Switch Module CLI Command Reference Serviceability Packet Tracing Commands no exception core-file Use this command to reset the exception core file prefix configuration to its factory default value. The hostname and time-stamp are disabled. Format no exception core-file Mode Global Config exception switch-chip-register This command enables or disables the switch-chip-register dump in case of an exception.
Serviceability Packet Tracing Commands HP Moonshot Switch Module CLI Command Reference show exception Use this command to display the configuration parameters for generating a core dump file. Default None Format show exception Mode Privileged EXEC Example: The following shows an example of this command. (Routing) #show exception Coredump file name............................. Coredump filename uses hostname................ Coredump filename uses time-stamp.............. TFTP server IP...............
HP Moonshot Switch Module CLI Command Reference Support Mode Commands Support Mode Commands Support mode is hidden and available when the techsupport enable command is executed. techsupport mode is disabled by default. Configurations related to support mode are shown in the show tech-support command. They can be persisted by using the command save in support mode. Support configurations are stored in a separate binary config file, which cannot be uploaded or downloaded.
HP Moonshot Switch Module CLI Command Reference Support Mode Commands snapshot routing Use this command in Support mode to dump a set of routing debug information to capture the current state of routing on the switch. The output is written to the console and can be extensive. Format snapshot routing Mode Support snapshot system Use this command in Support mode to dump a set of system debug information to capture the current state of the device.
HP Moonshot Switch Module CLI Command Reference sFlow Commands sFlow Commands sFlow® is the standard for monitoring high-speed switched and routed networks. sFlow technology is built into network equipment and gives complete visibility into network activity, enabling effective management and control of network resources. sflow receiver Use this command to configure the sFlow collector parameters (owner string, receiver timeout, max datagram size, IP address, and port).
sFlow Commands HP Moonshot Switch Module CLI Command Reference sflow receiver owner notimeout Use this command to configure a receiver as a non-timeout entry. Unlike entries configured with a specific timeout value, this command will be shown in show running-config and retained after reboot. As the sFlow receiver is configured as a non-timeout entry, information related to sampler and pollers will also be shown in the running-config and will be retained after reboot.
HP Moonshot Switch Module CLI Command Reference sFlow Commands no sflow sampler Use this command to reset the sFlow sampler instance to the default settings. Format no sflow sampler {rcvr-indx | rate sampling-rate | maxheadersize size} Mode Interface Config sflow poller A data source configured to collect counter samples is called a poller. Use this command to enable a new sFlow poller instance on an interface or range of interfaces for this data source if rcvr_idx is valid.
HP Moonshot Switch Module CLI Command Reference sFlow Commands Parameter Description unit/slot/port loopback-id VLAN or port-based routing interface. Configures the loopback interface to use as the source IP address. The range of the loopback ID is 0 to 7. Configures the VLAN interface to use as the source IP address. The range of the VLAN ID is 1 to 4093. vlan-id no sflow source-interface Use this command to reset the sFlow source interface to the default settings.
sFlow Commands HP Moonshot Switch Module CLI Command Reference show sflow pollers Use this command to display the sFlow polling instances created on the switch. Use “-” for range. Format show sflow pollers Mode Privileged EXEC Field Description Poller Data Source The sFlowDataSource (slot/port) for this sFlow sampler. This agent will support Physical ports only. The sFlowReceiver associated with this sFlow counter poller.
sFlow Commands HP Moonshot Switch Module CLI Command Reference Port........................................... 6343 Datagram Version............................... 5 Maximum Datagram Size.......................... 1400 Example: The following examples show CLI display output for the command when a receiver is configured as a non-timeout entry.
HP Moonshot Switch Module CLI Command Reference sFlow Commands show sflow source-interface Use this command to display the sFlow source interface configured on the switch. Format show sflow source-interface Mode Privileged EXEC Field Description sFlow Client Source Interface sFlow Client Source IPv4 Address The interface ID of the physical or logical interface configured as the sFlow client source interface. The IP address of the interface configured as the sFlow client source interface.
HP Moonshot Switch Module CLI Command Reference Switch Database Management Template Commands Switch Database Management Template Commands A Switch Database Management (SDM) template is a description of the maximum resources a switch or router can use for various features. Different SDM templates allow different combinations of scaling factors, enabling different allocations of resources depending on how the device is used.
Switch Database Management Template Commands HP Moonshot Switch Module CLI Command Reference show sdm prefer Use this command to view the currently active SDM template and its scaling parameters, or to view the scaling parameters for an inactive template. When invoked with no optional keywords, this command lists the currently active template and the template that will become active on the next reboot, if it is different from the currently active template.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands Remote Monitoring Commands Remote Monitoring (RMON) is a method of collecting a variety of data about network traffic. RMON supports 64-bit counters (RFC 3273) and High Capacity Alarm Table (RFC 3434). Note: There is no configuration command for ether stats and high capacity ether stats. The data source for ether stats and high capacity ether stats are configured during initialization.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands no rmon alarm This command deletes the RMON alarm entry. Format no rmon alarm alarm number Mode Global Config Example: The following shows an example of the command. (Routing) (Config)# no rmon alarm 1 rmon hcalarm This command sets the RMON hcalarm entry in the High Capacity RMON alarm MIB group.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands Parameter Description High Capacity Alarm Rising-Threshold Absolute Value High High Capacity Alarm Rising-Threshold Value Status The upper 32 bits of the absolute value for threshold for the sampled statistic. The range is 0 to 4294967295. The default is 0.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands rmon event This command sets the RMON event entry in the RMON event MIB group. Format rmon event event number [description string|log|owner string|trap community] Mode Global Config Parameter Description Event Number An index that uniquely identifies an entry in the event table. Each such entry defines one event that is to be generated when the appropriate conditions occur. The range is 1 to 65535.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands rmon collection history This command sets the history control parameters of the RMON historyControl MIB group. Note: This command is not supported on interface range. Each RMON history control collection entry can be configured on only one interface. If you try to configure on multiple interfaces, DUT displays an error.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands show rmon This command displays the entries in the RMON alarm table. Format show rmon {alarms | alarm alarm-index} Mode Privileged Exec Parameter Description Alarm Index An index that uniquely identifies an entry in the alarm table. Each entry defines a diagnostic sample at a particular interval for an object on the device. The object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands Example: The following shows example CLI display output for the command. (Routing) #show rmon alarm 1 Alarm 1 ---------OID: alarmInterval.1 Last Sample Value: 1 Interval: 1 Sample Type: absolute Startup Alarm: rising-falling Rising Threshold: 1 Falling Threshold: 1 Rising Event: 1 Falling Event: 2 Owner: MibBrowser show rmon collection history This command displays the entries in the RMON history control table.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands show rmon events This command displays the entries in the RMON event table. Format show rmon events Mode Privileged Exec Parameter Description Index An index that uniquely identifies an entry in the event table. Each such entry defines one event that is to be generated when the appropriate conditions occur. The range is 1 to 65535. A comment describing the event entry. The default is alarmEvent.
Remote Monitoring Commands HP Moonshot Switch Module CLI Command Reference Parameter Description History Control The number of discrete sampling intervals over which data shall be saved. This object is Buckets Granted read-only. The default is 10. History Control The interval in seconds over which the data is sampled. The range is 1 to 3600. The Interval default is 1800. History Control The owner string associated with the history control entry. The default is Owner monitorHistoryControl.
Remote Monitoring Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands show rmon log This command displays the entries in the RMON log table. Format show rmon log [event-index] Mode Privileged Exec Parameter Description Maximum table size Event Description Time Maximum number of entries that the log table can hold. Event index for which the log is generated. A comment describing the event entry for which the log is generated. Time at which the event is generated.
HP Moonshot Switch Module CLI Command Reference Parameter Remote Monitoring Commands Description CRC Align Errors Total number of packets received have a length (excluding framing bits, including FCS octets) of between 64 and 1518 octets inclusive. Collisions Total number of collisions on the interface. Undersize Pkts Total number of undersize packets. Packets are less than 64 octets long (excluding framing bits, including FCS octets). Oversize Pkts Total number of oversize packets.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Parameter Remote Monitoring Commands Description High Capacity Alarm RisingThe lower 32 bits of the absolute value for threshold for the sampled statistic. Threshold Absolute Value Low The range is 0 to 4294967295. The default is 1. High Capacity Alarm RisingThe upper 32 bits of the absolute value for threshold for the sampled statistic. Threshold Absolute Value High The range is 0 to 4294967295. The default is 0.
HP Moonshot Switch Module CLI Command Reference Remote Monitoring Commands (Routing) #show rmon hcalarm 1 Alarm 1 ---------OID: alarmInterval.
Switching Commands HP Moonshot Switch Module CLI Command Reference Section 6: Switching Commands This chapter describes the switching commands available in the HP Moonshot Switch Module CLI. The Switching Commands chapter includes the following sections: • • • • • • • • • • • • • • • • • • • “Port Configuration Commands” on page 269 “Spanning Tree Protocol Commands” on page 275 “VLAN Commands” on page 298 “Double VLAN Commands” on page 313 “Private VLAN Commands” on page 317 “Provisioning (IEEE 802.
HP Moonshot Switch Module CLI Command Reference Port Configuration Commands Port Configuration Commands This section describes the commands you use to view and configure port settings. interface This command gives you access to the Interface Config mode, which allows you to enable or modify the operation of an interface (port). You can also specify a range of ports to configure at the same time by specifying the starting unit/slot/port and ending unit/slot/port, separated by a hyphen.
HP Moonshot Switch Module CLI Command Reference Port Configuration Commands auto-negotiate all This command enables automatic negotiation on all ports. Default enabled Format auto-negotiate all Mode Global Config no auto-negotiate all This command disables automatic negotiation on all ports. Format no auto-negotiate all Mode Global Config description Use this command to create an alpha-numeric description of an interface or range of interfaces.
Port Configuration Commands HP Moonshot Switch Module CLI Command Reference shutdown This command disables a port or range of ports. Note: You can use the shutdown command on physical and port-channel (LAG) interfaces, but not on VLAN routing interfaces. Default enabled Format shutdown Mode Interface Config no shutdown This command enables a port . Format no shutdown Mode Interface Config shutdown all This command disables all ports.
Port Configuration Commands HP Moonshot Switch Module CLI Command Reference speed Use this command to enable or disable auto-negotiation and set the speed that will be advertised by that port. The duplex parameter allows you to set the advertised speed for both half as well as full duplex mode. Use the auto keyword to enable auto-negotiation on the port. Use the command without the auto keyword to ensure auto-negotiation is disabled and to set the port speed and mode according to the command values.
Port Configuration Commands HP Moonshot Switch Module CLI Command Reference Term Definition Link Trap This object determines whether or not to send a trap when link status changes. The factory default is enabled. LACP is enabled or disabled on this port. The configured timeout value for the LACP actor (the local LAG interface).
HP Moonshot Switch Module CLI Command Reference Port Configuration Commands show port description This command displays the interface description. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands Spanning Tree Protocol Commands This section describes the commands you use to configure Spanning Tree Protocol (STP). STP helps prevent network loops, duplicate messages, and network instability. Note: STP is enabled on the switch and on all ports and LAGs by default. Note: If STP is disabled, the system does not forward BPDU messages. spanning-tree This command sets the spanning-tree operational mode to enabled.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands spanning-tree bpdufilter Use this command to enable BPDU Filter on an interface or range of interfaces. Default disabled Format spanning-tree bpdufilter Mode Interface Config no spanning-tree bpdufilter Use this command to disable BPDU Filter on the interface or range of interfaces.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands no spanning-tree bpduflood Use this command to disable BPDU Flood on the interface or range of interfaces. Default disabled Format no spanning-tree bpduflood Mode Interface Config spanning-tree bpduguard Use this command to enable BPDU Guard on the switch. Default disabled Format spanning-tree bpduguard Mode Global Config no spanning-tree bpduguard Use this command to disable BPDU Guard on the switch.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands no spanning-tree configuration name This command resets the Configuration Identifier Name to its default. Format no spanning-tree configuration name Mode Global Config spanning-tree configuration revision This command sets the Configuration Identifier Revision Level for use in identifying the configuration that this switch is currently using.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands spanning-tree edgeport This command specifies that an interface (or range of interfaces) is an Edge Port within the common and internal spanning tree. This allows this port to transition to Forwarding State without delay. Format spanning-tree edgeport Mode Interface Config no spanning-tree edgeport This command specifies that this port is not an Edge Port within the common and internal spanning tree.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands spanning-tree forward-time This command sets the Bridge Forward Delay parameter to a new value for the common and internal spanning tree. The forward-time value is in seconds within a range of 4 to 30, with the value being greater than or equal to “(Bridge Max Age / 2) + 1”.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands no spanning-tree max-age This command sets the Bridge Max Age parameter for the common and internal spanning tree to the default value. Format no spanning-tree max-age Mode Global Config spanning-tree max-hops This command sets the Bridge Max Hops parameter to a new value for the common and internal spanning tree. The max-hops value is a range from 6 to 40.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands spanning-tree mst This command sets the Path Cost or Port Priority for this port within the multiple spanning tree instance or in the common and internal spanning tree. If you specify an mstid parameter that corresponds to an existing multiple spanning tree instance, the configurations are done for that multiple spanning tree instance.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands spanning-tree mst instance This command adds a multiple spanning tree instance to the switch. The parameter mstid is a number within a range of 1 to 4094, that corresponds to the new instance ID to be added. The maximum number of multiple instances supported by the switch is 4.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands spanning-tree mst vlan This command adds an association between a multiple spanning tree instance and one or more VLANs so that the VLAN(s) are no longer associated with the common and internal spanning tree. The parameter mstid is a multiple spanning tree instance identifier, in the range of 0 to 4094, that corresponds to the desired existing multiple spanning tree instance.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands no spanning-tree port mode all This command sets the Administrative Switch Port State for all ports to disabled. Format no spanning-tree port mode all Mode Global Config spanning-tree tcnguard Use this command to enable TCN guard on the interface. When enabled, TCN Guard restricts the interface from propagating any topology change information received through that interface.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands show spanning-tree This command displays spanning tree settings for the common and internal spanning tree. The following details are displayed. Format show spanning-tree Mode • Privileged EXEC • User EXEC Term Definition Bridge Priority Specifies the bridge priority for the Common and Internal Spanning tree (CST). The value lies between 0 and 61440. It is displayed in multiples of 4096.
HP Moonshot Switch Module CLI Command Reference Topology Change Count.......................... Topology Change in progress.................... Designated Root................................ Root Path Cost................................. Root Port Identifier........................... Bridge Max Age................................. Bridge Max Hops................................ Bridge Tx Hold Count........................... Bridge Forwarding Delay........................ Hello Time.....................
Spanning Tree Protocol Commands HP Moonshot Switch Module CLI Command Reference show spanning-tree interface This command displays the settings and parameters for a specific switch port within the common and internal spanning tree. The unit/slot/port is the desired switch port. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
HP Moonshot Switch Module CLI Command Reference TCN Guard...................................... BPDU Filter Mode............................... BPDU Flood Mode................................ Auto Edge...................................... Port Up Time Since Counters Last Cleared....... STP BPDUs Transmitted.......................... STP BPDUs Received............................. RSTP BPDUs Transmitted......................... RSTP BPDUs Received............................ MSTP BPDUs Transmitted.........
Spanning Tree Protocol Commands HP Moonshot Switch Module CLI Command Reference show spanning-tree mst detailed This command displays the detailed settings for an MST instance. Format show spanning-tree mst detailed mstid Mode • Privileged EXEC • User EXEC Term Definition MST Instance ID MST Bridge Priority The number that identifies the MST instance. The bridge priority for the spanning-tree instance. This value affects the likelihood that the bridge is selected as the root bridge.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands show spanning-tree mst port detailed This command displays the detailed settings and parameters for a specific switch port within a particular multiple spanning tree instance. The parameter mstid is a number that corresponds to the desired existing multiple spanning tree instance. The unit/slot/port is the desired switch port.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands If you specify 0 (defined as the default CIST ID) as the mstid, this command displays the settings and parameters for a specific switch port within the common and internal spanning tree. The unit/slot/port is the desired switch port. In this case, the following are displayed.
Spanning Tree Protocol Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command in unit/slot/port format. (Routing) >show spanning-tree mst port detailed 0 1/0/1 Port Identifier................................ Port Priority.................................. Port Forwarding State.......................... Port Role...................................... Auto-calculate Port Path Cost.................. Port Path Cost......................
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands show spanning-tree mst port summary This command displays the settings of one or all ports within the specified multiple spanning tree instance. The parameter mstid indicates a particular MST instance. The parameter {unit/slot/port|all} indicates the desired switch port or all ports. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands show spanning-tree mst port summary active This command displays settings for the ports within the specified multiple spanning tree instance that are active links. Format show spanning-tree mst port summary mstid active Mode • Privileged EXEC • User EXEC Term Definition Interface STP Mode Type STP State Port Role Desc unit/slot/port Indicates whether spanning tree is enabled or disabled on the port. Currently not used.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands show spanning-tree summary This command displays spanning tree settings and parameters for the switch. The following details are displayed on execution of the command. show spanning-tree summary Format Mode • Privileged EXEC • User EXEC Term Definition Spanning Tree Adminmode Spanning Tree Version Enabled or disabled. Version of 802.1 currently supported (IEEE 802.1s, IEEE 802.1w, or IEEE 802.
HP Moonshot Switch Module CLI Command Reference Spanning Tree Protocol Commands show spanning-tree vlan This command displays the association between a VLAN and a multiple spanning tree instance. The vlanid corresponds to an existing VLAN ID. Format show spanning-tree vlan vlanid Mode • Privileged EXEC • User EXEC Term Definition VLAN Identifier Associated Instance The VLANs associated with the selected MST instance.
HP Moonshot Switch Module CLI Command Reference VLAN Commands VLAN Commands This section describes the commands you use to configure VLAN settings. vlan database This command gives you access to the VLAN Config mode, which allows you to configure VLAN characteristics. Format vlan database Mode Privileged EXEC network mgmt_vlan This command configures the Management VLAN ID.
HP Moonshot Switch Module CLI Command Reference VLAN Commands vlan acceptframe This command sets the frame acceptance mode on an interface or range of interfaces. For vlanonly mode, untagged frames or priority frames received on this interface are discarded. For all mode, untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port. With either option, VLAN tagged frames are forwarded in accordance with the IEEE 802.
HP Moonshot Switch Module CLI Command Reference VLAN Commands vlan internal allocation Use this command to configure which VLAN IDs to use for port-based routing interfaces. When a port-based routing interface is created, an unused VLAN ID is assigned internally. Format vlan internal allocation {base vlan-id | policy ascending | policy decending} Mode Global Config Parameter Description base vlan-id policy ascending The first VLAN ID to be assigned to a port-based routing interface.
HP Moonshot Switch Module CLI Command Reference VLAN Commands vlan participation This command configures the degree of participation for a specific interface or range of interfaces in a VLAN. The ID is a valid VLAN identification number, and the interface is a valid interface number. Format vlan participation {exclude | include | auto} 1-4093 Mode Interface Config Participation options are: Options Definition include exclude auto The interface is always a member of this VLAN.
VLAN Commands HP Moonshot Switch Module CLI Command Reference vlan port acceptframe all This command sets the frame acceptance mode for all interfaces. Default all Format vlan port acceptframe all { admituntaggedonly | all | vlanonly} Mode Global Config The modes are defined as follows: Mode Definition admituntaggedonly all VLAN-tagged and priority tagged frames received on this interface are discarded.
HP Moonshot Switch Module CLI Command Reference VLAN Commands no vlan port ingressfilter all This command disables ingress filtering for all ports. If ingress filtering is disabled, frames received with VLAN IDs that do not match the VLAN membership of the receiving interface are admitted and forwarded to ports that are members of that VLAN. Format no vlan port ingressfilter all Mode Global Config vlan port priority all This command configures the default 802.
HP Moonshot Switch Module CLI Command Reference VLAN Commands vlan port tagging all This command configures the tagging behavior for all interfaces in a VLAN to enabled. If tagging is enabled, traffic is transmitted as tagged frames. If tagging is disabled, traffic is transmitted as untagged frames. The ID is a valid VLAN identification number.
VLAN Commands HP Moonshot Switch Module CLI Command Reference vlan protocol group add protocol This command adds the protocol to the protocol-based VLAN identified by groupid. A group may have more than one protocol associated with it. Each interface and protocol combination can only be associated with one group. If adding a protocol to a group causes any conflicts with interfaces currently associated with the group, this command fails and the protocol is not added to the group.
HP Moonshot Switch Module CLI Command Reference VLAN Commands protocol vlan group This command adds a physical interface or a range of interfaces to the protocol-based VLAN identified by groupid. You can associate multiple interfaces with a group, but you can only associate each interface and protocol combination with one group. If adding an interface to a group causes any conflicts with protocols currently associated with the group, this command fails and the interface(s) are not added to the group.
HP Moonshot Switch Module CLI Command Reference VLAN Commands show port protocol This command displays the Protocol-Based VLAN information for either the entire system, or for the indicated group. Format show port protocol {groupid | all} Mode Privileged EXEC Term Definition Group Name Group ID VLAN Protocol(s) Interface(s) The group name of an entry in the Protocol-based VLAN table. The group identifier of the protocol group. The VLAN associated with this Protocol Group.
HP Moonshot Switch Module CLI Command Reference VLAN Commands no vlan tagging This command configures the tagging behavior for a specific interface or range of interfaces in a VLAN to disabled. If tagging is disabled, traffic is transmitted as untagged frames. The ID is a valid VLAN identification number. Format no vlan tagging 1-4093 Mode • Interface Config vlan association subnet This command associates a VLAN to a specific IP-subnet.
HP Moonshot Switch Module CLI Command Reference VLAN Commands remote-span This command configures a VLAN as the Remote Switched Port Analyzer (RSPAN) VLAN. RSPAN allows you to mirror traffic from multiple source ports (or from all ports that are members of a VLAN) from different network devices and send the mirrored traffic to a destination port (a probe port connected to a network analyzer) on a remote device.
VLAN Commands HP Moonshot Switch Module CLI Command Reference The following table shows the fields that display when you issue the show vlan command and include the VLAN ID. Term Definition VLAN ID VLAN Name The VLAN identifier (VID) associated with each VLAN. The range of the VLAN ID is 1 to 4093. A string associated with this VLAN as a convenience. It can be up to 32 alphanumeric characters long, including blanks. The default is blank. VLAN ID 1 always has a name of Default. This field is optional.
HP Moonshot Switch Module CLI Command Reference VLAN Commands show vlan internal usage This command displays information about the VLAN ID allocation on the switch. Format show vlan internal usage Mode • Privileged EXEC • User EXEC Term Definition Base VLAN ID Identifies the base VLAN ID for Internal allocation of VLANs to the routing interface. Allocation policy Identifies whether the system allocates VLAN IDs in ascending or descending order.
HP Moonshot Switch Module CLI Command Reference Term VLAN Commands Definition Acceptable Frame The types of frames that may be received on this port. The options are 'VLAN only' and Types 'Admit All'. When set to 'VLAN only', untagged frames or priority tagged frames received on this port are discarded. When set to 'Admit All', untagged frames or priority tagged frames received on this port are accepted and assigned the value of the Port VLAN ID for this port.
HP Moonshot Switch Module CLI Command Reference Double VLAN Commands Double VLAN Commands This section describes the commands you use to configure double VLAN (DVLAN). Double VLAN tagging is a way to pass VLAN traffic from one customer domain to another through a Metro Core in a simple and cost effective manner. The additional tag on the traffic helps differentiate between customers in the MAN while preserving the VLAN identification of the individual customers when they enter their own 802.1Q domain.
HP Moonshot Switch Module CLI Command Reference Double VLAN Commands no dvlan-tunnel ethertype default–tpid Use the no form of the command to set the TPID register to 0. (At initialization, all TPID registers will be set to their default values.) Format no dvlan-tunnel ethertype {802.1Q | vman | custom 0–65535} [default-tpid] Mode Global Config mode dot1q-tunnel This command is used to enable Double VLAN Tunneling on the specified interface.
HP Moonshot Switch Module CLI Command Reference Double VLAN Commands show dot1q-tunnel Use this command without the optional parameters to display all interfaces enabled for Double VLAN Tunneling. Use the optional parameters to display detailed information about Double VLAN Tunneling for the specified interface or all interfaces.
HP Moonshot Switch Module CLI Command Reference Double VLAN Commands show dvlan-tunnel Use this command without the optional parameters to display all interfaces enabled for Double VLAN Tunneling. Use the optional parameters to display detailed information about Double VLAN Tunneling for the specified interface or all interfaces.
HP Moonshot Switch Module CLI Command Reference Private VLAN Commands Private VLAN Commands This section describes the commands you use for private VLANs. Private VLANs provides Layer 2 isolation between ports that share the same broadcast domain. In other words, it allows a VLAN broadcast domain to be partitioned into smaller point-to-multipoint sub-domains. The ports participating in a private VLAN can be located anywhere in the Layer 2 network.
HP Moonshot Switch Module CLI Command Reference Private VLAN Commands switchport mode private-vlan This command configures a port as a promiscuous or host private VLAN port. Note that the properties of each mode can be configured even when the switch is not in that mode. However, they will only be applicable once the switch is in that particular mode.
HP Moonshot Switch Module CLI Command Reference Private VLAN Commands no private-vlan This command restores normal VLAN configuration. Format no private-vlan {association} Mode VLAN Config show vlan private-vlan This command displays information about the configured private VLANs, including primary and secondary VLAN IDs, type (community, isolated, or primary) and the ports which belong to a private VLAN.
HP Moonshot Switch Module CLI Command Reference Provisioning (IEEE 802.1p) Commands Provisioning (IEEE 802.1p) Commands This section describes the commands you use to configure provisioning (IEEE 802.1p,) which allows you to prioritize ports. vlan port priority all This command configures the port priority assigned for untagged packets for all ports presently plugged into the device. The range for the priority is 0-7. Any subsequent per port configuration will override this configuration setting.
HP Moonshot Switch Module CLI Command Reference Cut-Through (ASF) Commands Cut-Through (ASF) Commands The Cut-through Mode (or Alternative Store and Forward Mode, ASF) feature allows the switch to operate in a mode such that the egress pipeline begins transmitting a packet before the ingress pipeline has completely received the entire packet. Enabling this mode decreases latency for large packets. Alternate Store and forward (ASF) reduces latency for larger packets.
HP Moonshot Switch Module CLI Command Reference Asymmetric Flow Control Asymmetric Flow Control Note: Asymmetric Flow Control can only be configured globally for all ports. When in asymmetric flow control mode, the switch responds to PAUSE frames received from a peer by stopping packet transmission, but the switch does not initiate MAC control PAUSE frames. When you configure the switch in asymmetric flow control (or no flow control mode), the device is placed in egress drop mode.
Asymmetric Flow Control HP Moonshot Switch Module CLI Command Reference show flowcontrol Use this command to display the IEEE 802.3 Annex 31B flow control settings and status for a specific interface or all interfaces. The command also displays 802.3 Tx and Rx pause counts. Priority Flow Control frames counts are not displayed. If the port is enabled for priority flow control, operational flow control status is displayed as Inactive.
HP Moonshot Switch Module CLI Command Reference Protected Ports Commands Protected Ports Commands This section describes commands you use to configure and view protected ports on a switch. Protected ports do not forward traffic to each other, even if they are on the same VLAN. However, protected ports can forward traffic to all unprotected ports in their group. Unprotected ports can forward traffic to both protected and unprotected ports. Ports are unprotected by default.
HP Moonshot Switch Module CLI Command Reference Protected Ports Commands switchport protected (Interface Config) Use this command to add an interface to a protected port group. The groupid parameter identifies the set of protected ports to which this interface is assigned. You can only configure an interface as protected in one group. Note: Port protection occurs within a single switch. Protected port configuration does not affect traffic between ports on two different switches.
HP Moonshot Switch Module CLI Command Reference GARP Commands show interfaces switchport This command displays the status of the interface (protected/unprotected) under the groupid. Format show interfaces switchport unit/slot/port groupid Mode • Privileged EXEC • User EXEC Term Definition Protected Port Indicates whether the interface is protected or not. It shows TRUE or FALSE. If the group is a multiple groups then it shows TRUE in Group groupid.
HP Moonshot Switch Module CLI Command Reference GARP Commands set garp timer leave This command sets the GVRP leave time for one interface, a range of interfaces, or all interfaces or all ports and only has an effect when GVRP is enabled. Leave time is the time to wait after receiving an unregister request for a VLAN or a multicast group before deleting the VLAN entry.
HP Moonshot Switch Module CLI Command Reference GVRP Commands show garp This command displays GARP information. Format show garp Mode • Privileged EXEC • User EXEC Term Definition GMRP Admin Mode GVRP Admin Mode The administrative mode of GARP Multicast Registration Protocol (GMRP) for the system. The administrative mode of GARP VLAN Registration Protocol (GVRP) for the system.
HP Moonshot Switch Module CLI Command Reference GVRP Commands set gvrp interfacemode This command enables GVRP on a single port (Interface Config mode), a range of ports (Interface Range mode), or all ports (Global Config mode). Default disabled Format set gvrp interfacemode Mode • Interface Config • Interface Range • Global Config no set gvrp interfacemode This command disables GVRP on a single port (Interface Config mode) or all ports (Global Config mode).
HP Moonshot Switch Module CLI Command Reference Term GMRP Commands Definition LeaveAll Timer This Leave All Time controls how frequently LeaveAll PDUs are generated. A LeaveAll PDU indicates that all registrations will shortly be deregistered. Participants will need to rejoin in order to maintain registration. There is an instance of this timer on a per-Port, per-GARP participant basis. The Leave All Period Timer is set to a random value in the range of LeaveAllTime to 1.5*LeaveAllTime.
HP Moonshot Switch Module CLI Command Reference GMRP Commands set gmrp interfacemode This command enables GARP Multicast Registration Protocol on a single interface (Interface Config mode), a range of interfaces, or all interfaces (Global Config mode). If an interface which has GARP enabled is enabled for routing or is enlisted as a member of a port-channel (LAG), GARP functionality is disabled on that interface.
HP Moonshot Switch Module CLI Command Reference Term GMRP Commands Definition LeaveAll Timer This Leave All Time controls how frequently LeaveAll PDUs are generated. A LeaveAll PDU indicates that all registrations will shortly be deregistered. Participants will need to rejoin in order to maintain registration. There is an instance of this timer on a per-Port, per-GARP participant basis. The Leave All Period Timer is set to a random value in the range of LeaveAllTime to 1.5*LeaveAllTime.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands Port-Based Network Access Control Commands This section describes the commands you use to configure port-based network access control (IEEE 802.1X). Port-based network access control allows you to permit access to network services only to and devices that are authorized and authenticated. aaa authentication dot1x default Use this command to configure the authentication method for port-based access to the switch.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands clear radius statistics This command is used to clear all RADIUS statistics. Format clear radius statistics Mode Privileged EXEC dot1x eapolflood Use this command to enable EAPOL flood support on the switch. Default disabled Format dot1x eapolflood Mode Global Config no dot1x eapolflood This command disables EAPOL flooding on the switch.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands dot1x guest-vlan This command configures VLAN as guest vlan on an interface or a range of interfaces. The command specifies an active VLAN as an IEEE 802.1X guest VLAN. The range is 1 to the maximum VLAN ID supported by the platform. Default disabled Format dot1x guest-vlan vlan-id Mode Interface Config no dot1x guest-vlan This command disables Guest VLAN on the interface.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands dot1x max-users Use this command to set the maximum number of clients supported on an interface or range of interfaces when MAC-based dot1x authentication is enabled on the port. The maximum users supported per port is dependent on the product. The count value is in the range 1 - 48.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands dot1x port-control all This command sets the authentication mode to use on all ports. Select force-unauthorized to specify that the authenticator PAE unconditionally sets the controlled port to unauthorized. Select force-authorized to specify that the authenticator PAE unconditionally sets the controlled port to authorized.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands dot1x re-authenticate This command begins the re-authentication sequence on the specified port. This command is only valid if the control mode for the specified port is auto or mac-based. If the control mode is not auto or mac-based, an error will be returned.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands dot1x system-auth-control monitor Use this command to enable the 802.1X monitor mode on the switch. The purpose of Monitor mode is to help troubleshoot port-based authentication configuration issues without disrupting network access for hosts connected to the switch. In Monitor mode, a host is granted network access to an 802.1X-enabled port even if it fails the authentication process.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands Default • • • • • • guest-vlan-period: 90 seconds reauth-period: 3600 seconds quiet-period: 60 seconds tx-period: 30 seconds supp-timeout: 30 seconds server-timeout: 30 seconds Format dot1x timeout {{guest-vlan-period seconds} |{reauth-period seconds} | {quiet-period seconds} | {tx-period seconds} | {supp-timeout seconds} | {server-timeout seconds}} Mode Interface Config no dot1x timeout This command sets the
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands no dot1x user This command removes the user from the list of users with access to the specified port or all ports. Format no dot1x user user {unit/slot/port | all} Mode Global Config show authentication methods Use this command to display information about the authentication methods.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands show dot1x This command is used to show a summary of the global dot1x configuration, summary information of the dot1x configuration for a specified port or all ports, the detailed dot1x configuration for a specified port and the dot1x statistics for a specified port - depending on the tokens used.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands Example: The following shows example CLI display output for the command show dot1x summary 1/0/1. Interface --------1/0/1 Control Mode -----------auto Operating Control Mode -----------auto Port Status -----------Authorized If you use the optional parameter detail unit/slot/port, the detailed dot1x configuration for the specified port is displayed.
HP Moonshot Switch Module CLI Command Reference Term Port-Based Network Access Control Commands Definition VLAN-ID The VLAN assigned to the port by the radius server. This is only valid when the port control mode is not Mac-based. VLAN Assigned The reason the VLAN identified in the VLAN-assigned field has been assigned to the port. Reason Possible values are RADIUS, Unauthenticated VLAN, Guest VLAN, default, and Not Assigned.
Port-Based Network Access Control Commands HP Moonshot Switch Module CLI Command Reference Reauthentication Enabled....................... Key Transmission Enabled....................... Control Direction.............................. Maximum Users.................................. Unauthenticated VLAN ID........................ Session Timeout................................ Session Termination Action.....................
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands Term Definition EAP Request/Id Frames Transmitted EAP Request Frames Transmitted Invalid EAPOL Frames Received EAP Length Error Frames Received The number of EAP request/identity frames that have been transmitted by this authenticator. The number of EAP request frames (other than request/identity frames) that have been transmitted by this authenticator.
HP Moonshot Switch Module CLI Command Reference Port-Based Network Access Control Commands show dot1x clients This command displays 802.1X client information. This command also displays information about the number of clients that are authenticated using Monitor mode and using 802.1X.
HP Moonshot Switch Module CLI Command Reference 802.1X Supplicant Commands 802.1X Supplicant Commands HP Moonshot Switch Module supports 802.1X (“dot1x”) supplicant functionality on point-to-point ports. The administrator can configure the user name and password used in authentication and capabilities of the supplicant port. dot1x pae This command sets the port’s dot1x role. The port can serve as either a supplicant or an authenticator.
HP Moonshot Switch Module CLI Command Reference 802.1X Supplicant Commands dot1x supplicant max-start This command configures the number of attempts that the supplicant makes to find the authenticator before the supplicant assumes that there is no authenticator. Default 3 Format dot1x supplicant max-start <1-10> Mode Interface Config no dot1x supplicant max-start This command sets the max-start value to the default.
HP Moonshot Switch Module CLI Command Reference 802.1X Supplicant Commands no dot1x supplicant timeout held-period This command sets the held-period value to the default value. Format no dot1x supplicant timeout held-period Mode Interface Config dot1x supplicant timeout auth-period This command configures the authentication period timer interval to wait for the next EAP request challenge from the authenticator.
802.1X Supplicant Commands HP Moonshot Switch Module CLI Command Reference show dot1x statistics This command displays the dot1x port statistics in detail. Format show dot1x statistics unit/slot/port Mode User EXEC Term Definition Port PAE Capabilities EAPOL Frames Received EAPOL Frames Transmitted EAPOL Start Frames Transmitted EAPOL Logoff Frames Received Displays the port associated with the rest of the data Displays the Port Access Entity (PAE) role of the port.
HP Moonshot Switch Module CLI Command Reference Storm-Control Commands Storm-Control Commands This section describes commands you use to configure storm-control and view storm-control configuration information. A traffic storm is a condition that occurs when incoming packets flood the LAN, which creates performance degradation in the network. The Storm-Control feature protects against this condition.
HP Moonshot Switch Module CLI Command Reference Storm-Control Commands no storm-control broadcast Use this command to disable broadcast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).
HP Moonshot Switch Module CLI Command Reference Storm-Control Commands no storm-control broadcast rate This command sets the broadcast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables broadcast storm recovery.
HP Moonshot Switch Module CLI Command Reference Storm-Control Commands no storm-control multicast level This command sets the multicast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables multicast storm recovery.
HP Moonshot Switch Module CLI Command Reference Storm-Control Commands no storm-control unicast This command disables unicast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).
Storm-Control Commands HP Moonshot Switch Module CLI Command Reference no storm-control unicast rate This command sets the unicast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables unicast storm recovery. Format no storm-control unicast rate Mode • Global Config • Interface Config show storm-control This command displays switch configuration information.
HP Moonshot Switch Module CLI Command Reference Storm-Control Commands Example: The following shows example CLI display output for the command. (Routing) #show storm-control 0/1 Bcast Bcast Mcast Mcast Ucast Ucast Intf Mode Level Mode Level Mode Level ------ ------- -------- ------- -------- ------- -------1/0/1 Disable 5% Disable 5% Disable 5% Example: The following shows an example of part of the CLI display output for the command.
Link Local Protocol Filtering Commands HP Moonshot Switch Module CLI Command Reference Link Local Protocol Filtering Commands Link Local Protocol Filtering (LLPF) allows the switch to filter out multiple proprietary protocol PDUs, such as Port Aggregation Protocol (PAgP), if the problems occur with proprietary protocols running on standards-based switches. If certain protocol PDUs cause unexpected results, LLPF can be enabled to prevent those protocol PDUs from being processed by the switch.
HP Moonshot Switch Module CLI Command Reference MMRP Commands MMRP Commands mmrp (Global Config) Use the mmrp command in Global Config mode to enable MMRP. MMRP must also be enabled on the individual interfaces. Default disabled Format mmrp Mode Global Config no mmrp (Global Config) Use the no mmrp command in Global Config mode to disable MMRP.
HP Moonshot Switch Module CLI Command Reference MMRP Commands mmrp (Interface Config) Use the mmrp command in Interface Config mode on the interface. MMRP can be enabled on physical interfaces or LAG interfaces. When configured on a LAG member port, MMRP is operationally disabled. Enabling MMRP on an interface automatically enables dynamic MFDB entries creation.
HP Moonshot Switch Module CLI Command Reference MMRP Commands show mmrp Use the show mmrp command in Privileged EXEC mode to display the status of the MMRP mode on the switch, on a specified interface, or on all interfaces. Format show mmrp {interface [unit/slot/port [summary] | summary]} Mode Privileged EXEC When the command is issued with the interface keyword and an interface is specified, the administrative mode of MMRP for the interface displays.
MMRP Commands HP Moonshot Switch Module CLI Command Reference show mmrp statistics Use the show mmrp statistics command in Privileged EXEC mode to display statistical information about the MMRP PDUs sent and received on the interface. Format show mmrp statistics {unit/slot/port | all | summary} Mode Privileged EXEC The following statistics display when the summary or unit/slot/port keywords are used.
HP Moonshot Switch Module CLI Command Reference MVRP Commands MVRP Commands mvrp (Global Config) Use the mvrp command in Global Configuration mode to enable MVRP. MVRP must also be enabled on the individual interfaces. Default enabled Format mvrp Mode Global Config no mvrp (Global Config) Use the no mvrp command in Global Configuration mode to disable MVRP.
HP Moonshot Switch Module CLI Command Reference MVRP Commands mvrp (Interface Config) Use the mvrp command in Interface Configuration mode to enable MVRP mode on the interface. The port should be configured in trunk or general mode. MVRP can be enabled on physical interfaces or LAG interfaces. When configured on a LAG member port, MVRP is operationally disabled. Enabling MVRP on an interface automatically enabled dynamic VLAN creation.
HP Moonshot Switch Module CLI Command Reference MVRP Commands show mvrp Use the show mvrp command in Privileged EXEC mode to display the status of the MVRP mode. Format show mvrp {interface {unit/slot/port | all} | summary} Mode Privileged EXEC When the interface all keywords are used, the administrative mode of MVRP on all interfaces is displayed. When the command is issued with the interface keyword and an interface is specified, the information in the following table is displayed.
MVRP Commands HP Moonshot Switch Module CLI Command Reference show mvrp statistics Use the show mvrp statistics command in Privileged EXEC mode to display MVRP statistics. Format show mvrp statistics {unit/slot/port | all | summary Mode Privileged EXEC The following statistics display when the summary or unit/slot/port keywords are used. Using the summary keyword displays global statistics, and using the unit/slot/port keyword displays per-interface statistics.
Port-Channel/LAG (802.3ad) Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command. (Routing) #show mvrp statistics 0/12 Port........................................... MVRP messages received......................... MVRP messages received with bad header......... MVRP messages received with bad format......... MVRP messages transmitted...................... MVRP messages failed to transmit............... MVRP failed reservations....
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands addport This command adds one port to the port-channel (LAG). The first interface is a logical unit/slot/port number of a configured port-channel. You can add a range of ports by specifying the port range when you enter Interface Config mode (for example: interface 1/0/1-1/0/4. Instead of unit/slot/port, lag lag-group-id can be used as an alternate way to specify the LAG interface.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp admin key Use this command to configure the administrative value of the key for the port-channel. The value range of key is 0 to 65535. This command can be used to configure a single interface or a range of interfaces. Default 0x8000 Format lacp admin key key Mode Interface Config Note: This command is applicable only to port-channel interfaces.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp actor admin key Use this command to configure the administrative value of the LACP actor admin key on an interface or range of interfaces. The valid range for key is 0-65535. Default Internal Interface Number of this Physical Port Format lacp actor admin key key Mode Interface Config Note: This command is applicable only to physical interfaces.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp actor admin state longtimeout Use this command to set LACP actor admin state to long timeout. Format lacp actor admin state longtimeout Mode Interface Config Note: This command is applicable only to physical interfaces. no lacp actor admin state longtimeout Use this command to set the LACP actor admin state to short timeout.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp actor port priority Use this command to configure the priority value assigned to the Aggregation Port for an interface or range of interfaces. The valid range for priority is 0 to 65535. Default 0x80 Format lacp actor port priority 0-65535 Mode Interface Config Note: This command is applicable only to physical interfaces.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp partner admin state individual Use this command to set LACP partner admin state to individual. Format lacp partner admin state individual Mode Interface Config Note: This command is applicable only to physical interfaces. no lacp partner admin state individual Use this command to set the LACP partner admin state to aggregation.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp partner admin state passive Use this command to set the LACP partner admin state to passive. Format lacp partner admin state passive Mode Interface Config Note: This command is applicable only to physical interfaces. no lacp partner admin state passive Use this command to set the LACP partner admin state to active.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp partner port priority Use this command to configure the LACP partner port priority. This command can be used to configure a single interface or a range of interfaces. The valid range for priority is 0 to 65535. Default 0x0 Format lacp partner port priority priority Mode Interface Config Note: This command is applicable only to physical interfaces.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands lacp partner system priority Use this command to configure the administrative value of the priority associated with the Partner’s System ID. This command can be used to configure a single interface or a range of interfaces. The valid range for priority is 0 to 65535. Default 0x0 Format lacp partner system priority 0-65535 Mode Interface Config Note: This command is applicable only to physical interfaces.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands no port-channel static This command sets the static mode on a particular port-channel (LAG) interface to the default value. This command will be executed only for interfaces of type port-channel (LAG). Format no port-channel static Mode Interface Config port lacpmode This command enables Link Aggregation Control Protocol (LACP) on a port or range of ports.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands port lacptimeout (Interface Config) This command sets the timeout on a physical interface or range of interfaces of a particular device type (actor or partner) to either long or short timeout.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands no port-channel adminmode This command disables a port-channel (LAG). The option all sets every configured port-channel with the same administrative mode setting. Format no port-channel adminmode [all] Mode Global Config port-channel linktrap This command enables link trap notifications for the port-channel (LAG). The interface is a logical unit/slot/ port for a configured port-channel.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands port-channel load-balance This command selects the load-balancing option used on a port-channel (LAG). Traffic is balanced on a portchannel (LAG) by selecting one of the links in the channel over which to transmit specific packets. The link is selected by creating a binary pattern from selected fields in a packet, and associating that pattern with a particular link. Load-balancing is not supported on every device.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands port-channel local-preference This command enables the local-preference mode on a port-channel (LAG) interface or range of interfaces. By default, the local-preference mode for a port-channel is disabled. This command can be used only on portchannel interfaces.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands show lacp actor Use this command to display LACP actor attributes. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number. Format show lacp actor {unit/slot/port|all} Mode Global Config The following output parameters are displayed.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands show port-channel brief This command displays the static capability of all port-channel (LAG) interfaces on the device as well as a summary of individual port-channel interfaces. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
HP Moonshot Switch Module CLI Command Reference Port-Channel/LAG (802.3ad) Commands The following table describes the information that displays when the port-channel is specified. Term Definition Local Interface Channel Name The unit/slot/port number associated with the port channel. The name of this port-channel (LAG). You may enter any string of up to 15 alphanumeric characters. Indicates whether the Link is up or down. May be enabled or disabled. The factory default is enabled.
Port-Channel/LAG (802.3ad) Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command. (Routing) #show port-channel 1 Local Interface................................ Channel Name................................... Link State..................................... Admin Mode..................................... Type........................................... Port-channel Min-links......................... Load Balance Option...............
Port-Channel/LAG (802.3ad) Commands HP Moonshot Switch Module CLI Command Reference Term Definition Mbr Ports Mbr Flap Counters The slot/port for the port member. The number of times a port member is inactive, either because the link is down, or the admin state is disabled. Example: The following shows example CLI display output for the command. (Routing) #show port-channel 1 counters Local Interface................................ Channel Name................................... Link State...........
HP Moonshot Switch Module CLI Command Reference Port Mirroring Commands Port Mirroring Commands Port mirroring, which is also known as port monitoring, selects network traffic that you can analyze with a network analyzer, such as a SwitchProbe device or other Remote Monitoring (RMON) probe. monitor session source This command configures the monitored interface or interfaces for a monitor session (port monitoring). Use rx to monitor only ingress packets, or use tx to monitor only egress packets.
Port Mirroring Commands HP Moonshot Switch Module CLI Command Reference monitor session destination This command configures a probe port or reflector port for a monitor session (port monitoring). The destination port usually has a network analyzer attached. The reflector-port is configured at the source switch and forwards the mirrored traffic towards the destination switch. Note: The source and destination cannot be configured as remote on the same device.
HP Moonshot Switch Module CLI Command Reference Port Mirroring Commands monitor session filter Use this command to filter the traffic that is monitored. The ACL that is used to filter the traffic must already exist on the system before it can be attached to the port monitoring session.
HP Moonshot Switch Module CLI Command Reference Port Mirroring Commands show monitor session This command displays the Port monitoring information for a particular mirroring session. Note: The session-id parameter is an integer value used to identify the session. In the current version of the software, the session-id parameter is always one (1). Format show monitor session session-id Mode Privileged EXEC Term Definition Session ID An integer value used to identify the session.
HP Moonshot Switch Module CLI Command Reference Static MAC Filtering Commands show vlan remote-span This command displays the configured RSPAN VLAN. Format show vlan remote-span Mode Privileged Exec Mode Example: The following shows example output for the command. (Routing)# show vlan remote-span Remote SPAN VLAN -----------------------------------------------------------------------100 Static MAC Filtering Commands The commands in this section describe how to configure static MAC filtering.
HP Moonshot Switch Module CLI Command Reference Static MAC Filtering Commands no macfilter This command removes all filtering restrictions and the static MAC filter entry for the MAC address macaddr on the VLAN vlanid. The macaddr parameter must be specified as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6. The vlanid parameter must identify a valid VLAN.
HP Moonshot Switch Module CLI Command Reference Static MAC Filtering Commands no macfilter adddest all This command removes all ports from the destination filter set for the MAC filter with the given macaddr and VLAN of vlanid. The macaddr parameter must be specified as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6. The vlanid parameter must identify a valid VLAN.
HP Moonshot Switch Module CLI Command Reference Static MAC Filtering Commands no macfilter addsrc all This command removes all interfaces to the source filter set for the MAC filter with the MAC address of macaddr and VLAN of vlanid. You must specify the macaddr parameter as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6. The vlanid parameter must identify a valid VLAN.
HP Moonshot Switch Module CLI Command Reference DHCP L2 Relay Agent Commands Term Definition Description Interfaces The text description of this multicast table entry. The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). DHCP L2 Relay Agent Commands You can enable the switch to operate as a DHCP Layer 2 relay agent to relay DHCP requests from clients to a Layer 3 relay agent or server.
HP Moonshot Switch Module CLI Command Reference DHCP L2 Relay Agent Commands no dhcp l2relay circuit-id vlan This parameter clears the DHCP Option-82 Circuit ID for a VLAN. Format no dhcp l2relay circuit-id vlan vlan-list Mode Global Config dhcp l2relay remote-id vlan This parameter sets the DHCP Option-82 Remote ID for a VLAN and subscribed service (based on subscriptionname).
HP Moonshot Switch Module CLI Command Reference DHCP L2 Relay Agent Commands dhcp l2relay vlan Use this command to enable the DHCP L2 Relay agent for a set of VLANs. All DHCP packets which arrive on interfaces in the configured VLAN are subject to L2 Relay processing. Default disable Format dhcp l2relay vlan vlan-list Mode Global Config Parameter Description vlan–list The VLAN ID. The range is 1–4093. Separate non-consecutive IDs with a comma (,) no spaces and no zeros in between the range.
HP Moonshot Switch Module CLI Command Reference DHCP L2 Relay Agent Commands show dhcp l2relay circuit-id vlan This command displays DHCP circuit-id vlan configuration. Format show dhcp l2relay circuit-id vlan vlan-list Mode Privileged EXEC Parameter Description vlan-list Enter VLAN IDs in the range 1–4093. Use a dash (–) to specify a range or a comma (,) to separate VLAN IDs in a list. Spaces and zeros are not permitted.
HP Moonshot Switch Module CLI Command Reference DHCP L2 Relay Agent Commands show dhcp l2relay stats interface This command displays statistics specific to DHCP L2 Relay configured interface. Format show dhcp l2relay stats interface {all | interface-num} Mode Privileged EXEC Example: The following shows example CLI display output for the command. (Routing) #show dhcp l2relay stats interface all DHCP L2 Relay is Interface --------1/0/1 1/0/2 1/0/3 Enabled.
HP Moonshot Switch Module CLI Command Reference DHCP Client Commands show dhcp l2relay vlan This command displays DHCP vlan configuration. Format show dhcp l2relay vlan vlan-list Mode Privileged EXEC Parameter Description vlan-list Enter VLAN IDs in the range 1–4093. Use a dash (–) to specify a range or a comma (,) to separate VLAN IDs in a list. Spaces and zeros are not permitted. clear dhcp l2relay statistics interface Use this command to reset the DHCP L2 relay counters to zero.
HP Moonshot Switch Module CLI Command Reference DHCP Client Commands dhcp client vendor-id-option-string This parameter sets the DHCP Vendor Option-60 string to be included in the requests transmitted to the DHCP server by the DHCP client operating in the HP Moonshot Switch Module. The string is the vendor ID suboption string, which can be 0–128 characters.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands DHCP Snooping Configuration Commands This section describes commands you use to configure DHCP Snooping. ip dhcp snooping Use this command to enable DHCP Snooping globally. Default disabled Format ip dhcp snooping Mode Global Config no ip dhcp snooping Use this command to disable DHCP Snooping globally.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands no ip dhcp snooping verify mac-address Use this command to disable verification of the source MAC address with the client hardware address. Format no ip dhcp snooping verify mac-address Mode Global Config ip dhcp snooping database Use this command to configure the persistent location of the DHCP Snooping database. This can be local or a remote file on a given IP machine.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands no ip dhcp snooping binding Use this command to remove the DHCP static entry from the DHCP Snooping database. Format no ip dhcp snooping binding mac-address Mode Global Config ip verify binding Use this command to configure static IP source guard (IPSG) entries.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands ip dhcp snooping log-invalid Use this command to control the logging DHCP messages filtration by the DHCP Snooping application. This command can be used to configure a single interface or a range of interfaces. Default disabled Format ip dhcp snooping log-invalid Mode Interface Config no ip dhcp snooping log-invalid Use this command to disable the logging DHCP messages filtration by the DHCP Snooping application.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands no ip verify source Use this command to disable the IPSG configuration in the hardware. You cannot disable port-security alone if it is configured. Format no ip verify source Mode Interface Config show ip dhcp snooping Use this command to display the DHCP Snooping global configurations and per port configurations.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands show ip dhcp snooping binding Use this command to display the DHCP Snooping binding entries. To restrict the output, use the following options: • Dynamic: Restrict the output based on DCHP snooping. • Interface: Restrict the output based on a specific interface. • Static: Restrict the output based on static entries. • VLAN: Restrict the output based on VLAN.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands show ip dhcp snooping database Use this command to display the DHCP Snooping configuration related to the database persistency. Format show ip dhcp snooping database Mode Privileged EXEC Term Definition Agent URL Write Delay Bindings database agent URL. The maximum write time to write the database into local or remote. Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands show ip dhcp snooping statistics Use this command to list statistics for DHCP Snooping security violations on untrusted ports. Format show ip dhcp snooping statistics Mode Privileged EXEC Term Definition Interface MAC Verify Failures Client Ifc Mismatch DHCP Server Msgs Rec’d The IP address of the interface in unit/slot/port format.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands clear ip dhcp snooping binding Use this command to clear all DHCP Snooping bindings on all interfaces or on a specific interface. Format clear ip dhcp snooping binding [interface unit/slot/port] Mode Privileged EXEC clear ip dhcp snooping statistics Use this command to clear all DHCP Snooping statistics.
HP Moonshot Switch Module CLI Command Reference DHCP Snooping Configuration Commands show ip verify interface Use this command to display the IPSG filter type for a specific interface. Format show ip verify interface unit/slot/port Mode Privileged EXEC Term Definition Interface Filter Type Interface address in unit/slot/port format. Is one of two values: • ip-mac: User has configured MAC address filtering on this interface. • ip: Only IP address filtering on this interface.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands Dynamic ARP Inspection Commands Dynamic ARP Inspection (DAI) is a security feature that rejects invalid and malicious ARP packets. DAI prevents a class of man-in-the-middle attacks, where an unfriendly station intercepts traffic for other stations by poisoning the ARP caches of its unsuspecting neighbors. The miscreant sends ARP requests or responses mapping another station’s IP address to its own MAC address.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands no ip arp inspection validate Use this command to disable the additional validation checks on the received ARP packets. Format no ip arp inspection validate {src-mac [dst-mac] [ip] | dst-mac [ip] | ip} Mode Global Config ip arp inspection vlan logging Use this command to enable logging of invalid ARP packets on a list of comma-separated VLAN ranges.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands ip arp inspection limit Use this command to configure the rate limit and burst interval values for an interface or range of interfaces. Configuring none for the limit means the interface is not rate limited for Dynamic ARP Inspections. The maximum pps value shown in the range for the rate option might be more than the hardware allowable limit.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands arp access-list Use this command to create an ARP ACL. Format arp access-list acl-name Mode Global Config no arp access-list Use this command to delete a configured ARP ACL. Format no arp access-list acl-name Mode Global Config permit ip host mac host Use this command to configure a rule for a valid IP address and MAC address combination used in ARP packet validation.
Dynamic ARP Inspection Commands HP Moonshot Switch Module CLI Command Reference show ip arp inspection Use this command to display the Dynamic ARP Inspection global configuration and configuration on all the VLANs. With the vlan-list argument (i.e. comma separated VLAN ranges), the command displays the global configuration and configuration on all the VLANs in the given VLAN list. The global configuration includes the source mac validation, destination mac validation and invalid IP validation information.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands show ip arp inspection statistics Use this command to display the statistics of the ARP packets processed by Dynamic ARP Inspection. Give the vlan-list argument and the command displays the statistics on all DAI-enabled VLANs in that list. Give the single vlan argument and the command displays the statistics on that VLAN. If no argument is included, the command lists a summary of the forwarded and dropped ARP packets.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands clear ip arp inspection statistics Use this command to reset the statistics for Dynamic ARP Inspection on all VLANs. Default none Format clear ip arp inspection statistics Mode Privileged EXEC show ip arp inspection interfaces Use this command to display the Dynamic ARP Inspection configuration on all the DAI-enabled interfaces.
HP Moonshot Switch Module CLI Command Reference Dynamic ARP Inspection Commands show arp access-list Use this command to display the configured ARP ACLs with the rules. Giving an ARP ACL name as the argument will display only the rules in that ARP ACL. Format show arp access-list [acl-name] Mode • Privileged EXEC • User EXEC Example: The following shows example CLI display output for the command. (Routing) #show arp access-list ARP access permit permit ARP access ARP access permit list H2 ip host 1.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands IGMP Snooping Configuration Commands This section describes the commands you use to configure IGMP snooping. HP Moonshot Switch Module software supports IGMP Versions 1, 2, and 3. The IGMP snooping feature can help conserve bandwidth because it allows the switch to forward IP multicast traffic only to connected hosts that request multicast traffic. IGMPv3 adds source filtering capabilities to IGMP versions 1 and 2.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands no set igmp This command disables IGMP Snooping on the system, an interface, a range of interfaces, or a VLAN. Format no set igmp vlan_id Mode VLAN Config Format no set igmp [vlan_id] Mode • Global Config • Interface Config set igmp interfacemode This command enables IGMP Snooping on all interfaces.
HP Moonshot Switch Module CLI Command Reference Default disabled Format set igmp fast-leave Mode Interface Config IGMP Snooping Configuration Commands no set igmp fast-leave This command disables IGMP Snooping fast-leave admin mode on a selected interface.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands set igmp header-validation This command administratively enables IGMP header validation. When enabled, the switch validates the IP header checksum and the IGMP header checksum. If checksum errors exist, the frame is discarded. Default Enabled Format set igmp header-validation Mode Global Config no set igmp header-validation This command administratively disables IGMP header validation.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands set igmp mcrtrexpiretime This command sets the Multicast Router Present Expiration time. The time is set for the system, on a particular interface or VLAN, or on a range of interfaces. This is the amount of time in seconds that a switch waits for a query to be received on an interface before the interface is removed from the list of interfaces with multicast routers attached. The range is 0 to 3600 seconds.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands set igmp mrouter interface This command configures the interface or range of interfaces as a multicast router interface. When configured as a multicast router interface, the interface is treated as a multicast router interface in all VLANs.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands no set igmp report-suppression Use this command to return the system to the default. Format no set igmp report-suppression Mode VLAN Config show igmpsnooping This command displays IGMP Snooping information for a given unit/slot/port or VLAN. Configured information is displayed whether or not IGMP Snooping is enabled.
IGMP Snooping Configuration Commands HP Moonshot Switch Module CLI Command Reference When you specify a value for vlan_id, the following information appears: Term Definition VLAN ID IGMP Snooping Admin Mode Fast Leave Mode Group Membership Interval (secs) The VLAN ID. Indicates whether IGMP Snooping is active on the VLAN. Indicates whether IGMP Snooping Fast-leave is active on the VLAN.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Configuration Commands show igmpsnooping mrouter vlan This command displays information about statically configured ports. Format show igmpsnooping mrouter vlan unit/slot/port Mode Privileged EXEC Term Definition Interface VLAN ID The port on which multicast router information is being displayed. The list of VLANs of which the interface is a member.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Querier Commands IGMP Snooping Querier Commands IGMP Snooping requires that one central switch or router periodically query all end-devices on the network to announce their multicast memberships. This central device is the “IGMP Querier”. The IGMP query responses, known as IGMP reports, keep the switch updated with the current multicast group membership on a port-byport basis.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Querier Commands no set igmp querier Use this command to disable IGMP Snooping Querier on the system. Format no set igmp querier [vlan-id] Mode VLAN Database Format no set igmp querier Mode Global Config set igmp querier query-interval Use this command to set the IGMP Querier Query Interval time. It is the amount of time in seconds that the switch waits before sending another general query.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Querier Commands set igmp querier version Use this command to set the IGMP version of the query that the snooping switch is going to send periodically. Default 1 Format set igmp querier version 1-2 Mode Global Config no set igmp querier version Use this command to set the IGMP Querier version to its default value.
HP Moonshot Switch Module CLI Command Reference IGMP Snooping Querier Commands When the optional parameters are not used, the command displays the following information. Field Description IGMP Snooping The administrative mode of IGMP Snooping Querier on the switch. Querier Mode Querier Address The IP address which will be used in the IPv4 header while sending out IGMP queries. It can be configured using the appropriate command.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands MLD Snooping Commands This section describes commands used for MLD Snooping. In IPv4, Layer 2 switches can use IGMP Snooping to limit the flooding of multicast traffic by dynamically configuring Layer 2 interfaces so that multicast traffic is forwarded only to those interfaces associated with IP multicast addresses. In IPv6, MLD Snooping performs a similar function.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands no set mld Use this command to disable MLD Snooping on the system. Format no set mld vlanid Mode VLAN Mode Format no set mld Mode • Global Config • Interface Config set mld interfacemode Use this command to enable MLD Snooping on all interfaces.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands Note: Fast-leave processing is supported only with MLD version 1 hosts. Default disabled Format set mld fast-leave vlanid Mode VLAN Mode Default disabled Format set mld fast-leave Mode Interface Config no set mld fast-leave Use this command to disable MLD Snooping fast-leave admin mode on a selected interface.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands no set groupmembership-interval Use this command to set the MLDv2 Group Membership Interval time to the default value. Format no set mld groupmembership-interval vlanid Mode VLAN Mode Format no set mld groupmembership-interval Mode • Interface Config • Global Config set mld maxresponse Use this command to set the MLD Maximum Response time for the system, on a particular interface or VLAN.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands set mld mcrtexpiretime Use this command to set the Multicast Router Present Expiration time. The time is set for the system, on a particular interface or VLAN. This is the amount of time in seconds that a switch waits for a query to be received on an interface before the interface is removed from the list of interfaces with multicast routers attached. The range is 0 to 3600 seconds. A value of 0 indicates an infinite timeout, i.e.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands set mld mrouter interface Use this command to configure the interface as a multicast router-attached interface. When configured as a multicast router interface, the interface is treated as a multicast router-attached interface in all VLANs.
HP Moonshot Switch Module CLI Command Reference Term MLD Snooping Commands Definition Group Membership Interval Shows the amount of time in seconds that a switch will wait for a report from a particular group on a particular interface, which is participating in the VLAN, before deleting the interface from the entry. This value may be configured.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands show mldsnooping ssm entries Use this command to display the source specific multicast forwarding database built by MLD snooping. A given {Source, Group, VLAN} combination can have few interfaces in INCLUDE mode and few interfaces in EXCLUDE mode. In such instances, two rows for the same {Source, Group, VLAN} combinations are displayed.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Commands show mldsnooping ssm groups Use this command to display the MLD SSM group membership information. Format show mldsnooping ssm groups Mode Privileged EXEC Term Definition VLAN Group Interface Reporter Source Filter Mode Source Address List VLAN on which the MLD v2 report is received. The IPv6 multicast group address. The interface on which the MLD v2 report is received. The IPv6 address of the host that sent the MLDv2 report.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Querier Commands MLD Snooping Querier Commands In an IPv6 environment, MLD Snooping requires that one central switch or router periodically query all enddevices on the network to announce their multicast memberships. This central device is the MLD Querier. The MLD query responses, known as MLD reports, keep the switch updated with the current multicast group membership on a port-by-port basis.
HP Moonshot Switch Module CLI Command Reference Format no set mld querier [address] Mode Global Config MLD Snooping Querier Commands set mld querier query_interval Use this command to set the MLD Querier Query Interval time. It is the amount of time in seconds that the switch waits before sending another general query.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Querier Commands set mld querier election participate Use this command to enable the Snooping Querier to participate in the Querier Election process when it discovers the presence of another Querier in the VLAN. When this mode is enabled, if the Snooping Querier finds that the other Querier’s source address is better (less) than the Snooping Querier’s address, it stops sending periodic queries.
HP Moonshot Switch Module CLI Command Reference MLD Snooping Querier Commands When you specify a value for vlanid, the following information appears. Field Description MLD Snooping Qurerier VLAN Mode Querier Election Participate Mode Querier VLAN Address Operational State Operational Version The administrative mode of the MLD snooping querier on the VLAN. Indicates whether the MLD Snooping Querier participates in querier election if it discovers the presence of a querier in the VLAN.
HP Moonshot Switch Module CLI Command Reference Port Security Commands Port Security Commands This section describes the command you use to configure Port Security on the switch. Port security, which is also known as port MAC locking, allows you to secure the network by locking allowable MAC addresses on a given port. Packets with a matching source MAC address are forwarded normally, and all other packets are discarded.
HP Moonshot Switch Module CLI Command Reference Port Security Commands no port-security max-dynamic This command resets the maximum number of dynamically locked MAC addresses allowed on a specific port to its default value. Format no port-security max-dynamic Mode Interface Config port-security max-static This command sets the maximum number of statically locked MAC addresses allowed on a port. The valid range is 0–20.
HP Moonshot Switch Module CLI Command Reference Port Security Commands port-security mac-address move This command converts dynamically locked MAC addresses to statically locked addresses for an interface or range of interfaces. Format port-security mac-address move Mode Interface Config port-security mac-address sticky This command enables sticky mode Port MAC Locking on a port.
Port Security Commands HP Moonshot Switch Module CLI Command Reference show port-security This command displays the port-security settings for the port(s). If you do not use a parameter, the command displays the Port Security Administrative mode. Use the optional parameters to display the settings on a specific interface or on all interfaces. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface.
Port Security Commands HP Moonshot Switch Module CLI Command Reference show port-security dynamic This command displays the dynamically locked MAC addresses for the port. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
HP Moonshot Switch Module CLI Command Reference Port Security Commands show port-security violation This command displays the source MAC address of the last packet discarded on a locked port. Instead of unit/ slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
LLDP (802.1AB) Commands HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands This section describes the command you use to configure Link Layer Discovery Protocol (LLDP), which is defined in the IEEE 802.1AB specification. LLDP allows stations on an 802 LAN to advertise major capabilities and physical descriptions. The advertisements allow a network management system (NMS) to access and display this information.
HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands lldp timers Use this command to set the timing parameters for local data transmission on ports enabled for LLDP. The interval-seconds determines the number of seconds to wait between transmitting local data LLDPDUs. The range is 1-32768 seconds. The hold-value is the multiplier on the transmit interval that sets the TTL in local data LLDPDUs. The multiplier range is 2-10.
LLDP (802.1AB) Commands HP Moonshot Switch Module CLI Command Reference lldp transmit-mgmt Use this command to include transmission of the local system management address information in the LLDPDUs. This command ca be used to configure a single interface or a range of interfaces. Format lldp transmit-mgmt Mode Interface Config no lldp transmit-mgmt Use this command to include transmission of the local system management address information in the LLDPDUs.
HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands no lldp notification-interval Use this command to return the notification interval to the default value. Format no lldp notification-interval Mode Global Config clear lldp statistics Use this command to reset all LLDP statistics, including MED-related information.
HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands show lldp interface Use this command to display a summary of the current LLDP configuration for a specific interface or for all interfaces. Format show lldp interface {unit/slot/port | all} Mode Privileged Exec Term Definition Interface Link Transmit Receive Notify TLVs The interface in a unit/slot/port format. Shows whether the link is up or down. Shows whether the interface transmits LLDPDUs.
HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands The table contains the following column headings: Term Definition Interface Transmit Total Receive Total Discards Errors Ageouts The interface in unit/slot/port format. Total number of LLDP packets transmitted on the port. Total number of LLDP packets received on the port. Total number of LLDP frames discarded on the port for any reason. The number of invalid LLDP frames received on the port.
LLDP (802.1AB) Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands Term Definition Management Address For each interface on the remote device with an LLDP agent, lists the type of address the remote LLDP agent uses and specifies the address used to obtain information related to the device. The amount of time (in seconds) the remote device's information received in the LLDPDU should be treated as valid information.
HP Moonshot Switch Module CLI Command Reference LLDP (802.1AB) Commands show lldp local-device detail Use this command to display detailed information about the LLDP data a specific interface transmits. Format show lldp local-device detail unit/slot/port Mode Privileged EXEC Term Definition Interface Chassis ID Subtype Chassis ID Port ID Subtype Port ID System Name System Description The interface that sends the LLDPDU. The type of identification used in the Chassis ID field.
HP Moonshot Switch Module CLI Command Reference LLDP-MED Commands LLDP-MED Commands Link Layer Discovery Protocol - Media Endpoint Discovery (LLDP-MED) (ANSI-TIA-1057) provides an extension to the LLDP standard. Specifically, LLDP-MED provides extensions for network configuration and policy, device location, Power over Ethernet (PoE) management and inventory management. lldp med Use this command to enable MED on an interface or a range of interfaces.
HP Moonshot Switch Module CLI Command Reference LLDP-MED Commands lldp med transmit-tlv Use this command to specify which optional Type Length Values (TLVs) in the LLDP MED set will be transmitted in the Link Layer Discovery Protocol Data Units (LLDPDUs) from this interface or a range of interfaces. Default By default, the capabilities and network policy TLVs are included.
LLDP-MED Commands HP Moonshot Switch Module CLI Command Reference lldp med faststartrepeatcount Use this command to set the value of the fast start repeat count. [count] is the number of LLDP PDUs that will be transmitted when the product is enabled. The range is 1 to 10. Default 3 Format lldp med faststartrepeatcount [count] Mode Global Config no lldp med faststartrepeatcount Use this command to return to the factory default value.
LLDP-MED Commands HP Moonshot Switch Module CLI Command Reference show lldp med Use this command to display a summary of the current LLDP MED configuration. Format show lldp med Mode Privileged Exec Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Interface --------1/0/2 Link -----Up configMED operMED --------- -------Disabled Disabled TLV Codes: 0- Capabilities, 2- Location, 4- Extended Pd, LLDP-MED Commands ConfigNotify TLVsTx ------------ ----------Disabled 0,1 1- Network Policy 3- Extended PSE 5- Inventory (Routing) # show lldp med local-device detail Use this command to display detailed information about the LLDP MED data that a specific interface transmits.
HP Moonshot Switch Module CLI Command Reference LLDP-MED Commands Extended POE Device Type: pseDevice Extended POE PSE Available: 0.3 Watts Source: primary Priority: critical Extended POE PD Required: 0.2 Watts Source: local Priority: low show lldp med remote-device Use this command to display the summary information about remote devices that transmit current LLDP MED data to the system.
HP Moonshot Switch Module CLI Command Reference LLDP-MED Commands show lldp med remote-device detail Use this command to display detailed information about remote devices that transmit current LLDP MED data to an interface on the system. Format show lldp med remote-device detail unit/slot/port Mode Privileged EXEC Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands Source: primary Priority: critical Extended POE PD Required: 0.2 Watts Source: local Priority: low Denial of Service Commands This section describes the commands you use to configure Denial of Service (DoS) Control. HP Moonshot Switch Module software provides support for classifying and blocking specific types of Denial of Service attacks.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control all This command enables Denial of Service protection checks globally. Default disabled Format dos-control all Mode Global Config no dos-control all This command disables Denial of Service prevention checks globally. Format no dos-control all Mode Global Config dos-control firstfrag This command enables Minimum TCP Header Size Denial of Service protection.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control icmpv4 This command enables Maximum ICMP Packet Size Denial of Service protections and allows you to set a maximum size for ingress ICMP Echo Request (PING) packets. If the mode is enabled, Denial of Service prevention is active for this type of attack. If ping packets ingress having a size greater than the configured value, the packets will be dropped if the mode is enabled.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control icmpfrag This command enables ICMP Fragment Denial of Service protection. If the mode is enabled, Denial of Service prevention is active for this type of attack. If packets ingress having fragmented ICMP packets, the packets will be dropped if the mode is enabled.
Denial of Service Commands HP Moonshot Switch Module CLI Command Reference dos-control sipdip This command enables Source IP address = Destination IP address (SIP = DIP) Denial of Service protection. If the mode is enabled, Denial of Service prevention is active for this type of attack. If packets ingress with SIP = DIP, the packets will be dropped if the mode is enabled .
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control tcpfrag This command enables TCP Fragment Denial of Service protection. If the mode is enabled, Denial of Service prevention is active for this type of attack. If packets ingress having IP Fragment Offset equal to one (1), the packets will be dropped if the mode is enabled.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control tcpport This command enables TCP L4 source = destination port number (Source TCP Port = Destination TCP Port) Denial of Service protection. If the mode is enabled, Denial of Service prevention is active for this type of attack. If packets ingress with Source TCP Port = Destination TCP Port, the packets will be dropped if the mode is enabled.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control tcpflagseq This command enables TCP Flag and Sequence Denial of Service protections. If the mode is enabled, Denial of Service prevention is active for this type of attack.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control tcpsyn This command enables TCP SYN and L4 source = 0-1023 Denial of Service protection. If the mode is enabled, Denial of Service prevention is active for this type of attack. If packets ingress having TCP flag SYN set and an L4 source port from 0 to 1023, the packets will be dropped if the mode is enabled.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands dos-control tcpfinurgpsh This command enables TCP FIN and URG and PSH and SEQ = 0 checking Denial of Service protections. If the mode is enabled, Denial of Service prevention is active for this type of attack. If packets ingress having TCP FIN, URG, and PSH all set and TCP Sequence Number set to 0, the packets will be dropped if the mode is enabled.
HP Moonshot Switch Module CLI Command Reference Denial of Service Commands Term Definition TCP Port Mode The administrative mode of TCP Port DoS prevention. When enabled, this causes the switch to drop packets that have the TCP source port equal to the TCP destination port. The administrative mode of UDP Port DoS prevention. When enabled, this causes the switch to drop packets that have the UDP source port equal to the UDP destination port. The administrative mode of SIP=DIP DoS prevention.
HP Moonshot Switch Module CLI Command Reference MAC Database Commands MAC Database Commands This section describes the commands you use to configure and view information about the MAC databases. bridge aging-time This command configures the forwarding database address aging timeout in seconds. The seconds parameter must be within the range of 10 to 1,000,000 seconds.
HP Moonshot Switch Module CLI Command Reference MAC Database Commands show mac-address-table multicast This command displays the Multicast Forwarding Database (MFDB) information. If you enter the command with no parameter, the entire table is displayed. You can display the table entry for one MAC Address by specifying the MAC address as an optional parameter.
HP Moonshot Switch Module CLI Command Reference MAC Database Commands show mac-address-table stats This command displays the Multicast Forwarding Database (MFDB) statistics. Format show mac-address-table stats Mode Privileged EXEC Term Definition Total Entries The total number of entries that can possibly be in the Multicast Forwarding Database table. Most MFDB The largest number of entries that have been present in the Multicast Forwarding Database Entries Ever Used table.
HP Moonshot Switch Module CLI Command Reference ISDP Commands ISDP Commands This section describes the commands you use to configure the industry standard Discovery Protocol (ISDP). isdp run This command enables ISDP on the switch. Default Enabled Format isdp run Mode Global Config no isdp run This command disables ISDP on the switch. Format no isdp run Mode Global Config isdp holdtime This command configures the hold time for ISDP packets that the switch transmits.
HP Moonshot Switch Module CLI Command Reference ISDP Commands isdp advertise-v2 This command enables the sending of ISDP version 2 packets from the device. Default Enabled Format isdp advertise-v2 Mode Global Config no isdp advertise-v2 This command disables the sending of ISDP version 2 packets from the device. Format no isdp advertise-v2 Mode Global Config isdp enable This command enables ISDP on an interface or range of interfaces.
HP Moonshot Switch Module CLI Command Reference ISDP Commands clear isdp table This command clears entries in the ISDP table. Format clear isdp table Mode Privileged EXEC show isdp This command displays global ISDP settings. Format show isdp Mode Privileged EXEC Term Definition Timer Hold Time The frequency with which this device sends ISDP packets. This value is given in seconds. The length of time the receiving device should save information sent by this device.
ISDP Commands HP Moonshot Switch Module CLI Command Reference Neighbors table time since last change......... Device ID...................................... Device ID format capability.................... Device ID format............................... 0 days 00:00:00 1114728 Serial Number, Host Name Serial Number show isdp interface This command displays ISDP settings for the specified interface.
HP Moonshot Switch Module CLI Command Reference ISDP Commands show isdp entry This command displays ISDP entries. If the device id is specified, then only entries for that device are shown. Format show isdp entry {all | deviceid} Mode Privileged EXEC Term Definition Device ID IP Addresses Capability Platform Interface Port ID Hold Time Version Advertisement Version Entry Last Changed Time The device ID associated with the neighbor which advertised the information.
ISDP Commands HP Moonshot Switch Module CLI Command Reference show isdp neighbors This command displays the list of neighboring devices. Format show isdp neighbors [{unit/slot/port | detail}] Mode Privileged EXEC Term Definition Device ID IP Addresses Capability Platform Interface Port ID Hold Time Advertisement Version Entry Last Changed Time Version The device ID associated with the neighbor which advertised the information. The IP addresses associated with the neighbor.
ISDP Commands HP Moonshot Switch Module CLI Command Reference show isdp traffic This command displays ISDP statistics.
HP Moonshot Switch Module CLI Command Reference UniDirectional Link Detection Commands UniDirectional Link Detection Commands The purpose of the UniDirectional Link Detection (UDLD) feature is to detect and avoid unidirectional links. A unidirectional link is a forwarding anomaly in a Layer 2 communication channel in which a bi-directional link stops passing traffic in one direction. Use the UDLD commands to detect unidirectional links’ physical ports.
HP Moonshot Switch Module CLI Command Reference UniDirectional Link Detection Commands udld reset This command resets all interfaces that have been shutdown by UDLD. Default None Format udld reset Mode Privileged EXEC udld enable (Interface Config) This command enables UDLD on the specified interface. Default disable Format udld enable Mode Interface Config no udld enable (Interface Config) This command disables UDLD on the specified interface.
HP Moonshot Switch Module CLI Command Reference UniDirectional Link Detection Commands show udld This command displays the global settings of UDLD. Format show udld Mode • User EXEC • Privileged EXEC If no optional parameters are entered, the information in the following table displays. Parameter Description Admin Mode The global administrative mode of UDLD. Message Interval The time period (in seconds) between the transmission of UDLD probe packets.
HP Moonshot Switch Module CLI Command Reference UniDirectional Link Detection Commands show udld unit/slot/port This command displays the UDLD settings for the specified unit/slot/port. If the all keyword is entered, it displays information for all ports. Format show udld {unit/slot/port | all} Mode • User EXEC • Privileged EXEC Parameter Description Port Admin Mode UDLD Mode The port for which UDLD information is displayed. The administrative mode of UDLD on the port.
HP Moonshot Switch Module CLI Command Reference UniDirectional Link Detection Commands Example: The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference Priority-Based Flow Control Commands Priority-Based Flow Control Commands Ordinarily, when flow control is enabled on a physical link, it applies to all traffic on the link. When congestion occurs, the hardware sends pause frames that temporarily suspend traffic flow. Pausing traffic helps prevent buffer overflow and dropped frames.
HP Moonshot Switch Module CLI Command Reference Parameter Description on off Enable PFC on the interface. Disable PFC on the interface. Priority-Based Flow Control Commands Example: The following example enables PFC on an interface. (Routing) (Config)#interface 1/0/3 (Routing) (Interface 1/0/3)#datacenter-bridging (Routing) (config-if-dcb)#priority-flow-control mode on no priority-flow-control mode Use the no priority-flow-control mode command to return the PFC mode to the default (off).
HP Moonshot Switch Module CLI Command Reference Priority-Based Flow Control Commands no priority-flow-control priority Use the no priority-flow-control priority command in Datacenter-Bridging Config mode to enable lossy behavior on all priorities on the interface. This has no effect on interfaces not enabled for PFC or with no lossless priorities configured.
HP Moonshot Switch Module CLI Command Reference Priority-Based Flow Control Commands When no interface number is provide, the following information displays for all interfaces. Parameter Description Interface Detail Operational Status Configured State Configured Drop Priorities Configured No-Drop Priorities The port for which data is displayed. The operational status of the interface. The administrative mode of PFC on the interface. The 802.
HP Moonshot Switch Module CLI Command Reference Priority -------0 1 2 3 4 5 6 7 Received PFC frames ------------------0 0 0 0 0 0 0 0 Received PFC Frames: Transmitted PFC Frames: September 2014 Priority-Based Flow Control Commands Transmitted PFC Frames ---------------------0 0 0 0 0 0 0 0 0 0 CLI Command Reference Page 499
Routing Commands HP Moonshot Switch Module CLI Command Reference Section 7: Routing Commands This chapter describes the routing commands available in the HP Moonshot Switch Module CLI.
HP Moonshot Switch Module CLI Command Reference Address Resolution Protocol Commands Address Resolution Protocol Commands This section describes the commands you use to configure Address Resolution Protocol (ARP) and to view ARP information on the switch. ARP associates IP addresses with MAC addresses and stores the information as ARP entries in the ARP cache. arp This command creates an ARP entry.
HP Moonshot Switch Module CLI Command Reference Address Resolution Protocol Commands no ip proxy-arp This command disables proxy ARP on a router interface. Format no ip proxy-arp Mode Interface Config ip local-proxy-arp Use this command to allow an interface to respond to ARP requests for IP addresses within the subnet and to forward traffic between hosts in the subnet.
HP Moonshot Switch Module CLI Command Reference Address Resolution Protocol Commands arp dynamicrenew This command enables the ARP component to automatically renew dynamic ARP entries when they age out. When an ARP entry reaches its maximum age, the system must decide whether to retain or delete the entry. If the entry has recently been used to forward data packets, the system will renew the entry by sending an ARP request to the neighbor.
HP Moonshot Switch Module CLI Command Reference Address Resolution Protocol Commands arp resptime This command configures the ARP request response timeout. The value for seconds is a valid positive integer, which represents the IP ARP entry response timeout time in seconds. The range for seconds is between 1-10 seconds. Default 1 Format arp resptime 1-10 Mode Global Config no arp resptime This command configures the default ARP request response timeout.
Address Resolution Protocol Commands HP Moonshot Switch Module CLI Command Reference arp timeout This command configures the ARP entry ageout time. The value for seconds is a valid positive integer, which represents the IP ARP entry ageout time in seconds. The range for seconds is between 15-21600 seconds. Default 1200 Format arp timeout 15-21600 Mode Global Config no arp timeout This command configures the default ARP entry ageout time.
HP Moonshot Switch Module CLI Command Reference Address Resolution Protocol Commands Term Definition Age Time (seconds) Response Time (seconds) Retries Cache Size Dynamic Renew Mode Total Entry Count Current / Peak Static Entry Count Current / Max The time it takes for an ARP entry to age out. This is configurable. Age time is measured in seconds. The time it takes for an ARP request timeout. This value is configurable. Response time is measured in seconds.
HP Moonshot Switch Module CLI Command Reference Term Address Resolution Protocol Commands Definition Total Entry Count The total entries in the ARP table and the peak entry count in the ARP table. Current / Peak Static Entry Count The static entry count in the ARP table and maximum static entry count in the ARP table. Current / Max show arp switch This command displays the contents of the switch’s Address Resolution Protocol (ARP) table.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands IP Routing Commands This section describes the commands you use to enable and configure IP routing on the switch. routing This command enables IPv4 and IPv6 routing for an interface or range of interfaces. You can view the current value for this function with the show ip brief command. The value is labeled as “Routing Mode.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands ip address This command configures an IP address on an interface or range of interfaces. You can also use this command to configure one or more secondary IP addresses on the interface. The command supports RFC 3021 and accepts using 31-bit prefixes on IPv4 point-to-point links. This command adds the label IP address in the command “show ip interface” on page 516. Note: The 31-bit subnet mask is only supported on routing interfaces.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands ip address dhcp This command enables the DHCPv4 client on an in-band interface so that it can acquire network information, such as the IP address, subnet mask, and default gateway, from a network DHCP server. When DHCP is enabled on the interface, the system automatically deletes all manually configured IPv4 addresses on the interface.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands no ip default-gateway This command removes the default gateway address from the configuration. Format no ip default-gateway ipaddr Mode Interface Config release dhcp Use this command to force the DHCPv4 client to release the leased address from the specified interface.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands ip route This command configures a static route. The ipaddr parameter is a valid IP address, and subnetmask is a valid subnet mask. The nexthopip parameter is a valid IP address of the next hop router. Specifying Null0 as nexthop parameter adds a static reject route.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands no ip route default This command deletes all configured default routes. If the optional nexthopip parameter is designated, the specific next hop is deleted from the configured default route and if the optional preference value is designated, the preference of the configured default route is reset to its default.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands no ip netdirbcast This command disables the forwarding of network-directed broadcasts. When disabled, network directed broadcasts are dropped. Format no ip netdirbcast Mode Interface Config ip mtu This command sets the IP Maximum Transmission Unit (MTU) on a routing interface or range of interfaces. The IP MTU is the size of the largest IP packet that can be transmitted on the interface without fragmentation.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands Note: Routed frames are always ethernet encapsulated when a frame is routed to a VLAN. show dhcp lease This command displays a list of IPv4 addresses currently leased from a DHCP server on a specific in-band interface or all in-band interfaces. This command does not apply to service or network ports.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference Term Definition ICMP Rate Limit Burst Size ICMP Echo Replies ICMP Redirects Shows the number of ICMPv4 error messages that can be sent during one burstinterval. The range is from 1 to 200 messages. The default value is 100 messages. Shows whether ICMP Echo Replies are enabled or disabled. Shows whether ICMP Redirects are enabled or disabled. Example: The following shows example CLI display output for the command.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference Term Definition Proxy ARP Local Proxy ARP Active State Displays whether Proxy ARP is enabled or disabled on the system. Displays whether Local Proxy ARP is enabled or disabled on the interface. Displays whether the interface is active or inactive. An interface is considered active if its link is up and it is in forwarding state. An integer representing the physical link data rate of the specified interface.
HP Moonshot Switch Module CLI Command Reference Forward Net Directed Broadcasts.......... Active State............................. Link Speed Data Rate..................... MAC address.............................. Encapsulation Type....................... IP MTU................................... Bandwidth................................ Destination Unreachables................. ICMP Redirects........................... Interface Suppress Status................ DHCP Client Identifier...................
HP Moonshot Switch Module CLI Command Reference Parameter IP Routing Commands Description OSPFv2 Section: Routing Protocol Router ID OSPF Admin Mode Maximum Paths Routing for Networks Distance Default Route Advertise Always OSPFv2. The router ID configured for OSPFv2. Whether OSPF is enabled or disabled globally. The maximum number of next hops in an OSPF route. The address ranges configured with an OSPF network command.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command. (Router) #show ip protocols Routing Protocol.......................... Router ID................................. OSPF Admin Mode........................... Maximum Paths............................. Routing for Networks...................... OSPFv2 6.6.6.6 Enable 32 172.24.0.0 0.0.255.255 area 0 10.0.0.0 0.255.255.255 area 1 192.168.75.0 0.0.0.255 area 2 Distance..
HP Moonshot Switch Module CLI Command Reference IP Routing Commands show ip route This command displays the routing table. The ip-address specifies the network for which the route is to be displayed and displays the best matching best-route for the address. The mask specifies the subnet mask for the given ip-address. When you use the longer-prefixes keyword, the ip-address and mask pair becomes the prefix, and the command displays the routes to the addresses that match that prefix.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference Term Definition RouteTimestamp The last updated time for dynamic routes. The format of Route-Timestamp will be • Days:Hours:Minutes if days > = 1 • Hours:Minutes:Seconds if days < 1 The outgoing router interface to use when forwarding traffic to the next destination. For reject routes, the next hop interface would be Null0 interface.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands show ip route ecmp-groups This command reports all current ECMP groups in the IPv4 routing table. An ECMP group is a set of two or more next hops used in one or more routes. The groups are numbered arbitrarily from 1 to n. The output indicates the number of next hops in the group and the number of routes that use the set of next hops. The output lists the IPv4 address and outgoing interface of each next hop in each group.
HP Moonshot Switch Module CLI Command Reference IP Routing Commands show ip route summary This command displays a summary of the state of the routing table. When the optional all keyword is given, some statistics, such as the number of routes from each source, include counts for alternate routes. An alternate route is a route that is not the most preferred route to its destination and therefore is not installed in the forwarding table.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference Term Definition Reserved Locals The number of routing table entries reserved for a local subnet on a routing interface that is down. Space for local routes is always reserved so that local routes can be installed when a routing interface bounces. Unique Next The number of distinct next hops used among all routes currently in the routing table.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference ECMP Retries................................... Routes with 1 Next Hop......................... Routes with 2 Next Hops........................ Routes with 4 Next Hops........................ 0 31 1 1000 clear ip route counters The command resets to zero the IPv4 routing table counters reported in the command “show ip route summary” on page 524. The command only resets event counters.
IP Routing Commands HP Moonshot Switch Module CLI Command Reference show ip stats This command displays IP statistical information. Refer to RFC 1213 for more information about the fields that are displayed. Format show ip stats Modes • Privileged EXEC • User EXEC show routing heap summary This command displays a summary of the memory allocation from the routing heap. The routing heap is a chunk of memory set aside when the system boots for use by the routing applications.
HP Moonshot Switch Module CLI Command Reference Router Discovery Protocol Commands Router Discovery Protocol Commands This section describes the commands you use to view and configure Router Discovery Protocol settings on the switch. The Router Discovery Protocol enables a host to discover the IP address of routers on the subnet. ip irdp This command enables Router Discovery on an interface or range of interfaces.
HP Moonshot Switch Module CLI Command Reference Router Discovery Protocol Commands ip irdp holdtime This command configures the value, in seconds, of the holdtime field of the router advertisement sent from this interface. The holdtime range is the value of 4 to 9000 seconds. Default 1800 Format ip irdp holdtime 4-9000 Mode Interface Config no ip irdp holdtime This command configures the default value, in seconds, of the holdtime field of the router advertisement sent from this interface.
HP Moonshot Switch Module CLI Command Reference Router Discovery Protocol Commands no ip irdp minadvertinterval This command sets the default minimum time to the default. Format no ip irdp minadvertinterval Mode Interface Config ip irdp multicast This command configures the destination IP address for router advertisements as 224.0.0.1, which is the default address. The no form of the command configures the IP address as 255.255.255.
HP Moonshot Switch Module CLI Command Reference Router Discovery Protocol Commands show ip irdp This command displays the router discovery information for all interfaces, a specified interface, or specified VLAN. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of in a unit/slot/port format.
HP Moonshot Switch Module CLI Command Reference Virtual LAN Routing Commands Virtual LAN Routing Commands This section describes the commands you use to view and configure VLAN routing and to view VLAN routing status information. vlan routing This command enables routing on a VLAN. The vlanid value has a range from 1 to 4093. The [interface ID] value has a range from 1 to 128. Typically, you will not supply the interface ID argument, and the system automatically selects the interface ID.
HP Moonshot Switch Module CLI Command Reference VLAN ID ------144 222 Logical Interface -------------0/4/44 0/4/1 IP Address --------------0.0.0.0 0.0.0.0 Virtual LAN Routing Commands Subnet Mask --------------0.0.0.0 0.0.0.0 Example: In Example 3, you select an interface ID that is already in use. In this case, the CLI displays an error message and does not create the VLAN interface.
HP Moonshot Switch Module CLI Command Reference Virtual LAN Routing Commands Term Definition MAC Address used by Routing VLANs VLAN ID Logical Interface IP Address Subnet Mask The MAC Address associated with the internal bridge-router interface (IBRI). The same MAC Address is used by all VLAN routing interfaces. It will be displayed above the per-VLAN information. The identifier of the VLAN. The logical unit/slot/port associated with the VLAN routing interface. The IP address associated with this VLAN.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands Virtual Router Redundancy Protocol Commands This section describes the commands you use to view and configure Virtual Router Redundancy Protocol (VRRP) and to view VRRP status information. VRRP helps provide failover and load balancing when you configure two devices as a VRRP pair. ip vrrp (Global Config) Use this command in Global Config mode to enable the administrative mode of VRRP on the router.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands ip vrrp mode This command enables the virtual router configured on the specified interface. Enabling the status field starts a virtual router. The parameter vrid is the virtual router ID which has an integer value ranging from 1 to 255. Default disabled Format ip vrrp vrid mode Mode Interface Config no ip vrrp mode This command disables the virtual router configured on the specified interface.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands ip vrrp accept-mode Use this command to allow the VRRP Master to accept ping packets sent to one of the virtual router's IP addresses. Note: VRRP accept-mode allows only ICMP Echo Request packets. No other type of packet is allowed to be delivered to a VRRP address.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands ip vrrp preempt This command sets the preemption mode value for the virtual router configured on a specified interface or range of interfaces. The parameter vrid is the virtual router ID, which is an integer from 1 to 255.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands ip vrrp timers advertise This command sets the frequency, in seconds, that an interface or range of interfaces on the specified virtual router sends a virtual router advertisement. Default 1 Format ip vrrp vrid timers advertise 1-255 Mode Interface Config no ip vrrp timers advertise This command sets the default virtual router advertisement value for an interface or range of interfaces.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands no ip vrrp track interface Use this command to remove the interface or range of interfaces from the tracked list or to restore the priority decrement to its default. Format no ip vrrp vrid track interface {unit/slot/port|vlan 1-4093} [decrement] Mode Interface Config ip vrrp track ip route Use this command to track the route reachability on an interface or range of interfaces.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands show ip vrrp interface stats This command displays the statistical information about each virtual router configured on the switch. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of a unit/slot/port format.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands show ip vrrp This command displays whether VRRP functionality is enabled or disabled on the switch. It also displays some global parameters which are required for monitoring. This command takes no options. Format show ip vrrp Modes • Privileged EXEC • User EXEC Term Definition VRRP Admin Mode Router Checksum Errors Router Version Errors The administrative mode for VRRP functionality on the switch.
HP Moonshot Switch Module CLI Command Reference Virtual Router Redundancy Protocol Commands Example: The following shows example CLI display output for the command. show ip vrrp interface vrid Primary IP Address............................. 1.1.1.5 VMAC Address................................... 00:00:5e:00:01:01 Authentication Type............................ None Priority....................................... 80 Configured priority.......................... 100 Advertisement Interval (secs)....
HP Moonshot Switch Module CLI Command Reference DHCP and BOOTP Relay Commands DHCP and BOOTP Relay Commands This section describes the commands you use to configure BootP/DHCP Relay on the switch. A DHCP relay agent operates at Layer 3 and forwards DHCP requests and replies between clients and servers when they are not on the same physical subnet. bootpdhcprelay cidoptmode This command enables the circuit ID option mode for BootP/DHCP Relay on the system.
HP Moonshot Switch Module CLI Command Reference DHCP and BOOTP Relay Commands bootpdhcprelay minwaittime This command configures the minimum wait time in seconds for BootP/DHCP Relay on the system. When the BOOTP relay agent receives a BOOTREQUEST message, it MAY use the seconds-since-client-began-booting field of the request as a factor in deciding whether to relay the request or not. The parameter has a range of 0 to 100 seconds.
IP Helper Commands HP Moonshot Switch Module CLI Command Reference IP Helper Commands This section describes the commands to configure and monitor the IP Helper agent. IP Helper relays DHCP and other broadcast UDP packets from a local client to one or more servers which are not on the same network at the client. The IP Helper feature provides a mechanism that allows a router to forward certain configured UDP broadcast packets to a particular IP address.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands The relay agent relays DHCP packets in both directions. It relays broadcast packets from the client to one or more DHCP servers, and relays to the client packets that the DHCP server unicasts back to the relay agent. For other protocols, the relay agent only relays broadcast packets from the client to the server. Packets from the server back to the client are assumed to be unicast directly to the client.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands ip helper-address (Global Config) Use this command to configure the relay of certain UDP broadcast packets received on any interface. This command can be invoked multiple times, either to specify multiple server addresses for a given UDP port number or to specify multiple UDP port numbers handled by a specific server. Default No helper addresses are configured.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands no ip helper-address (Global Config) Use the no form of the command to delete an IP helper entry. The command no ip helper-address with no arguments clears all global IP helper addresses.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands Parameter Description port-name The destination UDP port may be optionally specified by its name. Whether a port is specified by its number or its name has no effect on behavior.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands no ip helper-address (Interface Config) Use this command to delete a relay entry on an interface. The no command with no arguments clears all helper addresses on the interface.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands show ip helper-address Use this command to display the IP helper address configuration. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of a unit/slot/port format.
HP Moonshot Switch Module CLI Command Reference IP Helper Commands show ip helper statistics Use this command to display the number of DHCP and other UDP packets processed and relayed by the UDP relay agent. Format show ip helper statistics Mode Privileged EXEC Parameter Description DHCP client messages The number of valid messages received from a DHCP client.
IP Helper Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command. (Routing)#show ip helper statistics DHCP client messages received.................. DHCP client messages relayed................... DHCP server messages received.................. DHCP server messages relayed................... UDP client messages received................... UDP client messages relayed.................... DHCP message hop count exceeded max...........
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Open Shortest Path First Commands This section describes the commands you use to view and configure Open Shortest Path First (OSPF), which is a link-state routing protocol that you use to route traffic within a network.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands network area (OSPF) Use this command to enable OSPFv2 on an interface and set its area ID if the IP address of an interface is covered by this network command. Default disabled Format network ip-address wildcard-mask area area-id Mode Router OSPF Config no network area (OSPF) Use this command to disable the OSPFv2 on a interface if the IP address of an interface was earlier covered by this network command.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands area nssa (OSPF) This command configures the specified areaid to function as an NSSA. Format area areaid nssa Mode Router OSPF Config no area nssa This command disables nssa from the specified area id. Format no area areaid nssa Mode Router OSPF Config area nssa default-info-originate (OSPF) This command configures the metric value and type for the default route advertised into the NSSA.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no area nssa no-redistribute (OSPF) This command disables the NSSA ABR so that learned external routes are redistributed to the NSSA. Format no area areaid nssa no-redistribute Mode Router OSPF Config area nssa no-summary (OSPF) This command configures the NSSA so that summary LSAs are not advertised into the NSSA.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands area nssa translator-stab-intv (OSPF) This command configures the translator stabilityinterval of the NSSA. The stabilityinterval is the period of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Parameter Description cost [Optional] If an optional cost is given, OSPF sets the metric field in the summary LSA to the configured value rather than setting the metric to the largest cost among the networks covered by the area range. A static cost may only be configured if the area range is configured to advertise the summary. The range is 0 to 16,777,215.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands area stub (OSPF) This command creates a stub area for the specified area ID. A stub area is characterized by the fact that AS External LSAs are not propagated into the area. Removing AS External LSAs and Summary LSAs can significantly reduce the link state database of routers within the stub area. Format area areaid stub Mode Router OSPF Config no area stub This command deletes a stub area for the specified area ID.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no area virtual-link This command deletes the OSPF virtual interface from the given interface, identified by areaid and neighbor. The neighbor parameter is the Router ID of the neighbor. Format no area areaid virtual-link neighbor Mode Router OSPF Config area virtual-link authentication This command configures the authentication type and key for the OSPF virtual interface identified by areaid and neighbor.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no area virtual-link dead-interval This command configures the default dead interval for the OSPF virtual interface on the virtual interface identified by areaid and neighbor. The neighbor parameter is the Router ID of the neighbor.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands area virtual-link transmit-delay (OSPF) This command configures the transmit delay for the OSPF virtual interface on the virtual interface identified by areaid and neighbor. The neighbor parameter is the Router ID of the neighbor. The range for seconds is 0 to 3600 (1 hour).
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands capability opaque Use this command to enable Opaque Capability on the Router. The information contained in Opaque LSAs may be used directly by OSPF or indirectly by an application wishing to distribute information throughout the OSPF domain. The HP Moonshot Switch Module supports the storing and flooding of Opaque LSAs of different scopes. The default value of enabled means that OSPF will forward opaque LSAs by default.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands clear ip ospf neighbor Use this command to drop the adjacency with all OSPF neighbors. On each neighbor’s interface, send a oneway hello. Adjacencies may then be re-established. To drop all adjacencies with a specific router ID, specify the neighbor’s Router ID using the optional parameter [neighbor-id].
HP Moonshot Switch Module CLI Command Reference Format default-metric 1-16777214 Mode Router OSPF Config Open Shortest Path First Commands no default-metric (OSPF) This command is used to set a default for the metric of distributed routes. Format no default-metric Mode Router OSPF Config distance ospf (OSPF) This command sets the route preference value of OSPF in the router. Lower route preference values are preferred when determining the best route.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands exit-overflow-interval (OSPF) This command configures the exit overflow interval for OSPF. It describes the number of seconds after entering overflow state that a router will wait before attempting to leave the overflow state. This allows the router to again originate non-default AS-external-LSAs. When set to 0, the router will not leave overflow state until restarted. The range for seconds is 0 to 2147483647 seconds.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands log-adjacency-changes To enable logging of OSPFv2 neighbor state changes, use the log-adjacency-changes command in router configuration mode. State changes are logged with INFORMATIONAL severity. Default Adjacency state changes are logged, but without the detail option.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no redistribute This command configures OSPF protocol to prohibit redistribution of routes from the specified source protocol/routers. Format no redistribute {rip | static | connected} [metric] [metric-type] [tag] [subnets] Mode Router OSPF Config maximum-paths (OSPF) This command sets the number of paths that OSPF can report for a given destination where maxpaths is 1–4.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands passive-interface (OSPF) Use this command to set the interface as passive. It overrides the global passive mode that is currently effective on the interface. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of a unit/slot/ port format.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands timers pacing lsa-group To adjust how OSPF groups LSAs for periodic refresh, use the timers pacing lsa-group command in OSPFv2 Router Configuration mode. OSPF refreshes self-originated LSAs approximately once every 30 minutes. When OSPF refreshes LSAs, it considers all self-originated LSAs whose age is from 1800 to 1800 plus the pacing group size.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands trapflags (OSPF) Use this command to enable individual OSPF traps, enable a group of trap flags at a time, or enable all the trap flags at a time. The different groups of trapflags, and each group’s specific trapflags to enable or disable, are listed in Table 11.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no trapflags Use this command to revert to the default reference bandwidth. • To disable the individual flag, enter the group name followed by that particular flag. • To disable all the flags in that group, give the group name followed by all. • To disable all the flags, give the command as trapflags all.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands OSPF Interface Commands ip ospf area Use this command to enable OSPFv2 and set the area ID of an interface or range of interfaces. The area-id is an IP address formatted as a 4-digit dotted-decimal number or a decimal value in the range of 0-4294967295. This command supersedes the effects of the network area command.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands ip ospf authentication This command sets the OSPF Authentication Type and Key for the specified interface or range of interfaces. The value of type is either none, simple or encrypt. The key is composed of standard displayable, non-control keystrokes from a Standard 101/102-key keyboard. The authentication key must be 8 bytes or less if the authentication type is simple. If the type is encrypt, the key may be up to 16 bytes.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no ip ospf database-filter all out Use the no ip ospf database-filter all out command in Interface Configuration mode to enable OSPFv2 LSA flooding on an interface. Default Disabled Format ip ospf database-filter all out Mode Interface Configuration ip ospf dead-interval This command sets the OSPF dead interval for the specified interface or range of interfaces.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands ip ospf network Use this command to configure OSPF to treat an interface or range of interfaces as a point-to-point rather than broadcast interface. The broadcast option sets the OSPF network type to broadcast. The point-to-point option sets the OSPF network type to point-to-point. OSPF treats interfaces as broadcast interfaces by default. (Loopback interfaces have a special loopback network type, which cannot be changed.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands ip ospf retransmit-interval This command sets the OSPF retransmit Interval for the specified interface or range of interfaces. The retransmit interval is specified in seconds. The value for seconds is the number of seconds between link-state advertisement retransmissions for adjacencies belonging to this router interface. This value is also used when retransmitting database description and link-state request packets.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands ip ospf mtu-ignore This command disables OSPF maximum transmission unit (MTU) mismatch detection on an interface or range of interfaces. OSPF Database Description packets specify the size of the largest IP packet that can be sent without fragmentation on the interface. When a router receives a Database Description packet, it examines the MTU advertised by the neighbor.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands IP Event Dampening Commands dampening Use this command to enable IP event dampening on a routing interface. Format dampening [half-life period] [reuse-threshold suppress-threshold max-suppress-time [restart restart-penalty]] Mode Interface Config Parameter Description Half-life period The number of seconds it takes for the penalty to reduce by half. The configurable range is 1-30 seconds. Default value is 5 seconds.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference show interface dampening This command displays the status and configured parameters of the interfaces configured with dampening. Format show interface dampening Mode Privileged EXEC Parameter Description Flaps The number times the link state of an interface changed from UP to DOWN. Penalty Accumulated Penalty. Supp Indicates if the interface is suppressed or not.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands OSPF Graceful Restart Commands The OSPF protocol can be configured to participate in the checkpointing service, so that these protocols can execute a “graceful restart” when the management unit fails. In a graceful restart, the hardware to continues forwarding IPv4 packets using OSPF routes while a backup switch takes over management unit responsibility Graceful restart uses the concept of “helpful neighbors”.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands nsf restart-interval Use this command to configure the number of seconds that the restarting router asks its neighbors to wait before exiting helper mode. This is referred to as the grace period. The restarting router includes the grace period in its grace LSAs.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no nsf helper Use this command to disable helpful neighbor functionality for OSPF. Format no nsf helper Modes OSPF Router Configuration nsf ietf helper disable Use this command to disable helpful neighbor functionality for OSPF. Note: The commands no nsf helper and nsf ietf helper disable are functionally equivalent.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no nsf [ietf] helper strict-lsa-checking Use this command to allow OSPF to continue as a helpful neighbor in spite of topology changes. Default Enabled. Format nsf [ietf] helper strict-lsa-checking Modes OSPF Router Configuration OSPFv2 Stub Router Commands max-metric router-lsa To configure OSPF to enter stub router mode, use this command in Router OSPF Global Configuration mode.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands no max-metric router-lsa Use this command in OSPFv2 Router Configuration mode to disable stub router mode. The command clears either type of stub router mode (always or on-startup) and resets the summary-lsa option. If OSPF is configured to enter global configuration mode on startup, and during normal operation you want to immediately place OSPF in stub router mode, issue the command no max-metric router-lsa on-startup.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Term Definition Exit Overflow Interval Spf Delay Time The number of seconds that, after entering overflow state, a router will attempt to leave overflow state. The number of seconds between two subsequent changes of LSAs, during which time the routing table calculation is delayed. The number of seconds between two consecutive spf calculations.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Term Definition Stub Router Startup Time Remaining Stub Router Duration The remaining time, in seconds, until OSPF exits stub router mode. This row is only listed if OSPF is in startup stub router mode.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference Term Definition NSF Restart Age NSF Restart Exit Reason Number of seconds until the graceful restart grace period expires. Indicates why the router last exited the last restart: • None—Graceful restart has not been attempted. • In Progress—Restart is in progress. • Completed—The previous graceful restart completed successfully. • Timed Out—The previous graceful restart timed out.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference External LSA Count............................. External LSA Checksum.......................... AS_OPAQUE LSA Count............................ AS_OPAQUE LSA Checksum......................... New LSAs Originated............................ LSAs Received.................................. LSA Count...................................... Maximum Number of LSAs......................... LSA High Water Mark.........................
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands show ip ospf area This command displays information about the area. The areaid identifies the OSPF area that is being displayed. Format show ip ospf area areaid Modes • Privileged EXEC • User EXEC Term Definition AreaID The area id of the requested OSPF area. External Routing A number representing the external routing capabilities for this area.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command. (R1) #show ip ospf area 1 AreaID......................................... External Routing............................... Spf Runs....................................... Area Border Router Count....................... Area LSA Count................................. Area LSA Checksum.............................. Flood List Length.......................
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Parameter Description opaque-area opaque-as opaque-link router summary lsid Use opaque-area to display area opaque LSAs. Use opaque-as to display AS opaque LSAs. Use opaque-link to display link opaque LSAs. Use router to display router LSAs. Use summary to show the LSA database summary information. Use lsid to specify the link state ID (LSID).
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands show ip ospf database database-summary Use this command to display the number of each type of LSA in the database for each area and for the router. The command also displays the total number of LSAs in the database.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference Term Definition Router Priority Retransmit Interval Hello Interval Dead Interval LSA Ack Interval A number representing the OSPF Priority for the specified interface. A number representing the OSPF Retransmit Interval for the specified interface. A number representing the OSPF Hello Interval for the specified interface. A number representing the OSPF Dead Interval for the specified interface.
HP Moonshot Switch Module CLI Command Reference Authentication Type............................ Metric Cost.................................... Passive Status................................. OSPF Mtu-ignore................................ Flood Blocking................................. Open Shortest Path First Commands None 1 (computed) Non-passive interface Disable Disable OSPF is not enabled on this interface.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands show ip ospf interface stats This command displays the statistics for a specific interface. The information below will only be displayed if OSPF is enabled. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of a unit/slot/ port format.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Term Definition Authentication Failure The number of OSPF packets dropped because the sender is not an existing neighbor or the sender’s IP address does not match the previously recorded IP address for that neighbor. Note: This field applies only to OSPFv2.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands show ip ospf neighbor This command displays information about OSPF neighbors. If you do not specify a neighbor IP address, the output displays summary information in a table. If you specify an interface or tunnel, only the information for that interface or tunnel displays, if the interface is a physical routing interface and vlan format if the interface is a routing vlan.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands If you specify an IP address for the neighbor router, the following fields display: Term Definition Interface Neighbor IP Address Interface Index Area ID Options unit/slot/port The IP address of the neighbor router. Router Priority Dead Timer Due Up Time State Events Retransmitted LSAs Retransmission Queue Length Restart Helper Status The interface ID of the neighbor router.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands Term Definition Restart Helper Exit Reason Indicates the reason that the specified router last exited a graceful restart.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference Example: The following shows example CLI display output for the command. (R1) #show ip ospf range 0 Prefix 10.1.0.0 172.20.0.0 Subnet Mask 255.255.0.0 255.255.0.0 Type S S Action Advertise Advertise Cost Auto 500 Active N Y show ip ospf statistics This command displays information about recent Shortest Path First (SPF) calculations. The SPF is the OSPF routing table calculation.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference 00:05:15 00:05:11 00:04:50 00:04:46 00:03:42 00:03:39 00:03:36 00:01:28 00:01:25 00:01:22 00:01:19 00:01:16 0 0 0 0 0 0 0 0 0 0 0 0 10 0 60 90 70 70 60 60 30 0 0 0 0 0 0 0 10 40 60 50 50 40 20 0 10 0 60 100 90 120 130 130 110 50 20 0 0 0 460 60 160 240 160 240 310 260 190 110 R, R R, R, R X X X SN SN X R, N, SN N N X show ip ospf stub table This command displays the OSPF stub table.
Open Shortest Path First Commands HP Moonshot Switch Module CLI Command Reference Parameter Description OSPFv2 Packet Statistics LSAs Retransmitted LS Update Max Receive Rate LS Update Max Send Rate Number of LSAs Received OSPFv2 Queue Statistics The number of packets of each type sent and received since OSPF counters were last cleared. The number of LSAs retransmitted by this router since OSPF counters were last cleared.
HP Moonshot Switch Module CLI Command Reference Open Shortest Path First Commands show ip ospf virtual-link This command displays the OSPF Virtual Interface information for a specific area and neighbor. The areaid parameter identifies the area and the neighbor parameter identifies the neighbor's Router ID.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands Routing Information Protocol Commands This section describes the commands you use to view and configure Routing Information Protocol (RIP), which is a distance-vector routing protocol that you use to route traffic within a small network. router rip Use this command to enter Router RIP mode.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands auto-summary This command enables the RIP auto-summarization mode. Default disabled Format auto-summary Mode Router RIP Config no auto-summary This command disables the RIP auto-summarization mode. Format no auto-summary Mode Router RIP Config default-information originate (RIP) This command is used to control the advertisement of default routes.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands distance rip This command sets the route preference value of RIP in the router. Lower route preference values are preferred when determining the best route. A route with a preference of 255 cannot be used to forward traffic. Default 15 Format distance rip 1-255 Mode Router RIP Config no distance rip This command sets the default route preference value of RIP in the router.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands no ip rip authentication This command sets the default RIP Version 2 Authentication Type for an interface. Format no ip rip authentication Mode Interface Config ip rip receive version This command configures an interface or range of interfaces to allow RIP control packets of the specified version(s) to be received.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands hostroutesaccept This command enables the RIP hostroutesaccept mode. Default enabled Format hostroutesaccept Mode Router RIP Config no hostroutesaccept This command disables the RIP hostroutesaccept mode. Format no hostroutesaccept Mode Router RIP Config split-horizon This command sets the RIP split horizon mode.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands redistribute (RIP) This command configures RIP protocol to redistribute routes from the specified source protocol/routers. There are five possible match options. When you submit the command redistribute ospf match match-type the match-type or types specified are added to any match types presently being redistributed. Internal routes are redistributed by default.
HP Moonshot Switch Module CLI Command Reference Routing Information Protocol Commands show ip rip interface brief This command displays general information for each RIP interface. For this command to display successful results routing must be enabled per interface (i.e., ip rip). Format show ip rip interface brief Modes • Privileged EXEC • User EXEC Term Definition Interface IP Address Send Version unit/slot/port The IP source address used by the specified RIP interface.
HP Moonshot Switch Module CLI Command Reference ICMP Throttling Commands The following information will be invalid if the link state is down. Term Definition Bad Packets Received Bad Routes Received Updates Sent The number of RIP response packets received by the RIP process which were subsequently discarded for any reason. The number of routes contained in valid RIP packets that were ignored for any reason. The number of triggered RIP updates actually sent on this interface.
HP Moonshot Switch Module CLI Command Reference ICMP Throttling Commands no ip redirects Use this command to prevent the generation of ICMP Redirect messages by the router. Format no ip redirects Mode • Global Config • Interface Config ip icmp echo-reply Use this command to enable the generation of ICMP Echo Reply messages by the router. By default, the generation of ICMP Echo Reply messages is enabled.
HP Moonshot Switch Module CLI Command Reference Loopback Interface Commands no ip icmp error-interval Use the no form of the command to return burst-interval and burst-size to their default values. Format no ip icmp error-interval Mode Global Config Loopback Interface Commands The commands in this section describe how to create, delete, and manage loopback interfaces. A loopback interface is always expected to be up.
HP Moonshot Switch Module CLI Command Reference Loopback Interface Commands show interface loopback This command displays information about configured loopback interfaces. Format show interface loopback [loopback-id] Mode Privileged EXEC If you do not specify a loopback ID, the following information appears for each loopback interface on the system: Term Definition Loopback ID Interface IP Address The loopback ID associated with the rest of the information in the row. The interface name.
HP Moonshot Switch Module CLI Command Reference Quality of Service Commands Section 8: Quality of Service Commands This chapter describes the Quality of Service (QoS) commands available in the HP Moonshot Switch Module CLI.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands Class of Service Commands This section describes the commands you use to configure and view Class of Service (CoS) settings for the switch. The commands in this section allow you to control the priority and transmission rate of traffic. Note: Commands you issue in the Interface Config mode only affect a single interface. Commands you issue in the Global Config mode affect all interfaces.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands classofservice trust This command sets the class of service trust mode of an interface or range of interfaces. You can set the mode to trust one of the Dot1p (802.1p) or IP DSCP packet markings. You can also set the interface mode to untrusted. If you configure an interface to use Dot1p, the mode does not appear in the output of the show running config command because Dot1p is the default.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands cos-queue random-detect This command activates weighted random early discard (WRED) for each specified queue on the interface. Specific WRED parameters are configured using the random-detect queue-parms and the random-detect exponential-weighting-constant commands.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands no cos-queue strict This command restores the default weighted scheduler mode for each specified queue. Format no cos-queue strict queue-id-1 [queue-id-2 … queue-id-n] Modes • Global Config • Interface Config random-detect exponential-weighting-constant This command is used to configure the WRED decay exponent for a CoS queue interface.
HP Moonshot Switch Module CLI Command Reference Term Class of Service Commands Definition drop-probability The percentage probability that WRED will mark/drop a packet, when the queue depth is at the maximum threshold. (The drop probability increases linearly from 0 just before the minimum threshold, to this value at the maximum threshold, then goes to 100% for larger queue depths). no random-detect queue-parms Use this command to set the WRED configuration back to the default.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands The following information is repeated for each user priority. Term Definition User Priority Traffic Class The 802.1p user priority value. The traffic class internal queue identifier to which the user priority value is mapped. show classofservice ip-dscp-mapping This command displays the current IP DSCP mapping to internal traffic classes for the global configuration settings.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands show interfaces cos-queue This command displays the class-of-service queue configuration for the specified interface. The unit/slot/ port parameter is optional. If specified, the class-of-service queue configuration of the interface is displayed. If omitted, the most recent global configuration settings are displayed.
HP Moonshot Switch Module CLI Command Reference Class of Service Commands show interfaces random-detect This command displays the global WRED settings for each CoS queue. If you specify the unit/slot/port, the command displays the WRED settings for each CoS queue on the specified interface. Format show interfaces random-detect [unit/slot/port] Mode Privileged EXEC Term Definition Queue ID WRED Minimum Threshold An interface supports 8 queues numbered 0 to 7.
HP Moonshot Switch Module CLI Command Reference Differentiated Services Commands Differentiated Services Commands This section describes the commands you use to configure QOS Differentiated Services (DiffServ). You configure DiffServ in several stages by specifying three DiffServ components: 1. Class a. Creating and deleting classes. b. Defining match criteria for a class. 2. Policy a. Creating and deleting policies b. Associating classes with a policy c.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands diffserv This command sets the DiffServ operational mode to active. While disabled, the DiffServ configuration is retained and can be changed, but it is not activated. When enabled, DiffServ services are activated. Format diffserv Mode Global Config no diffserv This command sets the DiffServ operational mode to inactive. While disabled, the DiffServ configuration is retained and can be changed, but it is not activated.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands class-map This command defines a DiffServ class of type match-all. When used without any match condition, this command enters the class-map mode. The class-map-name is a case sensitive alphanumeric string from 1 to 31 characters uniquely identifying an existing DiffServ class. Note: The class-map-name 'default' is reserved and must not be used.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands match ethertype This command adds to the specified class definition a match condition based on the value of the ethertype. The ethertype value is specified as one of the following keywords: appletalk, arp, ibmsna, ipv4, ipv6, ipx, mplsmcast, mplsucast, netbios, novell, pppoe, rarp or as a custom EtherType value in the range of 0x06000xFFFF.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands Note: • The parameters refclassname and class-map-name can not be the same. • Only one other class may be referenced by a class. • Any attempts to delete the refclassname class while the class is still referenced by any class-mapname fails. • The combined match criteria of class-map-name and refclassname must be an allowed combination based on the class type.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands match secondary-cos This command adds to the specified class definition a match condition for the secondary Class of Service value (the inner 802.1Q tag of a double VLAN tagged packet). The value may be from 0 to 7.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands match dstl4port This command adds to the specified class definition a match condition based on the destination layer 4 port of a packet using a single keyword or numeric notation. To specify the match condition as a single keyword, the value for portkey is one of the supported port name keywords. The currently supported portkey values are: domain, echo, ftp, ftpdata, http, smtp, snmp, telnet, tftp, www.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands match ip precedence This command adds to the specified class definition a match condition based on the value of the IP Precedence field in a packet, which is defined as the high-order three bits of the Service Type octet in the IP header (the low-order five bits are not checked). The precedence value is an integer from 0 to 7.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands Note: This command does not validate the protocol number value against the current list defined by IANA. Default none Format match protocol {protocol-name | 0-255} Mode Class-Map Config Ipv6-Class-Map Config match source-address mac This command adds to the specified class definition a match condition based on the source MAC address of a packet.
HP Moonshot Switch Module CLI Command Reference DiffServ Class Commands match srcl4port This command adds to the specified class definition a match condition based on the source layer 4 port of a packet using a single keyword or numeric notation. To specify the match condition as a single keyword notation, the value for portkey is one of the supported port name keywords (listed below). The currently supported portkey values are: domain, echo, ftp, ftpdata, http, smtp, snmp, telnet, tftp, www.
HP Moonshot Switch Module CLI Command Reference DiffServ Policy Commands DiffServ Policy Commands Use the DiffServ policy commands to specify traffic conditioning actions, such as policing and marking, to apply to traffic classes Use the policy commands to associate a traffic class that you define by using the class command set with one or more QoS policy attributes. Assign the class/policy association to an interface to form a service. Specify the policy name when you create the policy.
HP Moonshot Switch Module CLI Command Reference DiffServ Policy Commands mirror This command specifies that all incoming packets for the associated traffic stream are copied to a specific egress interface (physical port or LAG). Format mirror unit/slot/port Mode Policy-Class-Map Config Incompatibilities Drop, Redirect redirect This command specifies that all incoming packets for the associated traffic stream are redirected to a specific egress interface (physical port or port-channel).
HP Moonshot Switch Module CLI Command Reference DiffServ Policy Commands class This command creates an instance of a class definition within the specified policy for the purpose of defining treatment of the traffic class through subsequent policy attribute statements. The classname is the name of an existing DiffServ class. Note: This command causes the specified policy to create a reference to the class definition.
HP Moonshot Switch Module CLI Command Reference DiffServ Policy Commands mark cos-as-sec-cos This command marks outer VLAN tag priority bits of all packets as the inner VLAN tag priority, marking Cos as Secondary CoS. This essentially means that the inner VLAN tag CoS is copied to the outer VLAN tag CoS. Format mark-cos-as-sec-cos Mode Policy-Class-Map Config Incompatibilities Drop, Mark IP DSCP, IP Precedence, Police Example: The following shows an example of the command.
HP Moonshot Switch Module CLI Command Reference DiffServ Policy Commands police-simple This command is used to establish the traffic policing style for the specified class. The simple form of the police command uses a single data rate and burst size, resulting in two outcomes: conform and violate. The conforming data rate is specified in kilobits-per-second (Kbps) and is an integer from 1 to 4294967295. The conforming burst size is specified in kilobytes (KB) and is an integer from 1 to 128.
HP Moonshot Switch Module CLI Command Reference DiffServ Policy Commands policy-map This command establishes a new DiffServ policy. The policyname parameter is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the policy. The type of policy is specific to the inbound traffic direction as indicated by the in parameter, or the outbound traffic direction as indicated by the out parameter, respectively.
HP Moonshot Switch Module CLI Command Reference DiffServ Service Commands DiffServ Service Commands Use the DiffServ service commands to assign a DiffServ traffic conditioning policy, which you specified by using the policy commands, to an interface in the incoming direction The service commands attach a defined policy to a directional interface. You can assign only one policy at any one time to an interface in the inbound direction. DiffServ is not used in the outbound direction.
HP Moonshot Switch Module CLI Command Reference DiffServ Show Commands no service-policy This command detaches a policy from an interface in the inbound direction as indicated by the in parameter, or the outbound direction as indicated by the out parameter, respectively. The policyname parameter is the name of an existing DiffServ policy. Note: This command causes a service to remove its reference to the policy.
HP Moonshot Switch Module CLI Command Reference Term Definition Values The values of the Match Criteria. DiffServ Show Commands If you do not specify the Class Name, this command displays a list of all defined DiffServ classes. The following fields are displayed: Term Definition Class Name The name of this class. (Note that the order in which classes are displayed is not necessarily the same order in which they were created.
HP Moonshot Switch Module CLI Command Reference DiffServ Show Commands show policy-map This command displays all configuration information for the specified policy. The policyname is the name of an existing DiffServ policy. Format show policy-map [policyname] Mode Privileged EXEC If the Policy Name is specified the following fields are displayed: Term Definition Policy Name Policy Type Class Members The name of this policy.
HP Moonshot Switch Module CLI Command Reference DiffServ Show Commands Term Definition Mark CoS The class of service value that is set in the 802.1p header of inbound packets. This is not displayed if the mark cos was not specified. The secondary 802.1p priority value (second/inner VLAN tag. Same as CoS (802.1p) marking, but the dot1p value used for remarking is picked from the dot1p value in the secondary (i.e. inner) tag of a double-tagged packet.
DiffServ Show Commands HP Moonshot Switch Module CLI Command Reference If the Policy Name is not specified this command displays a list of all defined DiffServ policies. The following fields are displayed: Term Definition Policy Name The name of this policy. (The order in which the policies are displayed is not necessarily the same order in which they were created.) The policy type (Only inbound is supported). List of all class names associated with this policy.
HP Moonshot Switch Module CLI Command Reference DiffServ Show Commands show diffserv service This command displays policy service information for the specified interface and direction. The unit/slot/port parameter specifies a valid unit/slot/port number for the system.
HP Moonshot Switch Module CLI Command Reference DiffServ Show Commands show policy-map interface This command displays policy-oriented statistics information for the specified interface and direction. The unit/slot/port parameter specifies a valid interface for the system. Instead of unit/slot/port, lag lag-intfnum can be used as an alternate way to specify the LAG interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.
HP Moonshot Switch Module CLI Command Reference Management Access Control List show service-policy This command displays a summary of policy-oriented statistics information for all interfaces in the specified direction.
HP Moonshot Switch Module CLI Command Reference Management Access Control List no management access-list This command deletes a management ACL identified by name from the system. Format no management access-list name Mode Global Config permit ip-source Use the permit ip-source command in Management Access-List Configuration mode to set permit conditions for the management access list based on the source IP address of a packet.
HP Moonshot Switch Module CLI Command Reference Management Access Control List permit priority Use the permit priority command in Management Access-List Configuration mode to assign a priority to the rule. Each rule should have a unique priority.
HP Moonshot Switch Module CLI Command Reference Management Access Control List deny priority Use the deny priority command in Management Access-List Configuration mode to assign a priority to the rule. Each rule should have a unique priority. Format deny priority priority Mode Management access-list configuration management access-class Use this command to activate the configured management ALC and restrict management connections within the management ACL.
HP Moonshot Switch Module CLI Command Reference Management Access Control List show management access-list Use this command to view information about the configured management ALC. Format show management access-list [name] Mode Privileged EXEC Field Description List Name List Admin Mode The name of the management ACL The administrative mode of the management ACL. To activate a management ACL, use the management access-class command.
HP Moonshot Switch Module CLI Command Reference Management Access Control List show management access-class Use this command to view information about the configured management ALC. Format show management access-class Mode Privileged EXEC Field Description List Name List Admin Mode The name of the management ACL The administrative mode of the management ACL. To activate a management ACL, use the management access-class command.
HP Moonshot Switch Module CLI Command Reference MAC Access Control List Commands MAC Access Control List Commands This section describes the commands you use to configure MAC Access Control List (ACL) settings. MAC ACLs ensure that only authorized users have access to specific resources and block any unwarranted attempts to reach network resources. The following rules apply to MAC ACLs: • The maximum number of ACLs you can create is 100. The limit applies to all ACLs, regardless of type.
MAC Access Control List Commands HP Moonshot Switch Module CLI Command Reference mac access-list extended rename This command changes the name of a MAC Access Control List (ACL). The name parameter is the name of an existing MAC ACL. The newname parameter is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the MAC access list. This command fails if a MAC ACL by the name newname already exists.
MAC Access Control List Commands HP Moonshot Switch Module CLI Command Reference Table 13: Ethertype Keyword and 4-digit Hexadecimal Value (Cont.) Ethertype Keyword Corresponding Value ipx mplsmcast mplsucast netbios novell pppoe rarp 0x8037 0x8848 0x8847 0x8191 0x8137, 0x8138 0x8863, 0x8864 0x8035 The vlan and cos parameters refer to the VLAN identifier and 802.1p user priority fields, respectively, of the VLAN tag. For packets containing a double VLAN tag, this is the first (or outer) tag.
HP Moonshot Switch Module CLI Command Reference MAC Access Control List Commands An optional sequence number may be specified to indicate the order of this mac access list relative to other mac access lists already assigned to this interface and direction. A lower number indicates higher precedence order. If a sequence number is already in use for this interface and direction, the specified mac access list replaces the currently attached mac access list using that sequence number.
HP Moonshot Switch Module CLI Command Reference MAC Access Control List Commands show mac access-lists This command displays a MAC access list and all of the rules that are defined for the MAC ACL. Use the [name] parameter to identify a specific MAC ACL to display. The rate-limit attribute displays committed rate and committed burst size. Note: The command output varies based on the match criteria configured within the rules of an ACL.
MAC Access Control List Commands HP Moonshot Switch Module CLI Command Reference The following shows example CLI display output for the command.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands IP Access Control List Commands This section describes the commands you use to configure IP Access Control List (ACL) settings. IP ACLs ensure that only authorized users have access to specific resources and block any unwarranted attempts to reach network resources. The following rules apply to IP ACLs: • HP Moonshot Switch Module software does not support IP ACL configuration for IP packet fragments.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands Table 14: ACL Command Parameters (Cont.) Parameter Description every Match every packet. Specifies the protocol to filter for an extended IP ACL rule. Specifies a source IP address and source netmask for match condition of the IP ACL rule. Specifies the source layer 4 port match condition for the IP ACL rule.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands no access-list This command deletes an IP ACL that is identified by the parameter accesslistnumber from the system. The range for accesslistnumber 1-99 for standard access lists and 100-199 for extended access lists.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands {deny | permit} (IP ACL) This command creates a new rule for the current IP access list. Each rule is appended to the list of configured rules for the list. A rule may either deny or permit traffic according to the specified classification fields. At a minimum, either the every keyword or the protocol, source address, and destination address values must be specified.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands ip access-group This command either attaches a specific IP Access Control List (ACL) identified by accesslistnumber or name to an interface, range of interfaces, or all interfaces; or associates it with a VLAN ID in a given direction. The parameter name is the name of the Access Control List.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands no ip access-group This command removes a specified IP ACL from an interface. Default none Format no ip access-group {accesslistnumber|name} {{control-plane|in|out}|vlan vlan-id {in|out}} Mode • Interface Config • Global Config Example: The following shows an example of the command. (Routing)(Config)#no ip access-group ip1 control-plane acl-trapflags This command enables the ACL trap mode.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands Term Definition Interface(s) VLAN(s) Identifies the interface(s) to which the ACL is applied (ACL interface bindings). Identifies the VLANs to which the ACL is applied (ACL VLAN bindings). If you specify an IP ACL number or name, the following information displays: Note: Only the access list fields that you configure are displayed.
IP Access Control List Commands HP Moonshot Switch Module CLI Command Reference Rule Number: 1 Action......................................... Match All...................................... Protocol....................................... Committed Rate................................. Committed Burst Size........................... permit FALSE 1(icmp) 32 16 show access-lists This command displays IP ACLs, IPv6 ACLs, and MAC access control lists information for a designated interface and direction.
HP Moonshot Switch Module CLI Command Reference IP Access Control List Commands show access-lists vlan This command displays Access List information for a particular VLAN ID. The vlan-id parameter is the VLAN ID of the VLAN with the information to view. The {in | out} options specifies the direction of the VLAN ACL information to view. Format show access-lists vlan vlan-id {in | out} Mode Privileged EXEC Term Definition ACL Type ACL ID Sequence Number Type of access list (IP, IPv6, or MAC).
HP Moonshot Switch Module CLI Command Reference IPv6 Access Control List Commands IPv6 Access Control List Commands This section describes the commands you use to configure IPv6 Access Control List (ACL) settings. IPv6 ACLs ensure that only authorized users have access to specific resources and block any unwarranted attempts to reach network resources. The following rules apply to IPv6 ACLs: • The maximum number of ACLs you create is 100, regardless of type.
HP Moonshot Switch Module CLI Command Reference IPv6 Access Control List Commands {deny | permit} (IPv6) This command creates a new rule for the current IPv6 access list. Each rule is appended to the list of configured rules for the list. A rule may either deny or permit traffic according to the specified classification fields. At a minimum, either the every keyword or the protocol, source address, and destination address values must be specified.
HP Moonshot Switch Module CLI Command Reference IPv6 Access Control List Commands ipv6 traffic-filter This command either attaches a specific IPv6 ACL identified by name to an interface or range of interfaces, or associates it with a VLAN ID in a given direction. The name parameter must be the name of an existing IPv6 ACL. An optional sequence number may be specified to indicate the order of this mac access list relative to other IPv6 access lists already assigned to this interface and direction.
HP Moonshot Switch Module CLI Command Reference IPv6 Access Control List Commands show ipv6 access-lists This command displays an IPv6 access list and all of the rules that are defined for the IPv6 ACL. Use the [name] parameter to identify a specific IPv6 ACL to display. The rate-limit attribute displays committed rate and committed burst size. Format show ipv6 access-lists [name] Mode Privileged EXEC Note: Only the access list fields that you configure are displayed.
Time Range Commands for Time-Based ACLs HP Moonshot Switch Module CLI Command Reference Match Every.................................... Protocol....................................... Committed Rate................................. Committed Burst Size........................... FALSE 17(udp) 32 16 Time Range Commands for Time-Based ACLs Time-based ACLs allow one or more rules within an ACL to be based on time.
HP Moonshot Switch Module CLI Command Reference Time Range Commands for Time-Based ACLs no time-range This command deletes a time-range identified by name. Format no time-range name Mode Global Config absolute Use this command to add an absolute time entry to a time range. Only one absolute time entry is allowed per time-range. The time parameter is based on the currently configured time zone.
HP Moonshot Switch Module CLI Command Reference Time Range Commands for Time-Based ACLs If the ending days of the week are the same as the starting days of the week, they can be omitted. The first occurrence of the time argument is the starting hours:minutes which the configuration that referenced the time range starts going into effect. The second occurrence is the ending hours:minutes at which the configuration that referenced the time range is no longer in effect.
HP Moonshot Switch Module CLI Command Reference Time Range Commands for Time-Based ACLs The information in the following table displays when a time range name is specified. Term Definition Time Range Name Time Range Status Periodic Entry count Absolute Start Time Name of the time range. Status of the time range (active/inactive) The number of periodic entries configured for the time range. If an absolute entry has been configured, this field shows the start time and day for absolute time entry.
HP Moonshot Switch Module CLI Command Reference iSCSI Optimization Commands iSCSI Optimization Commands This section describes commands you use to monitor iSCSI sessions and prioritize iSCSI packets. iSCSI Optimization provides a means of giving traffic between iSCSI initiator and target systems special Quality of Service (QoS) treatment. This is accomplished by monitoring traffic to detect packets used by iSCSI stations to establish iSCSI sessions and connections.
HP Moonshot Switch Module CLI Command Reference iSCSI Optimization Commands iscsi cos This command sets the quality of service profile that will be applied to iSCSI flows. iSCSI flows are assigned by default to the highest VPT/DSCP mapped to the highest queue not used for stack management. The user should also take care of configuring the relevant Class of Service parameters for the queue in order to complete the setting.
HP Moonshot Switch Module CLI Command Reference iSCSI Optimization Commands no iscsi enable This command disables iSCSI awareness. When you use the no iscsi enable command, iSCSI resources will be released. Format no iscsi enable Mode Global Config iscsi target port This command configures an iSCSI target port and, optionally, a target system’s IP address and IQN name.
HP Moonshot Switch Module CLI Command Reference iSCSI Optimization Commands no iscsi target port Use the no form of the command to delete an iSCSI target port, address, and name. Format no iscsi target port tcp-port-1 [tcp-port-2...tcp-port-16] [address ip-address] Mode Global Config show iscsi This command displays the iSCSI settings. Format show iscsi Mode Privileged EXEC Example: The following are examples of the commands used for iSCSI.
iSCSI Optimization Commands HP Moonshot Switch Module CLI Command Reference (Routing)#show classofservice dot1p-mapping User Priority Traffic Class ------------------------0 1 1 0 2 0 3 1 4 2 5 2 6 3 6 3 show iscsi sessions This command displays the iSCSI sessions. Default If not specified, sessions are displayed in short mode (not detailed). Format show iscsi sessions [detailed] Mode Privileged EXEC Example: The following example displays the iSCSI sessions.
iSCSI Optimization Commands HP Moonshot Switch Module CLI Command Reference 172.16.1.3 172.16.1.4 172.16.1.5 49154 49155 49156 172.16.1.20 172.16.1.21 172.16.1.22 30001 30001 30001 Session 2: ----------------------------------------------------------Initiator: iqn.1995-05.com.os-vendor.plan9:cdrom.10 Time started: 17-Aug-2008 21:04:50 Time for aging out: 2 min ISID: 22 Initiator Initiator Target Target IP address TCP port IP address IP port 172.16.1.30 49200 172.16.1.20 30001 172.16.1.30 49201 172.16.
Log Message Information HP Moonshot Switch Module CLI Command Reference Section 9: Log Message Information This chapter lists common log messages that are provided by HP Moonshot Switch Module, along with information regarding the cause of each message. There is no specific action that can be taken per message.
Core HP Moonshot Switch Module CLI Command Reference Table 16: NIM Log Messages (Cont.) Component Message Cause NIM NIM: L7_DETACH out of order for interface unit x slot x port x NIM: L7_DELETE out of order for interface unit x slot x port x NIM: event(x),intf(x),component(x), in wrong phase Interface creation out of order. NIM NIM NIM NIM NIM NIM NIM NIM NIM NIM: Failed to notify users of interface change NIM: failed to send message to NIM message Queue.
Utilities HP Moonshot Switch Module CLI Command Reference Table 18: System Log Messages (Cont.) Component Message SYSTEM Building defaults for file file name version version num SYSTEM SYSTEM SYSTEM SYSTEM Cause Configuration did not exist or could not be read for the specified feature or file. Default configuration values will be used. The file name and version are indicated.
Utilities HP Moonshot Switch Module CLI Command Reference Table 20: DHCP Filtering Log Messages (Cont.) Component Message Cause DHCP Filtering Error on call to sysapiCfgFileWrite file Error on trying to save configuration. Table 21: NVStore Log Messages Component Message NVStore Building defaults for file XXX NVStore NVStore NVStore Cause A component’s configuration file does not exist or the file’s checksum is incorrect so the component’s default configuration file is built.
Utilities HP Moonshot Switch Module CLI Command Reference Table 22: RADIUS Log Messages (Cont.) Component Message Cause RADIUS RADIUS: Access-Challenge failed to validate, id = xxx RADIUS: Failed to validate MessageAuthenticator, id = xxx RADIUS: Access-Accept failed to validate, id = xxx RADIUS: Invalid packet length – xxx The RADIUS Client received an invalid message from the server. The RADIUS Client received an invalid message from the server.
Utilities HP Moonshot Switch Module CLI Command Reference Table 26: DHCPv6 Client Log Messages Component Message DHCP6 Client ip6Map dhcp add failed. DHCP6 Client DHCP6 Client DHCP6 Client Cause This message appears when the update of a DHCP leased IP address to IP6Map fails. osapiNetAddrV6Add failed on interface xxx. This message appears when the update of a DHCP leased IP address to the kernel IP Stack fails. Failed to add DNS Server xxx to DNS Client.
Management HP Moonshot Switch Module CLI Command Reference Management Table 28: SNMP Log Message Component Message Cause SNMP EDB Callback: Unit Join: x. A new unit has joined the stack. Table 29: EmWeb Log Messages Component Message EmWeb EMWEB (Telnet): Max number of Telnet login A user attempted to connect via telnet when sessions exceeded the maximum number of telnet sessions were already active.
Management HP Moonshot Switch Module CLI Command Reference Table 32: SSHD Log Messages Component Message Cause SSHD SSHD: Unable to create the global (data) semaphore SSHD: Msg Queue is full, event = XXXX Failed to create semaphore for global data protection. Failed to send the message to the SSHD message queue as message queue is full. XXXX indicates the event to be sent. Failed to dispatch the UI event to the appropriate SSHD function as it’s an invalid event.
Switching HP Moonshot Switch Module CLI Command Reference Switching Table 34: Protected Ports Log Messages Component Message Protected Ports Protected Port: failed to save configuration This appears when the protected port configuration cannot be saved. protectedPortCnfgrInitPhase1Process: This appears when protectedPortCfgRWLock Unable to create r/w lock for protected Port Fails.
Switching HP Moonshot Switch Module CLI Command Reference Table 36: Mac-based VLANs Log Messages Component Message Cause MAC based VLANs MAC based VLANs MAC based VLANs MAC based VLANs MAC based VLANs MAC based VLANs MAC based VLANs MAC based VLANs MAC VLANs: Failed to save configuration This message appears when save configuration of Mac vlans failed. This appears when a read/write lock creations fails. This appears when this component unable to register for vlan change notifications.
Switching HP Moonshot Switch Module CLI Command Reference Table 38: IGMP Snooping Log Messages Component Message Cause IGMP Snooping IGMP Snooping function: osapiMessageSend failed Failed to set global igmp snooping mode to xxx Failed to set igmp snooping mode xxx for interface yyy Failed to set igmp mrouter mode xxx for interface yyy IGMP Snooping message queue is full. Failed to set global IGMP Snooping mode due to message queue being full.
Switching HP Moonshot Switch Module CLI Command Reference Table 40: 802.3ad Log Messages Component Message Cause 802.3ad dot3adReceiveMachine: received default event %x dot3adNimEventCompletionCallback, dot3adNimEventCreateCompletionCallback: DOT3AD: notification failed for event(%d), intf(%d), reason(%d) Received a LAG PDU and the RX state machine is ignoring this LAGPDU. The event sent to NIM was not completed successfully. 802.
Switching HP Moonshot Switch Module CLI Command Reference Table 45: 802.1Q Log Messages Component Message 802.1Q dot1qIssueCmd: Unable to send message %d to dot1qMsgQueue is full. dot1qMsgQueue for vlan %d - %d msgs in queue dot1qVlanCreateProcess: Attempt to create a This accommodates for reserved vlan ids. i.e. vlan with an invalid vlan id %d ; 4094 - x.
Switching HP Moonshot Switch Module CLI Command Reference Table 45: 802.1Q Log Messages (Cont.) Component Message 802.1Q Problem deleting data for VLAN %d 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q 802.1Q September 2014 Cause Failed to delete VLAN ID from the VLAN database.
Switching HP Moonshot Switch Module CLI Command Reference Table 46: 802.1S Log Messages Component Message Cause 802.1S dot1sIssueCmd: Dot1s Msg Queue is full!!!!Event: %u, on interface: %u, for instance: %u dot1sStateMachineRxBpdu(): Rcvd BPDU Discarded The message Queue is full. 802.1S 802.1S The current conditions, like port is not enabled or we are currently not finished processing another BPDU on the same interface, does not allow us to process this BPDU.
QoS HP Moonshot Switch Module CLI Command Reference QoS Table 49: ACL Log Messages Component Message ACL Total number of ACL rules (x) exceeds max (y) The combination of all ACLs applied to an on intf i. interface has resulted in requiring more rules than the platform supports. ACL name, rule x: This rule is not being The ACL configuration has resulted in a logged requirement for more logging rules than the platform supports. The specified rule is functioning normally except for the logging action.
Routing HP Moonshot Switch Module CLI Command Reference Routing Table 52: DHCP Relay Log Messages Component Message DHCP relay REQUEST hops field more than config value The DHCP relay agent has processed a DHCP request whose HOPS field is larger than the maximum value allowed. The relay agent will not forward a message with a hop count greater than 4.
Routing HP Moonshot Switch Module CLI Command Reference Table 54: Routing Table Manager Log Messages Component Message RTO RTO is no longer full. Routing table contains When the number of best routes drops xxx best routes, xxx total routes, xxx reserved below full capacity, RTO logs this notice. The local routes. number of bad adds may give an indication of the number of route adds that failed while RTO was full, but a full routing table is only one reason why this count is incremented. RTO is full.
Stacking HP Moonshot Switch Module CLI Command Reference Stacking Table 58: EDB Log Message Component Message Cause EDB EDB Callback: Unit Join: num. Unit num has joined the stack.
Technologies HP Moonshot Switch Module CLI Command Reference Table 59: Switching Silicon Error Messages (Cont.
O/S Support HP Moonshot Switch Module CLI Command Reference Table 59: Switching Silicon Error Messages (Cont.) Component Message Cause Switching Silicon USL: failed to sync L3 Route table on unit = x Could not synchronize unit x due to a transport failure or API issue on remote unit. A synchronization retry will be issued. Switching Silicon USL: failed to sync initiator table on unit = x Could not synchronize unit x due to a transport failure or API issue on remote unit.
O/S Support HP Moonshot Switch Module CLI Command Reference Table 61: OSAPI Linux Log Messages (Cont.) Component Message OSAPI Linux osapiNetIfConfig: ioctl on XX failed: addr: 0xYY, err: ZZ – or – osapiNetIPSet: ioctl on XX failed: addr: 0x%YY OSAPI Linux OSAPI Linux OSAPI Linux OSAPI Linux OSAPI Linux OSAPI Linux OSAPI Linux OSAPI Linux September 2014 Cause Failed trying to set the IP address (in hex as YY) of the interface with Linux name XX, and the interface does not exist.
HP Moonshot Switch Module CLI Command Reference Command Index Symbols 1583compatibility ............................................. 556 arp retries .......................................................... 504 arp timeout ....................................................... 505 assign-queue ..................................................... 637 authorization network radius ............................ 115 auto-cost (OSPF) ................................................ 564 auto-negotiate ......
HP Moonshot Switch Module CLI Command Reference clear config ........................................................ 193 clear counters .................................................... 193 clear dhcp l2relay statistics interface ................ 401 clear dot1x authentication-history .................... 333 clear dot1x statistics .......................................... 333 clear host ........................................................... 214 clear igmpsnooping ................................
HP Moonshot Switch Module CLI Command Reference dhcp client vendor-id-option ............................. 401 dhcp client vendor-id-option-string .................. 402 dhcp l2relay ....................................................... 396 dhcp l2relay circuit-id vlan ................................ 396 dhcp l2relay remote-id vlan .............................. 397 dhcp l2relay trust .............................................. 397 dhcp l2relay vlan ...............................................
HP Moonshot Switch Module CLI Command Reference ip address .......................................................... 509 ip address dhcp ................................................. 510 ip address-conflict-detect run ........................... 216 ip arp inspection filter ....................................... 415 ip arp inspection limit ........................................ 415 ip arp inspection trust ....................................... 414 ip arp inspection validate .......................
HP Moonshot Switch Module CLI Command Reference K key ..................................................................... 131 keystring ............................................................ 131 L lacp actor admin key ......................................... 371 lacp actor admin state individual ...................... 371 lacp actor admin state longtimeout .................. 372 lacp actor admin state passive .......................... 372 lacp actor port priority ................................
HP Moonshot Switch Module CLI Command Reference maximum-paths (OSPF) ..................................... 570 max-metric router-lsa ....................................... 586 member ............................................................... 24 memory free low-watermark processor ........... 173 mirror ................................................................ 638 mmrp (Global Config) ........................................ 360 mmrp (Interface Config) ....................................
HP Moonshot Switch Module CLI Command Reference priority-flow-control priority ............................. 496 private-vlan ....................................................... 318 process cpu threshold ....................................... 165 protocol group ................................................... 305 protocol vlan group ........................................... 306 protocol vlan group all ...................................... 306 Q quit .............................................
HP Moonshot Switch Module CLI Command Reference set mld mrouter interface ................................. 439 set mld querier .................................................. 443 set mld querier election participate .................. 445 set mld querier query_interval .......................... 444 set mld querier timer expiry .............................. 444 set prompt ......................................................... 136 set slot disable ....................................................
HP Moonshot Switch Module CLI Command Reference show ip arp inspection interfaces ..................... 419 show ip arp inspection statistics ....................... 418 show ip brief ...................................................... 515 show ip dhcp snooping ...................................... 407 show ip dhcp snooping binding ......................... 408 show ip dhcp snooping database ...................... 409 show ip dhcp snooping interfaces .....................
HP Moonshot Switch Module CLI Command Reference show mldsnooping ssm entries ......................... 441 show mldsnooping ssm groups ......................... 442 show mldsnooping ssm stats ............................. 441 show mmrp ....................................................... 362 show mmrp statistics ........................................ 363 show monitor session ........................................ 391 show mvrp .........................................................
HP Moonshot Switch Module CLI Command Reference show telnetcon .................................................... 66 show terminal length ........................................ 173 show time-range ............................................... 678 show trapflags ................................................... 114 show udld .......................................................... 492 show udld unit/slot/port ................................... 493 show users ......................................
HP Moonshot Switch Module CLI Command Reference storm-control multicast level ............................ 354 storm-control multicast rate ............................. 355 storm-control unicast ........................................ 355 storm-control unicast level ............................... 356 storm-control unicast rate ................................ 356 switch priority ..................................................... 25 switch renumber .................................................