HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com
HP 6125XLG Manual
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125XLG manual content summary:
- HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 1
HP 6125XLG Blade Switch Network Management and Monitoring Command Reference Part number: 5998-3740 Software version: Release 2306 Document version: 6W100-20130912 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 3
11 tracert ipv6 13 NTP commands 15 display ntp-service ipv6 sessions 15 display ntp-service sessions 19 display ntp-service status 23 display ntp-service trace 25 ntp-service acl 26 ntp-service authentication enable 27 ntp-service authentication-keyid 28 ntp-service broadcast-client 29 ntp - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 4
logfile size-quota 63 info-center logfile switch-directory 63 info-center logging suppress duplicates user 88 enable snmp trap updown 89 snmp-agent 90 snmp-agent calculate-password 91 snmp-agent community 92 snmp-agent group 94 snmp-agent local-engineid 96 snmp-agent log 97 snmp-agent mib - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 5
target-host 103 snmp-agent trap enable 105 snmp-agent trap if-mib link extended 108 snmp-agent trap life 108 snmp-agent trap queue-size 109 snmp-agent usm-user { v1 | v2c 110 snmp-agent usm-user v3 111 NQA commands 115 data-fill 115 data-size 115 description (any NQA operation type - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 6
view 194 mirroring-group monitor-port (system view 195 mirroring-group reflector-port 196 mirroring-group remote-probe vlan 197 Traffic mirroring commands 199 mirror-to 199 Support and other resources 200 Contacting HP 200 Subscription service 200 Related information 200 Documents - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 7
: The debugging option for a specific module. The option number and content differ for different modules. To display the supported options, use the debugging module-name ? command. Usage guidelines Output of debugging commands is memory intensive. To guarantee system performance, enable debugging - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 8
Views Any view Predefined user roles network-admin network- switch is on Related commands debugging ping Use ping to verify whether the destination IP address is reachable, and display related statistics. Syntax ping [ ip ] [ -a source-ip | -c count | -f | -h ttl | -i interface-type interface-number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 9
255. The default value is 255. -i interface-type interface-number: Specifies the ICMP echo request sending interface by its type and number. If this first configure the DNS on the device. Otherwise, the ping operation will fail. To abort the ping operation during the execution of the command, press - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 10
56 bytes from 1.1.2.2: icmp_seq=4 ttl=254 time=1.991 ms --- 1.1.2.2 ping statistics --5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.963/2.028/2.137/0.062 ms # Test whether the device with an IP address of 1.1.2.2 in VPN 1 is reachable. - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 11
| -vpn-instance vpn-instance-name ] * host [ -i interface-type interface-number ] Views Any view Predefined user roles network-admin Parameters -a source-ipv6: Specifies the source IPv6 address of an ICMP echo request. It must be a valid IPv6 address configured on the device. If this option is not - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 12
the range of 20 to 8100. The default value is 56. -t timeout: Specifies the type interface-number: Specifies an outbound interface by its type and number. This you must first configure DNS on the device. Otherwise, the ipv6 operation during the execution of the command, press Ctrl+C. Examples # Test - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 13
, 25 milliseconds, 62 milliseconds and 20 milliseconds. Table 2 Command output Field Description PING6(104=40+8+56 bytes) 2001::1 --> ms Received ICMPv6 echo replies from the device whose IPv6 address is 2001::2. • The number of data bytes is 56. • The packet sequence is 1. • The hop limit - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 14
first-ttl | -m max-ttl | -p port | -q packet-number | -vpn-instance vpn-instance-name | -w timeout ] * host Views Any view Predefined user roles network-admin Parameters -a source-ip: Specifies the source IP address of a tracert packet. It must be a valid IP address configured on the device. If this - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 15
ms 0.875 ms Table 3 Command output Field Description traceroute to Number of bytes of a probe packet. press CTRL_C to break During the execution of the command for class of service (CoS). • TTL-TTL value. • S-MPLS supports multiple levels port | -q packet-number | -vpn-instance vpn-instance - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 16
default value is 30. It must be greater than the value of the first-hop argument. -p port: Specifies the UDP port number of the destination. The port argument is in the range of 1 to 65535. The default 0.822 ms 0.731 ms 0.708 ms Table 4 Command output Field traceroute to 2001:3::2 hops at most byte - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 17
command displays only brief information about the IPv6 NTP associations. Examples # Display brief information about all IPv6 NTP associations. display ntp-service ipv6 sessions Notes: 1 source(master), 2 source(peer), 3 selected, 4 candidate, 5 configured. Source: [125]3000::32 Reference - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 18
to the reference source. Total number of associations. # Display detailed information about all IPv6 NTP associations. display ntp-service ipv6 sessions verbose Clock source: 1::1 Session ID: 36144 Clock stratum: 16 Clock status: configured, insane, valid, unsynced Reference clock ID - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 19
. A stratum 16 clock is not synchronized and cannot be used as a reference clock. Status of the clock source corresponding to this association: • configured-The association was created by a configuration command. • dynamic-The association is established dynamically. • master-The clock source is - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 20
, if the displayed value is 6, the polling interval of the local device is 26, or 64 seconds. Offset of the system clock relative to the reference clock, in milliseconds. Roundtrip delay from the local device to the clock source, in milliseconds. Maximum error of the system clock relative to the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 21
refclock-master command to set the local clock as a reference clock. When the reach field of the local clock is 255, the field is displayed as working normally. Otherwise, the field is displayed as working abnormally. Total number of associations. display ntp-service sessions Use display ntp - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 22
of the local clock. • If the reference clock is the clock of another device on was last updated to the current time. Time is in seconds by default. If configuration command. Total number of associations. # Display detailed information about all IPv4 NTP associations. display ntp-service - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 23
. A stratum 16 clock is not synchronized and cannot be used as a reference clock. Status of the clock source corresponding to this association: • configured-The association was created by a configuration command. • dynamic-The association is established dynamically. • master-The clock source is - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 24
0 or 1, this field displays LOCL. { When the Clock stratum field has another value, this field displays the IP address of the local clock. • If the reference clock is the clock of another device on the network, this field displays the IP address of the device. VPN instance to which the NTP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 25
-master command to set the local clock as a reference clock. When the reach field of the local clock is 255, the field is displayed as working normally. Otherwise, the field is displayed as working abnormally. Total number of associations. display ntp-service status Use display ntp-service status - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 26
ntp-service status Clock status: unsynchronized Clock stratum: 16 Reference clock ID: none Clock jitter: 0.000000 s Stability: 0.000 pps Clock precision: 2^-10 Root delay: 0.00000 ms Root dispersion: 0.00002 ms Reference time: d0c5fc32.92c70b1e Wed, Dec 29 2010 18:28:02.573 Table 9 Command output - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 27
delay from the local device to the primary reference source, in milliseconds. Maximum error of the system clock relative to the primary reference source, in milliseconds. Reference timestamp. display ntp-service trace Use display ntp-service trace to display brief information about each NTP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 28
of the local device. Use undo ntp-service acl to remove the configured NTP service access-control right. Syntax ntp-service { peer | query | server | synchronization } acl acl-number undo ntp-service { peer | query | server | synchronization } acl acl-number Default The access-control right for the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 29
user Configure the peer devices on subnet 10.10.0.0/16 to have full access to the local device. system-view [Sysname] acl number 2001 [Sysname-acl-basic-2001] rule permit source 10.10.0.0 0.0.255.255 [Sysname-acl-basic-2001] quit [Sysname] ntp-service access peer acl 2001 Related commands - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 30
service authentication enable Related commands • ntp-service authentication-keyid • ntp-service reliable authentication-keyid ntp-service authentication-keyid Use ntp-service undo ntp-service authentication-keyid keyed Default No NTP authentication key is set. Views System view Predefined user roles - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 31
to remove the configuration. Syntax ntp-service broadcast-client undo ntp-service broadcast-client Default The device does not operate in any NTP association mode. Views VLAN interface view Predefined user roles network-admin Usage guidelines After you configure this command, the device listens - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 32
configuration. Syntax ntp-service broadcast-server [ authentication-keyid keyid | version number ] * undo ntp-service broadcast-server Default The device does not operate in any NTP association mode. Views VLAN interface view Predefined user the configuration of the command. Examples # Configure the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 33
Related commands ntp-service broadcast-client ntp-service enable Use ntp-service enable to enable the NTP service. Use undo ntp-service enable to disable the NTP service. Syntax ntp-service enable undo ntp-service enable Default The NTP service is not enabled. Views System view Predefined user roles - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 34
device. Use undo ntp-service ipv6 acl to remove the configured NTP service access-control right. Syntax ntp-service ipv6 { peer | query | server | synchronization } acl acl-number undo ntp-service ipv6 { peer | query | server | synchronization } acl acl-number Default The access-control right for - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 35
# Configure the peer devices on subnet 2001::1 to have full access to the local device. system-view [Sysname] acl ipv6 number 2001 [Sysname-acl6-basic-2001] rule permit source 2001::1 64 [Sysname-acl6-basic-2001] quit [Sysname] ntp-service ipv6 peer acl 2001 Related commands • ntp-service - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 36
packets. Use undo ntp-service ipv6 multicast-server to remove the configuration. Syntax ntp-service ipv6 multicast-server ipv6-multicast-address [ authentication-keyid keyid | ttl ttl-number ] * undo ntp-service ipv6 multicast-server ipv6-multicast-address Default The device does not operate - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 37
synchronize clients enabled with NTP authentication. ttl ttl-number: Specifies the TTL of NTP multicast messages, where ttl-number is in the range of 1 to 255. The default value is 16. Usage guidelines After you configure this command, the device periodically sends NTP messages to the specified - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 38
in the ntp-service ipv6 unicast-server or ntp-service ipv5 unicast-peer command, the interface specified in the ntp-service ipv6 unicast-server or ntp-service ipv6 unicast-peer command serves as the source interface for IPv6 NTP messages. If you have configured the ntp-service ipv6 broadcast-server - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 39
the first choice under the same condition. source interface-type interface-number: Specifies the source interface for IPv6 NTP messages. If the option in the command. If you include the vpn-instance vpn-instance-name option in the undo ntp-service ipv6 unicast-peer command, the command removes the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 40
Default No IPv6 NTP server is specified for the device. Views System view Predefined user condition. source interface-type interface-number: Specifies the source interface for command. If you include the vpn-instance vpn-instance-name option in the undo ntp-service unicast-server command, the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 41
and dynamic associations. A static association refers to an association that a user has manually created by using an NTP command, while a dynamic association is a temporary association created by the system during operation. Examples # Set the maximum number of dynamic NTP associations allowed to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 42
the configuration. Syntax ntp-service multicast-server [ ip-address ] [ authentication-keyid keyid | ttl ttl-number | version number ] * undo ntp-service multicast-server [ ip-address ] Default The device does not operate in any NTP association mode. View VLAN interface view Predefined user roles - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 43
Use undo ntp-service refclock-master to remove the configuration. Syntax ntp-service refclock-master [ ip-address ] [ stratum ] undo ntp-service refclock-master [ ip-address ] Default The device does not use its local clock as a reference clock. Views System view Predefined user roles network-admin - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 44
to remove the configuration. Syntax ntp-service reliable authentication-keyid keyid undo ntp-service reliable authentication-keyid keyid Default No trust key is specified. Views System view Predefined user roles network-admin Parameters keyid: Specifies an authentication key number in the range - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 45
commands • ntp-service authentication enable • ntp-service authentication-keyid ntp-service source Use ntp-service source to specify the source interface for NTP messages. Use undo ntp-service source to restore the default. Syntax ntp-service source interface-type interface-number undo ntp-service - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 46
version number ] * undo ntp-service unicast-peer { ip-address | peer-name } [ vpn-instance vpn-instance-name ] Default No symmetric-passive peer is specified for the device. Views System view Predefined user roles network-admin Parameters ip-address: Specifies an IP address of the symmetric-passive - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 47
vpn-instance-name ] [ authentication-keyid keyid | priority | source interface-type interface-number | version number ] * undo ntp-service unicast-server { ip-address | server-name } [ vpn-instance vpn-instance-name ] Default No NTP server is specified for the device. Views System view Predefined - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 48
NTP server 10.1.1.1 for the device, and configure the device to run NTP version 4. system-view [Sysname] ntp-service unicast-server 10.1.1.1 version 4 Related commands • ntp-service authentication enable • ntp-service authentication-keyid • ntp-service reliable authentication-keyid 46 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 49
SNTP commands display sntp ipv6 sessions Use display sntp ipv6 sessions to display information about all IPv6 SNTP associations. Syntax display sntp ipv6 sessions Views Any view Predefined user roles network-admin network-operator Examples # Display information about all IPv6 SNTP associations. < - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 50
sntp authentication enable to disable SNTP authentication. Syntax sntp authentication enable undo sntp authentication enable Default SNTP authentication is disabled. Views System view Predefined user roles network-admin Usage guidelines You need to enable SNTP authentication in networks that require - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 51
-keyid keyid Default No SNTP authentication key is set. Views System view Predefined user roles network- service reliable authentication-keyid command. You can set up to 128 keys by executing the command. The authentication key, set in either plain text or cipher text, is saved to the configuration - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 52
Related commands • sntp authentication enable • sntp reliable authentication-keyid sntp enable Use sntp enable to enable the SNTP service. Use undo sntp enable to disable the SNTP service. Syntax sntp enable undo sntp enable Default The SNTP service is not enabled. Views System view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 53
user server do not authenticate each other. source interface-type interface-number: Specifies the source interface for IPv6 NTP messages. If the option in your command. If you include the vpn-instance vpn-instance-name option in the undo ntp-service unicast-server command, the command removes the NTP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 54
SNTP authentication is enabled and an authentication key is configured. The key automatically changes to untrusted after you delete the key. In this case, you do not need to execute the undo sntp-service reliable authentication-keyid command. Examples # Enable NTP authentication, and specify the MD5 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 55
number argument represents the interface type and number. version number: Specifies the NTP version, where number is in the range of 1 to 4. The default in your command. If you include the vpn-instance vpn-instance-name option in the undo ntp-service unicast-server command, the command removes the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 56
Views Any view Predefined user roles network-admin network-operator Examples # Display information center configuration information. display info-center Information Center: Enabled Console: Enabled Monitor: Enabled Log host: Enabled IP address: 192.168.0.1, port number: 5000, host facility - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 57
of latest log messages to be displayed, in the range of 1 to 1024. Without this keyword, the command displays all log information. slot slot-number: Specifies an IRF member ID. Examples # Display the state and log information of the log buffer. display logbuffer slot 1 Log buffer: Enabled - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 58
a severity level in the range of 0 to 7. Without this keyword, the command displays log information of all levels in the log buffer. For more information about log levels, see Table 13. slot slot-number: Specifies an IRF member ID. Examples # Display the summary of the log buffer. - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 59
Any view Predefined user roles network-admin network-operator Examples # Display the log file configuration. display logfile summary Log file: Enabled. Log file size quota: 10 MB Log file directory: flash:/logfile Writing frequency: 0 hour 1 min 10 sec Table 16 Command output Field Log - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 60
-attribute user-role security-audit command. For more information about security log administrator, see Security Configuration Guide. Examples log updown to enable a port to generate link up and link down logs upon state changes. Use undo enable log updown to disable a port from generating link up - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 61
-center enable Default The information center is enabled. Views System view Predefined user roles network-admin Examples # Enable the information center. system-view [Sysname] info-center enable Information center is enabled. info-center logbuffer Use info-center logbuffer to configure log - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 62
Predefined user roles network-admin Examples # Configure output of log information to the log buffer. system-view [Sysname] info-center logbuffer Related commands • display logbuffer • info-center enable info-center logbuffer size Use info-center logbuffer size to set the maximum number of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 63
center logfile enable undo info-center logfile enable Default The log file feature is enabled. Views System view Predefined user roles network-admin Examples # Enable the to configure the interval for saving logs to the log file. Use undo info-center logfile frequency to restore the default saving - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 64
guidelines This command is supported only in FIPS mode. For more information about FIPS mode, see Security Configuration Guide. If the all-port-powerdown keyword is specified, the device shuts down all ports except for the console port, management Ethernet port, and ports bound to an IRF port when - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 65
info-center logfile size-quota 6 Related commands info-center logfile enable info-center logfile switch-directory Use info-center logfile switch-directory to configure the directory where the log file is saved. Syntax info-center logfile switch-directory dir-name Default The log file is saved in the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 66
default directory has no enough space for storing the file, you can specify a new directory for the log file. The configuration made by this command cannot survive an IRF switch-directory flash:/test Related commands Default Duplicate log suppression is disabled. Views System view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 67
outputs the suppressed logs and the log number and starts another suppression period. The logs and the log number and then outputs the 12]-CommandSource=[2]-ConfigSource=[4]-ConfigDestination=[2]; Configuration is changed. The configure output parameters. Use undo info-center loghost to restore the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 68
a log host. ipv6 ipv6-address: Specifies the IPv6 address of a log host. port port-number: Specifies the port number of the log host, in the range of 1 to 65535. The default is 514. It must be the same as the value configured on the log host. Otherwise, the log host cannot receive system information - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 69
after the information center is enabled with the info-center enable command. The IP address of the specified egress interface must have been configured. Otherwise, although the info-center loghost source command can be configured successfully, the log host cannot receive any log. Examples # Specify - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 70
-logfile enable Default The saving of security logs into the security log file is disabled. Views System view Predefined user roles network- info-center security-logfile frequency Use info-center security-logfile frequency to configure the interval for saving security logs to the security log file. - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 71
system-view [Sysname] info-center security-logfile frequency 600 Related commands info-center security-logfile enable info-center security-logfile size- security-logfile size-quota Default The maximum size of the security log file is 10 MB. Views System view Predefined user roles network-admin - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 72
-directory to configure the directory where the security log file is saved. Syntax info-center security-logfile switch-directory dir-name Default The security log file is saved in the seclog directory under the root directory of the storage media. Views System view Predefined user roles security - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 73
System view Predefined user roles network-admin Parameters module-name: Specifies a module by its name. For instance, to output FTP information, specify this argument as FTP. You can use the info-center source ? command to view the modules supported by the device. default: Specifies all modules - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 74
undo info-center synchronous Default Synchronous information output is disabled. Views System view Predefined user roles network-admin Usage guidelines The output of system logs interrupts ongoing configuration operations, and you have to find the previously input commands before the logs - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 75
-center timestamp to configure the timestamp format for logs default. Syntax info-center timestamp { boot | date | none } undo info-center timestamp Default The timestamp format for logs sent to console, monitor terminal, log buffer, and log file is date. Views System view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 76
logfile save Use logfile save to manually save logs in the log file buffer into the log file. Syntax logfile save Views Any view Predefined user roles 2: System level Usage guidelines You can specify the directory to save the log file by using the info-center logfile switch-directory command. 74 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 77
to clear the log buffer. Syntax reset logbuffer Views User view Predefined user roles network-admin Examples # Clear the log buffer. reset logbuffer Related commands display logbuffer security-logfile save Use security-logfile save to manually save security logs from the security log file - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 78
A local user can use this command only after being authorized as the security log administrator by the system administrator. For more information about security log administrator, see Security Configuration Guide. Examples # Manually save the security logs in the security log file buffer into the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 79
Default Views The lowest level of the logs that can be output to the console is 7 (Debug), and that can be output to the monitor terminal is 6 (Informational). User view Predefined user from 0 to 6 will be output. The configuration of this command is valid for only the current connection between - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 80
Predefined user roles network-admin Usage guidelines The configuration of this command is valid for only the current connection between the terminal and the device. If a new connection is established, the monitoring of system information on the terminal restores the default. Examples # Enable the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 81
the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide. The SNMP agent sends notifications (traps and informs) to inform the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 82
created by using the snmp-agent usm-user { v1 | v2c } command, the name of the group that has the user is displayed. Number of the ACL that controls the access security model, MIB view, and storage-type. Syntax display snmp-agent group [ group-name ] Views Any view Predefined user roles network- - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 83
to the SNMP group. Notify MIB view for the SNMP group. The SNMP users in the group can send notifications only for the nodes in the notify MIB view. Storage type, including volatile, nonvolatile, permanent, readOnly, and other (see Table 19). Related commands snmp-agent group display snmp-agent - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 84
local engine ID: 800007DB7F0000013859 Related commands snmp-agent local-engineid display snmp-agent mib-view Use display snmp-agent mib-view to display MIB views. Syntax display snmp-agent mib-view [ exclude | include | viewname view-name ] Views Any view Predefined user roles network-admin network - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 85
an SNMP set operation to set its status to inactive. Related commands snmp-agent mib-view display snmp-agent remote Use display snmp-agent remote to display remote SNMP engine IDs configured by using the snmp-agent remote command. Syntax display snmp-agent remote [ ip-address [ vpn-instance vpn - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 86
Views Any view Predefined user roles network-admin network-operator services for sending and receiving messages, authenticating and encrypting messages, and controlling access to managed objects. If no IP address is specified, this command displays all remote SNMP engine IDs you have configured - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 87
user ). 16544 MIB objects retrieved successfully. 2 MIB objects altered Command output Field Description messages delivered to the SNMP entity Number of messages that the SNMP agent has received. messages were for an unsupported version Number of messages that had an SNMP version not configured - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 88
a TooBig error (the maximum packet size is 1500 bytes). Number of MIB objects that have been successfully retrieved. Number of MIB objects that have been successfully modified. Number of GetRequest requests that have been received and processed. Number of getNext requests that have been received and - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 89
snmp-agent trap queue Views Any view Predefined user roles network-admin network-operator Examples # Display the trap queue configuration and usage status. display snmp-agent trap queue Queue size: 100 Message number: 6 Related commands • snmp-agent trap life • snmp-agent trap queue - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 90
-list configuration notification is enabled. standard notification is enabled. system notification is enabled. Enabled notifications: 3; Disabled notifications: 0 Related commands snmp-agent trap enable display snmp-agent usm-user Use display snmp-agent usm-user to display SNMPv3 user information - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 91
: active Table 24 Command output Field Username Group user configuration is incomplete. • other-Any other status. SNMP users are active upon their creation at the CLI. To temporarily disable an SNMP user without deleting it, you can perform an SNMP set operation to change its status. Number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 92
enable snmp trap updown Default Link state notifications are enabled. Views Interface view Predefined user roles network-admin network- the snmp-agent trap enable standard [ linkdown | linkup ] * command. Examples # Enable port Ten-GigabitEthernet 1/1/5 to send linkUp/linkDown SNMP traps to 10.1.1.1 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 93
| specified-engineid engineid } Views System view Predefined user roles network-admin Parameters plain-password: Specifies a plaintext authentication or privacy key. mode: Specifies the same authentication mode as configured in the snmp-agent usm-user v3 command. MD5 is faster than SHA-1, while SHA - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 94
and write community name. For more information about the startup configuration, see Fundamentals Configuration Guide. Views System view Predefined user roles network-admin Parameters read: Assigns the specified community the read only access to MIB objects. A read-only community can only inquire - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 95
the SNMP agent. For more information about ACLs, see ACL and QoS Configuration Guide. acl ipv6 ipv6-acl-number: Specifies a basic IPv6 ACL to filter NMSs by source IPv6 address. The ipv6-acl-number argument represents an ACL number in the range of 2000 to 2999. In the specified community, only - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 96
Related commands • display snmp-agent community • snmp-agent mib-view snmp-agent group Use snmp-agent ] [ notify-view notify-view ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent group v3 group-name { authentication | privacy } Default No SNMP group exists. SNMPv3 groups use the no - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 97
users in the specified group only for the MIB objects included in the notify view. If no notify view is specified, the SNMP agent does not send any notification to the users in the specified group. acl acl-number SNMPv2c groups are supported only in non-FIPS mode in this command. All users in an SNMP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 98
commands • display snmp-agent group • snmp-agent mib-view • snmp-agent usm-user snmp-agent local-engineid Use snmp-agent local-engineid to change the SNMP engine ID of the local SNMP agent. Use undo snmp-agent local-engineid to restore the default problems. If you have configured SNMPv3 users, - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 99
operation } Default SNMP logging is disabled. Views System view Predefined user roles network information center. You can configure the information center to output mib-view Use snmp-agent mib-view to create or update a MIB view. Use undo snmp-agent mib-view to delete a MIB view. Syntax snmp-agent mib - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 100
, the most recent configuration takes effect. The system can store entries for up to 20 unique MIB view records. In addition to the four default MIB view records, you can create up to 16 unique MIB view records. After you delete the default view with the undo snmp-agent mib-view command, you can - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 101
does not support packet fragmentation, limit the SNMP packet size to prevent large-sized packets from being discarded. For most networks, the default value is snmp-agent remote ip-address Default No remote SNMP engine ID has been configured. Views System view Predefined user roles network-admin 99 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 102
{ inform | trap } source interface-type interface-number undo snmp-agent { inform | trap } source Default The SNMP agent uses the IP address of the outgoing routed interface as the source IP address of notifications. Views System view Predefined user roles network-admin Parameters inform: Specifies - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 103
Usage guidelines The snmp-agent source command enables the SNMP agent to use the primary IP address to restore the default contact. Syntax snmp-agent sys-info contact sys-contact undo snmp-agent sys-info contact Default No system contact is configured. Views System view Predefined user roles network- - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 104
undo snmp-agent sys-info location Default No system location is configured. Views System view Predefined user roles network-admin Parameters sys- # Configure the system location as Room524-row1-3. system-view [Sysname] snmp-agent sys-info location Room524-row1-3 Related commands display - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 105
to configure the SNMP agent to send SNMP notifications (informs or traps) to a host. Use undo snmp-agent target-host to remove an SNMP notification target host. Syntax In non-FIPS mode: snmp-agent target-host inform address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port port-number ] [ vpn - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 106
port-number ] [ vpn-instance vpn-instance-name ] params securityname security-string v3 { authentication | privacy } undo snmp-agent target-host { trap | inform } address udp-domain { ip-address | ipv6 ipv6-address } params securityname security-string [ vpn-instance vpn-instance-name ] Default No - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 107
supported only in non-FIPS mode. You can specify multiple SNMP notification target hosts. Make sure the SNMP agent uses the same UDP port for SNMP notifications as the target host. Typically, NMSs, for example, IMC and MIB Browser, use port Configure Related commands • snmp ] Default SNMP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 108
Predefined user roles network-admin Parameters bgp: Specifies SNMP notifications for the BGP and error subcode. configuration: Specifies configuration notifications. If configuration notifications are enabled, the system checks the running configuration and the startup configuration every 10 minutes - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 109
Virtual interface configuration error port comes up. Notification sent when the SNMP agent restarts. system: Specifies notifications sent when the system time is modified, the system reboots, or the main system software image is not available. Usage guidelines The snmp-agent trap enable command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 110
Related commands snmp-agent target-host snmp-agent trap if-mib link extended Use snmp-agent trap if-mib link extended to configure the SNMP agent to send extended linkUp/linkDown notifications. Use undo snmp-agent trap if-mib link extended to restore the default. Syntax snmp-agent trap if-mib link - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 111
system-view [Sysname] snmp-agent trap life 60 Related commands • snmp-agent target-host • snmp-agent trap enable • snmp- Default The SNMP notification queue can store up to 100 notifications. Views System view Predefined user roles network-admin Parameters size: Sets the maximum number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 112
group. Syntax snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent usm-user { v1 | v2c } user-name group-name Default No SNMP users have been configured. Views System view Predefined user roles network-admin Parameters v1: Specifies - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 113
user { v1 | v2c } command enables managing SNMPv1 and SNMPv2c communities in the same way as managing SNMPv3 users. It does not affect the way of configuring -password [ privacy-mode { aes128 | des56 } priv-password ] ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent usm-user v3 user- - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 114
-mode aes128 priv-password ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent usm-user v3 user-name group-name { local | engineid engineid-string | remote { ip-address | ipv6 ipv6-address } [ vpn-instance vpn-instance-name ] } Default No SNMPv3 users have been configured. Views System - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 115
creates them. By default, SNMPv3 users are created on the local SNMP engine. When you create an SNMPv3 user for sending SNMP inform messages, you must associate it with the remote SNMP engine. If you configure an SNMPv3 user multiple times, the most recent configuration takes effect. For security - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 116
SNMP agent to access the MIB objects in the default view ViewDefault. # Add the user testUser to the SNMPv3 user v3 remoteUser testGroup remote 10.1.1.1 simple authentication-mode sha authkey privacy-mode aes128 prikey Related commands • display snmp-agent usm-user • snmp-agent calculate-password - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 117
NQA commands data-fill Use data-fill to configure the string to be filled in the payload of each probe packet. Use undo data-fill to restore the default. Syntax data-fill string undo data-fill Default The string is the hexadecimal number 00010203040506070809. Views ICMP echo operation view, UDP echo - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 118
purpose. Use undo description to remove the description. Syntax description text undo description Default No description is configured for an NQA operation. Views Any NQA operation type view Predefined user roles network-admin Parameters text: Specifies a case-sensitive string of 1 to 200 characters - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 119
the destination port number for the operation. Use undo destination port to remove the destination port number. Syntax destination port port-number undo destination port Default No destination port number is configured for the operation. Views UDP echo operation view Predefined user roles network - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 120
Configure the destination port number of the UDP echo operation as 9000. system-view [Sysname] nqa entry admin test [Sysname-nqa-admin-test] type udp-echo [Sysname-nqa-admin-test-udp-echo] destination port the display nqa result command or the display nqa statistics command to verify the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 121
admin-name operation-tag [ item-number ] ] Views Any view Predefined user roles network-admin network-operator these two arguments are not specified, the command displays the current monitoring results of reaction entries for all NQA operations. item-number: Specifies a reaction entry by its ID, - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 122
-fail consecutive 162 Over-threshold Num 4 56 0 2 Table 31 Command output Field Index Checked Element Threshold Type Checked Num Over-threshold Num Description ID of a reaction entry. Monitored performance metric. Threshold type. Number of targets that have been monitored for data collection - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 123
1 to 32 characters. If these two arguments are not specified, the command displays the result of all NQA operations. Examples # Display the result to internal error Failures due to other errors Description Number of operations. Number of response packets received. Minimum/maximum/average round- - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 124
Predefined user statistics command before the operation completes, the statistics are displayed as all 0s. If a reaction entry is configured, the command displays . Duration of the operation in seconds. Number of probe packets sent. Number of response packets received. Minimum/maximum/average - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 125
the duration exceeds the threshold. Number of probe failures. Number of probe failures. Related commands statistics interval frequency Use frequency to specify the interval at which the NQA operation repeats. Use undo frequency to restore the default. Syntax frequency interval undo frequency - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 126
operation does not start. Examples # Configure the ICMP echo operation to repeat undo history-record enable Default The saving of history user roles network-admin Usage guidelines To display the history records of the NQA operation, use the display nqa history command. The undo form of the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 127
icmp-echo] history-record enable Related commands display nqa history history-record keep- number Use history-record number to set the maximum number of history records that can be saved for an NQA operation. Use undo history-record number to restore the default. Syntax history-record number number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 128
the number of history records for an NQA operation exceeds the maximum number, earliest history records are removed. Examples # Set the maximum number of next-hop Default No next hop IP address is configured for the ICMP echo operation. Views ICMP echo operation view Predefined user roles network- - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 129
| entry admin-name operation-tag } Default No NQA operation is created. Views System view Predefined user roles network-admin Parameters admin-name: Specifies has been configured for the operation, this command directly places you to NQA operation view. After you configure the scheduling parameters - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 130
Default The NQA client is enabled. Views System view Predefined user roles network-admin Examples # Enable the NQA client. system-view [Sysname] nqa agent enable Related commands nqa server enable nqa schedule Use nqa schedule to configure the scheduling parameters for an NQA operation. - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 131
the undo nqa schedule command. recurring: Run the default. Syntax probe count times undo probe count Default An operation performs one probe. Views ICMP echo operation view, UDP echo operation view Predefined user Configure the ICMP echo operation to perform 10 probes. system-view - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 132
undo probe timeout Default The timeout time of a probe is 3000 milliseconds. Views ICMP echo operation view, UDP echo operation view Predefined user roles network- -threshold [ action-type none ] undo reaction item-number Default No reaction entry for monitoring the probe duration is configured. 130 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 133
user roles network-admin Parameters item-number: Assigns an ID to the reaction entry, in the range of 1 to 10. threshold-type: Specifies a threshold type. accumulate accumulate-occurrences: Checks the maximum number what action to be triggered. The default action is none. none: Specifies the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 134
consecutive-occurrences } [ action-type none ] undo reaction item-number Default No reaction entry for monitoring probe failures is configured. Views ICMP echo operation view, UDP echo operation view Predefined user roles network-admin Parameters item-number: Assigns an ID to the reaction entry, in - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 135
-occurrences action-type trigger-only undo reaction item-number Default No reaction entry for monitoring probe failures is configured. Views ICMP echo operation view, UDP echo operation view Predefined user roles network-admin Parameters item-number: Assigns an ID to the reaction entry, in - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 136
entry 1. If the number of consecutive probe failures commands Track (High Availability Command Reference Default The routing table bypass function is disabled. Views ICMP echo operation view, UDP echo operation view Predefined user configure the source interface for ICMP echo request packets. 134 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 137
Default No source interface is configured for ICMP echo request packets. Views ICMP echo operation view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface by its type and number. Usage guidelines If you configure both the source interface command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 138
ip 10.1.1.1 Related commands source interface source port Use source port to configure the source port for probe packets. Use undo source port to remove the configured port number. Syntax source port port-number undo source port Default No source port number is configured for probe packets. Views - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 139
nqa-admin-test-udp-echo] source port 8000 statistics hold-time Use statistics hold-time to configure the hold time of statistics groups for an NQA operation. Use undo statistics hold-time to restore the default. Syntax statistics hold-time hold-time undo statistics hold-time Default The hold time of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 140
groups, use the display nqa statistics command. Examples # Configure the system to collect the ICMP echo configure the maximum number of statistics groups that can be saved. Use undo statistics max-group to restore the default. Syntax statistics max-group number undo statistics max-group Default - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 141
value undo tos Default The ToS value in the IP packet header of probe packets is 0. Views ICMP echo operation view, UDP echo operation view Predefined user roles network-admin Parameters value: Specifies the ToS value in the IP packet header, in the range of 0 to 255. Examples # Configure the ToS - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 142
Examples # Configure the TTL for probe packets as 16. system-view [Sysname] operation type view. Syntax type { icmp-echo | udp-echo } Default No operation type is specified. Views NQA operation view Predefined user roles network-admin Parameters icmp-echo: Specifies the ICMP echo operation - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 143
Predefined user roles network-admin Parameters vpn-instance-name: Specifies the name of the MPLS L3VPN, a case-sensitive string of 1 to 31 characters. Usage guidelines After you - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 144
Active Table 36 Command output Field sFlow datagram version Global information Agent IP Source address Collector information ID IP Description sFlow version, which can only take the value of 5. Global sFlow information. IP address of the sFlow agent: • CLI-Manually configured IP address. • Auto - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 145
number of packets. Physical status of the port configured with sFlow: • Suspended-The port is down. • Active-The port is up. sflow agent Use sflow agent to configure an IP address for the sFlow agent. Use undo sflow agent to restore the default configuration file. Views System view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 146
{ ip ip-address | ipv6 ipv6-address } [ port port-number ] [ datagram-size size ] [ time-out seconds ] [ description text ] undo sflow collector collector-id Default No sFlow collector information is configured. Views System view Predefined user roles network-admin Parameters collector-id: Specifies - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 147
# Configure parameters for an sFlow collector: specify the ID as 2, VPN name as vpn1, IP address as 3.3.3.1, port number as the default, default. Syntax sflow counter interval interval-time undo sflow counter interval Default Counter sampling is disabled. Views Ethernet interface view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 148
undo sflow flow collector Default No sFlow collector is specified for flow sampling. Views Ethernet interface view Predefined user roles network-admin sflow flow max-header Use sflow flow max-header to set the maximum number of bytes of a packet (starting from the packet header) that flow sampling - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 149
to 128 bytes of a packet. Views Ethernet interface view Predefined user roles network-admin Parameters length: Specifies the maximum number of bytes that can be copied, in the range of 18 to 512. HP recommends that you use the default. Examples # Set the maximum number of bytes that can be copied to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 150
-rate Default Flow sampling samples no packet. Views Ethernet interface view Predefined user roles network-admin Parameters rate: Specifies the number of 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] sflow sampling-rate 4000 Related commands sflow sampling-mode sflow source Use sflow source to specify - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 151
Views System view Predefined user roles network-admin Parameters ip ip-address: Specifies the source IPv4 address of sFlow packets. ipv6 ipv6-address: Specifies the source IPv6 address of sFlow - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 152
, in the range of 0 to 19. The default value is 0. verbose: Displays detailed information. Without this keyword, the command displays brief information. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays kernel thread deadloop information for the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 153
01 11:16:00.823018 Occurred at : 2011-09-01 11:16:00.823018 Instruction address : 0x4004158c Thread : comsh (TID: 16306) Context : thread context Chassis 0xe332a000) module name (12500) module address (0xe00bd000) Last 5 thread switches : migration/0 (11:16:00.823018)--> swapper (11:16:00. - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 154
0x801223a0 Instruction dump: 41a2fe9c 812300ec 800200ec 7f890000 409efe8c 80010014 540b07b9 40a2fe80 4bfffe6c 80780290 7f64db78 4804ea35 38800000 38a00080 3863000c Table 37 Command output Field Description Description Description for the kernel thread deadloop, including the CPU number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 155
switches Register content Dump stack Call trace Instruction configuration. Syntax display kernel deadloop configuration [ slot slot-number ] Views Any view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device by its ID. Without this option, the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 156
exclude-thread command is configured. Kernel thread name. Kernel thread number. All default value is 0. verbose: Displays detailed information. Without this keyword, the command displays brief information. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 157
11:16:00.823018 Occurred at : 2011-09-01 11:16:00.823018 Instruction address : 0x4004158c Thread : comsh (TID: 16306) Context : thread context (0xe332a000) module name (12500) module address (0xe00bd000) Last 5 thread switches : migration/0 (11:16:00.823018)--> swapper (11:16:00.833018 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 158
Reg: Reg: Reg: Reg: Reg: Reg: Reg: Reg: r26, Val = 0x00000000 ; Reg: r28, Val = 0x0000002c ; Reg: r30, Val = 0x0000002c ; Reg: cr, Val = 0x84000028 ; Reg: xer, Val = 0x00000000 ; Reg: ctr, Val = 0x682f7344 ; Reg: trap, Val = 0x0000b030 ; Reg: dsisr, Val = 0x40000000 ; Reg: r27, Val = 0x057d9484 ; - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 159
Function Address = 0x801223a0 Instruction dump: 41a2fe9c 812300ec 800200ec default value is 0. verbose: Displays detailed information. Without this keyword, the command displays brief information. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 160
Slot : 0 CPU ID : 0 Kernel module info : module name (mrpnc) module address (0xe332a000) module name (12500) module address (0xe00bd000) Last 5 thread switches : migration/0 (11:16:00.823018)--> swapper (11:16:00.833018)--> kthreadd (11:16:00.833518)--> swapper (11:16:00.833550)--> test_12500 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 161
kernel thread name and kernel thread switching time, with microsecond precision. Stack information. Function call stack information, which shows the instruction address of a called function at each level. No kernel thread reboot information. Related commands reset kernel reboot display kernel - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 162
default value is 0. verbose: Displays detailed information. Without this keyword, the command displays brief information. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command : 2011-09-01 11:16:00.823018 Instruction address : 0x4004158c Thread : comsh (TID - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 163
swapper (11:16:00.833018)--> kthreadd (11:16:00.833518)--> swapper (11:16:00.833550)--> test_12500 (11:16:00.833560) Register content: Reg: r0, Val = 0x00000000 ; Reg: Reg: r2, Val = 0x00000000 ; Reg: Reg: r4, Val = 0x00000000 ; Reg: Reg: r6, Val = 0x00000000 ; Reg: Reg: r8, Val = - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 164
Address = 0x801223a0 Instruction dump: 41a2fe9c 812300ec configuration. Syntax display kernel starvation configuration [ slot slot-number] Views Any view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device by its ID. Without this option, the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 165
-id | name process-name ] [ slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters all: Specifies all marks or spaces. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays process state information for the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 166
MM:SS:MESC Name 1 0 0K 120 S 0:0:5:220 scmd Table 41 Command output Field Job ID PID Parent JID Parent PID Executable path Instance Respawn hyphen (-). Instance number of the process. Whether a process can run multiple instances depends on the software implementation. Indicates whether - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 167
troubleshooting. Parameters carried by the process during startup. If the process carries no parameters, this field displays a hyphen (-). Thread ID. Number . display process all JID PID %CPU %MEM STAT PRI TTY HH:MM:SS COMMAND 1 1 0.0 0.0 S 120 - 00:00:04 scmd 2 2 0.0 0.0 S 115 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 168
for all processes. Syntax display process cpu [ slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays CPU usage for all processes on the master - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 169
. Syntax display process log [ slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays log information for all user processes on the master device. 167 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 170
roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays memory usage for all user processes on the master device. Usage guidelines When a user process starts, it requests the following types of memory from - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 171
commands • display process memory heap • display process memory heap address • display process memory heap size display process memory heap Use display process memory heap to display heap memory usage for a user process. Syntax display process memory heap job job-id [ verbose ] [ slot slot-number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 172
. verbose: Displays detailed information. Without this keyword, the command displays brief information. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays heap memory usage for the user process on the master device. Usage guidelines Heap memory - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 173
of 1 to 1024 bytes. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays memory content information on the master device. Usage guidelines When a user process runs abnormally, this command helps locate the problem. Examples # Display 128-byte memory - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 174
through 66th 16-byte blocks used by the process. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays block address information on the master device. Usage guidelines This command displays memory block addresses in hexadecimal format. To view memory - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 175
monitor kernel deadloop enable [ slot slot-number ] undo monitor kernel deadloop enable [ slot slot-number ] Default Kernel thread deadloop detection is disabled. Views System view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device by its ID. If you - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 176
kernel threads. Views System view Predefined user roles network-admin Parameters tid: Specifies a kernel thread by its ID, in the range of 1 to 2147483647. If no kernel thread is specified for the undo command, the default is restored. slot slot-number: Specifies an IRF member device by its ID. If - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 177
] Default The interval for identifying a kernel thread deadloop is 60 seconds. Views System view Predefined user roles network-admin Parameters time interval: Specifies the interval for identifying a kernel thread deadloop, in the range of 1 to 65535 seconds. slot slot-number: Specifies an IRF - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 178
System view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the master device is specified. Usage guidelines Starvation occurs when a thread is unable to access shared resources. This command enables the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 179
number: Specifies an IRF member device by its ID. If you do not specify this option, the master device is specified. Usage guidelines You can disable kernel thread starvation detection for up to 128 kernel threads by executing the command. Inappropriate use of this command can cause service problems - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 180
the number argument is 1 by default. If neither the dumbtty keyword nor the number argument is specified, there is no limit to the display times and process statistics are refreshed every 5 seconds. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 181
default value is 5 seconds. Sorts processes by the number of open files in descending order. Files are identified by file descriptors (FDs). Kills a process. Because the command 0 stopped, 0 zombie CPU states: 77.16% idle, 0.00% user, 14.96% kernel, 7.87% interrupt Memory: 496M total, 341M - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 182
as follows (which is the same as executing the monitor process dumbtty command twice at a 5-second interval): 76 processes; 103 threads; 687 , 102 sleeping, 0 stopped, 0 zombie CPU states: 78.71% idle, 0.16% user, 14.86% kernel, 6.25% interrupt Memory: 496M total, 341M available, page size 4K - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 183
sleeping, 0 stopped, 0 zombie CPU states: 78.98% idle, 0.16% user, 14.57% kernel, 6.27% interrupt Memory: 496M total, 341M available, page commands: ?,h Show the available interactive commands c Sort by the CPU field(default) d Set the delay interval between screen updates f Sort by number of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 184
106 sleeping, 0 stopped, 0 zombie CPU states: 59.03% idle, 1.92% user, 37.88% kernel, 1.15% interrupt Memory: 755M total, 419M available, page mode. Table 48 Command output Field 84 processes; 107 threads; 683 fds JID PID PRI State FDs MEM HH:MM:SS CPU Description Numbers of processes, threads, - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 185
the dumbtty keyword, the number argument is 1 by default. If neither the dumbtty keyword nor the number argument is specified, there is no limit to the display times. slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays thread statistics for the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 186
, 0 stopped, 0 zombie CPU states: 94.43% idle, 0.76% user, 3.64% kernel, 1.15% interrupt Memory: 755M total, 417M available, for interactive commands: ?,h Show the available interactive commands c Sort by the CPU field(default) d Set the delay interval between screen updates k Kill - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 187
updates (1~2147483647): 3 • Enter n, and then enter a number to modify the maximum number CPU states: 96.26% idle, 0.54% user, 2.63% kernel, 0.54% interrupt Memory: mode. Table 50 Command output Field 84 processes; 107 threads JID TID LAST_CPU PRI Description Numbers of processes and threads - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 188
deadloop information. Syntax reset kernel deadloop [ slot slot-number ] Views User view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the command clears kernel thread deadloop information for the master - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 189
reboot information. Syntax reset kernel reboot [ slot slot-number ] Views User view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the command clears kernel thread reboot information for the master device - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 190
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the command clears kernel thread starvation information for the master device. Examples # Clear kernel thread starvation information. reset kernel starvation Related commands display kernel - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 191
commands display mirroring-group Use display mirroring-group to display mirroring group information. Syntax display mirroring-group { group-id | all | local | remote-destination | remote-source } Views Any view Predefined user roles network-admin network-operator Parameters group-id: Number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 192
Table 51 Command output Field Mirroring group Type Status Mirroring port Monitor port Description Number of the mirroring group. Type of the mirroring group: • Local. • Remote source. • Remote destination. Status of the mirroring group: • Active. • Incomplete-The mirroring group is not configured - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 193
{ both | inbound | outbound } undo mirroring-group group-id mirroring-port Default No source port is configured for any mirroring group. Views Interface view Predefined user roles network-admin Parameters group-id: Number of the mirroring group, in the range of 1 to 4. The mirroring group specified - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 194
-list { both | inbound | outbound } undo mirroring-group group-id mirroring-port interface-list Default No source port is configured for a mirroring group. Views System view Predefined user roles network-admin Parameters group-id: Number of the mirroring group, in the range of 1 to 4. The mirroring - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 195
group group-id monitor-egress undo mirroring-group group-id monitor-egress Default No egress port is configured for a mirroring group. Views System view, interface view Predefined user roles network-admin Parameters group-id: Number of the mirroring group, in the range of 1 to 4. The mirroring group - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 196
of a mirroring group. Syntax mirroring-group group-id monitor-port undo mirroring-group group-id monitor-port Default No monitor port is configured for a mirroring group. Views Interface view Predefined user roles network-admin Parameters group-id: Number of the mirroring group, in the range of 1 to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 197
group group-id monitor-port interface-type interface-number undo mirroring-group group-id monitor-port interface-type interface-number Default No monitor port is configured for a mirroring group. Views System view Predefined user roles network-admin Parameters group-id: Number of the mirroring group - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 198
mirroring-group group-id reflector-port Default No reflector port is configured for a mirroring group, and a port does not serve as the reflector port for a mirroring group. Views System view, interface view Predefined user roles network-admin Parameters group-id: Number of the mirroring group, in - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 199
reflector-port This operation may delete all settings made on the interface. Continue? [Y/N]:y Related commands mirroring- vlan vlan-id Default No remote probe VLAN is configured for a mirroring group. Views System view Predefined user roles network-admin Parameters group-id: Number of the mirroring - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 200
> system-view [Sysname] mirroring-group 1 remote-source [Sysname] mirroring-group 1 remote-probe vlan 10 # Create remote destination group 2, and configure VLAN 20 as its remote probe VLAN. system-view [Sysname] mirroring-group 2 remote-destination [Sysname] mirroring-group 2 remote-probe - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 201
mirror-to { cpu | interface interface-type interface-number } undo mirror-to { cpu | interface interface-type interface-number } Default No mirroring destination is configured for a traffic behavior. Views Traffic behavior view Pre-defined user roles network-admin Parameters cpu: Mirrors traffic to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 202
Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com • HP Education http://www.hp.com/learn - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 203
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands bold text. For example, the New User window appears; click OK. Multi-level or damage to hardware or software. An alert that calls - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 204
wired-WLAN switch. Represents an access point. Represents a security product, such as a firewall, a UTM, or a load-balancing or security card that is installed in a device. Represents a security card, such as a firewall card, a load-balancing card, or a NetStream card. Port numbering in examples - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 205
port,117 display debugging,6 display info-center,54 display kernel deadloop,150 display kernel deadloop configuration 81 display snmp-agent mib-view,82 display ,87 display snmp-agent usm-user,88 display sntp ipv6 sessions keep-time,125 history-record number,125 I info-center logfile switch-directory - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 206
info-center security-logfile switch-directory,70 info-center source,70 info-center synchronous,72 info-center timestamp,73 info-center timestamp loghost,74 L logfile save,74 M mirroring-group,190 mirroring-group mirroring-port (interface view),191 mirroring-group mirroring-port (system view),192 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 207
trap if-mib link extended,108 snmp-agent trap life,108 snmp-agent trap queue-size,109 snmp-agent usm-user { v1 | v2c },110 snmp-agent usm-user v3,111 source ip,135 source port,136 statistics hold-time,137 statistics interval,137 statistics max-group,138 Subscription service,200 T terminal debugging,
HP 6125XLG Blade Switch
Network Management and Monitoring
Command Reference
Part number: 5998-3740
Software version: Release 2306
Document version: 6W100-20130912