HP FlexFabric 11900 Switch Series Network Management and Monitoring Command Reference Part number: 5998-4083 Software version: Release 2105 and later Document version: 6W100-20130515
Legal and notice information © Copyright 2013 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Ping, tracert, and system debugging commands······································································································· 1 debugging ································································································································································· 1 display debugging ··················································································································································· 1 ping ······
display logfile summary ········································································································································ 53 enable log updown ··············································································································································· 54 info-center enable ·················································································································································· 55 info-center lo
NQA commands ····················································································································································· 106 NQA client commands ················································································································································ 106 data-fill ·································································································································································· 106
display process cpu ············································································································································ 157 display process log ············································································································································· 158 display process memory ····································································································································· 159 display process memo
Ping, tracert, and system debugging commands debugging Use debugging to enable debugging for a specific module. Use undo debugging to disable debugging for a specific module. Syntax debugging { all [ timeout time ] | module-name [ option ] } undo debugging { all | module-name [ option ] } Default Debugging functions are disabled for all modules. Views User view Predefined user roles network-admin Parameters all: Enables all debugging functions.
Syntax display debugging [ module-name ] Views Any view Predefined user roles network-admin network-operator Parameters module-name: Displays the debugging settings of the specified module. To display the current module name, use the display debugging ? command. Examples # Display all enabled debugging functions. display debugging DEV debugging switch is on Related commands debugging ping Use ping to verify whether the destination IP address is reachable, and display related statistics.
-i interface-type interface-number: Specifies the ICMP echo request sending interface by its type and number. If this option is not provided, the ICMP echo request sending interface is determined by searching the routing table or forwarding table according to the destination IP address. -m interval: Specifies the interval (in milliseconds) to send an ICMP echo request. The interval argument is in the range of 1 to 65535. The default value is 200. -n: Disables domain name resolution for the host argument.
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. ping -vpn-instance vpn1 1.1.2.2 PING 1.1.2.2 (1.1.2.2): 56 data bytes, press CTRL_C to break 56 bytes from 1.1.2.2: icmp_seq=0 ttl=254 time=2.137 ms 56 bytes from 1.1.2.2: icmp_seq=1 ttl=254 time=2.051 ms 56 bytes from 1.1.2.2: icmp_seq=2 ttl=254 time=1.996 ms 56 bytes from 1.1.2.2: icmp_seq=3 ttl=254 time=1.963 ms 56 bytes from 1.1.2.
Field Description Received ICMP echo replies from the device whose IP address is 1.1.2.2. If no echo reply is received during the timeout period, no information is displayed. 56 bytes from 1.1.2.2: icmp_seq=0 ttl=254 time=4.685 ms • bytes—Number of data bytes in the ICMP reply. • icmp_seq—Packet sequence, used to determine whether a segment is lost, disordered or repeated. • ttl—TTL value in the ICMP reply. • time—Response time. RR: Routers through which the ICMP echo request passed.
-t timeout: Specifies the timeout time (in milliseconds) of an ICMPv6 echo reply. The timeout argument is in the range of 0 to 65535. The default value is 2000. -v: Displays detailed information (including the dst field and the idx field) about ICMPv6 echo replies. If this keyword is not specified, the system only displays brief information (not including the dst field and the idx field) about ICMPv6 echo replies.
--- 2001::2 ping6 statistics --5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss round-trip min/avg/max/std-dev = 4.000/25.000/62.000/20.000 ms The output shows that: • The destination is reachable, and ICMPv6 echo requests are replied. • The minimum/average/maximum/standard deviation roundtrip time of packets is 4 milliseconds, 25 milliseconds, 62 milliseconds and 20 milliseconds. Table 2 Command output Field Description A 104-byte ICMPv6 echo reply is sent from 2001::1to 2001::2.
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 option is not specified, the source IP address of a tracert packet is the primary IP address of the outbound interface of this tracert packet. -f first-ttl: Specifies the first TTL (the maximum number of hops allowed for the first packet). The first-ttl argument is in the range of 1 to 255. The default value is 1.
Table 3 Command output Field Description traceroute to 1.1.2.2(1.1.2.2) Display the route that the IP packets traverse from the current device to the device whose IP address is 1.1.2.2. hops at most Maximum number of hops of the probe packets, which can be set by the -m keyword. bytes each packet Number of bytes of a probe packet. press CTRL_C to break During the execution of the command, press Ctrl+C to abort the tracert operation. 1 1.1.1.
-vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If the destination is on the public network, do not specify this option. -w timeout: Specifies the timeout time (in milliseconds) of the reply packet of a probe packet. The timeout argument is in the range of 1 to 65535. The default value is 5000 milliseconds. host: Specifies the IPv6 address or host name (a string of 1 to 253 characters) for the destination.
NTP commands display ntp-service ipv6 sessions Use display ntp-service ipv6 sessions to display information about all IPv6 NTP associations. Syntax display ntp-service ipv6 sessions [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters verbose: Displays detailed information about all IPv6 NTP associations. If you do not specify this keyword, the command displays only brief information about the IPv6 NTP associations.
Field Description Reference clock ID of the NTP server: • If the reference clock is the local clock, the value of this field is related to the value of the Clock stratum field: { Reference { When the value of the Clock stratum field is 0 or 1, this field displays Local. When the Clock stratum field has another value, this field displays the MD5 digest value of the first 32 bits of the IPv6 address. The MD5 digest value is in dotted decimal format.
Rcvtime: 00000000.00000000 Thu, Feb 7 2036 6:28:16.000 Xmttime: 00000000.00000000 Thu, Feb 7 2036 6:28:16.000 Roundtrip delay samples: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 Offset samples: 0.00 Filter order: 0 1 0.00 2 0.00 0.00 3 0.00 4 0.00 5 6 0.00 0.00 7 Total sessions: 1 Table 6 Command output Field Description Clock source IPv6 address of the clock source. Clock stratum Stratum level of the NTP server, which determines the clock precision.
Field Description Operation mode of the local device: Local mode local poll interval • • • • • • • unspec—The mode is unspecified. sym_active—Active mode. sym_passive—Passive mode. client—Client mode. server—Server mode. broadcast—Broadcast or multicast server mode. bclient—Broadcast or multicast client mode. Polling interval for the local device, in seconds. The value displayed is a power of 2. For example, if the displayed value is 6, the poll interval of the local device is 26, or 64 seconds.
Field Description Xmttime Transmit timestamp in the NTP message. Filter order Dispersion information. Status of the local clock. The field is displayed only when you use the ntp-service refclock-master command to set the local clock as a reference clock. Reference clock status 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 sessions Total number of associations.
Table 7 Command output Field Description • When the reference clock is the local clock, the field displays LOCAL (number), which indicates that the IP address of the local clock is 127.127.1.number, where number represents the NTP process number in the range of 0 to 3. source • When the reference clock is the clock of another device, the field displays the IP address of the NTP server.
Reference clock ID: 127.127.1.0 VPN instance: Not specified Local mode: client, local poll interval: 6 Peer mode: server, peer poll interval: 6 Offset: 0.2862ms, roundtrip delay: 3.2653ms, dispersion: 4.5166ms Root roundtrip delay: 0.0000ms, root dispersion: 10.910ms Reachabilities:31, sync distance: 0.0194 Precision: 2^18, version: 3, source interface: Not specified Reftime: d17cbba5.1473de1e Tue, May 17 2011 9:17:25.079 Orgtime: 00000000.00000000 Thu, Feb 7 2036 6:28:16.000 Rcvtime: d17cbbc0.
Field Description Reference clock ID of the NTP server: • If the reference clock is the local clock, the value of this field is related to the value of the Clock stratum field: { Reference clock ID { When the value of the Clock stratum field is 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.
Field Description sync distance Synchronization distance relative to the upper-level clock, in seconds, and calculated from dispersion and roundtrip delay values. Precision Accuracy of the system clock. version NTP version in the range of 1 to 4. source interface Source interface. If the source interface is not specified, this field is Not specified. Reftime Reference timestamp in the NTP message. Orgtime Originate timestamp in the NTP message. Rcvtime Receive timestamp in the NTP message.
Clock precision: 2^-10 Root delay: 0.00000 ms Root dispersion: 3.96367 ms Reference time: d0c5fc32.92c70b1e Wed, Dec 29 2010 18:28:02.573 # Display the NTP service status when time is not synchronized. display 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.
Field Description For an IPv4 NTP server: The field represents the IP address of the remote server when the local device is synchronized to a remote NTP server. The field represents the local clock when the local device uses the local clock as a reference source. • When the local clock has a stratum level of 1, this field displays Local. • When the local clock has any other stratum, this field displays the IP address of the local clock.
View Any view Predefined user roles network-admin network-operator Examples # Display brief information about each NTP server from the local device back to the primary reference source. display ntp-service trace Server 127.0.0.1 Stratum 3, jitter Server 3000::32 Stratum 2 , jitter 790.00, synch distance 0.0000. RefID 127.127.1.0 0.000, synch distance 0.0000. The output shows that server 127.0.0.
Predefined user roles network-admin Parameters peer: Allows time requests and NTP control queries (such as alarms, authentication status, and time server information) from a peer device and allows the local device to synchronize itself to a peer device. query: Allows only NTP control queries from a peer device to the local device. server: Allows time requests and NTP control queries from a peer device, but does not allow the local device to synchronize itself to a peer device.
undo ntp-service authentication enable Default NTP authentication is disabled. Views System view Predefined user roles network-admin Usage guidelines Enable NTP authentication in networks that require time synchronization security to make sure NTP clients are only synchronized to authenticated NTP servers. To authenticate an NTP server, set an authentication key and specify it as a trusted key. Examples # Enable NTP authentication.
Usage guidelines In a network where there is a high security demand, the NTP authentication feature must be enabled for a system running NTP. This feature enhances the network security by using client-server key authentication, which prohibits a client from synchronizing to a device that has failed the authentication. After you specify an NTP authentication key, use the ntp-service reliable authentication-keyid command to configure the key as a trusted key.
[Sysname-Vlan-interface1] ntp-service broadcast-client Related commands ntp-service broadcast-server ntp-service broadcast-server Use ntp-service broadcast-server to configure the device to operate in NTP broadcast server mode and use the current interface to send NTP broadcast packets. Use undo ntp-service broadcast-server to remove the configuration.
Syntax ntp-service enable undo ntp-service enable Default The NTP service is not enabled. Views System view Predefined user roles network-admin Examples # Enable the NTP service. system-view [Sysname] ntp-service enable ntp-service inbound disable Use ntp-service inbound disable to disable an interface from receiving NTP messages. Use undo ntp-service inbound disable to restore the default.
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 the peer devices to access the IPv6 NTP services of the local device is peer.
• ntp-service authentication-keyid • ntp-service reliable authentication-keyid ntp-service ipv6 inbound disable Use ntp-service ipv6 inbound disable to disable an interface from receiving IPv6 NTP messages. Use undo ntp-service ipv6 inbound disable to restore the default. Syntax ntp-service ipv6 inbound disable undo ntp-service ipv6 inbound disable Default All interfaces are enabled to receive IPv6 NTP messages.
Parameters ipv6-multicast-address: Specifies an IPv6 multicast IP address. An IPv6 broadcast client and an IPv6 broadcast server must be configured with the same multicast address. Usage guidelines After you configure this command, the device listens to IPv6 NTP messages with the destination address as the specified multicast address and is synchronized based on the received IPv6 NTP messages.
Examples # Configure the device to operate in IPv6 multicast server mode and send IPv6 NTP multicast messages on VLAN-interface 1 to the multicast address FF21::1, using key 4 for encryption. system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] ntp-service ipv6 multicast-server ff21::1 authentication-keyid 4 Related commands ntp-service ipv6 multicast-client ntp-service ipv6 source Use ntp-service ipv6 source to specify the source interface for IPv6 NTP messages.
Examples # Specify the source interface of IPv6 NTP messages as VLAN-interface 1. system-view [Sysname] ntp-service ipv6 source vlan-interface 1 ntp-service ipv6 unicast-peer Use ntp-service ipv6 unicast-peer to specify an IPv6 symmetric-passive peer for the device. Use undo ntp-service ipv6 unicast-peer to remove the IPv6 symmetric-passive peer specified for the device.
Usage guidelines When you specify an IPv6 passive peer for the device, the device and its IPv6 passive peer can be synchronized to each other. If their clocks are in synchronized state, the clock with a high stratum level is synchronized to the clock with a lower stratum level. To synchronize the PE to a PE or CE in a VPN, provide the vpn-instance vpn-instance-name option in the command.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the NTP server belongs, where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the NTP server is on the public network, do not specify this option. authentication-keyid keyid: Specifies the key ID to be used for sending NTP messages to the NTP server, where keyid is in the range of 1 to 4294967295. If this option is not specified, the local device and NTP server do not authenticate each other.
Default The maximum number of dynamic NTP sessions is 100. View System view Predefined user roles network-admin Parameters number: Sets the maximum number of dynamic NTP associations allowed to be established, in the range of 0 to 100. Usage guidelines A single device can have a maximum of 128 concurrent associations, including static associations and dynamic associations.
Usage guidelines After you configure this command, the device listens to NTP messages with the destination address as the specified multicast address. If you have configured the device to operate in multicast client mode on an interface with this command, do not add the interface to any aggregate group. To add the interface to an aggregate group, remove the configuration of the command.
Usage guidelines After you configure this command, the device periodically sends NTP messages to the specified multicast address. If you have configured the device to operate in multicast server mode on an interface with this command, do not add the interface to any aggregate group. To add the interface to an aggregate group, remove the configuration of the command.
If the devices in a network cannot synchronize to an authoritative time source, you can select a device that has a relatively accurate clock from the network, and use the local clock of the device as the reference clock to synchronize other devices in the network. Use this command with caution to avoid time errors. Before you execute the command, HP recommends that you adjust the local system time. Examples # Specify the local clock as the reference source, with the stratum level 2.
Related 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 source Default No source interface is specified for NTP messages.
ntp-service unicast-peer Use ntp-service unicast-peer to specify a symmetric-passive peer for the device. Use undo ntp-service unicast-peer to remove the symmetric-passive peer specified for the device.
Examples # Specify the device with the IP address of 10.1.1.1 as the symmetric-passive peer of the device, configure the device to run NTP version 4, and specify the source interface of NTP messages as VLAN-interface 1. system-view [Sysname] ntp-service unicast-peer 10.1.1.
Usage guidelines When you specify an NTP server for the device, the device is synchronized to the NTP server, but the NTP server is not synchronized to the device. To synchronize the PE to a PE or CE in a VPN, provide vpn-instance vpn-instance-name 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 server with the IP address of ip-address in the specified VPN.
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. display sntp ipv6 sessions SNTP server: 2001::1 Stratum: 16 Version: 4 Last receive time: No packet was received.
Syntax display sntp sessions Views Any view Predefined user roles network-admin network-operator Examples # Display information about all SNTP associations. display sntp sessions SNTP server Stratum Version Last receive time 1.0.1.11 2 4 Tue, May 17 2011 9:11:20.833 (Synced) Table 12 Command output Field Description SNTP server SNTP server (NTP server). Stratum Stratum level of the NTP server, which determines the clock accuracy. It is in the range of 1 to 16.
Examples # Enable SNTP authentication. system-view [Sysname] sntp authentication enable Related commands • sntp authentication-keyid • sntp reliable authentication-keyid sntp authentication-keyid Use sntp authentication-keyid to set an SNTP authentication key. Use undo sntp authentication-keyid to remove the SNTP authentication key.
Examples # Set an MD5 authentication key, with the key ID of 10 and key value of BetterKey. Input the key in plain text. system-view [Sysname] sntp authentication enable [Sysname] sntp authentication-keyid 10 authentication-mode md5 simple BetterKey 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.
Predefined user roles network-admin Parameters ipv6-address: Specifies an IPv6 address of the NTP server. server-name: Specifies a host name of the NTP server, a case-insensitive string of 1 to 253 characters. vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the NTP server belongs, where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the NTP server is on the public network, do not specify this option.
Syntax sntp reliable authentication-keyid keyid undo sntp 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 of 1 to 4294967295. Usage guidelines If SNTP is enabled, the SNTP client is only synchronized to an NTP server that provides a trusted key. Before you use the command, make sure SNTP authentication is enabled and an authentication key is configured.
Predefined user roles network-admin Parameters ip-address: Specifies an IP address of the NTP server. It must be a unicast address, rather than a broadcast address, a multicast address, or the IP address of the local clock. server-name: Specifies a host name of the NTP server, a case-insensitive string of 1 to 253 characters. vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the NTP server belongs, where vpn-instance-name is a case-sensitive string of 1 to 31 characters.
Information center commands display info-center Use display info-center to display information center configuration information. Syntax display info-center 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: local7 IP address: 192.168.0.
Predefined user roles network-admin network-operator Parameters reverse: Displays log entries chronologically, with the most recent entry at the top. Without this keyword, the command displays log entries chronologically, with the oldest entry at the top. level severity: Specifies a severity level in the range of 0 to 7. Without this keyword, the command displays log information for all levels.
%Jun 19 18:03:24:55 2006 Sysname SYSLOG /7/SYS_RESTART:System restarted … # (In IRF mode.) Display the state and log information of the log buffer. display logbuffer chassis 0 slot 1 Log buffer: Enabled Max buffer size: 1024 Actual buffer size: 512 Dropped messages: 0 Overwritten messages: 0 Current messages: 127 %Jun 19 18:03:24:55 2006 Sysname SYSLOG/7/SYS_RESTART:System restarted … Table 14 Command output Field Description Log buffer • Enabled—Logs can be output to the log buffer.
Parameters level severity: Specifies 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 a card by its slot number. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument specifies the ID of the member device.
Views 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 Description Log file • Enabled—Logs can be output to the log file. • Disabled—Logs cannot be output to the log file. Log file size quota Maximum size of the log file, in MB.
info-center enable Use info-center enable to enable the information center. Use undo info-center enable to disable the information center. Syntax info-center enable undo info-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 output to the log buffer.
info-center logbuffer size Use info-center logbuffer size to set the maximum number of logs that can be stored in the log buffer. Use undo info-center logbuffer size to restore the default. Syntax info-center logbuffer [ size buffersize ] undo info-center logbuffer [ size ] Default The log buffer can store up to 512 logs. Views System view Predefined user roles network-admin Parameters buffersize: Specifies the maximum number of logs that can be stored in the log buffer, in the range of 0 to 1024.
Predefined user roles network-admin Examples # Enable the output of logs to the log file. system-view [Sysname] info-center logfile enable info-center logfile frequency Use info-center logfile frequency to configure the interval for saving logs to the log file. Use undo info-center logfile frequency to restore the default saving interval. Syntax info-center logfile frequency freq-sec undo info-center logfile frequency Default The saving interval is 86400 seconds.
Syntax info-center logfile overwrite-protection [ all-port-powerdown ] undo info-center logfile overwrite-protection Default Log file overwrite-protection is disabled. Views System view Predefined user roles network-admin Parameters all-port-powerdown: Shuts down all the physical Ethernet ports except for the console port, the management Ethernet port, and ports that have been bound to an IRF port when the capacity of the log file reaches the upper limit or the storage device runs out of space.
Parameters size: Specifies the maximum size of the log file, in the range of 1 to 10 MB. Usage guidelines The log file has a specific capacity. When the capacity is reached, the system deletes the earliest messages and writes new messages into the log file. Examples # Set the maximum size of the log file as 6 MB.
Related commands info-center logfile enable info-center logging suppress duplicates Use info-center logging suppress duplicates to enable duplicate log suppression. Use undo info-center logging suppress duplicate to restore the default. Syntax info-center logging suppress duplicates undo info-center logging suppress duplicates Default Duplicate log suppression is disabled.
This message repeated 4 times in last 30 seconds. The output shows that after the duplicate log suppression function is enabled, the system outputs another duplicate log and starts the first suppression period for 30 seconds. %Jan 1 07:30:19:643 2000 Sysname ARP/6/DUPIFIP: Duplicate address 172.16.0.1 on interface Vlan-interface100, sourced from 00e0-fc58-123d This message repeated 20 times in last 2 minutes. The output shows the second suppression period lasts for 2 minutes.
facility local-number: Specifies a logging facility from local0 to local7 for the log host. The default value is local7. Logging facilities are used to mark different logging sources, and query and filer logs. Usage guidelines The info-center loghost command takes effect only after information center is enabled with the info-center enable command. The device supports up to four log hosts. Examples # Output logs to the log host 1.1.1.1. system-view [Sysname] info-center loghost 1.1.1.
info-center source Use info-center source to configure a log output rule for a module. Use undo info-center source to restore the default. Syntax info-center source { module-name | default } { console | logbuffer | logfile | loghost | monitor } { deny | level severity } undo info-center source { module-name | default } { console | logbuffer | logfile | loghost | monitor } Default The default output rules are listed in Table 17.
Usage guidelines This command sets an output rule for a specified module or all modules. For example, you can output IP log information with a severity of at least warning to the log host, and output IP log information with a severity of at least informational to the log buffer. If you do not set an output rule for a module, the module uses the default output rule or the output rule set by using the default keyword.
% Info-center synchronous output is on [Sysname] display current- At this time, the system receives log information. It displays the log information first, and then displays your previous input, which is display current- in this example. %May 21 14:33:19:425 2007 Sysname SHELL/4/LOGIN: VTY login from 192.168.1.44 [Sysname] display current- Enter configuration to complete the display current-configuration command, and press the Enter key to execute the command.
• DD: Date, starting with a space if it is less than 10, for example " 7". • hh:mm:ss:xxx: Local time, with hh ranging from 00 to 23, mm and ss ranging from 00 to 59, and xxx ranging from 0 to 999. • YYYY: Year. none: Indicates no time information is provided. Examples # Configure the timestamp format for log information as boot.
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. The system clears the log file buffer after saving logs from the buffer to the log file automatically or manually. Examples # Save logs from the log file buffer into the log file.
Use undo terminal debugging to disable the display of debug information on the current terminal. Syntax terminal debugging undo terminal debugging Default The display of debug information is enabled on the console and disabled on the current terminal.
Predefined user roles network-admin Parameters severity: Specifies the lowest level of the logs that can be output to the current terminal, in the range of 0 to 7. Usage guidelines If you specify the lowest level of the logs that can be output to the current terminal, the device outputs the logs with a severity level higher than or equal to the specified level.
SNMP commands The SNMP agent sends notifications (traps and informs) to inform the NMS of significant events, such as link state changes and user logins or logouts. Unless otherwise stated, the trap keyword in the command line includes both traps and informs. The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about FIPS mode, see Security Configuration Guide.
Community name: userv1 Group name: testv1 Storage-type: nonVolatile Table 18 Command output Field Description Community name Displays the community name created by using the snmp-agent community command or the username created by using the snmp-agent usm-user { v1 | v2c } command. SNMP group name. • If the community is created by using the snmp-agent community command, the Group name group name is the same as the community name.
Parameters group-name: Specifies an SNMPv1, SNMPv2c, or SNMPv3 group name in non-FIPS mode and only an SNMPv3 group name in FIPS mode, a case-sensitive string of 1 to 32 characters. Usage guidelines If no group is specified, this command displays information about all SNMP groups. Examples # Display information about all SNMP groups.
network-operator Usage guidelines Every SNMP agent has one SNMP engine to provide services for sending and receiving messages, authenticating and encrypting messages, and controlling access to managed objects. The local SNMP engine ID uniquely identifies the SNMP engine of the SNMP agent in an SNMP domain. Examples # Display the local engine ID.
Storage-type: nonVolatile View Type: excluded View status: active View name: ViewDefault MIB Subtree: snmpVacmMIB Subtree mask: Storage-type: nonVolatile View Type: excluded View status: active View name: ViewDefault MIB Subtree: snmpModules.18 Subtree mask: Storage-type: nonVolatile View Type: excluded View status: active ViewDefault is the default MIB view. The output shows that except for the MIB objects in the snmpUsmMIB, snmpVacmMIB, and snmpModules.
Views Any view Predefined user roles network-admin network-operator Parameters ip-address: Specifies the IP address of a remote SNMP entity to display its SNMP engine ID. ipv6 ipv6-address: Specifies the IPv6 address of a remote SNMP entity to display its SNMP engine ID. vpn-instance vpn-instance-name: Specifies the VPN for a remote SNMP entity. The vpn-instance-name argument specifies the name of the MPLS L3VPN, a case-sensitive string of 1 to 31 characters.
Predefined user roles network-admin network-operator Examples # Display SNMP message statistics. display snmp-agent statistics 1684 messages delivered to the SNMP entity. 5 messages were for an unsupported version. 0 messages used an unknown SNMP community name. 0 messages represented an illegal operation for the community supplied. 0 ASN.1 or BER errors in the process of decoding. 1679 messages passed from the SNMP entity. 0 SNMP PDUs had badValue error-status.
Field Description SNMP PDUs had tooBig error-status Number of PDUs with a TooBig error (the maximum packet size is 1500 bytes). MIB objects retrieved successfully Number of MIB objects that have been successfully retrieved. MIB objects altered successfully Number of MIB objects that have been successfully modified. GetRequest-PDU accepted and processed Number of GetRequest requests that have been received and processed.
display snmp-agent sys-info The contact information of the agent: The location information of the agent: The SNMP version of the agent: SNMPv3 Related commands snmp-agent sys-info display snmp-agent trap queue Use display snmp-agent trap queue to display basic information about the trap queue, including the trap queue name, queue size, and number of traps in the queue.
Examples # Display the modules that can generate notification and their notification function status. display snmp-agent trap-list bgp notification is enabled. configuration notification is enabled. standard notification is enabled. system notification is enabled. Enabled notifications: 4; 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.
Username: userv3code Group name: groupv3code Engine ID: 800063A203000FE240A1A6 Storage-type: nonVolatile UserStatus: active Table 23 Command output Field Description Username SNMP username. Group name SNMP group name. Engine ID Engine ID that the SNMP agent used when the SNMP user was created. Storage type: • volatile. • nonvolatile. Storage-type • permanent. • readOnly. • other. For more information about these storage types, see Table 18. SNMP user status: • active—The SNMP user is effective.
Default Link state notifications are enabled. Views Interface view Predefined user roles network-admin network-operator Usage guidelines For an interface to generate linkUp/linkDown notifications when its state changes, you must also enable the linkUp/linkDown notification function globally using the snmp-agent trap enable standard [ linkdown | linkup ] * command. Examples # Enable port Ten-GigabitEthernet 1/0/1 to send linkUp/linkDown SNMP traps to 10.1.1.1 in the community public.
Examples # Enable the SNMP agent. system-view [Sysname] snmp-agent snmp-agent calculate-password Use snmp-agent calculate-password to convert a plaintext key to a ciphertext key for authentication or encryption in SNMPv3.
Examples # Use the local engine and the SHA-1 algorithm to convert the plaintext key authkey to a ciphertext key. system-view [Sysname] snmp-agent calculate-password authkey mode sha local-engineid The encrypted key is: 09659EC5A9AE91BA189E5845E1DDE0CC Related commands • snmp-agent local-engineid • snmp-agent usm-user v3 snmp-agent community Use snmp-agent community to configure an SNMP community. Use undo snmp-agent community to delete an SNMP community.
no ACL is specified, the specified ACL does not exist, or the specified ACL does not have any rules, all NMSs in the SNMP community can access the SNMP agent. Usage guidelines This command is for SNMPv1 and SNMPv2c, and is supported only in non-FIPS mode. You can create up to 10 SNMP communities by using the snmp-agent community command. To create more SNMP communities, use the snmp-agent usm-user { v1 | v2c } command.
Syntax In non-FIPS mode: SNMPv1 and SNMP v2c: snmp-agent group { v1 | v2c } group-name [ read-view view-name ] [ write-view view-name ] [ notify-view view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent group { v1 | v2c } group-name SNMPv3: snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view ] [ write-view write-view ] [ notify-view notify-view ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent group v3 group-name [ authentication | privacy
acl acl-number: Specifies a basic IPv4 ACL to filter NMSs by source IPv4 address. The acl-number argument represents an ACL number in the range of 2000 to 2999. In the specified SNMP group, only NMSs with an IPv4 address permitted in the ACL can access the SNMP agent. If no ACL is specified, the specified ACL does not exist, or the specified ACL does not have any rules, any NMS in the SNMP group can access the SNMP agent.
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 local SNMP engine ID. Syntax snmp-agent local-engineid engineid undo snmp-agent local-engineid Default The local engine ID is the combination of the company ID and the device ID. Device ID varies by product and might be an IP address, a MAC address, or any user-defined hexadecimal string.
Views System view Predefined user roles network-admin Parameters all: Enables logging SNMP Get and Set operations. get-operation: Enables logging SNMP Get operations. set-operation: Enables logging SNMP Set operations. Usage guidelines Use SNMP logging to record the SNMP operations performed on the SNMP agent for auditing NMS behaviors. The SNMP agent sends log data to the information center. You can configure the information center to output the data to a specific destination as needed.
oid-tree: Specifies a MIB subtree by its root node's OID (for example 1.4.5.3.1) or object name (for example, system). An OID is a dotted numeric string that uniquely identifies an object in the MIB tree. mask mask-value: Sets a MIB subtree mask, a hexadecimal string. Its length must be an even number in the range of 2 to 32. Usage guidelines A MIB view represents a set of MIB objects (or MIB object hierarchies) with certain access privilege.
Parameters byte-count: Sets the maximum size (in bytes) of SNMP packets that the SNMP agent can receive or send. The value range is 484 to 17940. Usage guidelines If any device on the path to the NMS 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 sufficient. Examples # Set the maximum SNMP packet size to 1024 bytes.
Examples # Configure the SNMP engine ID (123456789A) of the SNMP manager (10.1.1.1). system-view [Sysname] snmp-agent remote 10.1.1.1 engineid 123456789A Related commands display snmp-agent remote snmp-agent source Use snmp-agent source to specify a source IP address for the informs or traps sent by the SNMP agent. Use undo snmp-agent source to restore the default.
Related commands • display snmp-agent community • snmp-agent target-host • snmp-agent trap enable snmp-agent sys-info contact Use snmp-agent sys-info contact to configure the system contact. Use undo snmp-agent sys-info contact to restore the default contact. Syntax snmp-agent sys-info contact sys-contact undo snmp-agent sys-info contact Default The default contact is null.
Views System view Predefined user roles network-admin Parameters sys-location: Specifies the system location, a string of 1 to 200 characters. Usage guidelines Configure the location of the device for system maintenance and management. Examples # Configure the system location as Room524-row1-3. system-view [Sysname] snmp-agent sys-info location Room524-row1-3 Related commands display snmp-agent sys-info snmp-agent sys-info version Use snmp-agent sys-info version to enable SNMP versions.
Usage guidelines SNMPv1 and SNMPv2c settings are supported only in non-FIPS mode in this command. Configure the SNMP agent with the same SNMP version as the NMS for successful communications between them. Examples # Enable SNMPv1 and SNMPv3. system-view [Sysname] snmp-agent sys-info version v1 v3 Related commands display snmp-agent sys-info snmp-agent target-host Use snmp-agent target-host to configure the SNMP agent to send SNMP notifications (informs or traps) to a host.
Parameters inform: Sends notifications as informs. trap: Sends notifications as traps. address: Specifies the destination address of SNMP notifications. udp-domain: Specifies UDP as the transport protocol. ip-address: Specifies the IPv4 address of the target host as the destination of SNMP notifications. ipv6 ipv6-address: Specifies the IPv6 address of the target host as the destination of SNMP notifications. udp-port port-number: Specifies the UDP port for SNMP notifications.
snmp-agent trap life • snmp-agent trap enable Use snmp-agent trap enable to enable SNMP notifications globally. Use undo snmp-agent trap enable to disable SNMP notifications globally.
config-error ospfIfConfigError Notifications generated if a packet has been received on a non-virtual interface from a router whose configuration conflict with this device's configuration. grhelper-status-change ospfNbrRestartHelperStatusChange Neighbor GR Helper status change notifications. grrestarter-status-change ospfRestartStatusChange GR Restarter status change notifications. if-state-change ospfIfStateChange Interface state change notifications.
Table 26 Standard SNMP notifications Keyword Definition authentication Authentication failure notification sent when an NMS fails to authenticate to the SNMP agent. coldstart Notification sent when the device restarts. linkdown Notification sent when the link of a port goes down. linkup Notification sent when the link of a port comes up. warmstart Notification sent when the SNMP agent restarts.
Usage guidelines Extended linkUp and linkDown notifications add interface description and interface type to the standard linkUp/linkDown notifications for fast failure point identification. When you use this command, make sure that the NMS supports the extended linkup and linkDown notifications. Examples # Enable extended linkUp/linkDown notifications.
Syntax snmp-agent trap queue-size size undo snmp-agent trap queue-size 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 of notifications that the SNMP notification queue can hold. The value range is 1 to 1000. Usage guidelines When congestion occurs, the SNMP agent buffers notifications in a queue.
Parameters v1: Specifies SNMPv1. v2c: Specifies SNMPv2c. user-name: Specifies an SNMP username, a case-sensitive string of 1 to 32 characters. group-name: Specifies an SNMPv1 or SNMPv2c group name, a case-sensitive string of 1 to 32 characters. The group can be one that has been created or not. If the group has not been created, the user takes effect after you create the group. acl acl-number: Specifies a basic IPv4 ACL to filter NMSs by source IPv4 address.
[Sysname] snmp-agent usm-user v2c userv2c readCom acl 2001 Related commands • display snmp-agent community • snmp-agent community • snmp-agent group snmp-agent usm-user v3 Use snmp-agent usm-user v3 to add a user to an SNMPv3 group. Use undo snmp-agent usm-user v3 to delete a user from an SNMPv3 group.
cipher: Specifies that auth-password and priv-password are encrypted keys, which can be calculated to a hexadecimal string by using the snmp-agent calculate-password command. simple: Specifies that auth-password and priv-password are plaintext keys. authentication-mode: Specifies an authentication algorithm. MD5 is faster but less secure than SHA. For more information about these algorithms, see Security Configuration Guide. • md5: Specifies the MD5 authentication algorithm.
local: Specifies the local SNMP engine. engineid engineid-string: Specifies an SNMP engine. The engineid-string argument represents the engine ID and must comprise an even number of hexadecimal characters, in the range of 10 to 64. All-zero and all-F strings are invalid. Usage guidelines You must create an SNMPv3 group before you assign an SNMPv3 user to the group. Otherwise, the user cannot take effect after it is created.
Related commands • display snmp-agent usm-user • snmp-agent calculate-password • snmp-agent group 105
NQA commands NQA client 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 operation view Predefined user roles network-admin Parameters string: Specifies a case-sensitive string of 1 to 200 characters.
data-size Use data-size to configure the size of the payload in each ICMP echo request of the ICMP echo, or in each UDP packet of the UDP echo. Use undo data-size to restore the default. Syntax data-size size undo data-size Default The size of the payload in each probe packet is 100 bytes. Views ICMP echo operation view, UDP echo operation view Predefined user roles network-admin Parameters size: Specifies the size of the payload in each probe packet in bytes.
Examples # Configure the description for an NQA operation as icmp-probe. system-view [Sysname] nqa entry admin test [Sysname-nqa-admin-test] type icmp-echo [Sysname-nqa-admin-test-icmp-echo] description icmp-probe destination ip Use destination ip to configure the destination IP address for the operation. Use undo destination ip to remove the destination IP address. Syntax destination ip ip-address undo destination ip Default No destination IP address is configured for the operation.
Predefined user roles network-admin Parameters port-number: Specifies the destination port number for the operation, in the range of 1 to 65535. Examples # Configure the destination port number for 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 9000 display nqa history Use display nqa history to display the history records of NQA operations.
Table 29 Command output Field Description Index History record ID. Response Round-trip time if the operation succeeds, timeout time upon timeout, or 0 if the operation cannot be completed, in milliseconds. Status of the operation result: Status Time • • • • Succeeded Unknown error Internal error Timeout: Time when the operation was completed. display nqa reaction counters Use display nqa reaction counters to display the current monitoring results of reaction entries.
Index Checked Element Threshold Type Checked Num Over-threshold Num 1 probe-duration accumulate 12 4 2 probe-duration average - - 3 probe-duration consecutive 160 56 4 probe-fail accumulate 12 0 5 probe-fail consecutive 162 2 Table 30 Command output Field Description Index ID of a reaction entry. Checked Element Monitored performance metric. Threshold Type Threshold type. Checked Num Number of targets that have been monitored for data collection.
Parameters admin-name operation-tag: Displays the result of an NQA operation. The admin-name argument represents the name of the administrator who creates the NQA operation, and is a case-insensitive string of 1 to 32 characters. The operation-tag argument represents the operation tag, and is a case-insensitive string of 1 to 32 characters. If these two arguments are not specified, the command displays the result of all NQA operations.
network-operator Parameters admin-name operation-tag: Displays the statistics for an NQA operation. The admin-name argument represents the name of the administrator who creates the NQA operation, and is a case-insensitive string of 1 to 32 characters. The operation-tag argument represents the operation tag, and is a case-insensitive string of 1 to 32 characters. If these two arguments are not specified, the command displays statistics for all NQA operations.
Field Description Failures due to timeout Number of timeout occurrences in an operation. Failures due to internal error Number of failures due to internal errors. Failures due to other errors Failures due to other errors. Reaction statistics Statistics about the reaction entry in the counting interval. Index ID of a reaction entry. Checked Element Monitored element. Threshold Type Threshold type. Checked Num Number of targets that have been monitored for data collection.
Views Any NQA operation view Predefined user roles network-admin Parameters interval: Specifies the interval in milliseconds between two consecutive operations, in the range of 0 to 604800000. An interval of 0 milliseconds sets NQA to perform the operation only once, and not to generate any statistics. Usage guidelines If an operation is not completed when the interval is reached, the next operation does not start.
Related commands display nqa history history-record keep-time Use history-record keep-time to set the lifetime of history records for an NQA operation. Use undo history-record keep-time to restore the default. Syntax history-record keep-time keep-time undo history-record keep-time Default The history records of an NQA operation are kept for 120 minutes.
Views ICMP echo operation view, UDP echo operation view Predefined user roles network-admin Parameters number: Specifies the maximum number of history records that can be saved for an NQA operation. The value is in the range of 0 to 50. Usage guidelines If the number of history records for an NQA operation exceeds the maximum number, earliest history records are removed. Examples # Set the maximum number of history records for an NQA operation to 10.
nqa Use nqa to create an NQA operation and enter its view. Use undo nqa to remove the operation. Syntax nqa entry admin-name operation-tag undo nqa { all | entry admin-name operation-tag } Default No NQA operation is created. Views System view Predefined user roles network-admin Parameters admin-name: Specifies the name of the administrator who creates the NQA operation, a case-insensitive string of 1 to 32 characters excluding hyphens (-).
Predefined user roles network-admin Examples # Enable the NQA client. system-view [Sysname] nqa agent enable nqa schedule Use nqa schedule to configure the scheduling parameters for an NQA operation. Use undo nqa schedule to stop the operation. Syntax nqa schedule admin-name operation-tag start-time { hh:mm:ss [ yyyy/mm/dd | mm/dd/yyyy ] | now } lifetime { lifetime | forever } [ recurring ] undo nqa schedule admin-name operation-tag Default No schedule is configured for an NQA operation.
Specify a lifetime long enough for an operation to complete. Examples # Schedule the operation with the administrator name admin and operation tag test to start on 08:08:08 2008/08/08 and last 1000 seconds. system-view [Sysname] nqa schedule admin test start-time 08:08:08 2008/08/08 lifetime 1000 recurring Related commands • destination ip • nqa entry • type probe count Use probe count to specify the probe times. Use undo probe count to restore the default.
Syntax probe timeout timeout 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-admin Parameters timeout: Specifies the probe timeout time in milliseconds. The available value ranges include: • 10 to 86400000 for the FTP or HTTP operation. • 10 to 3600000 for the DHCP, DNS, DLSw, ICMP echo, SNMP, TCP, or UDP echo operation.
threshold-type: Specifies a threshold type. accumulate accumulate-occurrences: Checks the maximum number of threshold violations. The value is in the range of 1 to 15. average: Checks the average probe duration. consecutive consecutive-occurrences: Specifies the number of consecutive threshold violations after the NQA operation starts. The value is in the range of 1 to 16. threshold-value: Specifies threshold range in milliseconds. upper-threshold: Specifies the upper limit, in the range of 0 to 3600000.
the state of the entry is set to over-threshold. If it is below the lower threshold, the state of the entry is set to below-threshold. Once the state of the reaction entry changes, the operation results are displayed.
system-view [Sysname] nqa entry admin test [Sysname-nqa-admin-test] type icmp-echo [Sysname-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type accumulate 10 action-type none # Create reaction entry 2 for monitoring the probe failures in ICMP echo operation. Before the NQA operation starts, the initial state of the reaction entry is invalid. If the number of consecutive probe failures exceeds 10 (included), the state of the entry is set to over-threshold.
Examples # Create reaction entry 1. If the number of consecutive probe failures reaches 3, collaboration is triggered.
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 and the source ip command, the source ip command takes effect. The specified source interface must be up. Otherwise, no ICMP echo requests can be sent out.
Usage guidelines If you configure both the source interface command and the source ip command, the source ip command takes effect. If you configure the source interface command but not the source ip command for the ICMP echo operation, the IP address of the source interface serves as the source IP address of the probe packet. The specified source IP address must be the IP address of a local interface. The local interface must be up. Otherwise, no probe packets can be sent out.
Use undo statistics hold-time to restore the default. Syntax statistics hold-time hold-time undo statistics hold-time Default The hold time of statistics groups is 120 minutes. Views ICMP echo operation view, UDP echo operation view Predefined user roles network-admin Parameters hold-time: Specifies the hold time in minutes, in the range of 1 to 1440. Usage guidelines A statistics group is deleted when its hold time expires. Examples # Configure the hold time of statistics groups as 3 minutes.
Examples # Configure the system to collect the ICMP echo operation statistics at 2-minute intervals. system-view [Sysname] nqa entry admin test [Sysname-nqa-admin-test] type icmp-echo [Sysname-nqa-admin-test-icmp-echo] statistics interval 2 statistics max-group Use statistics max-group to configure the maximum number of statistics groups that can be saved. Use undo statistics max-group to restore the default.
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 value in an IP packet header of probe packets as 1.
type Use type to specify the operation type of the NQA operation and enter 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 type. udp-echo: Specifies the UDP echo operation type. Examples # Specify the type of FTP operation and enter ICMP echo operation view.
sFlow commands display sflow Use display sflow to display sFlow configuration and operation information. Syntax display sflow Views Any view Predefined user roles network-admin network-operator Examples # Display sFlow configuration and operation information. display sflow sFlow datagram version: 5 Global information: Agent IP: 10.10.10.1(CLI) Source address: 10.0.0.
Field Description Port sFlow collector port. Aging Remaining lifetime of the sFlow collector. If this field displays N/A, the sFlow collector never ages out. Size Maximum length of the sFlow data portion in an sFlow packet. VPN-instance Name of the VPN bound with the sFlow collector. Description Description of the sFlow collector. Port information Information about interfaces configured with sFlow. Interface Interface configured with sFlow.
Usage guidelines HP recommends that you manually configure an IP address for the sFlow agent. Only one IP address can be specified for the sFlow agent on the device, and a newly configured IP address overwrites the existing one. Examples # Specify IP address 10.10.10.1 for the sFlow agent. system-view [Sysname] sflow agent ip 10.10.10.1 sflow collector Use sflow collector to configure parameters for an sFlow collector. Use undo sflow collector to remove an sFlow collector.
Examples # 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, description as netserver, aging timer as 1200 seconds, and maximum length of the sFlow data portion in the sFlow packet as 1000 bytes. system-view [Sysname] sflow collector 2 vpn-instance vpn1 ip 3.3.3.
Predefined user roles network-admin Parameters collector-id: Specifies an sFlow collector by its ID in the range of 1 to 10. Examples # Specify sFlow collector 2 on Ten-GigabitEthernet 1/0/1 for counter sampling. system-view [Sysname] interface ten-gigabitethernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] sflow counter collector 2 sflow flow collector Use sflow flow collector to specify an sFlow collector for flow sampling.
Default Flow sampling can copy up 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 60 on Ten-GigabitEthernet 1/0/1.
[Sysname-Ten-GigabitEthernet1/0/1] sflow sampling-mode determine Related commands sflow sampling-rate sflow sampling-rate Use sflow sampling-rate to specify the number of packets out of which flow sampling will sample a packet on an interface. Use undo sflow sampling-rate to disable flow sampling. Syntax sflow sampling-rate rate undo sflow sampling-rate Default Flow sampling samples no packet.
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 packets. Examples # Specify the source IPv4 address of sFlow packets as 10.0.0.1. system-view [Sysname] sflow source ip 10.0.0.
Process monitoring and maintenance commands The display memory, display process, display process cpu, monitor process and monitor thread commands display information about both user processes and kernel threads. In these commands, "process" refers to both user processes and kernel threads. display kernel deadloop Use display kernel deadloop to display kernel thread deadloop information.
Slot : 0 CPU ID : 0 Kernel module info : module name (mrpnc) module address (0xe332a000) module name (12500) module address (0xe00bd000) # Display detailed information about the latest kernel thread deadloop. display kernel deadloop 1 verbose ----------------- Deadloop record 1 ----------------Description : BUG: soft lockup - CPU#0 stuck for 61! [comsh: 16306] Recorded at : 2011-09-01 11:16:00.823018 Occurred at : 2011-09-01 11:16:00.
Dump stack (total 1024 bytes, 16 bytes/line): 0xe2be5ea0: 02 be 5e c0 24 00 00 24 00 00 00 00 05 7d 94 84 0xe2be5eb0: 00 00 00 04 00 00 00 00 00 00 00 28 05 8d 34 c4 0xe2be5ec0: 02 be 60 a0 01 86 ef f0 00 00 00 00 00 00 00 00 0xe2be5ed0: 02 04 05 b4 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5ee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5ef0: 95 47 73 35 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5f00: a0 e1 64 21 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5f10: 00 00 00 00 00 00 00 00 00 00 00 0
Table 36 Command output Field Description Description Description for the kernel thread deadloop, including the CPU number, thread running time, thread name, and thread number. Recorded at Time when the kernel thread deadloop was recorded on the MPU, with microsecond precision. Occurred at Time when the kernel thread deadloop occurred, with microsecond precision. Instruction address Instruction address for the kernel thread deadloop. Thread Name and number of the kernel thread deadloop.
Views Any view Predefined user roles network-admin Parameters slot slot-number: Specifies an MPU by its slot number. Without this option, the command displays kernel thread deadloop detection configuration for the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. Without this option, the command displays kernel thread deadloop detection configuration for the global active MPU. (In IRF mode.
Predefined user roles network-admin Parameters show-number: Specifies the number of kernel exceptions to display, in the range of 1 to 20. offset: Specifies the offset between the starting exception and the latest exception, 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 MPU by its slot number.
swapper (11:16:00.833018)--> kthreadd (11:16:00.833518)--> swapper (11:16:00.833550)--> test_12500 (11:16:00.
0xe2be5fd0: 02 be 5f f0 00 e8 93 7e 02 be 5f f8 02 be 5f fc 0xe2be5fe0: 00 00 00 00 00 00 00 00 00 00 00 00 02 be 60 18 0xe2be5ff0: 02 be 60 10 00 e9 65 98 00 00 00 58 00 00 2a 4f 0xe2be6000: 02 be 60 10 00 00 00 00 00 00 00 00 02 be 60 68 0xe2be6010: 02 be 60 40 00 e8 c6 a0 00 00 11 17 00 00 00 00 0xe2be6020: 02 be 60 40 00 00 00 00 00 00 00 00 02 be 60 98 0xe2be6030: 02 27 00 00 00 00 00 00 00 00 00 00 02 be 60 68 0xe2be6040: 02 be 60 60 00 00 00 01 00 00 b0 30 02 be 60 98 0xe2be6050: 00 00 00 04 02 21 00
Parameters show-number: Specifies the number of kernel thread reboots to display, in the range of 1 to 20. offset: Specifies the offset between the starting reboot and the latest reboot, 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 MPU by its slot number. Without this option, the command displays kernel thread reboot information for the active MPU. (In standalone mode.
0xe2be5ec0: 02 be 60 a0 01 86 ef f0 00 00 00 00 00 00 00 00 0xe2be5ed0: 02 04 05 b4 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5ee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5ef0: 95 47 73 35 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5f00: a0 e1 64 21 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5f10: 00 00 00 00 00 00 00 00 00 00 00 00 01 e9 00 00 0xe2be5f20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xe2be5f30: 00 00 00 00 00 00 00 00 02 be 66 c0 02 be 66 d0 0xe2be5f40: 02 be 61 e0 00 00 00
Field Description Reason Reboot reason. Thread Name and number of the rebooted kernel thread. Context Context where the reboot occurred. Chassis Number of the IRF member device where the kernel thread ran. Slot Slot number of the MPU where the kernel thread ran. CPU ID Number of the CPU where the kernel thread rebooted. Kernel module info Information about kernel modules that had been loaded when the kernel thread rebooted, including kernel module name and memory address.
chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. Without this option, the command displays kernel thread starvation information for the global active MPU. (In IRF mode.) Examples # Display brief information about the latest kernel thread starvation. display kernel starvation 1 ----------------- Starvation record 1 ----------------Description : INFO: task comsh: 16306 blocked for more than 10 seconds. Recorded at : 2011-09-01 11:16:00.
Reg: r16, Val = 0xe2be5f00 ; Reg: r17, Val = 0x00000000 ; Reg: r18, Val = 0x00000000 ; Reg: r19, Val = 0x00000000 ; Reg: r20, Val = 0x024c10f8 ; Reg: r21, Val = 0x057d9244 ; Reg: r22, Val = 0x00002000 ; Reg: r23, Val = 0x0000002c ; Reg: r24, Val = 0x00000002 ; Reg: r25, Val = 0x24000024 ; Reg: r26, Val = 0x00000000 ; Reg: r27, Val = 0x057d9484 ; Reg: r28, Val = 0x0000002c ; Reg: r29, Val = 0x00000000 ; Reg: r30, Val = 0x0000002c ; Reg: r31, Val = 0x00000000 ; Reg: cr, Val = 0x840000
Call trace: Function Address = 0x8012a4b4 Function Address = 0x8017989c Function Address = 0x80179b30 Function Address = 0x80127438 Function Address = 0x8012d734 Function Address = 0x80100a00 Function Address = 0xe0071004 Function Address = 0x8016ce0c Function Address = 0x801223a0 Instruction dump: 41a2fe9c 812300ec 800200ec 7f890000 409efe8c 80010014 540b07b9 40a2fe80 4bfffe6c 80780290 7f64db78 4804ea35 <807f002c> 38800000 38a00080 3863000c For detailed information about the command output, see Table 36.
Table 39 Command output Field Description Starvation timer (in seconds): n Time interval (in seconds) to identify a kernel thread starvation. A kernel thread starvation occurs if a kernel thread does not run within n seconds. Threads excluded from monitoring Kernel threads excluded from kernel thread starvation detection. Name Kernel thread name. TID Kernel thread number.
display process name scmd Job ID: 1 PID: 1 Parent JID: 0 Parent PID: 0 Executable path: Instance: 0 Respawn: OFF Respawn count: 1 Max. spawns per minute: 0 Last started: Wed Jun 1 14:45:46 2011 Process state: sleeping Max. core: 0 ARGS: TID LAST_CPU 1 Stack PRI State 0K 120 S 0 HH:MM:SS:MESC Name 0:0:5:220 scmd Table 40 Command output Field Description Job ID Job ID of the process. The job ID never changes. PID Number of the process.
Field Description ARGS Parameters carried by the process during startup. If the process carries no parameters, this field displays a hyphen (-). TID Thread ID. LAST_CPU Number of the CPU on which the process is last scheduled. Stack Stack size. PRI Thread priority. Thread state: • • • • • State R—Running. S—Sleeping. T—Traced or stopped. D—Uninterruptible sleep. Z—Zombie. HH:MM:SS:MESC Running time since the latest start. Name Process name. # Display state information for all processes.
Field Description PID Number of a process. %CPU CPU usage in percentage (%). %MEM Memory usage in percentage (%). State of a process: • • • • • STAT R—Running. S—Sleeping. T—Traced or stopped. D—Uninterruptible sleep. Z—Zombie. PRI Priority of a process for scheduling. TTY TTY used by a process. HH:MM:SS Running time since the latest start. COMMAND Name and parameters of a process. If square brackets ([ ]) exist in a process name, the process is a kernel thread.
2 0.0% 0.0% 0.0% [kthreadd] 3 0.1% 0.0% 0.0% [ksoftirqd/0] 4 0.0% 0.0% 0.0% [watchdog/0] 5 0.0% 0.0% 0.0% [events/0] 6 0.0% 0.0% 0.0% [khelper] 29 0.0% 0.0% 0.0% [kblockd/0] 49 0.0% 0.0% 0.0% [vzmond] 52 0.0% 0.0% 0.0% [pdflush] 53 0.0% 0.0% 0.0% [pdflush] 54 0.0% 0.0% 0.0% [kswapd0] 110 0.0% 0.0% 0.0% [aio/0] 712 0.0% 0.0% 0.0% [mtdblockd] 719 0.0% 0.0% 0.0% [TNetJob] 720 0.0% 0.0% 0.0% [TMTH] 727 0.0% 0.0% 0.0% [CF] 730 0.0% 0.
Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies a card by its slot number. Without this option, the command displays log information for all user processes on the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. Without this option, the command displays log information for all user processes on the global active MPU. (In IRF mode.) Examples # Display log information for all user processes.
Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies a card by its slot number. Without this option, the command displays memory usage for all user processes on the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. Without this option, the command displays memory usage for all user processes on the global active MPU. (In IRF mode.
Related 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.
Heap usage: Size Free Used Total Free Ratio 16 8 52 60 13% 64 3 1262 1265 0.2% 128 2 207 209 1% 512 3 55 58 5.1% 4096 3 297 300 1% 8192 1 19 20 5% 81920 0 1 1 0% Summary: Total virtual memory heap space (in bytes) : 2293760 Total physical memory heap space (in bytes) : 58368 Total allocated memory (in bytes) 42368 : Table 45 Command output Field Description Size Size of each memory block, in bytes. Free Number of free memory blocks.
Parameters job job-id: Specifies a user process by its job ID in the range of 1 to 2147483647. address starting-address: Specifies the starting memory block by its address. length memory-length: Specifies the memory block length in the range of 1 to 1024 bytes. slot slot-number: Specifies a card by its slot number. Without this option, the command displays memory content information on the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device.
Parameters job job-id: Specifies a process by its job ID in the range of 1 to 2147483647. size memory-size: Specifies the memory block size in the range of 1 to 4294967295. offset offset-size: Specifies an offset in the range of 0 to 4294967295. The default value is 128. For example, suppose the system allocates 100 16-byte memory blocks to process job 1, and the process has used 66 blocks.
In IRF mode: monitor kernel deadloop enable [ chassis chassis-number slot slot-number ] undo monitor kernel deadloop enable [ chassis chassis-number slot slot-number ] Default Kernel thread deadloop detection is enabled. Views System view Predefined user roles network-admin Parameters slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the active MPU is specified. (In standalone mode.
monitor kernel deadloop exclude-thread tid [ slot slot-number ] undo monitor kernel deadloop exclude-thread [ tid ] [ slot slot-number ] In IRF mode: monitor kernel deadloop exclude-thread tid [ chassis chassis-number slot slot-number ] undo monitor kernel deadloop exclude-thread [ tid ] [ chassis chassis-number slot slot-number ] Default Kernel thread deadloop detection monitors all kernel threads.
undo monitor kernel deadloop time [ slot slot-number ] In IRF mode: monitor kernel deadloop time interval [ chassis chassis-number slot slot-number ] undo monitor kernel deadloop time [ chassis chassis-number slot slot-number ] 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.
In IRF mode: monitor kernel starvation enable [ chassis chassis-number slot slot-number ] undo monitor kernel starvation enable [ chassis chassis-number slot slot-number ] Default Kernel thread starvation detection is disabled. Views System view Predefined user roles network-admin Parameters slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the active MPU is specified. (In standalone mode.
Syntax In standalone mode: monitor kernel starvation exclude-thread tid [ slot slot-number ] undo monitor kernel starvation exclude-thread [ tid ] [ slot slot-number ] In IRF mode: monitor kernel starvation exclude-thread tid [ chassis chassis-number slot slot-number ] undo monitor kernel starvation exclude-thread [ tid ] [ chassis chassis-number slot slot-number ] Default Kernel thread starvation detection, if enabled, monitors all kernel threads.
Syntax In standalone mode: monitor kernel starvation time interval [ slot slot-number ] undo monitor kernel starvation time [ slot slot-number ] In IRF mode: monitor kernel starvation time interval [ chassis chassis-number slot slot-number ] undo monitor kernel starvation time [ chassis chassis-number slot slot-number ] Default The interval for identifying a kernel thread starvation is 120 seconds.
monitor process [ dumbtty ] [ iteration number ] [ slot slot-number ] In IRF mode: monitor process [ dumbtty ] [ iteration number ] [ chassis chassis-number slot slot-number ] Views Any view Predefined user roles network-admin Parameters dumbtty: Specifies dumbtty mode. In this mode, the command displays process statistics in descending order of CPU usage without refreshing statistics.
Commands Description < Moves sort field to the next left column. > Moves sort field to the next right column. Examples # Display process statistics in dumbtty mode. In this mode, the system displays process statistics once, and then returns to command view. monitor process dumbtty 76 processes; 103 threads; 687 fds Thread states: 1 running, 102 sleeping, 0 stopped, 0 zombie CPU states: 77.16% idle, 0.00% user, 14.96% kernel, 7.
7 7 115 S 0 0K 00:00:00 0.00% [khelper] 4796 4796 120 S 11 2744K 00:00:00 0.00% login 4797 4797 120 S 8 28832K 00:00:03 0.00% comsh Five seconds later, the system refreshes process statistics as follows (which is the same as executing the monitor process dumbtty command twice at a 5-second interval): 76 processes; 103 threads; 687 fds Thread states: 1 running, 102 sleeping, 0 stopped, 0 zombie CPU states: 78.71% idle, 0.16% user, 14.86% kernel, 6.
• Enter h or a question mark (?) to display help information as follows: Help for interactive 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 open files k Kill a job l Refresh the screen m Sort by memory used n Set the maximum number of processes to display q Quit the interactive display t Sort by run time of processes since last restart < Move sort field to the next left column
CPU states: 59.03% idle, 1.92% user, 37.88% kernel, 1.15% interrupt Memory: 755M total, 419M available, page size 4K JID PID PRI State FDs MEM HH:MM:SS CPU Name 862 862 120 S 56 5384K 00:00:01 0.00% dbmd 905 905 120 S 35 2464K 00:00:02 0.00% ipbased 863 863 120 S 30 1956K 00:00:00 0.00% had 889 889 120 S 29 61592K 00:00:00 0.00% routed 1160 1160 120 S 28 23096K 00:00:01 0.19% sshd Enter q to quit interactive mode.
Parameters dumbtty: Specifies dumbtty mode. In this mode, the command displays all thread statistics in descending order of CPU usage without refreshing statistics. If you do not specify the keyword, the command displays statistics for top 10 processes in descending order of CPU usage in an interactive mode, and refreshes statistics every 5 seconds by default. iteration number: Specifies the number of display times, in the range of 1 to 4294967295.
866 866 0 120 S 00:00:11 1 0.67% devd 2 2 0 115 S 00:00:00 0 0.00% [kthreadd] 3 3 0 115 S 00:00:01 0 0.00% [ksoftirqd/0] 4 4 0 99 S 00:00:00 1 0.00% [watchdog/0] 5 5 0 115 S 00:00:00 0 0.00% [events/0] 6 6 0 115 S 00:00:00 0 0.00% [khelper] 796 796 0 115 S 00:00:00 0 0.00% [kip6fs/1] # Display thread statistics in interactive mode.
Memory: 755M total, 417M available, page size 4K JID TID LAST_CPU PRI State HH:MM:SS MAX CPU Name 1176 1176 0 120 R 00:00:02 1 1 0 120 S 00:00:06 1 3.71% top 1 0.92% scmd 866 866 0 120 S 881 881 0 120 S 00:00:13 1 0.69% devd 00:00:10 1 0.69% diagd 720 720 0 115 D 00:00:01 0 0.23% [TMTH] Enter k and then enter a JID to kill a thread. If you enter 881, the thread with the JID of 881 is killed.
Syntax In standalone mode: reset kernel deadloop [ slot slot-number ] In IRF mode: reset kernel deadloop [ chassis chassis-number slot slot-number ] Views User view Predefined user roles network-admin Parameters slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the command clears kernel thread deadloop information for the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device.
Examples # Clear kernel thread exception information. reset kernel exception Related commands display kernel exception reset kernel reboot Use reset kernel reboot to clear kernel thread reboot information. Syntax In standalone mode: reset kernel reboot [ slot slot-number ] In IRF mode: reset kernel reboot [ chassis chassis-number slot slot-number ] Views User view Predefined user roles network-admin Parameters slot slot-number: Specifies an MPU by its slot number.
Predefined user roles network-admin Parameters slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the command clears kernel thread starvation information for the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. If you do not specify this option, the command clears kernel thread starvation information for the global active MPU. (In IRF mode.) Examples # Clear kernel thread starvation information.
Port mirroring 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: Specifies the mirroring group ID in the range of 1 to 4. all: Displays the information of all mirroring groups. local: Displays local mirroring group information.
Remote probe VLAN: 1900 Table 50 Command output Field Description Mirroring group Number of the mirroring group. Type Type of the mirroring group: Local, Remote source, and Remote destination. Status of the mirroring group: Status • Active. • Incomplete—The mirroring group is not configured completely and cannot take effect. Mirroring port Source port. Mirroring CPU Source CPU. Monitor port Destination port. mirroring-group Use mirroring-group to create a mirroring group.
mirroring-group mirroring-cpu Use mirroring-group mirroring-cpu to configure source CPUs for a mirroring group. Use undo mirroring-group mirroring-cpu to remove source CPUs from the mirroring group.
Examples # Create local mirroring group 1, configure the CPU of the card in slot 1 as a source CPU of the mirroring group, and configure the mirroring group to monitor the bidirectional traffic of the CPU. system-view [Sysname] mirroring-group 1 local [Sysname] mirroring-group 1 mirroring-cpu slot 1 both # Create remote source group 2, configure the CPU of the card in slot 2 as a source CPU of the mirroring group, and configure the mirroring group to monitor the bidirectional traffic of the CPU.
Examples # Create local mirroring group 1, configure Ten-GigabitEthernet 1/0/1 as a source port of the mirroring group, and configure the mirroring group to monitor the bidirectional traffic of the port.
Usage guidelines You can configure source ports only for local mirroring groups or remote source groups but not for remote destination groups. Do not assign source ports to remote probe VLANs. A port can serve as a source port for multiple mirroring groups, but cannot be a reflector port, monitor port, or an egress port at the same time. A Layer 2 aggregate interface cannot be configured as a source port of a mirroring group.
Parameters group-id: Specifies the mirroring group ID in the range of 1 to 4. The mirroring group specified by group-id must already exist. interface-type interface-number: Specifies a port to be configured as the egress port by its type and number. Usage guidelines You can configure an egress port only for a remote source group, but not for a local mirroring group or remote destination group.
Parameters group-id: Specifies the mirroring group ID in the range of 1 to 4. The mirroring group specified by group-id must already exist. Usage guidelines You can configure the monitor port only for a local mirroring group or remote destination group but not for a remote source group. Do not enable the spanning tree feature on the monitor port. When an aggregate interface is configured as the monitor port, do not configure its member ports as source ports.
Parameters group-id: Specifies the mirroring group ID in the range of 1 to 4. The mirroring group specified by group-id must already exist. interface-type interface-number: Specifies a port to be configured as the monitor port by its type and number. Usage guidelines You can configure a monitor port only for a local mirroring group or remote destination group, but not for a remote source group. Do not enable the spanning tree feature on the monitor port.
Views System view, interface view Predefined user roles network-admin Parameters group-id: Specifies the mirroring group ID in the range of 1 to 4. The mirroring group specified by group-id must already exist. interface-type interface-number: Specifies a port to be configured as the reflector port by its type and number. Usage guidelines You can configure reflector ports only for remote source groups but not for local mirroring groups or remote destination groups.
Default No remote probe VLAN is configured for a mirroring group. Views System view Predefined user roles network-admin Parameters group-id: Specifies the mirroring group ID in the range of 1 to 4. The mirroring group specified by group-id must already exist. vlan-id: Specifies a VLAN by its ID. Usage guidelines You can configure a remote probe VLAN only for a remote source group or remote destination group but not for a local mirroring group.
Traffic mirroring commands mirror-to Use mirror-to to specify the mirroring destination for a traffic behavior. Use undo mirror-to to cancel the configuration. Syntax 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.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index DEFHILMNPRSTW display snmp-agent mib-view,73 D display snmp-agent remote,74 data-fill,106 display snmp-agent statistics,75 data-size,107 display snmp-agent sys-info,77 debugging,1 display snmp-agent trap queue,78 description (any NQA operation type view),107 display snmp-agent trap-list,78 destination ip,108 display snmp-agent usm-user,79 destination port,108 display sntp ipv6 sessions,43 display debugging,1 display sntp sessions,43 display info-center,50 Documents,194 display kerne
logfile save,67 ntp-service source,39 M ntp-service unicast-peer,40 ntp-service unicast-server,41 mirroring-group,183 mirroring-group mirroring-cpu,184 P mirroring-group mirroring-port (interface view),185 ping,2 mirroring-group mirroring-port (system view),186 ping ipv6,5 mirroring-group monitor-egress,187 probe count,120 mirroring-group monitor-port (interface view),188 probe timeout,120 mirroring-group monitor-port (system view),189 R mirroring-group reflector-port,190 reaction checked-e
statistics interval,128 snmp-agent trap if-mib link extended,98 snmp-agent trap life,99 statistics max-group,129 snmp-agent trap queue-size,99 Subscription service,194 snmp-agent usm-user { v1 | v2c },100 T snmp-agent usm-user v3,102 terminal debugging,67 sntp authentication enable,44 terminal logging level,68 sntp authentication-keyid,45 terminal monitor,69 sntp enable,46 tos,129 sntp ipv6 unicast-server,46 tracert,7 sntp reliable authentication-keyid,47 tracert ipv6,9 sntp unicast-serve