HP Comware
HP Comware
HP Switch Software
Comware CLI Commands in ProVision Software
15.10
September 2012
Common-CLI-Phase-3-Sept-2012.book Page i Sunday, September 9, 2012 6:00 PM
HP Networking
HP 5400zl
HP 6200yl
HP 6600
HP 8200zl
15.10
September 2012
Trademark Credits
Microsoft, Windows, and Microsoft Windows NT are US
registered trademarks of Microsoft Corporation. Java™ is a
US trademark of Sun Microsystems, Inc.
Hewlett-Packard Company
8000 Foothills Boulevard, m/s 5551
Roseville, California 95747-5551
http://www.hp.com/networking/support
Common-CLI-Phase-3-Sept-2012.book Page v Sunday, September 9, 2012 6:00 PM
Contents
Display Commands
display arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
display arp detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
display arp detection statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
display arp ip-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
display boot-loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
display clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
display command-alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
display counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
display counters rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
display cpu-usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
display cpu-usage history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
display current-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
display current-configuration by-linenum . . . . . . . . . . . . . . . . . . . . . . 2-19
display current-configuration configuration . . . . . . . . . . . . . . . . . . . 2-20
display current-configuration interface . . . . . . . . . . . . . . . . . . . . . . . . 2-21
display debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
display default-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
v
Common-CLI-Phase-3-Sept-2012.book Page vi Sunday, September 9, 2012 6:00 PM
vi
Common-CLI-Phase-3-Sept-2012.book Page vii Sunday, September 9, 2012 6:00 PM
vii
Common-CLI-Phase-3-Sept-2012.book Page viii Sunday, September 9, 2012 6:00 PM
viii
Common-CLI-Phase-3-Sept-2012.book Page ix Sunday, September 9, 2012 6:00 PM
ix
Common-CLI-Phase-3-Sept-2012.book Page x Sunday, September 9, 2012 6:00 PM
x
Common-CLI-Phase-3-Sept-2012.book Page xi Sunday, September 9, 2012 6:00 PM
xi
Common-CLI-Phase-3-Sept-2012.book Page xii Sunday, September 9, 2012 6:00 PM
xii
Common-CLI-Phase-3-Sept-2012.book Page xiii Sunday, September 9, 2012 6:00 PM
Fundamental Commands
backup startup-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
clock datetime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
clock summer-time one-off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
clock summer-time repeating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
clock timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
command accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
command authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
command-alias enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
command-alias mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
delete <startup-config> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
flow-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
idle-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
reset saved-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
restore startup-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
xiii
Common-CLI-Phase-3-Sept-2012.book Page xiv Sunday, September 9, 2012 6:00 PM
xiv
Common-CLI-Phase-3-Sept-2012.book Page xv Sunday, September 9, 2012 6:00 PM
Product Documentation
About Your Switch Manual Set
Note For the latest version of all HP switch documentation, including Release Notes
covering recently added features, please visit the HP Networking web site at
www.hp.com/Networking/support.
Electronic Publications
The latest version of each of the publications listed below is available in PDF
format on the HP Networking web site, as described in the Note at the top of
this page.
■ Installation and Getting Started Guide—Explains how to prepare for
and perform the physical installation and connect the switch to your
network.
■ Basic Operation Guide—Describes how to use the switch interfaces and
introduces basic operations.
■ Management and Configuration Guide—Describes how to configure,
manage, and monitor basic switch operation.
■ Advanced Traffic Management Guide—Explains how to configure traffic
management features such as VLANs, MSTP, QoS, and Meshing.
■ Multicast and Routing Guide—Explains how to configure IGMP, PIM, IP
routing, and VRRP features.
■ Access Security Guide—Explains how to configure access security fea-
tures and user authentication on the switch.
■ IPv6 Configuration Guide—Describes the IPv6 protocol operations that
are supported on the switch.
■ Command Line Interface Reference Guide—Provides a comprehensive
description of CLI commands, syntax, and operations.
■ Event Log Message Reference Guide—Provides a comprehensive descrip-
tion of event log messages.
■ Comware CLI Commands in ProVision Software —Lists and describes
the Comware CLI commands supported in ProVision Software.
■ Release Notes—Describe new features, fixes, and enhancements that
become available between revisions of the main product guide.
xv
Common-CLI-Phase-3-Sept-2012.book Page 1 Sunday, September 9, 2012 6:00 PM
Refer to the latest release notes for your switch product to determine whether
Comware commands are supported.
1-1
Common-CLI-Phase-3-Sept-2012.book Page 2 Sunday, September 9, 2012 6:00 PM
For example:
HP Switch> display ?
boot-loader Display boot loader information
clock Clock status and configuration information.
command-alias Display command alias
debugging Current setting of debugging switches.
dns DNS status and configuration information
gvrp GARP VLAN Registration Protocol
history-command The historical command information.
igmp IGMP status and configuration information
ip Specify IP(Internet Protocol) configuration information.
lacp Display LACP protocol information
link-aggregation Display Link-aggregation information
memory Display memory information.
mld MLD status and configuration information.
ospf Open Shortest Path First (OSPF)
ospfv3 Open Shortest Path First for IPv6 (OSPFv3)
schedule Schedule system task
snmp-agent SNMP status and configuration information
HP Switch> display
1-2
Common-CLI-Phase-3-Sept-2012.book Page 3 Sunday, September 9, 2012 6:00 PM
CLI Operation
Comparing Comware and ProVision Commands
Comware display commands and ProVision software show commands produce
status information used for monitoring, troubleshooting, and auditing the
switch network environment and configuration.
■ Like show commands, using display commands does not change the switch
operating mode.
■ Comware display commands are additional commands supported in Pro-
Vision software, and do not replace any existing ProVision commands.
No. n/a
1-3
Common-CLI-Phase-3-Sept-2012.book Page 4 Sunday, September 9, 2012 6:00 PM
Using both the display commands and their show command counterparts can
in some cases result in more information output than using only one or the
other.
Operator HP Switch>
Use the [Tab] or [?] Key To Complete a Command Keyword. You can
use [Tab] or [?] to help you find CLI commands or to quickly complete a
keyword. For example:
1-4
Common-CLI-Phase-3-Sept-2012.book Page 5 Sunday, September 9, 2012 6:00 PM
Empty Output
In some cases where the MIB is not holding information for a feature, the
related display command(s) will return only the system prompt. For example,
IGMP can be configured, but no data will be displayed unless one or more
multicast groups have been joined. For example, using display igmp group when
there are no joined multicast groups returns only the system prompt:
HP Switch# display igmp group
HP Switch#
To access the latest software manual set for your switch, visit
www.hp.com/support/manuals
1-5
Common-CLI-Phase-3-Sept-2012.book Page 1 Sunday, September 9, 2012 6:00 PM
Display Commands
display arp
2
Display Commands
display arp
Field Descriptions
IP Address: IP address in an ARP entry.
2-1
Common-CLI-Phase-3-Sept-2012.book Page 2 Sunday, September 9, 2012 6:00 PM
Display Commands
display arp
• O for Other
Operating Notes
The types “A” for authorized, and “M” for multiple ports, are not supported.
For more on switch ARP operation, refer to the “IP Routing” chapter in the
latest Multicast and Routing Guide for your switch.
IP ARP table
IP Address IP Address
VLAN ID n/a
Interface Port
Aging n/a
Type Type
2-2
Common-CLI-Phase-3-Sept-2012.book Page 3 Sunday, September 9, 2012 6:00 PM
Display Commands
display arp detection
For more information, see the latest Access Security Guide for your switch.
2-3
Common-CLI-Phase-3-Sept-2012.book Page 4 Sunday, September 9, 2012 6:00 PM
Display Commands
display arp detection statistics
1-10
2-4
Common-CLI-Phase-3-Sept-2012.book Page 5 Sunday, September 9, 2012 6:00 PM
Display Commands
display arp ip-address
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
2-5
Common-CLI-Phase-3-Sept-2012.book Page 6 Sunday, September 9, 2012 6:00 PM
Display Commands
display boot-loader
display boot-loader
Displays the current flash memory precedence and the source of the current boot file
(software image). The switch has two flash memory locations: primary and
secondary. In the display boot-loader output:
■ btm.swi is the primary flash memory.
■ secondary.swi is the secondary flash memory.
When the switch is configured with primary flash as the default boot source,
this command shows that the primary boot file (software image) is in primary
flash (btm.swi):
HP Switch# display boot-loader
The next primary boot file of MM is: flash:/cfa0/btm.swi
The next backup boot file of MM is: flash:/cfa0/secondary.swi
The current boot file of MM is: flash:/cfa0/btm.swi
When the switch is configured with secondary flash as the default boot source,
this command shows that the primary boot file (software image) is in second-
ary flash (secondary.swi):
HP Switch# display boot-loader
The next primary boot file of MM is: flash:/cfa0/secondary.swi
The next backup boot file of MM is: flash:/cfa0/btm.swi
The current boot file of MM is: flash:/cfa0/secondary.swi
Field Descriptions
next primary boot file: The current default flash memory location for the
next reload or boot operation.Can be either the primary or secondary flash.
next backup boot file: The current non-default flash memory location. Can
be either the primary or secondary flash.
current boot file: The flash memory location from which the switch was last
booted. Can be either primary or secondary flash.
Note “of MM” appears in the display boot-loader output on switches that support dual
memory modules, and refers to the current active (Actv) memory module.
2-6
Common-CLI-Phase-3-Sept-2012.book Page 7 Sunday, September 9, 2012 6:00 PM
Display Commands
display boot-loader
Operating Notes
Both the primary flash and a secondary flash contain a software image. Any
valid software image can be loaded into either flash memory.
This command indicates which flash memory is the default when the switch
is booted with any of the following commands:
reload
boot [system ]
For more on switch memory operation, refer to the “Switch Memory and
Configuration” chapter in the latest Basic Operation Guide for your switch.
2-7
Common-CLI-Phase-3-Sept-2012.book Page 8 Sunday, September 9, 2012 6:00 PM
Display Commands
display clock
display clock
Displays the current time, time zone, day, and date setting on the switch.
Field Descriptions:
Time: Current time in HH:MM:SS format on the switch.
Operating Notes
To configure time, date, daylight-time-rule, time zone and other time or date
settings on the switch, use the following commands in the config context to list
the time and date command options:
time ?
clock ?
The output of the ProVision software show system information command includes
the switch’s time zone and Daylight Time Rule settings.
To configure time and date settings on the switch, use the clock and time
commands in the config context. For more information, see the “Time Proto-
cols” chapter in the latest Management and Configuration Guide for your
switch.
2-8
Common-CLI-Phase-3-Sept-2012.book Page 9 Sunday, September 9, 2012 6:00 PM
Display Commands
display command-alias
display command-alias
With the above alias configuration, the display output would be as follows:
HP Switch(config)# display command-alias
index alias command key
1 sst show startup-config
2 srun show runnning-config
Field Descriptions
index: The sequence number for each alias.
Operating Notes
To configure an alias in ProVision software, use the following command.
alias < alias-name-str > < command-str >
For more on the alias command, refer to the chapter titled “Using the
Command Line Interface (CLI)” in the latest Basic Operation Guide for your
switch.
2-9
Common-CLI-Phase-3-Sept-2012.book Page 10 Sunday, September 9, 2012 6:00 PM
Display Commands
display command-alias
Name Command
-------------------------------- --------------------------
sst show startup-config
srun show runnning-config
index n/a
alias Name
2-10
Common-CLI-Phase-3-Sept-2012.book Page 11 Sunday, September 9, 2012 6:00 PM
Display Commands
display counters
display counters
Field Descriptions
Interface: Abbreviated interface name.
Total (pkts): Total number of packets received or sent through the interface.
2-11
Common-CLI-Phase-3-Sept-2012.book Page 12 Sunday, September 9, 2012 6:00 PM
Display Commands
display counters
Err (pkts): Total number of error packets received or sent through the interface.
Overflow: more than 14 decimal digits(7 digits for column “Err”): The com-
mand displays Overflow in any of the following cases:
• The data length of an error statistic is greater than 7 decimal digits.
Operating Notes
For more information on interface counters, see the “Port Status and Config-
uration” chapter in the latest Management and Configuration Guide for your
switch.
2-12
Common-CLI-Phase-3-Sept-2012.book Page 13 Sunday, September 9, 2012 6:00 PM
Display Commands
display counters
Name : O’[email protected]
MAC Address : 001871-b995ff
Link Status : Up
Totals (Since boot or last clear) :
Bytes Rx : 2,763,197 Bytes Tx : 22,972
Unicast Rx : 2044 Unicast Tx : 128
Bcast/Mcast Rx : 23,456 Bcast/Mcast Tx : 26
Errors (Since boot or last clear) :
FCS Rx : 0 Drops Tx : 0
Alignment Rx : 0 Collisions Tx : 0
Runts Rx : 0 Late Colln Tx : 0
Giants Rx : 0 Excessive Colln : 0
Total Rx Errors : 0 Deferred Tx : 0
Others (Since boot or last clear) :
Discard Rx : 0 Out Queue Len : 0
Unknown Protos : 0
Rates (5 minute weighted average) :
Total Rx (bps) : 3,028,168 Total Tx (bps) : 1,918,384
Unicast Rx (Pkts/sec) : 5 Unicast Tx (Pkts/sec) : 0
B/Mcast Rx (Pkts/sec) : 71 B/Mcast Tx (Pkts/sec) : 0
Utilization Rx : 00.30 % Utilization Tx : 00.19 %
Interface port
2-13
Common-CLI-Phase-3-Sept-2012.book Page 14 Sunday, September 9, 2012 6:00 PM
Display Commands
display counters
Overflow: n/a
2-14
Common-CLI-Phase-3-Sept-2012.book Page 15 Sunday, September 9, 2012 6:00 PM
Display Commands
display counters rate
Displays traffic rate statistics over the last 300 seconds. The statistics cover
only interfaces in up state.
HP Switch# display counters rate outbound interface
Interface Total(pkts/sec) Broadcast(pkts/sec) Multicast(pkts/sec)
A1 84 0 42
A2 0 0 0
Overflow: n/a
--: not supported.
Overflow: n/a
--: not supported.
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
2-15
Common-CLI-Phase-3-Sept-2012.book Page 16 Sunday, September 9, 2012 6:00 PM
Display Commands
display cpu-usage
display cpu-usage
Comware Related ProVision
Displays average CPU usage statistics for 5 seconds, 1 minute and 5 minutes.
HP Switch# display cpu-usage
% CPU | Description
-------+--------------------------
99 | Idle
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
2-16
Common-CLI-Phase-3-Sept-2012.book Page 17 Sunday, September 9, 2012 6:00 PM
Display Commands
display cpu-usage history
Displays the history CPU utilization rates in a coordinate plane. The system
collects the statistics of history CPU utilization rates at a certain interval and
saves the statistics in the history record area. You can use the this command
to display the history CPU utilization rates in the last 5 minutes. The history
CPU utilization rates are displayed through x and y coordinates.
Any CPU utilization statistics value takes the closest y-coordinate value. For
example, a statistics value of 53% is displayed as 55%, and a statistics value of
52% is displayed as 50%.
A number sign (#) shows the CPU utilization rate at a time point. If more than
one number sign exists at a time point, the highest one represents the CPU
utilization rate of the time point.
HP Switch# display cpu-usage history
100%|
95%|
90%|
85%|
80%|
75%|
70%|
65%|
60%|
55%|
50%|
45%|
40%|
35%|
30%|
25%|
20%|
15%|
10%|
5%|########################################################
---------------------------------------------------------
50 100 150 200 250 300 (seconds)
cpu-usage last 05 minutes(SYSTEM)
2-17
Common-CLI-Phase-3-Sept-2012.book Page 18 Sunday, September 9, 2012 6:00 PM
Display Commands
display current-configuration
display current-configuration
Comware Related ProVision
For more information, see the latest Management and Configuration Guide
for your switch.
2-18
Common-CLI-Phase-3-Sept-2012.book Page 19 Sunday, September 9, 2012 6:00 PM
Display Commands
display current-configuration by-linenum
2-19
Common-CLI-Phase-3-Sept-2012.book Page 20 Sunday, September 9, 2012 6:00 PM
Display Commands
display current-configuration configuration
display current-configuration
configuration
Comware Related ProVision
2-20
Common-CLI-Phase-3-Sept-2012.book Page 21 Sunday, September 9, 2012 6:00 PM
Display Commands
display current-configuration interface
2-21
Common-CLI-Phase-3-Sept-2012.book Page 22 Sunday, September 9, 2012 6:00 PM
Display Commands
display current-configuration interface
untagged vlan 1
exit
interface A13
untagged vlan 1
exit
interface A14
untagged vlan 1
exit
interface A15
untagged vlan 1
exit
interface A16
untagged vlan 1
exit
interface A17
untagged vlan 1
exit
interface A18
untagged vlan 1
exit
interface A19
untagged vlan 1
Example of Related ProVision Software Command Output.
HP Switch# show running-config
Running configuration:
; J9087A Configuration Editor; Created on release #R.11.XX
hostname "Switch"
snmp-server community "public" Unrestricted
snmp-server host 15.255.133.236 "public"
snmp-server host 15.255.133.222 "public"
snmp-server host 15.255.133.70 "public"
snmp-server host 15.255.134.235 "public"
vlan 1
name "DEFAULT_VLAN"
untagged 1-28
ip address dhcp-bootp
exit
snmp-server enable traps mac-notify mac-move
snmp-server enable traps mac-notify trap-interval 60
snmp-server enable traps mac-notify
mac-notify traps 5-6 learned
mac-notify traps 3-4 removed
For more information, see the latest Management and Configuration Guide
for your switch.
Minimum Software Version: 15.09.
2-22
Common-CLI-Phase-3-Sept-2012.book Page 23 Sunday, September 9, 2012 6:00 PM
Display Commands
display debugging
display debugging
Displays the options from any of the following lists that have debug logging enabled.
Using display debugging without specifying an option lists all options in the set
that are enabled for debug logging. For example, if acl, ip, lldp, and policy are
enabled for debugging, this command produces the following:
HP Switch# display debugging
ip ospf spf debugging is on
acl log debugging is on
lldp log debugging is on
policy route-map debugging is on
HP Switch#
Using display debugging with a specific option lists that option if it is enabled
for debug logging. If the command returns only the CLI prompt, then the option
is not enabled for debug logging. For example, if acl is enabled for debug
logging and vrrp s not, this command produces the following:
HP Switch# display debugging
acl log debugging is on
HP Switch# display debugging vrrp
HP Switch#
Operating Notes
To configure debug operation in ProVision software, use the following
command.
debug < option >
For more on configuring debug operation, refer to the chapter titled “Trouble-
shooting” in the latest Management and Configuration Guide for your
switch.
2-23
Common-CLI-Phase-3-Sept-2012.book Page 24 Sunday, September 9, 2012 6:00 PM
Display Commands
display debugging
Debug Logging
n/a Destination
2-24
Common-CLI-Phase-3-Sept-2012.book Page 25 Sunday, September 9, 2012 6:00 PM
Display Commands
display default-configuration
display default-configuration
Comware Related ProVision
Displays factory defaults of the switch, and all commands to be executed when
the switch boots with the factory defaults.
HP Switch# display default-configuration
; J8693A Configuration Editor; Created on release #K.15.09.0000x
; Ver #03:01.1f.ef:f2
vlan 1
name "DEFAULT_VLAN"
ip address dhcp-bootp
exit
2-25
Common-CLI-Phase-3-Sept-2012.book Page 26 Sunday, September 9, 2012 6:00 PM
Display Commands
display device
display device
Displays physical modules present in the switch. This command also identifies
the status of these modules, whether they are up/active/standby or failed etc.
HP Switch# display device
SlotNo. Brd Type BrdStatus SubSlotNum SftVer PatchVer
MM1 HP J9092A Management Modul... Standby n/a K.15.09.0000x n/a
MM2 HP J9092A Management Modul... Active n/a K.15.09.0000x n/a
SSM HP J9095A System Support M... Normal n/a K.15.09.0000x n/a
FM1 HP J9093A Fabric Module 82... Enabled n/a K.15.09.0000x n/a
FM2 HP J9093A Fabric Module 82... Enabled n/a K.15.09.0000x n/a
A HP J9536A 20p GT PoE+/2p S... Up n/a K.15.09.0000x n/a
Field Descriptions:
Slot No.: Slot number of a card (standalone mode); slot number of a card on
the specified member switch in the format of member ID/slot number (IRF
mode)
Brd Type: Hardware type of a card, which can be the following values:
• Specific card model, such as LST1MRPNC1, which is the same as the
silkscreen.
• NONE: No card is in the slot.
• UNKNOWN: The card is not supported by the software version and
thus cannot start normally.
2-26
Common-CLI-Phase-3-Sept-2012.book Page 27 Sunday, September 9, 2012 6:00 PM
Display Commands
display device
Sft Ver: Software version of the current card, which can be the following
values:
• Specific software version: The software version of the switch.
• NONE: No card is in the slot.
• Mismatched: The software version does not support the card and thus
cannot be uploaded.
2-27
Common-CLI-Phase-3-Sept-2012.book Page 28 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp relay information all
2-28
Common-CLI-Phase-3-Sept-2012.book Page 29 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp relay information interface Vlan-interface <vlan-id>
display dhcp relay information interface Vlan- No equivalent ProVision software command
interface <vlan-id>
2-29
Common-CLI-Phase-3-Sept-2012.book Page 30 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp relay statistics
2-30
Common-CLI-Phase-3-Sept-2012.book Page 31 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp relay statistics
Field Descriptions
The following fields are for bad packets received.
■ DHCP packets received from clients:
• DHCPDISCOVER packets received
• DHCPREQUEST packets received
• DHCPINFORM packets received
• DHCPRELEASE packets received
• DHCPDECLINE packets received
• BOOTPREQUEST packets received
2-31
Common-CLI-Phase-3-Sept-2012.book Page 32 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp relay statistics
Operating Notes
For more information about IPv6 DHCP, see the “DHCPv6 Relay” chapter in
the latest IPv6 Configuration Guide for your switch.
2-32
Common-CLI-Phase-3-Sept-2012.book Page 33 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp relay statistics
2-33
Common-CLI-Phase-3-Sept-2012.book Page 34 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp-snooping binding database
For more information, see the latest Management and Configuration Guide
for your switch.
2-34
Common-CLI-Phase-3-Sept-2012.book Page 35 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp-snooping information
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
Minimum Software Version: 15.10.
2-35
Common-CLI-Phase-3-Sept-2012.book Page 36 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp-snooping [ip ip_address]
Displays the user IP-MAC address mapping entries recorded by the DHCP
snooping function.
For more information, see the latest Management and Configuration Guide
for your switch.
2-36
Common-CLI-Phase-3-Sept-2012.book Page 37 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp-snooping packet statistics
2-37
Common-CLI-Phase-3-Sept-2012.book Page 38 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp-snooping trust
Field Descriptions
Interface: Interface
Operating Notes
For more information about DHCP snooping, see the “Configuring Advanced
Threat Protection” chapter in the latest Access Security Guide for your switch.
2-38
Common-CLI-Phase-3-Sept-2012.book Page 39 Sunday, September 9, 2012 6:00 PM
Display Commands
display dhcp-snooping trust
Interface Port
Trusted Trust
2-39
Common-CLI-Phase-3-Sept-2012.book Page 40 Sunday, September 9, 2012 6:00 PM
Display Commands
display diagnostic-information
display diagnostic-information
Comware Related ProVision
show system
Time Zone : 0
Daylight Time Rule : None
2-40
Common-CLI-Phase-3-Sept-2012.book Page 41 Sunday, September 9, 2012 6:00 PM
Display Commands
display dns domain
Displays all the domain name suffixes that are appended to host names by the
resolver before sending the queries to name servers. These domain name
suffixes could have been statically configured on the switch or obtained from
the DHCP server dynamically.
HP Switch# display dns domain
Type:
D:Dynamic S:Static
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
2-41
Common-CLI-Phase-3-Sept-2012.book Page 42 Sunday, September 9, 2012 6:00 PM
Display Commands
display dns domain dynamic
Displays all the domain name suffixes that are obtained from the DHCP server
dynamically.
HP Switch# display dns domain dynamic
Type:
D:Dynamic S:Static
2-42
Common-CLI-Phase-3-Sept-2012.book Page 43 Sunday, September 9, 2012 6:00 PM
Display Commands
display dns < domain | server >
Displays the current IPv4 DNS domain name suffixes and server configuration.
HP Switch# display dns domain
Type:
D:Dynamic S:Static
Type:
D:Dynamic S:Static
Field Descriptions
No.: Sequence number.
Type: Shows the type of domain name suffix. S means a statically configured
domaine name suffix. D means a domain name suffix obtained dynamically
through DHCP.
Operating Notes
The switch supports one domain suffix entry and two DNS server IP address entries.
2-43
Common-CLI-Phase-3-Sept-2012.book Page 44 Sunday, September 9, 2012 6:00 PM
Display Commands
display dns < domain | server >
ip dns dhcp
ip dns domain-name < name-str >
ip dns server-address priority < 1 | 2 > < ip-addr | ipv6-addr >
No. n/a
2-44
Common-CLI-Phase-3-Sept-2012.book Page 45 Sunday, September 9, 2012 6:00 PM
Display Commands
display dns ipv6 server
Field Descriptions
DNS Server: Sequence number of the DNS server, which is assigned automat-
ically by the system, starting from 1.
Type: Type of the DNS server. “S” represents a statically configured DNS server,
and “D” represents a DNS server obtained dynamically through DHCP or other
protocols.
Interface Name: Interface name, which is available only for a DNS server with
an IPv6 link-local address configured.
Operating Notes
Out-of-band management and tunnel interfaces are supported.
For more information about IPv6 DNS, see the “IPv6 Diagnostic and Trouble-
shooting” chapter in the latest IPv6 Configuration Guide for your switch.
2-45
Common-CLI-Phase-3-Sept-2012.book Page 46 Sunday, September 9, 2012 6:00 PM
Display Commands
display dns ipv6 server
2-46
Common-CLI-Phase-3-Sept-2012.book Page 47 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
If you specify neither the sessions keyword nor the statistics keyword, the
command displays all information about 802.1X, including session informa-
tion, statistics, and configurations.
2-47
Common-CLI-Phase-3-Sept-2012.book Page 48 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
A1 is link-up
802.1X protocol is disabled
Proxy trap checker is n/a
Proxy logoff checker is n/a
Handshake is n/a
Handshake secure is n/a
802.1X unicast-trigger is n/a
Periodic reauthentication is disabled
The port is not an authenticator
Authentication Mode is Auto
Port Control Type is n/a
802.1X Multicast-trigger is n/a
Mandatory authentication domain: n/a
Guest VLAN: 0
Auth-Fail VLAN: n/a
Max number of on-line users is 0
2-48
Common-CLI-Phase-3-Sept-2012.book Page 49 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
A1 is link-up
802.1X protocol is disabled
Proxy trap checker is n/a
Proxy logoff checker is n/a
Handshake is n/a
Handshake secure is n/a
802.1X unicast-trigger is n/a
A2 is link-down
802.1X protocol is disabled
Proxy trap checker is n/a
Proxy logoff checker is n/a
Handshake is n/a
Handshake secure is n/a
802.1X unicast-trigger is n/a
A3 is link-down
802.1X protocol is disabled
Proxy trap checker is n/a
Proxy logoff checker is n/a
Handshake is n/a
Handshake secure is n/a
802.1X unicast-trigger is n/a
2-49
Common-CLI-Phase-3-Sept-2012.book Page 50 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
A1 is link-up
802.1X protocol is disabled
Proxy trap checker is n/a
Proxy logoff checker is n/a
Handshake is n/a
Handshake secure is n/a
802.1X unicast-trigger is n/a
A2 is link-down
802.1X protocol is disabled
Proxy trap checker is n/a
Proxy logoff checker is n/a
Handshake is n/a
Handshake secure is n/a
802.1X unicast-trigger is n/a
2-50
Common-CLI-Phase-3-Sept-2012.book Page 51 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
Field Descriptions
Equipment 802.1X protocol is enabled: Specifies whether 802.1X is enabled
globally.
Quiet Period Timer is disabled: Status of the quiet timer. In this example, the
quiet timer is enabled.
The maximum 802.1X user resource number per slot: Maximum number of concur-
rent 802.1X user per card.
Total current used 802.1X resource number: Total number of online 802.1X users.
2-51
Common-CLI-Phase-3-Sept-2012.book Page 52 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
Guest VLAN: 802.1X guest VLAN configured on the port. NOT configured is
displayed if no guest VLAN is configured.
EAPOL Packet: Number of sent (Tx) and received (Rx) EAPOL packets.
2-52
Common-CLI-Phase-3-Sept-2012.book Page 53 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
Operating Notes
For more on switch 802.1X operation, refer to the “Configuring Port-based and
User-based Access Control (802.1X)” chapter in the latest Access Security
Guide for your switch.
Session Session
Port Frames In Frames Out Time(sec.) Status User
---- ---------- ----------- ----------- ----------- -------
2 45623 45623 20 in-progress bert
2-53
Common-CLI-Phase-3-Sept-2012.book Page 54 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
Source TX TX RX RX RX RX RX
Port MAC address ReqId Req Start Logoff RespId Resp Errors
---- ------------- ------ ----- ------ ------- ------- ----- -------
2 001560-b3ea48 1 0 0 0 0 0 0
2-54
Common-CLI-Phase-3-Sept-2012.book Page 55 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface]
2-55
Common-CLI-Phase-3-Sept-2012.book Page 56 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x [interface …
]
2-56
Common-CLI-Phase-3-Sept-2012.book Page 57 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x statistics [interface …
]
2-57
Common-CLI-Phase-3-Sept-2012.book Page 58 Sunday, September 9, 2012 6:00 PM
Display Commands
display dot1x statistics [interface …
]
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
2-58
Common-CLI-Phase-3-Sept-2012.book Page 59 Sunday, September 9, 2012 6:00 PM
Display Commands
display environment
display environment
Comware Related ProVision
Field Descriptions:
Slot: Slot number of the card (standalone mode); slot number of a card on the
specified member switch in the format of member ID/slot number (IRF mode)
Sensor: Temperature sensor:
• hotspot: Hotspot temperature sensor
• inflow: Inflow temperature sensor
• outflow: Outflow temperature sensor
Temperature: Current temperature
Lower limit: Lower limit of temperature
WarningLimit: Upper limit of temperature for warning
AlarmLimit: Upper limit of temperature for alarming
ShutdownLimit: Upper limit of temperature for shutting down the switch
(currently not supported)
Example of Related ProVision Software Command Output.
HP Switch# show system temperature
For more information, see the latest Management and Configuration Guide
for your switch.
Minimum Software Version: 15.09.
2-59
Common-CLI-Phase-3-Sept-2012.book Page 60 Sunday, September 9, 2012 6:00 PM
Display Commands
display fan
display fan
Operating Notes
ProVision uses HP format for printing the fan state.
For more information, see the latest Management and Configuration Guide
for your switch.
2-60
Common-CLI-Phase-3-Sept-2012.book Page 61 Sunday, September 9, 2012 6:00 PM
Display Commands
display fips status
or
HP Switch# display fips status
Level: Standard
or
HP Switch# show secure-mode
Level: Enhanced
For more information, see the latest Access Security Guide for your switch.
2-61
Common-CLI-Phase-3-Sept-2012.book Page 62 Sunday, September 9, 2012 6:00 PM
Display Commands
display garp statistics interface <port_list>
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-62
Common-CLI-Phase-3-Sept-2012.book Page 63 Sunday, September 9, 2012 6:00 PM
Display Commands
display garp timer interface <port_list>
Operating Notes
Depending on the device, ProVision displays port numbers as A1, B1, etc. or
1,2, etc. or 1/1, 2/1, etc.
Any display output field not supported in Provsion is displayed as n/a.
For more information, see the latest Advanced Traffic Management Guide
for your switch.
Minimum Software Version: 15.09.
2-63
Common-CLI-Phase-3-Sept-2012.book Page 64 Sunday, September 9, 2012 6:00 PM
Display Commands
display gvrp state interface <port_list> vlan <vlan-id>
Field Descriptions:
Applicant state machine: The Applicant state machine handles attribute decla-
rations. Its state can be VA, AA, QA, LA, VP, AP, QP, VO, AO, QO, LO, VON,
AON, and QON. Each state consists of two or three letters with the following
meanings:
• The first letter indicates the state: V for Very anxious, A for Anxious,
Q for Quiet, and L for Leaving.
• The second letter indicates the membership state: A for Active mem-
ber, P for Passive member, O for Observer.
• The third letter N (if any) stands for Non-participant.
For example, MTR stands for “Empty, Registration fixed", indicating the fixed
registration mode in Empty state.
2-64
Common-CLI-Phase-3-Sept-2012.book Page 65 Sunday, September 9, 2012 6:00 PM
Display Commands
display gvrp state interface <port_list> vlan <vlan-id>
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-65
Common-CLI-Phase-3-Sept-2012.book Page 66 Sunday, September 9, 2012 6:00 PM
Display Commands
display gvrp statistics
Field Descriptions:
GVRP Status: Indicates whether GVRP is enabled or disabled
GVRP Running: Indicates whether GVRP is running
GVRP Failed Registrations: Indicates the number of GVRP registration failures
GVRP Last Pdu Origin: Indicates the source MAC address in the last GVRP PDU
GVRP Registration Type: Indicates the GVRP registration mode (fixed, forbid-
den, or normal) on the port
Example of Related ProVision Software Command Output.
HP Switch# show gvrp
GVRP support
Maximum VLANs to support [256] : 256
Primary VLAN : DEFAULT_VLAN
GVRP Enabled [No] : Yes
Port Type | Unknown VLAN Join Leave Leaveall
---- -------- + ------------ ----- ----- --------
1 10/100TX | Learn 20 300 1000
2 10/100TX | Learn 20 300 1000
3 10/100TX | Learn 20 300 1000
4 10/100TX | Learn 20 300 1000
5 10/100TX | Learn 20 300 1000
6 10/100TX | Learn 20 300 1000
. . . . . .
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-66
Common-CLI-Phase-3-Sept-2012.book Page 67 Sunday, September 9, 2012 6:00 PM
Display Commands
display gvrp status
GVRP is enabled
Operating Notes
To enable and control GVRP operation in ProVision software, use the follow-
ing commands:
gvrp
interface < port-list > unknown-vlans < learn | block | disable >
GVRP support
GVRP enabled:
HP Switch# show gvrp
GVRP support
2-67
Common-CLI-Phase-3-Sept-2012.book Page 68 Sunday, September 9, 2012 6:00 PM
Display Commands
display gvrp status
2-68
Common-CLI-Phase-3-Sept-2012.book Page 69 Sunday, September 9, 2012 6:00 PM
Display Commands
display gvrp vlan-operation interface interface-type interface-number
2-69
Common-CLI-Phase-3-Sept-2012.book Page 70 Sunday, September 9, 2012 6:00 PM
Display Commands
display history-command
display history-command
Displays the last 25 commands executed on the switch CLI, including commands
entered incorrectly. The command listing begins with the oldest command in the
sequence and ends with the most recent command executed (excluding the display
history-command itself).
Operating Notes
The ProVision software show history command output is identical to the Com-
ware display history-command output.
2-70
Common-CLI-Phase-3-Sept-2012.book Page 71 Sunday, September 9, 2012 6:00 PM
Display Commands
display hwtacacs
display hwtacacs
Comware Related ProVision
-------------------------------------------------------------
HWTACACS-server template name : n/a
Primary-authentication-server : 1.2.3.4:n/a
VPN instance : n/a
Primary-authorization-server : 1.2.3.4:n/a
VPN instance : n/a
Primary-accounting-server : 1.2.3.4:n/a
VPN instance : n/a
Secondary-authentication-server : 6.7.8.9:n/a
VPN instance : n/a
Secondary-authorization-server : 6.7.8.9:n/a
VPN instance : n/a
Secondary-accounting-server : 6.7.8.9:n/a
VPN instance : n/a
Current-authentication-server : 1.2.3.4:n/a
VPN instance : n/a
Current-authorization-server : 1.2.3.4:n/a
VPN instance : n/a
Current-accounting-server : 1.2.3.4:n/a
VPN instance : n/a
Nas-IP address : n/a
key authentication : authentication
key authorization : authentication
key accounting : authentication
Nas-IP address : n/a
VPN instance : n/a
Quiet-interval(min) : n/a
Realtime-accounting-interval(min) : n/a
Response-timeout-interval(sec) : 5
Acct-stop-PKT retransmit times : n/a
Username format : n/a
Data traffic-unit : n/a
Packet traffic-unit : n/a
-------------------------------------------------------------
Total 1 HWTACACS scheme(s).
2-71
Common-CLI-Phase-3-Sept-2012.book Page 72 Sunday, September 9, 2012 6:00 PM
Display Commands
display hwtacacs
Timeout : 5
Source IP Selection : Configured IP Interface
Encryption Key :
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
2-72
Common-CLI-Phase-3-Sept-2012.book Page 73 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group
Displays IGMP group address, uptime, and expiry information. If no IGMP groups
are detected, returns the system prompt.
HP Switch# display igmp group
Total 1 IGMP Group(s).
Interface group report information
Vlan-interface1(15.255.134.111):
Total 1 IGMP Group reported
Group Address Last Reporter UpTime Expires
10.255.215.190 10.125.103.197 00:04:22 00:03:38
Field Descriptions
Vlan-interfaceN: IP address of a VLAN on which IGMP is running.
Last Reporter: Address of the last host that reported its membership for this
multicast group.
Expires: Remaining time of the multicast group, where “off” means that the
multicast group never times out.
Operating Notes
To enable IGMP operation in ProVision software, use the following command
from the context of a VLAN on which you want to enable IGMP:
ip igmp
For more on IGMP operation in ProVision software, refer to the chapter titled
“Multimedia Traffic Control with IP Multicast (IGMP)” in the latest Multicast
and Routing Guide for your switch.
2-73
Common-CLI-Phase-3-Sept-2012.book Page 74 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group
Vlan-interfaceN VLAN ID
Expires Expires
Uptime UpTime
n/a Type
2-74
Common-CLI-Phase-3-Sept-2012.book Page 75 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group interface vlan-interface <vlan-id>
Field Descriptions:
Group: Multicast group address
Last reporter: Address of the last host that reported its membership for this
multicast group
VLAN ID : 30
VLAN Name : VLAN30
IGMP version : 2
Querier Address [this switch] : 75.1.30.1
2-75
Common-CLI-Phase-3-Sept-2012.book Page 76 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group interface vlan-interface <vlan-id>
Querier Port :
Querier UpTime : 5d 18h 28m 35s
Querier Expiration Time : 0h 0m 6s
Operating Notes
Comware displays a list of configured vlans in the tab help. ProVision does
not display dynamic help text such as this.
Comware displays an error for Invalid vlan interface. ProVision accepts the
input, a validation is done later and an error is displayed.
For more information, see the latest Multicast and Routing Guide for your
switch.
2-76
Common-CLI-Phase-3-Sept-2012.book Page 77 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group interface vlan-interface <vlan-id> static
Field Descriptions:
igmp: IGMP status and configuration information
2-77
Common-CLI-Phase-3-Sept-2012.book Page 78 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group interface vlan-interface <vlan-id> verbose
2-78
Common-CLI-Phase-3-Sept-2012.book Page 79 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group interface vlan-interface <vlan-id> verbose
Last-member-query-counter: 0
Last-member-query-timer-expiry: off
Version1-host-present-timer-expiry: off
2-79
Common-CLI-Phase-3-Sept-2012.book Page 80 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group port-info
display igmp group port-info vlan <vid> show ip igmp vlan <vid>
Field Descriptions
Total 1 IP Group(s): Total number of IP multicast groups.
2-80
Common-CLI-Phase-3-Sept-2012.book Page 81 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group port-info
Port flags: D-Dynamic port, S-Static port, C-Copy port: Port flags: D for a dynamic
port, S for a static port, and C for a port copied from a (*, G) entry to an (S,
G) entry.
Subvlan flags: R-Real VLAN, C-Copy VLAN: Sub-VLAN flags: R for a real egress sub-
VLAN under the current entry, and C for a sub-VLAN copied from a (*, G) entry
to an (S, G) entry.
Router port unit board: Mask indicating a board with a router port residing on it.
(hh:mm:ss): Remaining time of the aging timer for the dynamic member port or
router port:
• In standalone mode, to display the remaining life of a non-aggregation
port that does not belong to the main board, you must specify the
number of the slot where the corresponding card resides by using slot
slot-number. This is not required for an aggregation port.
• In IRF mode, to display the remaining life of a non-aggregation port
that does not belong to the main board, you must specify the member
ID of the IRF member device and the slot number of the card with
chassis chassis-number slot slot-number. For an aggregation port, you
do not need to do this.
Operating Notes
Since ProVision switches do not need anything to be configured globally to
enable igmp, no error message is displayed for a display command if igmp is
not enabled. For more information on IGMP operation, see the “Multimedia
Traffic Control with IP Multicast (IGMP)” chapter in the latest Advanced
Traffic Management Guide for your switch.
2-81
Common-CLI-Phase-3-Sept-2012.book Page 82 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group port-info
Attribute n/a
2-82
Common-CLI-Phase-3-Sept-2012.book Page 83 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group static
Total 19 entries
Field Descriptions:
Group: Multicast group address
2-83
Common-CLI-Phase-3-Sept-2012.book Page 84 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group static
For more information, see the latest Multicast and Routing Guide for your
switch.
2-84
Common-CLI-Phase-3-Sept-2012.book Page 85 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group verbose
2-85
Common-CLI-Phase-3-Sept-2012.book Page 86 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group x.x.x.x static
For more information, see the latest Multicast and Routing Guide for your
switch.
2-86
Common-CLI-Phase-3-Sept-2012.book Page 87 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp group x.x.x.x verbose
2-87
Common-CLI-Phase-3-Sept-2012.book Page 88 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface
Field Descriptions:
Vlan-interface200 (10.10.1.20): Interface and IP address
Value of query interval for IGMP(in seconds): IGMP general query interval, in
seconds
Value of other querier present interval for IGMP(in seconds): Other querier present
interval, in seconds
Value of maximum query response time for IGMP(in seconds): Maximum response
time for IGMP general queries, in seconds
Value of last member query interval(in seconds): IGMP last member query inter-
val, in seconds
Value of startup query count: Number of IGMP general queries the device sends
on startup
2-88
Common-CLI-Phase-3-Sept-2012.book Page 89 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface
General query timer expiry: Remaining time of the IGMP general query timer,
where “off” means that the timer never expires
Multicast routing on this interface: Whether the multicast routing and forward-
ing function is enabled
Proxying interface: IGMP proxy interface, where “none” means that no proxy
interface exists
Total 1 IGMP Group reported: Total number of IGMP groups the interface has
dynamically joined
2-89
Common-CLI-Phase-3-Sept-2012.book Page 90 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface
VLAN ID : 30
IGMP version : 2
Querier Port :
Operating Notes
For more information, see the latest Multicast and Routing Guide for your
switch.
2-90
Common-CLI-Phase-3-Sept-2012.book Page 91 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface verbose
Vlan-interface2(192.168.9.2):
IGMP is enabled
Current IGMP version is 2
Value of query interval for IGMP(in seconds): 125
Value of other querier present interval for IGMP(in seconds):
255
Value of maximum query response time for IGMP(in seconds): 10
Value of last member query interval(in seconds): 10
Value of startup query interval(in seconds): 31
Value of startup query count: 2
General query timer expiry (hours:minutes:seconds): 00:01:56
Querier for IGMP: 192.168.9.2 (this router)
IGMP activity: 0 joins, 0 leaves
Multicast routing on this interface: disabled
Robustness: 2
2-91
Common-CLI-Phase-3-Sept-2012.book Page 92 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface verbose
Require-router-alert: enabled
Fast-leave: disabled
Ssm-mapping: n/a
Startup-query-timer-expiry: off
Other-querier-present-timer-expiry: off
Proxying interface: n/a
2-92
Common-CLI-Phase-3-Sept-2012.book Page 93 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface vlan-interface <vlan-id>
Vlan-interface1(10.100.1.238):
IGMP is enabled
Current IGMP version is 2
Value of query interval for IGMP(in seconds): 125
Value of other querier present interval for IGMP(in seconds): 255
Value of maximum query response time for IGMP(in seconds): 10
Querier for IGMP: 10.100.1.238 (this router)
Total 8 IGMP Groups reported
Field Descriptions
Vlan-interface: Interface and IP address.
Value of query interval for IGMP(in seconds): IGMP general query interval, in
seconds.
Value of other querier present interval for IGMP (in seconds): Other querier present
interval, in seconds.
Value of maximum query response time for IGMP(in seconds): Maximum response
time for IGMP general queries, in seconds.
Operating Notes
If the VLAN interface is invalid, the switch displays “VLAN <VLAN-ID> not
found”.
2-93
Common-CLI-Phase-3-Sept-2012.book Page 94 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface vlan-interface <vlan-id>
For more information on switch IGMP operation, see the “Multimedia Traffic
Control with IP Multicast (IGMP)” chapter in the latest Advanced Traffic
Management Guide for your switch.
Vlan-interface VLAN-ID
Current IGMP Version IGMP version
2-94
Common-CLI-Phase-3-Sept-2012.book Page 95 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp interface vlan-interface <vlan-id>
n/a Type
Startup-query-timer-expiry Expires
n/a Ports
n/a Reports
2-95
Common-CLI-Phase-3-Sept-2012.book Page 96 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp routing-table
Routing table
Total 5 entries
Field Descriptions:
Routing table of VPN-Instance: public net: Public network IGMP routing table
2-96
Common-CLI-Phase-3-Sept-2012.book Page 97 Sunday, September 9, 2012 6:00 PM
Display Commands
display igmp routing-table
• ACT: Indicates IGMP routing entries that have been used for forward-
ing data packets but have the multicast group address out of the SSM
group range
• SUC: Indicates IGMP routing entries that have been added to the
forwarding table and have the multicast group address within the SSM
group range
2-97
Common-CLI-Phase-3-Sept-2012.book Page 98 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface
display interface
Comware Related ProVision
2-98
Common-CLI-Phase-3-Sept-2012.book Page 99 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
2-99
Common-CLI-Phase-3-Sept-2012.book Page 100 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface brief
Field Descriptions
The brief information of interface(s) under route mode: Brief information about
Layer 3 interfaces.
The brief information of interface(s) under bridge mode: Brief information about
Layer 2 interfaces.
2-100
Common-CLI-Phase-3-Sept-2012.book Page 101 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface brief
Type: A - access; T - trunk; H - hybrid: Link type options for Ethernet interfaces.
Operating Notes
For more information on interface statistics, see the “Port Status and Config-
uration” chapter in the latest Management and Configuration Guide for your
switch.
2-101
Common-CLI-Phase-3-Sept-2012.book Page 102 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface brief
Type n/a
Protocol n/a
Interface Port
Link Status
Speed Type
PVID n/a
Description n/a
2-102
Common-CLI-Phase-3-Sept-2012.book Page 103 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface brief down
Displays information about interfaces in down state and the relevant causes.
Field Descriptions
The brief information of interface(s) under route mode: Brief information about
Layer 3 interfaces.
The brief information of interface(s) under bridge mode: Brief information about
Layer 2 interfaces.
Link Cause: Displays information about interfaces in the down state and the
causes.
2-103
Common-CLI-Phase-3-Sept-2012.book Page 104 Sunday, September 9, 2012 6:00 PM
Display Commands
display interface brief down
Operating Notes
For the interfaces under route mode, only “interface tunnels” are displayed;
other types are not supported.
H3C displays one of the reasons for the field “Cause” if the port is down: Not
connected, Administratively, Link-Aggregation interface down, OAM connec-
tion failure, DLDP connection failure, Loopback detection-protected, BPDU-
protected, Monitor-Link uplink down.
For more information, see the “Port Status and Configuration” chapter in the
latest Management and Configuration Guide for your switch.
Example of Related ProVision Software Command Output.
Interface Port
2-104
Common-CLI-Phase-3-Sept-2012.book Page 105 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip as-path
display ip as-path
Field Descriptions
ListID: AS path list ID.
Operating Notes
To enable BGP operation in ProVision software, see the “BGP (Border Gate-
way Protocol)” chapter in the latest Multicast and Routing Guide for your
switch.
Expression $ expression
2-105
Common-CLI-Phase-3-Sept-2012.book Page 106 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip check source
Field Descriptions
Total entries found: Total number of found entries
MAC Address: MAC address of the dynamic IP source guard binding entry. N/
A means that no MAC address is bound in the entry.
IP Address: IP address of the dynamic IP source guard binding entry. N/A means
that no IP address is bound in the entry.
VLAN: VLAN bound to the IP source guard binding entry. N/A means that no
VLAN is bound in the entry.
Operating Notes
For more information about DHCP snooping, see the “Configuring Advanced
Threat Protection” chapter in the latest Access Security Guide for your switch.
2-106
Common-CLI-Phase-3-Sept-2012.book Page 107 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip check source
IP Address n/a
VLAN n/a
Interface n/a
Type n/a
2-107
Common-CLI-Phase-3-Sept-2012.book Page 108 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip community-list
display ip community-list
Field Descriptions
Community List Number < community-name >: Specifies the community being
reported.
Operating Notes
To enable BGP in ProVision software, see the “BGP (Border Gateway Proto-
col)” chapter in the latest Multicast and Routing Guide for your switch.
permit permit
deny deny
2-108
Common-CLI-Phase-3-Sept-2012.book Page 109 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip http
display ip http
Comware Related ProVision
2-109
Common-CLI-Phase-3-Sept-2012.book Page 110 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip https
display ip https
Comware Related ProVision
2-110
Common-CLI-Phase-3-Sept-2012.book Page 111 Sunday, September 9, 2012 6:00 PM
Display Commands
display ip ip-prefix
display ip ip-prefix
Comware Related ProVision
Displays all the prefix list information, including list name, address, length,
rule type, ge and le [greater than or equal /less than or equal w.r.t mask range]
for a specific network. This command is available only in manager mode.
HP Switch# display ip ip-prefix abc
Prefix-list abc
Permitted n/a
Denied n/a
index: 5 permit 11.2.3.4/8 ge 8 le 8
Operating Notes
For more information, refer to the latest Multicast and Routing Guide for
your switch.
2-111
Common-CLI-Phase-3-Sept-2012.book Page 112 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp duid
Field Descriptions
The DUID of this device: The DHCP for IPv6 Unique Identifier (DUID).
Operating Notes
For more information about IPv6 DHCPv6, see the “DHCPv6-Relay” chapter
in the latest IPv6 Configuration Guide for your switch.
2-112
Common-CLI-Phase-3-Sept-2012.book Page 113 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay server-address all
Interface: Vlan3
Server address(es) Output Interface
1::1
FF02::1:2 Vlan4
Field Descriptions
Interface: Interface that serves as the DHCPv6 relay agent.
Operating Notes
For more information about IPv6 DHCPv6, see the “DHCPv6-Relay” chapter
in the latest IPv6 Configuration Guide for your switch.
VLAN: 14
IPv6 Helper Address Egress Vlan
---------------------------------------------- -----------
FF05::1:3 14
2-113
Common-CLI-Phase-3-Sept-2012.book Page 114 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay server-address all
Interface VLAN
2-114
Common-CLI-Phase-3-Sept-2012.book Page 115 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay server-address interface <id>
Field Descriptions
Interface: Interface that serves as the DHCPv6 relay agent.
Operating Notes
For more information about IPv6 DHCPv6, see the “DHCPv6-Relay” chapter
in the latest IPv6 Configuration Guide for your switch.
VLAN: 14
IPv6 Helper Address Egress Vlan
---------------------------------------------- -----------
FF05::1:3 14
2-115
Common-CLI-Phase-3-Sept-2012.book Page 116 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay server-address interface <id>
Interface VLAN
2-116
Common-CLI-Phase-3-Sept-2012.book Page 117 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay statistics
Field Descriptions
Packets dropped: Number of discarded packets.
Excess of rate limit: Number of packets discarded due to excess of rate limit.
2-117
Common-CLI-Phase-3-Sept-2012.book Page 118 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay statistics
Operating Notes
For more information about IPv6 DHCPv6, see the “DHCPv6-Relay” chapter
in the latest IPv6 Configuration Guide for your switch.
2-118
Common-CLI-Phase-3-Sept-2012.book Page 119 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 dhcp relay statistics
Error Failed
2-119
Common-CLI-Phase-3-Sept-2012.book Page 120 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 routing-table
Displays brief ipv6 routing information. The verbose option displays detailed
information about the ipv6 routing table.
HP Switch# display ipv6 routing-table
Routing Table: Public
Destinations: 3 Routes : 3
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
2-120
Common-CLI-Phase-3-Sept-2012.book Page 121 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 routing-table
Destination : ::/0
Gateway : 2001:db8:e::55:2
Type : static Sub-Type : NA Distance : 130 1 Metric : 1
Destination : ::1/128
Gateway : lo0
Type : connected Sub-Type : NA Distance : 0 Metric : 1
Destination : 2001:db8:1::127/128
Gateway : lo6
Type : connected Sub-Type : NA Distance : 0 Metric : 1
Destination : 2001:db8:a::/64
Gateway : fe80::22:1%vlan22
Type : ospf3 Sub-Type : InterArea Distance : 110 Metric : 2
Destination : 2001:db8:b::/64
Gateway : VLAN22
Type : connected Sub-Type : NA Distance : 0 Metric : 1
Destination : 2001:db8:c::/64
Gateway : 2001:db8:e::55:2
Type : static Sub-Type : NA Distance : 120 Metric : 1
-- MORE --, next page: Space, next line: Enter, quit: Control-C
Operating Notes
For more information, refer to the latest IPv6 Configuration Guide for your
switch.
Minimum Software Version: 15.10.
2-121
Common-CLI-Phase-3-Sept-2012.book Page 122 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 routing-table ipv6-address
Destination : ::/0
Gateway : 2001:db8:e::55:2
Type : static Sub-Type : NA Distance : 130 1 Metric : 1
Destination : ::1/128
Gateway : lo0
Type : connected Sub-Type : NA Distance : 0 Metric : 1
Destination : 2001:db8:1::127/128
Gateway : lo6
Type : connected Sub-Type : NA Distance : 0 Metric : 1
Destination : 2001:db8:a::/64
Gateway : fe80::22:1%vlan22
2-122
Common-CLI-Phase-3-Sept-2012.book Page 123 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 routing-table ipv6-address
Destination : 2001:db8:b::/64
Gateway : VLAN22
Type : connected Sub-Type : NA Distance : 0 3 Metric : 1
Destination : 2001:db8:c::/64
Gateway : 2001:db8:e::55:2
Type : static Sub-Type : NA Distance : 120 Metric : 1
-- MORE --, next page: Space, next line: Enter, quit: Control-C
Operating Notes
For more information, refer to the latest IPv6 Configuration Guide for your
switch.
Minimum Software Version: 15.10.
2-123
Common-CLI-Phase-3-Sept-2012.book Page 124 Sunday, September 9, 2012 6:00 PM
Display Commands
display ipv6 routing-table protocol
display ipv6 routing-table protocol show ipv6 route {connected | static | ospf3}
Destination : 2620:c::/64
Gateway : 2620:e::55:2
Type : static Sub-Type : NA Distance : 1 Metric : 1
Operating Notes
For more information, refer to the latest IPv6 Configuration Guide for your
switch.
Minimum Software Version: 15.10.
2-124
Common-CLI-Phase-3-Sept-2012.book Page 125 Sunday, September 9, 2012 6:00 PM
Display Commands
display lacp system-id
Displays the system ID of the local system. The system LACP priority and the system
MAC address comprise the system ID.
HP Switch# display lacp system-id
Field Descriptions
Actor System ID: The local system ID, including system LACP priority and system
MAC address. In the above example:
■ 0x2f00 = System LACP Priority
■ 001871-c42f00 = System MAC Address
Operating Notes
To enable LACP operation in ProVision software, use the following command
from the context of a port interface on which you want to enable LACP:
lacp
LACP Tx Rx Timer
Port Trunk Mode Aggregated Timer Expired
---- ------ -------- ----------- ------ --------
A13 A13 Active Yes Fast No
A14 A14 Active Yes Fast No
2-125
Common-CLI-Phase-3-Sept-2012.book Page 126 Sunday, September 9, 2012 6:00 PM
Display Commands
display lacp system-id
2-126
Common-CLI-Phase-3-Sept-2012.book Page 127 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation
display link-aggregation
Operating Notes
To enable trunk load-balancing in ProVision software, use the following
command in the global configuration context:
trunk < port-list > trkn trunk
trunk-load-balance < L3-based | L4-based >
For more on trunk load-balancing, refer to the “Port Trunking” chapter in the
latest Management and Configuration Guide for your switch.
2-127
Common-CLI-Phase-3-Sept-2012.book Page 128 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation member-port
For a member port in a static aggregation group, only the port number and
operational key are displayed, because the aggregation group is unaware of
information about the peer groups.
1:
Aggregation Interface: Trk1
Port Number: 1
Oper-Key: 1
2:
Aggregation Interface: Dyn1
Local:
Port Number: 2
Port Priority: 32768
Oper-Key: 2
Flag: n/a
Remote:
System ID: 0x8000, 0000-0000-0000
Port Number: 0
Port Priority: 32768
Oper-Key: 0
Flag: n/a
Received LACP Packets: 0 packet(s)
Illegal: 0 packet(s)
Sent LACP Packets: 0 packet(s)
Field Descriptions
Flags: One-octet LACP state flags field:
• A indicates whether LACP is enabled. 1 for enabled and 0 for disabled.
2-128
Common-CLI-Phase-3-Sept-2012.book Page 129 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation member-port
• B indicates the timeout control value. 1 for short timeout, and 0 for
long timeout.
• C indicates whether the link is considered as aggregatable by the
sending system. 1 for true, and 0 for false.
• D indicates whether the link is considered as synchronized by the
sending system. 1 for true, and 0 for false.
• E indicates whether the sending system considers that collection of
incoming frames is enabled on the link. 1 for true and 0 for false.
• F indicates whether the sending system considers that distribution of
outgoing frames is enabled on the link. 1 for true and 0 for false.
• G indicates whether the receive state machine of the sending system
is using default operational partner information. 1 for true and 0 for
false.
• H indicates whether the receive state machine of the sending system
is in the expired state. 1 for true and 0 for false.
If a flag bit is set to 1, the corresponding English letter that otherwise is not
output is displayed.
2-129
Common-CLI-Phase-3-Sept-2012.book Page 130 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation summary
Information about the remote system for a static link aggregation group may
be either shown as none or not displayed, because the aggregation group is
unaware of information about the peer groups.
Field Descriptions
Aggregation Interface Type: Aggregate interface type:
• BAGG for a Layer 2 aggregate interface.
• RAGG for a Layer 3 aggregate interface.
Actor System ID: Local system ID, which comprises the system LACP priority
and the system MAC address.
2-130
Common-CLI-Phase-3-Sept-2012.book Page 131 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation summary
Partner ID: System ID of the partner, which comprises the system LACP priority
and the system MAC address. AGG Mode: Aggregation group type.
2-131
Common-CLI-Phase-3-Sept-2012.book Page 132 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation verbose
To display the information of all Layer 2 aggregate interfaces, use the display
link-aggregation verbose bridge-aggregation command.
2-132
Common-CLI-Phase-3-Sept-2012.book Page 133 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation verbose
Field Descriptions
Loadsharing Type: Loadsharing type:
• Shar for load sharing.
• NonS for non-load sharing.
2-133
Common-CLI-Phase-3-Sept-2012.book Page 134 Sunday, September 9, 2012 6:00 PM
Display Commands
display link-aggregation verbose
If a flag bit is set to 1, the corresponding English letter that otherwise is not
output is displayed.
2-134
Common-CLI-Phase-3-Sept-2012.book Page 135 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp local-information
Displays the LLDP information. This includes the global information and per
interface information.
MED information
device class : network Connectivity //This is intentional
(MED inventory information of master board)
HardwareRev : Rev 0
FirmwareRev : K.15.28
SoftwareRev : K.15.09.0000x
SerialNum : SG729TH003
Manufacturer name : Hewlett-Packard
Model name : J8693A
Asset tracking identifier : Unknown
2-135
Common-CLI-Phase-3-Sept-2012.book Page 136 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp local-information
2-136
Common-CLI-Phase-3-Sept-2012.book Page 137 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp local-information
OperMau : 30
2-137
Common-CLI-Phase-3-Sept-2012.book Page 138 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp local-information global
MED information
device class : network Connectivity
(MED inventory information of master board)
HardwareRev : Rev 0
FirmwareRev : K.15.28
SoftwareRev : K.15.09.0000x
SerialNum : SG729TH003
Manufacturer name : Hewlett-Packard
Model name : J8693A
Asset tracking identifier : Unknown
2-138
Common-CLI-Phase-3-Sept-2012.book Page 139 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp local-information interface interface-type interface-number
2-139
Common-CLI-Phase-3-Sept-2012.book Page 140 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp local-information interface interface-type interface-number
MED information
Media policy type : voice Signaling
Unknown Policy : No
VLAN tagged : No
Media policy VlanID : 1
Media policy L2 priority : 6
Media policy Dscp : 46
2-140
Common-CLI-Phase-3-Sept-2012.book Page 141 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp neighbor-information brief
2-141
Common-CLI-Phase-3-Sept-2012.book Page 142 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp neighbor-information brief
For more information, see the latest Management and Configuration Guide
for your switch.
2-142
Common-CLI-Phase-3-Sept-2012.book Page 143 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp neighbor-information list display lldp neighbor-information list system-name <string>
Whereas Comware can accpet multiple strings as input with spaces for system
name, ProVision accepts only one string.
For more information, see the latest Management and Configuration Guide
for your switch.
2-143
Common-CLI-Phase-3-Sept-2012.book Page 144 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp statistics
Displays information about LLDP packets that are being advertised by the
local system or by remote systems, and global LLDP information followed by
each interface in the switch. The statistics refer to significant events that
involve LLDP packet transmission and reception.
2-144
Common-CLI-Phase-3-Sept-2012.book Page 145 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp statistics
For more information, see the latest Management and Configuration Guide
for your switch.
2-145
Common-CLI-Phase-3-Sept-2012.book Page 146 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp statistics global
Displays global information about LLDP packets that are being advertised by
the local system or by remote systems. The statistics refer to significant events
that involve LLDP packet transmission and reception.
For more information, see the latest Management and Configuration Guide
for your switch.
2-146
Common-CLI-Phase-3-Sept-2012.book Page 147 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp statistics interface interface-type interface-number
2-147
Common-CLI-Phase-3-Sept-2012.book Page 148 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp statistics interface interface-type interface-number
For more information, see the latest Management and Configuration Guide
for your switch.
2-148
Common-CLI-Phase-3-Sept-2012.book Page 149 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp status
Displays information about Link Layer Discovery Protocol (LLDP) and Link
Level Discovery Protocol-Media Endpoint Discovery (LLDP-MED) configura-
tion and capabilities on the switch. LLDP and LLDP-MED are used to learn
about and to distribute device information on network links. This command
shows information on global level as well as the interface level.
Port 1 [GigabitEthernet1/0/1]:
Port status of LLDP : Enable
Admin status : Tx_Rx
Trap flag : No
Polling interval : 0s
Number of neighbors: : 0
Number of MED neighbors : 0
Number of CDP neighbors : 0
Number of sent optional TLV : 0
Number of received unknown TLV : 0
2-149
Common-CLI-Phase-3-Sept-2012.book Page 150 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp status interface interface-type interface number
Displays information about Link Layer Discovery Protocol (LLDP) and Link
Level Discovery Protocol-Media Endpoint Discovery (LLDP-MED) configura-
tion and capabilities on the switch. LLDP and LLDP-MED are used to learn
about and to distribute device information on network links.
HP Switch# display lldp status interface 1
Port 1 :
Port status of LLDP : Enable
Admin status : Tx_Rx
Trap flag : No
Polling interval : 0s
Number of neighbors: 0
Number of MED neighbors : 0
Number of CDP neighbors : 0
Number of sent optional TLV : 0
Number of received unknown TLV : 0
2-150
Common-CLI-Phase-3-Sept-2012.book Page 151 Sunday, September 9, 2012 6:00 PM
Display Commands
display lldp tlv-config interface interface-type interface-number
2-151
Common-CLI-Phase-3-Sept-2012.book Page 152 Sunday, September 9, 2012 6:00 PM
Display Commands
display logfile buffer
2-152
Common-CLI-Phase-3-Sept-2012.book Page 153 Sunday, September 9, 2012 6:00 PM
Display Commands
display logfile buffer
2-153
Common-CLI-Phase-3-Sept-2012.book Page 154 Sunday, September 9, 2012 6:00 PM
Display Commands
display logfile buffer
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-154
Common-CLI-Phase-3-Sept-2012.book Page 155 Sunday, September 9, 2012 6:00 PM
Display Commands
display loopback-detection
display loopback-detection
Loopback-detection is running.
Detection interval is 30 second(s).
Action mode: None
Loopback-detection is enabled on the following VLAN(s):
1, 20, 315, 1001, 2008, 2010-2015, 2026
Loopback is detected on the following interface(s):
1
2
3
10
Field Descriptions
Detection Interval: Loopback detection interval in seconds.
2-155
Common-CLI-Phase-3-Sept-2012.book Page 156 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-address
display mac-address
Comware Related ProVision
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-156
Common-CLI-Phase-3-Sept-2012.book Page 157 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-address aging-time
Displays the aging time of dynamic entries in the MAC address table.
Field Descriptions
Mac address aging time: Aging time of dynamic entries in the MAC address
table.
Operating Notes
Comware displays mac-address as 1234-1234-1234 and ProVision displays it
as 123456-123456.
For more information about MAC aging time, see the “Interface Access and
System Information” chapter in the latest Basic Operation Guide for your
switch.
2-157
Common-CLI-Phase-3-Sept-2012.book Page 158 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-address aging-time
2-158
Common-CLI-Phase-3-Sept-2012.book Page 159 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-address multicast
2-159
Common-CLI-Phase-3-Sept-2012.book Page 160 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication
display mac-authentication
If you specify a list of ports, the command displays port-specific settings and
statistics only for the specified ports.
If you do not specify any port, the command displays port-specific settings
and statistics for all ports.
2-160
Common-CLI-Phase-3-Sept-2012.book Page 161 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication
A1 is link-up
MAC address authentication is disabled
Authenticate success: n/a, failed: n/a
Max number of on-line users is 1
Current online user number is 0
MAC Addr Authenticate state AuthIndex
A2 is link-down
MAC address authentication is disabled
Authenticate success: n/a, failed: n/a
Max number of on-line users is 1
Current online user number is 0
MAC Addr Authenticate state AuthIndex
Field Descriptions
MAC address authentication is enabled: Whether MAC authentication is enabled.
User name format is no-delimiter like no delimiter format: Type of user account,
which can be MAC-based or shared. If MAC-based accounts are used, this field
displays “User name format is MAC address …” and the format settings for
usernames and passwords. For example, MAC addresses without hyphens in
lower case. If a shared account is used, this field displays “User name format
is fixed account.”
Fixed password: Password of the shared account for MAC authentication users.
If MAC-based accounts are used, this field displays not configured.
2-161
Common-CLI-Phase-3-Sept-2012.book Page 162 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication
The max allowed user number: Maximum number of users each slot supports.
Current domain: not configured, use default domain: Authentication domain that
is currently used.
Silent Mac User info: Information about silent MAC addresses. A MAC address
is marked silent when it fails a MAC authentication, and at the same time, a
quiet timer starts. Before the timer expires, the device drops any packet from
the MAC address and does not perform MAC authentication for the MAC
address.
Operating Notes
For more information on switch MAC authentication operation, see the “Web
and MAC Authentication” chapter in the latest Access Security Guide for your
switch.
2-162
Common-CLI-Phase-3-Sept-2012.book Page 163 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication
2-163
Common-CLI-Phase-3-Sept-2012.book Page 164 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication
AuthIndex n/a
2-164
Common-CLI-Phase-3-Sept-2012.book Page 165 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication [interface …
]
2-165
Common-CLI-Phase-3-Sept-2012.book Page 166 Sunday, September 9, 2012 6:00 PM
Display Commands
display mac-authentication [interface …
]
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
Minimum Software Version: 15.10.
2-166
Common-CLI-Phase-3-Sept-2012.book Page 167 Sunday, September 9, 2012 6:00 PM
Display Commands
display memory
display memory
Field Descriptions
System Total Memory (bytes): Total system memory in the switch.
Operating Notes
To display memory usage in ProVision Software, use the following command:
HP Switch# show system information
This command lists the total memory and free memory available in the switch,
along with other system-related information.
For more on system information, refer to the “Interface Access and System
Information” chapter in the latest Basic Operation Guide for your switch.
2-167
Common-CLI-Phase-3-Sept-2012.book Page 168 Sunday, September 9, 2012 6:00 PM
Display Commands
display memory
2-168
Common-CLI-Phase-3-Sept-2012.book Page 169 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group
Displays the number of active MLD (Multicast Listener Discovery) groups and the
VLAN and IPv6 address on which each group is active.
HP Switch# display mld group
Total 4 MLD Group(s).
Interface group report information
Vlan-Interface1(1234:1::5):
Total 1 MLD Groups reported
Group Address : ff1e::1
Last Reporter : fe80::200:f7ff:fe95:4f5d
Uptime : 00:45:00
Expires : 00:03:20
Vlan-Interface2(1234:3::5):
Total 2 MLD Groups reported
Group Address : ff1e::3
Last Reporter : fe80::200:f7ff:fe95:da95
Uptime : 00:43:28
Expires : 00:03:16
Group Address : ff1e::4
Last Reporter : fe80::200:f7ff:fe95:da95
Uptime : 00:43:28
Expires : 00:03:16
Vlan-Interface10(1234:2::5):
Total 1 MLD Groups reported
Group Address : ff1e::5
Last Reporter : fe80::200:f7ff:fe95:9c92
Uptime : 00:43:41
Expires : 00:03:20
2-169
Common-CLI-Phase-3-Sept-2012.book Page 170 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group
Field Descriptions
Total n MLD Groups: The total number of MLD groups detected on the switch.
Total n MLD Groups reported: The number of MLD groups detected on the
indicated VLAN.
Group Address: The IPv6 address of an MLD group detected on the indicated
VLAN.
• Last Reporter: The IPv6 address of the host that last reported member-
ship for the group.
• Uptime: Length of time since the IPv6 multicast group was joined.
• Expires: Time remaining for the IPv6 multicast group.
Operating Notes
The display mld group command reports on MLD traffic on static VLANs.
For example:
HP Switch(vlan-10)# ipv6 mld enable
For more on MLD, including additional MLD commands, see the “Multicast
Listener Discovery (MLDv1 and MLDv2)” chapter in the latest IPv6 Configu-
ration Guide for your switch.
2-170
Common-CLI-Phase-3-Sept-2012.book Page 171 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group
2-171
Common-CLI-Phase-3-Sept-2012.book Page 172 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group
Comware ProVision
n/a NAME
n/a Tracking
Vers
Mode
Uptime
Expires
2-172
Common-CLI-Phase-3-Sept-2012.book Page 173 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group interface vlan-interface <vid>
display mld group interface vlan-interface <vid> show ipv6 mld vlan <vid>
Field Descriptions:
Group: Multicast group address
Last reporter: Address of the last host that reported its membership for this
multicast group
Uptime: Length of time since the multicast group was reported
Expires: Remaining time of the multicast group
Example of Related ProVision Software Command Output.
There is no direct equivalent ProVision command. Please see “show ipv6 mld
vlan <vid>” on page 2-179.
Minimum Software Version: 15.09.
2-173
Common-CLI-Phase-3-Sept-2012.book Page 174 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group interface vlan-interface <vid> verbose
display mld group interface vlan-interface show ipv6 mld vlan <vid>
<vid> verbose
2-174
Common-CLI-Phase-3-Sept-2012.book Page 175 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group interface vlan-interface <vid> verbose
Last-listener-query-timer-expiry : n/a
Group : ff02::1:ffab:9300
Last Reporter : fe80::3e4a:92ff:feab:9300
Uptime : 5 ...
Expires : 00:03:56
Group mode : exclude
Version1-host-present-timer-expiry : on
Last-listener-query-counter : n/a
Last-listener-query-timer-expiry : n/a
Field Descriptions:
Interface group report information: MLD group information on the interface
Uptime: Length of time since the IPV6 multicast group was joined
Expires: Remaining time of the IPv6 multicast group, where “off” means that
the multicast group never times out
Last reporter: IPv6 address of the host that last reported membership for this
group
2-175
Common-CLI-Phase-3-Sept-2012.book Page 176 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group port-info vlan <vlan-id> display mld group port-info
display mld group port-info vlan <vlan-id> No equivalent ProVision software command
display mld group port-info
2-176
Common-CLI-Phase-3-Sept-2012.book Page 177 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group verbose
2-177
Common-CLI-Phase-3-Sept-2012.book Page 178 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group verbose
Field Descriptions:
Interface group report information: MLD group information on the interface
Uptime: Length of time since the IPV6 multicast group was joined
Expires: Remaining time of the IPv6 multicast group, where “off” means that
the multicast group never times out
Last reporter: IPv6 address of the host that last reported membership for this
group
2-178
Common-CLI-Phase-3-Sept-2012.book Page 179 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group x:x::x:x
Field Descriptions:
Group: Multicast group address
Last reporter: Address of the last host that reported its membership for this
multicast group
2-179
Common-CLI-Phase-3-Sept-2012.book Page 180 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group x:x::x:x
2-180
Common-CLI-Phase-3-Sept-2012.book Page 181 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group x:x::x:x verbose
display mld group x:x::x:x verbose show ipv6 mld vlan <vid>
Field Descriptions:
Interface group report information: MLD group information on the interface
Uptime: Length of time since the IPV6 multicast group was joined
Expires: Remaining time of the IPv6 multicast group, where “off” means that
the multicast group never times out
Last reporter: IPv6 address of the host that last reported membership for this
group
2-181
Common-CLI-Phase-3-Sept-2012.book Page 182 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld group x:x::x:x verbose
2-182
Common-CLI-Phase-3-Sept-2012.book Page 183 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld interface
Field Descriptions:
Vlan-interface30 (2075:1:1:30::1): Interface and IPv6 link-local address
Value of query interval for MLD (in seconds): MLD query interval, in seconds
Value of other querier present interval for MLD (in seconds): MLD other querier
present interval, in seconds
Value of maximum query response time for MLD (in seconds): Maximum response
delay for general query messages (in seconds)
Total 5 MLD Groups reported: Total number of MLD groups the interface has
dynamically joined
2-183
Common-CLI-Phase-3-Sept-2012.book Page 184 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld interface verbose
Field Descriptions:
Vlan-Interface30(2075:1:1:30::1): Interface and IPv6 link-local address
Value of query interval for MLD (in seconds): MLD query interval, in seconds
Value of other querier present interval for MLD (in seconds): MLD other querier
present interval, in seconds
Value of maximum query response time for MLD (in seconds): Maximum response
delay for general query messages (in seconds)
2-184
Common-CLI-Phase-3-Sept-2012.book Page 185 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld interface verbose
Value of last listener query interval (in seconds): MLD last listener query interval,
in seconds
Value of startup query interval(in seconds): MLD startup query interval, in sec-
onds
Value of startup query count: Number of MLD general queries sent on startup
General query timer expiry: Remaining time of the MLD general query timer,
where “off” means that the timer never times out
MLD activity: MLD activity statistics (number of join and done messages)
Proxying interface: The MLD proxy interface, where “none” means that no
proxy interface exists
2-185
Common-CLI-Phase-3-Sept-2012.book Page 186 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld interface vlan-interface <vid>
display mld interface vlan-interface <vlan-id> show ipv6 mld vlan <vid>
Field Descriptions:
Vlan-Interface30(2075:1:1:30::1): Interface and IPv6 link-local address
Value of query interval for MLD (in seconds): MLD query interval, in seconds
Value of other querier present interval for MLD (in seconds): MLD other querier
present interval, in seconds
Value of maximum query response time for MLD (in seconds): Maximum response
delay for general query messages (in seconds)
Total 5 MLD Groups reported: Total number of MLD groups the interface has
dynamically joined
There is no direct equivalent ProVision command. Please see “show ipv6 mld
vlan <vid>” on page 2-179.
2-186
Common-CLI-Phase-3-Sept-2012.book Page 187 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld interface vlan-interface <vid> verbose
display mld interface vlan-interface <vid> show ipv6 mld vlan <vid>
verbose
Field Descriptions:
Vlan-interface100(FE80::200:AFF:FE01:101): Interface and IPv6 link-local address
Current MLD version: MLD version running on the interface
Value of query interval for MLD (in seconds): MLD query interval, in seconds
Value of other querier present interval for MLD (in seconds): MLD other querier
present interval, in seconds
2-187
Common-CLI-Phase-3-Sept-2012.book Page 188 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld interface vlan-interface <vid> verbose
Value of maximum query response time for MLD (in seconds): Maximum response
delay for general query messages (in seconds)
Value of last listener query interval (in seconds): MLD last listener query interval,
in seconds
Value of startup query interval(in seconds): MLD startup query interval, in sec-
onds
Value of startup query count: Number of MLD general queries sent on startup
General query timer expiry: Remaining time of the MLD general query timer,
where “off” means that the timer never times out
Querier for MLD: IPv6 link-local address of the MLD querier
MLD activity: MLD activity statistics (number of join and done messages)
Robustness: MLD querier’s robustness variable
Require-router-alert: Dropping MLD messages without Router-Alert (enabled/
disabled)
Fast-leave: MLD fast leave processing status (enabled/disabled)
Ssm-mapping: MLD SSM mapping status (enabled/disabled)
Startup-query-timer-expiry: Remaining time of MLD startup query timer, where
“off” means that the timer never times out
Other-querier-present-timer-expiry: Remaining time of MLD other querier pres-
ent timer, where “off” means that the timer never times out
Proxying interface: The MLD proxy interface, where “none” means that no
proxy interface exists
Total 1 MLD Group reported: Total number of MLD groups the interface has
dynamically joined
MLD proxy is enabled: MLD proxying is enabled
Version1-querier-present-timer-expiry: Remaining time of the MLDv1 querier
present timer, where “off” means that the timer never times out
Example of Related ProVision Software Command Output.
There is no direct equivalent ProVision command. Please see “show ipv6 mld
vlan <vid>” on page 2-179.
Minimum Software Version: 15.09.
2-188
Common-CLI-Phase-3-Sept-2012.book Page 189 Sunday, September 9, 2012 6:00 PM
Display Commands
display mld routing-table
2-189
Common-CLI-Phase-3-Sept-2012.book Page 190 Sunday, September 9, 2012 6:00 PM
Display Commands
display monitor-link group [group-number | all],
Field Descriptions
Monitor link group 1 information: Information about monitor link group 1.
Group status: Monitor link group state, which can be up or down or none.
Last-up-time: Last time when the monitor link group was up.
Last-down-time: Last time when the monitor link group was down.
Operating Notes
In ProVision, groupid ranges from 1 to 64 whereas in H3C switches, groupid
ranges from 1 to 24. For more information about link groups, see the “Port
Status and Configuration” chapter in the latest Management and Configura-
tion Guide for your switch.
2-190
Common-CLI-Phase-3-Sept-2012.book Page 191 Sunday, September 9, 2012 6:00 PM
Display Commands
display monitor-link group [group-number | all],
Last-up-time n/a
Last-down-time n/a
Role n/a
2-191
Common-CLI-Phase-3-Sept-2012.book Page 192 Sunday, September 9, 2012 6:00 PM
Display Commands
display multicast forwarding-table
Total 1 entry
2-192
Common-CLI-Phase-3-Sept-2012.book Page 193 Sunday, September 9, 2012 6:00 PM
Display Commands
display multicast routing-table
Displays multicast routing table information. Multicast routing tables are the
basis of multicast forwarding. You can view the establishment state of an (S,
G) entry by checking the multicast routing table.
HP Switch# display multicast routing-table
Multicast routing table of VPN-Instance: public net
Total 1 entry,1 matched
2-193
Common-CLI-Phase-3-Sept-2012.book Page 194 Sunday, September 9, 2012 6:00 PM
Display Commands
display multicast routing-table
Operating Notes
For more information, refer to the latest Multicast and Routing Guide for
your switch.
Minimum Software Version: 15.10.
2-194
Common-CLI-Phase-3-Sept-2012.book Page 195 Sunday, September 9, 2012 6:00 PM
Display Commands
display multicast routing-table static
Mroute 10.10.0.0/16
Interface = n/a RPF Neighbor = 2.2.2.2
Matched routing protocol = <none>, Route-policy = <none>
Preference = n/a, Order = n/a
Running Configuration = rpf-override 10.10.10.10/32 10.10.10.1
Field Descriptions
Multicast Routing Table of VPN-Instance: public net: Multicast routing table for
the public network
RPF Neighbor: IP address of the RPF neighbor through which the multicast
source is reachable
Route-policy: Routing policy. The multicast source address of the route should
match the routing policy.
Running Configuration: Command line that configures the multicast static route
2-195
Common-CLI-Phase-3-Sept-2012.book Page 196 Sunday, September 9, 2012 6:00 PM
Display Commands
display multicast routing-table static
Operating Notes
ProVision switches use a different command to define the static multicast
routes, The corresponding config command is displayed in the command. For
more information on multicast static routes, see the “PIM-SM (Sparse Mode)”
or the “PIM-DM (Dense Mode) chapters in the latest Multicast and Routing
Guide for your switch.
Mroute n/a
Interface n/a
Preference n/a
Order n/a
2-196
Common-CLI-Phase-3-Sept-2012.book Page 197 Sunday, September 9, 2012 6:00 PM
Display Commands
display multicast rpf-info
2-197
Common-CLI-Phase-3-Sept-2012.book Page 198 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf cumulative
IO Statistics
Type Input Output
Hello 2 2
DB Description 0 2
Link-State Req 0 0
Link-State Update 0 0
Link-State Ack 0 0
Routing Table:
Intra Area: n/a Inter Area: n/a ASE/NSSA: n/a
Field Descriptions
IO Statistics: Statistics about input/output packets and LSAs.
2-198
Common-CLI-Phase-3-Sept-2012.book Page 199 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf cumulative
Operating Notes
For more on switch OSPF operation, refer to the “IP Routing” chapter in the
latest Multicast and Routing Guide for your switch.
2-199
Common-CLI-Phase-3-Sept-2012.book Page 200 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf cumulative
OSPF Errors: 26
DB Description n/a
2-200
Common-CLI-Phase-3-Sept-2012.book Page 201 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf interface
Area : 0.0.0.1
Field Descriptions
Area: Area ID of the interface.
2-201
Common-CLI-Phase-3-Sept-2012.book Page 202 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf interface
Operating Notes
To enable OSPF operation in ProVision software, use the following command
in the global configuration context:
router ospf enable
Area Area ID
IP Address IP Address
n/a Status
Type n/a
State State
n/a Auth-Type
Cost Cost
2-202
Common-CLI-Phase-3-Sept-2012.book Page 203 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf interface
PRI PRI
n/a Passive
DR n/a
BDR n/a
2-203
Common-CLI-Phase-3-Sept-2012.book Page 204 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf lsdb
Area: 0.0.0.0
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 11.0.9.2 11.0.9.2 930 n/a 80000005 n/a
Router 11.0.9.1 11.0.9.1 456 n/a 80000004 n/a
Network 11.0.9.2 11.0.9.2 930 n/a 80000002 n/a
Sum-Net 1.2.4.0 11.0.9.1 16 n/a 80000001 n/a
Area: 0.0.0.1
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 11.0.9.1 11.0.9.1 9 n/a 80000003 n/a
Router 100.0.9.4 100.0.9.4 10 n/a 80000004 n/a
Network 1.2.4.6 100.0.9.4 5 n/a 80000002 n/a
Sum-Net 11.0.9.0 11.0.9.1 16 n/a 80000001 n/a
AS External Database
Type LinkState ID AdvRouter Age Len Sequence Metric
External 192.168.1.0 3.3.3.3 406 n/a 80000006 n/a
[bot-ospf-1-area-0.0.0.1]
Field Descriptions
Area: LSDB information of the area
2-204
Common-CLI-Phase-3-Sept-2012.book Page 205 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf lsdb
Operating Notes
For more on switch OSPF operation, refer to the “IP Routing” chapter in the
latest Multicast and Routing Guide for your switch.
Advertising
LSA Type Link State ID Router ID Age Sequence # Checksum
---------- --------------- --------------- ---- ----------- ----------
Router 10.0.8.32 10.0.8.32 65 0x80000281 0x0000a7b6
Router 10.0.8.33 10.0.8.33 1638 0x80000005 0x0000a7c8
Network 10.3.2.37 10.0.8.37 1695 0x80000006 0x00000443
Summary 10.3.16.0 10.0.8.33 1638 0x80000007 0x0000c242
Summary 10.3.16.0 10.0.8.35 1316 0x80000008 0x0000aa58
Summary 10.3.17.0 10.0.8.33 1638 0x8000027b 0x0000becf
Summary 10.3.17.0 10.0.8.35 1316 0x80000008 0x0000a957
AsbSummary 10.0.8.36 10.0.8.33 1412 0x80000002 0x00002cba
Advertising
LSA Type Link State ID Router ID Age Sequence # Checksum
---------- --------------- --------------- ---- ----------- ----------
Router 10.0.8.33 10.0.8.33 1727 0x8000027e 0x0000d53c
Router 10.0.8.34 10.0.8.34 1420 0x80000283 0x0000de4f
Network 10.3.16.34 10.0.8.34 1735 0x80000005 0x00001465
Area Area
2-205
Common-CLI-Phase-3-Sept-2012.book Page 206 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf lsdb
AdvRouter Router ID
Age Age
Len n/a
Sequence Sequence
Metric n/a
2-206
Common-CLI-Phase-3-Sept-2012.book Page 207 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf peer
Area: 0.0.0.0
Field Descriptions
Area: Neighbor area.
State: Neighbor state: Down, Init, Attempt, 2-Way, Exstart, Exchange, DR/BDR
state, Loading or Full.
Operating Notes
For more on switch OSPF operation, refer to the “IP Routing” chapter in the
latest Multicast and Routing Guide for your switch.
2-207
Common-CLI-Phase-3-Sept-2012.book Page 208 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf peer
Area n/a
Router ID Router ID
Address IP Address
Pri Pri
Interface n/a
State NbIfState/State
2-208
Common-CLI-Phase-3-Sept-2012.book Page 209 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf routing
Field Descriptions
Destination: Destination network.
Type: Route type (intra-area, transit, stub, inter-area, type 1 external, type 2
external.
2-209
Common-CLI-Phase-3-Sept-2012.book Page 210 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf routing
Operating Notes
To enable OSPF operation in ProVision software, use the following command
in the global configuration context:
router ospf enable
2-210
Common-CLI-Phase-3-Sept-2012.book Page 211 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf vlink
Field Descriptions
Virtual-link Neighbor-ID: ID of the neighbor connected to the router via the
virtual link.
Timers: Values of the hello, dead, poll (NBMA), retransmit, and interface
transmission delay timers.
Operating Notes
To enable OSPF operation in ProVision software, use the following command
in the global configuration context:
router ospf enable
2-211
Common-CLI-Phase-3-Sept-2012.book Page 212 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospf vlink
For more on configuring OSPF, including virtual links and other OSPF opera-
tion, see the “Configuring OSPF” chapter in the latest Multicast and Routing
Guide for your switch.
2-212
Common-CLI-Phase-3-Sept-2012.book Page 213 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3
display ospfv3
Comware Related ProVision
2-213
Common-CLI-Phase-3-Sept-2012.book Page 214 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-214
Common-CLI-Phase-3-Sept-2012.book Page 215 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 area area-id peer interface interface-type interface number
display ospfv3 area area-id peer interface No equivalent ProVision software command
interface-type interface number
Field Descriptions
Neighbor ID: Router ID of a neighbor
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
2-215
Common-CLI-Phase-3-Sept-2012.book Page 216 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 area area-id peer peer-router-id
display ospfv3 area area-id peer peer-router- show ipv6 ospf3 neighbor <ip-addr> detail
id
Field Descriptions
Neighbor: Neighbor ID.
Link State Request List: Number of LSAs in the link state request list.
2-216
Common-CLI-Phase-3-Sept-2012.book Page 217 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 area area-id peer peer-router-id
Link State Retransmission List: Number of LSAs in the link state retransmission
list.
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
Neighbor Neighbor
Vlan-interface Interface
Options Options
2-217
Common-CLI-Phase-3-Sept-2012.book Page 218 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 area area-id peer peer-router-id
2-218
Common-CLI-Phase-3-Sept-2012.book Page 219 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 area area-id peer verbose
display ospfv3 area area-id peer verbose No equivalent ProVision software command
Field Descriptions
Neighbor: Neighbor ID.
Link State Request List: Number of LSAs in the link state request list.
Link State Retransmission List: Number of LSAs in the link state retransmission
list.
2-219
Common-CLI-Phase-3-Sept-2012.book Page 220 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 area area-id peer verbose
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
2-220
Common-CLI-Phase-3-Sept-2012.book Page 221 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 interface
Field Descriptions
Interface ID: Interface ID
2-221
Common-CLI-Phase-3-Sept-2012.book Page 222 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 interface
Hello due in: Hello packet will be sent in the indicated number of seconds.
Operating Notes
To enable OSPF operation in ProVision software, enter the following com-
mands in the global configuration context:
ipv6 unicast-routing
router ospf3 enable
2-222
Common-CLI-Phase-3-Sept-2012.book Page 223 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 interface
Interface ID Interface
n/a Status
Area Area ID
Instance ID n/a
Router ID n/a
Cost Cost
State State
Priority Priority
2-223
Common-CLI-Phase-3-Sept-2012.book Page 224 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 interface
n/a Passive
2-224
Common-CLI-Phase-3-Sept-2012.book Page 225 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 lsdb
2-225
Common-CLI-Phase-3-Sept-2012.book Page 226 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 lsdb
---------------------------------------------------------------------
Link State ID Origin Router Age SeqNum CkSum
5.178.0.1 2.2.2.2 0371 0x80000018 0xf448
AS-external-LSA
---------------------------------------------------------------------
Link State ID Origin Router Age SeqNum CkSum
0.0.0.1 2.2.2.2 0375 0x8000000b 0x999a
0.0.0.2 2.2.2.2 0570 0x80000002 0x6ebc
2-226
Common-CLI-Phase-3-Sept-2012.book Page 227 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 lsdb statistics
Displays LSA statistics in the OSPFv3 LSDB. This command is available only
in manager mode.
HP Switch# display ospfv3 lsdb statistics
OSPFv3 Router with ID (2.2.2.2) (Process 1)
LSA Statistics
---------------------------------------------------------------------
Area ID Router Network IntePre InteRou IntraPre Link Grace ASE
0.0.0.0 5 5 5 5 5
0.0.0.1 5 5 5 5 5
Total 10 10 10 10 10 5 0 5
2-227
Common-CLI-Phase-3-Sept-2012.book Page 228 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer
Field Descriptions
Neighbor ID: Router ID of a neighbor.
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
2-228
Common-CLI-Phase-3-Sept-2012.book Page 229 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer
Neighbor ID Router ID
Interface Interface
n/a Router ID
Pri Pri
State State
Instance ID n/a
n/a Events
2-229
Common-CLI-Phase-3-Sept-2012.book Page 230 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer peer-router-id
display ospfv3 peer peer-router-id show ipv6 ospf3 neighbor <router-id> detail
Field Descriptions
Neighbor: Neighbor ID.
Link State Request List: Number of LSAs in the link state request list.
Link State Retransmission List: Number of LSAs in the link state retransmission
list.
2-230
Common-CLI-Phase-3-Sept-2012.book Page 231 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer peer-router-id
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
Neighbor Neighbor
Vlan-interface Interface
Options Options
2-231
Common-CLI-Phase-3-Sept-2012.book Page 232 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer peer-router-id
2-232
Common-CLI-Phase-3-Sept-2012.book Page 233 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer statistics
Displays information about all OSPFv3 neighbors on the router, that is,
number of neighbors in different states.
HP Switch# display ospfv3 peer statistics
OSPFv3 Router with ID (2.2.2.2) (Process 1)
Neighbor Statistics
---------------------------------------------------------------------
Area ID Down Attempt Init 2-Way ExStart Exchange Loading Full
0.0.0.0 0 0 0 0 0 0 0 1
0.0.0.1 0 0 0 0 0 0 0 1
Total 0 0 0 0 0 0 0 2
2-233
Common-CLI-Phase-3-Sept-2012.book Page 234 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer verbose
Field Descriptions
Neighbor: Neighbor ID.
Link State Request List: Number of LSAs in the link state request list.
Link State Retransmission List: Number of LSAs in the link state retransmission
list.
2-234
Common-CLI-Phase-3-Sept-2012.book Page 235 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer verbose
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
Neighbor Neighbor
Vlan-interface Interface
Options Options
2-235
Common-CLI-Phase-3-Sept-2012.book Page 236 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 peer verbose
2-236
Common-CLI-Phase-3-Sept-2012.book Page 237 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 statistic
OSPFv3 Statistics
Interface 2 Instance 0
Type Input Output
Hello 6 10
DB Description 2 5
Ls Req 1 1
Ls Upd 2 3
Ls Ack 2 2
Discarded 32 1
Field Descriptions
Interface: Interface name.
2-237
Common-CLI-Phase-3-Sept-2012.book Page 238 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 statistic
Operating Notes
For more on switch OSPFv3 operation, refer to the “OSPFv3 Routing” chapter
in the latest IPv6 Configuration Guide for your switch.
Field Content
OSPF statistics for OSPF statistics displayed for the specified VLAN number
VLAN <vlan-id>
2-238
Common-CLI-Phase-3-Sept-2012.book Page 239 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 statistic
OSPFv3 Errors : 0
Instance n/a
Type n/a
Input n/a
Output n/a
2-239
Common-CLI-Phase-3-Sept-2012.book Page 240 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 vlink
Field Descriptions
Virtual Link: The virtual link name and destination router ID.
Timer intervals: The configured timer intervals for Hello, Dead, Wait, and
Retransmit.
Hello due in: The interval until the next Hello packet is sent.
2-240
Common-CLI-Phase-3-Sept-2012.book Page 241 Sunday, September 9, 2012 6:00 PM
Display Commands
display ospfv3 vlink
Operating Notes
To configure OSPFv3 operation in ProVision software, see the “OSPFv3
Routing” chapter in the latest IPv6 Configuration Guide for your switch.
2-241
Common-CLI-Phase-3-Sept-2012.book Page 242 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim bsr-info
Displays the BSR information in the PIM domain and the locally configured
C-RP information in effect.
Field Descriptions
VPN-Instance: public net: Public network.
2-242
Common-CLI-Phase-3-Sept-2012.book Page 243 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim bsr-info
Uptime: Length of time for which this BSR has been up, in hh:mm:ss.
Next BSR message scheduled at: Length of time in which the BSR will expire,
in hh:mm:ss.
Next advertisement scheduled at: Length of time in which the C-RP will send the
next advertisement message, in hh:mm:ss.
Operating Notes
For more information on PIM, see the “PIM-SM (Sparse Mode)” or the “PIM-
DM (Dense Mode) chapters in the latest Multicast and Routing Guide for
your switch.
2-243
Common-CLI-Phase-3-Sept-2012.book Page 244 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim bsr-info
2-244
Common-CLI-Phase-3-Sept-2012.book Page 245 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim bsr-info
State n/a
Scope n/a
2-245
Common-CLI-Phase-3-Sept-2012.book Page 246 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim control-message counters
2-246
Common-CLI-Phase-3-Sept-2012.book Page 247 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim grafts
2-247
Common-CLI-Phase-3-Sept-2012.book Page 248 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim interface
Field Descriptions
VPN-Instance: public net: Public network.
Operating Notes
For more information on PIM, see the “PIM-SM (Sparse Mode)” or the “PIM-
DM (Dense Mode) chapters in the latest Multicast and Routing Guide for
your switch.
2-248
Common-CLI-Phase-3-Sept-2012.book Page 249 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim interface
PIM Interfaces
Interface VLAN
NbrCnt n/a
HelloInt n/a
DR-Pri n/a
DR-Address IP Address
n/a Mode
2-249
Common-CLI-Phase-3-Sept-2012.book Page 250 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim interface verbose
Field Descriptions
VPN-Instance Public net: Public network.
2-250
Common-CLI-Phase-3-Sept-2012.book Page 251 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim interface verbose
PIM BSR domain border: Status of PIM domain border configuration (enabled/
disabled).
Number of routers on network not using DR priority: Number of routers not using
the DR priority field on the subnet where the interface resides.
Number of routers on network not using LAN delay: Number of routers not using
the LAN delay field on the subnet where the interface resides.
Number of routers on network not using neighbor tracking: Number of routers not
using neighbor tracking on the subnet where the interface resides.
2-251
Common-CLI-Phase-3-Sept-2012.book Page 252 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim interface verbose
Operating Notes
For more information on PIM, see the “PIM-SM (Sparse Mode)” or the “PIM-
DM (Dense Mode) chapters in the latest Multicast and Routing Guide for
your switch.
PIM Interface
VLAN : 1
IP Address : 10.1.10.1
Mode : sparse
Interface VLAN
2-252
Common-CLI-Phase-3-Sept-2012.book Page 253 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim interface verbose
2-253
Common-CLI-Phase-3-Sept-2012.book Page 254 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim join-prune
2-254
Common-CLI-Phase-3-Sept-2012.book Page 255 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim neighbor
Field Descriptions
VPN-Instance: public net: Public network
Uptime: Length of time for which the PIM neighbor has been up, in hh:mm:ss
Mode: Mode of the PIM neighbor. The value “B” means the BIDIR-PIM mode.
If nothing is displayed, it means the non-BIDIR-PIM mode.
Operating Notes
For more information on PIM, see the “PIM-SM (Sparse Mode)” or the “PIM-
DM (Dense Mode) chapters in the latest Multicast and Routing Guide for
your switch.
2-255
Common-CLI-Phase-3-Sept-2012.book Page 256 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim neighbor
PIM Neighbors
Neighbor IP Address
Interface VLAN
Mode n/a
2-256
Common-CLI-Phase-3-Sept-2012.book Page 257 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim neighbor <ip> verbose
Field Descriptions
VPN-Instance: public net: Public network
Uptime: Length of time for which the PIM neighbor has been up, in hh:mm:ss
Mode: Mode of the PIM neighbor. The value “B” means the BIDIR-PIM mode.
If nothing is displayed, it means the non-BIDIR-PIM mode.
2-257
Common-CLI-Phase-3-Sept-2012.book Page 258 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim neighbor <ip> verbose
Holdtime: Holdtime of the PIM neighbor; “forever” means that the PIM neighbor
is always up and reachable
State refresh interval: Interval for sending state refresh messages/ Displayed
only when the PIM neighbor works in PIM-DM mode and the state refresh
capability is enabled.
Operating Notes
For more information on PIM, see the “PIM-SM (Sparse Mode)” or the “PIM-
DM (Dense Mode) chapters in the latest Multicast and Routing Guide for
your switch.
PIM Neighbors
Neighbor IP Address
Interface VLAN
2-258
Common-CLI-Phase-3-Sept-2012.book Page 259 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim neighbor <ip> verbose
Mode n/a
Generation ID n/a
Holdtime n/a
2-259
Common-CLI-Phase-3-Sept-2012.book Page 260 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim routing-table
Displays the contents of the PIM multicast routing table, which includes SPT
and RPF information.
HP Switch# display pim routing-table
VPN-Instance: public net
Total 0 (*, G) entry; 1 (S, G) entry
(172.168.0.12, 227.0.0.1)
Protocol: pim-sm, Flag: LOC
UpTime: 02:54:43
Upstream interface: Vlan-interface20
Upstream neighbor: NULL
RPF prime neighbor: NULL
Downstream interface(s) information:
Total number of downstreams: 1
1: Vlan-interface10
Protocol: pim-sm, UpTime: 02:54:43, Expires: 00:02:47
2-260
Common-CLI-Phase-3-Sept-2012.book Page 261 Sunday, September 9, 2012 6:00 PM
Display Commands
display pim rp-info
2-261
Common-CLI-Phase-3-Sept-2012.book Page 262 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe device
Displays the mapping between ID, module, and slot of the power sourcing
equipment (PSE).
HP Switch# display poe device
PSE ID SlotNo SubSNo PortNum MaxPower(W) State Model
A 1 n/a 24 370 off J9310A
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-262
Common-CLI-Phase-3-Sept-2012.book Page 263 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe interface
2-263
Common-CLI-Phase-3-Sept-2012.book Page 264 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe interface
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-264
Common-CLI-Phase-3-Sept-2012.book Page 265 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe interface power
Displays the PoE power information of the specified port on the switch. If you
enter the command without an argument, the PoE power information about
all PoE-capable ports on the switch is displayed.
HP Switch# display poe interface power
Interface CurPower PeakPower MaxPower PD Description
(W) (W) (W)
1 0.0 0.0 15.4
2 0.0 0.0 15.4
3 0.0 0.0 15.4
4 0.0 0.0 15.4
5 0.0 0.0 15.4
6 0.0 0.0 15.4
7 0.0 0.0 15.4
8 0.0 0.0 15.4
9 0.0 0.0 15.4
10 0.0 0.0 15.4
11 0.0 0.0 15.4
12 0.0 0.0 15.4
13 0.0 0.0 15.4
14 0.0 0.0 15.4
15 0.0 0.0 15.4
16 0.0 0.0 15.4
17 0.0 0.0 15.4
18 0.0 0.0 15.4
19 0.0 0.0 15.4
20 0.0 0.0 15.4
21 0.0 0.0 15.4
22 0.0 0.0 15.4
23 0.0 0.0 15.4
24 0.0 0.0 15.4
--- 0 port(s) on, 0.0 (W) consumed, 0.0 (W) remaining ---
2-265
Common-CLI-Phase-3-Sept-2012.book Page 266 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe interface power
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-266
Common-CLI-Phase-3-Sept-2012.book Page 267 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe power-usage
Displays the power information of the PoE power and all PSEs.
HP Switch# display poe power-usage
PoE Current Power : 0 W
PoE Max Power : 37 W
PoE Max Guaranteed Power : 0 W
PoE Remaining Allocated Power : 0 W
PoE Remaining Guaranteed Power : 0 W
PoE Total Powered Port Number : 0 W
Detailed power usage of PSE(s):
PSE ID Max Current Peak Average Remaining Powered
(W) (W) (W) (W) Guaranteed(W) PortNum
7 37 0 0 0 37 0
10 37 0 0 0 37 0
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-267
Common-CLI-Phase-3-Sept-2012.book Page 268 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe-power alarm
2-268
Common-CLI-Phase-3-Sept-2012.book Page 269 Sunday, September 9, 2012 6:00 PM
Display Commands
display poe-power switch state
Displays the number and current state of the AC power distribution switches
of the PSUs.
HP Switch# display poe-power switch state
Switch Number : 3
Switch 1 State : AC Switch Off
Switch 2 State : AC Switch High Voltage
Switch 3 State : AC Switch Off
2-269
Common-CLI-Phase-3-Sept-2012.book Page 270 Sunday, September 9, 2012 6:00 PM
Display Commands
display port trunk
Displays information about the hybrid or trunk ports on the switch, including
port names, default VLAN IDs (untagged vlan), and allowed VLAN IDs (tagged
vlan).
HP Switch# display port trunk
Interface PVID VLAN passing
A1 1 1-2, 5-10
A2 10 1, 5
2-270
Common-CLI-Phase-3-Sept-2012.book Page 271 Sunday, September 9, 2012 6:00 PM
Display Commands
display power
display power
Field Descriptions
Power: Number of power supply bay.
Power PS#
State State
2-271
Common-CLI-Phase-3-Sept-2012.book Page 272 Sunday, September 9, 2012 6:00 PM
Display Commands
display protocol-vlan
display protocol-vlan
Comware Related ProVision
2-272
Common-CLI-Phase-3-Sept-2012.book Page 273 Sunday, September 9, 2012 6:00 PM
Display Commands
display protocol-vlan interface
2-273
Common-CLI-Phase-3-Sept-2012.book Page 274 Sunday, September 9, 2012 6:00 PM
Display Commands
display public-key local rsa public
Displays public key information of the local key pairs. This command is
available only in manager mode.
HP Switch# display public-key local rsa public
=====================================================
Time of Key pair created: 16:53:41 2012/05/08
Key name: HOST_KEY
Key type: RSA Encryption Key
=====================================================
Key code:
30819F300D06092A864886F70D010101050003818D0030818902818100C37
1A8F1C7BAC3B7BD9003
B9B0F8F2D77980D160B998227F75F395CAD5663EEF16F9DC71CBD22149439
F2BAC388B0F19714146
3129E6A5B83692D914A7DA8F34F0B8CB2C71C9DD7301D7231993AD3576507
31D4DC40B1DE825CB5B
6FE8ED963AD7DFCF9AEF4A5E76DDBBA1ADD8AB533A4335963CE88825F7FFB
1CB1F6DA5505D020301
0001
=====================================================
Time of Key pair created: n/a
Key name: SERVER_KEY
Key type: RSA Encryption Key
=====================================================
Key code:
n/a
2-274
Common-CLI-Phase-3-Sept-2012.book Page 275 Sunday, September 9, 2012 6:00 PM
Display Commands
display public-key local rsa public
vFYsMkvLV2a7qoks1auqW8otRHgv/
QsWtxfuoYUvVnXDiZFKeent34+sQnIvy1wJAmukCmM3zp434eTe
h87/2Oer612mlAwRq5qPFtTAZlsf8LGipjKftW6dq8uq9tYtTtQWO09Mi65L
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
Minimum Software Version: 15.10.
2-275
Common-CLI-Phase-3-Sept-2012.book Page 276 Sunday, September 9, 2012 6:00 PM
Display Commands
display public-key peer
Displays brief information about all the public keys of remote hosts.
HP Switch# display public-key peer
Field Descriptions:
Key name: Key name, which can be one of the following values:
• HOST_KEY: Host public key
• SERVER_KEY: Server public key. This value is available only for RSA
key pairs.
Key type: Key type, which can be one of the following values:
• RSA Encryption Key: RSA key pair
• DSA Encryption Key: DSA key pair
Operator keys:
0,[email protected] ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAsGffNl6CFBtxgEPExkZwbauXCiBLnzztD
5qA2IafkQzOy22gMDAl6rinTXvDcdP6P+RDGX+76p0E4IabwnmdpdSX+jCCV7
PDjYumrAomXF9uZ+6Mg6xkAURoXdisSwTiY9jeNyfCLrcLGy+4i9B2YEz3IO0
qH7D8ciwfhTbkEnOCLIFGSYzGUGsbXbHRTd6prOogAIJg1lnXjSXLgHikdAtL
FNNDwTXnxvX0SE02zeVehAb8XNHwZc6vy5FneKGjH9waq/
TEEqVJPwAJ6A5diuUvaFlAQGj53y4QqdaMORcfRXMfGtOCsEx/
jX5pmJAJ7MsB/NX1AHSowgRUaIR0qw==
2-276
Common-CLI-Phase-3-Sept-2012.book Page 277 Sunday, September 9, 2012 6:00 PM
Display Commands
display radius scheme
2-277
Common-CLI-Phase-3-Sept-2012.book Page 278 Sunday, September 9, 2012 6:00 PM
Display Commands
display radius scheme
------------------------------------------------------------------
SchemeName : n/a
Index : n/a Type : n/a
Primary Auth Server :
IP : 1.2.3.4 Port : 1812 State : n/a
Encryption Key : samplee123
VPN instance : n/a
Primary Acct Server :
IP : 1.2.3.4 Port : 1813 State : n/a
Encryption Key : samplee123
VPN instance : n/a
Second Auth Server
IP : 2.3.4.5 Port : 1812 State : n/a
Encryption Key : ghefijklm
VPN instance : n/a
IP : 4.5.6.7 Port : 1812 State : n/a
Encryption Key : abcdegh
VPN instance : n/a
IP : 4.5.6.8 Port : 1812 State : n/a
Encryption Key : abcdegh
VPN instance : n/a
Second Acct Server
IP : 2.3.4.5 Port : 1813 State : n/a
Encryption Key : ghefijklm
VPN instance : n/a
IP : 4.5.6.7 Port : 1813 State : n/a
Encryption Key : abcdegh
VPN instance : n/a
IP : 4.5.6.8 Port : 1813 State : n/a
Encryption Key : abcdegh
VPN instance : n/a
Auth Server Encryption Key :
Acct Server Encryption Key :
VPN instance : n/a
Accounting-On packet disable, send times : n/a , interval : n/a
Interval for timeout(second) : 5
Retransmission times for timeout : 3
Interval for realtime accounting(minute) : 0
Retransmission times of realtime-accounting packet : 3
Retransmission times of stop-accounting packet : 3
Quiet-interval(min) : 0
Username format : n/a
Data flow unit : n/a
Packet unit : n/a
NAS-IP address : n/a
Attribute 25 : n/a
------------------------------------------------------------------
Total 1 RADIUS scheme(s).
2-278
Common-CLI-Phase-3-Sept-2012.book Page 279 Sunday, September 9, 2012 6:00 PM
Display Commands
display radius scheme
Field Descriptions
SchemeName: Name of the RADIUS scheme.
VPN instance: MPLS L3VPN that the server belongs to. If no VPN instance is
specified for the server, the value of this field is N/A.
Auth Server Encryption Key: Shared key for authenticating authentication pack-
ets, in cipher text or plain text.
Acct Server Encryption Key: Shared key for authenticating accounting packets,
in cipher text or plain text.
Interval for timeout (second): RADIUS server response timeout period, in sec-
onds.
2-279
Common-CLI-Phase-3-Sept-2012.book Page 280 Sunday, September 9, 2012 6:00 PM
Display Commands
display radius scheme
Data flow unit: Unit for data flows sent to the RADIUS server.
Operating Notes
For more information on switch RADIUS operation, see the “RADIUS Authen-
tication, Authorization, and Accounting” chapter in the latest Access Security
Guide for your switch.
Deadtime(min) : 5
Timeout(secs) : 10
Retransmit Attempts : 2
Global Encryption Key : myg10balkey
Dynamic Authorization UDP Port : 3799
Source IP Selection : Outgoing Interface
2-280
Common-CLI-Phase-3-Sept-2012.book Page 281 Sunday, September 9, 2012 6:00 PM
Display Commands
display radius scheme
Interval(min) : 5
Suppress Empty User : No
Sessions Identification : Common
SchemeName n/a
Index n/a
Type n/a
2-281
Common-CLI-Phase-3-Sept-2012.book Page 282 Sunday, September 9, 2012 6:00 PM
Display Commands
display radius scheme
IP Server IP Address
State n/a
Attribute 25 n/a
2-282
Common-CLI-Phase-3-Sept-2012.book Page 283 Sunday, September 9, 2012 6:00 PM
Display Commands
display rip
display rip
2-283
Common-CLI-Phase-3-Sept-2012.book Page 284 Sunday, September 9, 2012 6:00 PM
Display Commands
display rip interface
2-284
Common-CLI-Phase-3-Sept-2012.book Page 285 Sunday, September 9, 2012 6:00 PM
Display Commands
display rip process-id ip-address mask/mask-length
2-285
Common-CLI-Phase-3-Sept-2012.book Page 286 Sunday, September 9, 2012 6:00 PM
Display Commands
display rip process-id route
2-286
Common-CLI-Phase-3-Sept-2012.book Page 287 Sunday, September 9, 2012 6:00 PM
Display Commands
display rip process-id route peer ip-address
display rip process-id route peer ip-address No equivalent ProVision software command
2-287
Common-CLI-Phase-3-Sept-2012.book Page 288 Sunday, September 9, 2012 6:00 PM
Display Commands
display rmon statistics
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
2-288
Common-CLI-Phase-3-Sept-2012.book Page 289 Sunday, September 9, 2012 6:00 PM
Display Commands
display route-policy
display route-policy
2-289
Common-CLI-Phase-3-Sept-2012.book Page 290 Sunday, September 9, 2012 6:00 PM
Display Commands
display route-policy
For more information, see the latest Multicast and Routing Guide for your
switch.
2-290
Common-CLI-Phase-3-Sept-2012.book Page 291 Sunday, September 9, 2012 6:00 PM
Display Commands
display saved-configuration
display saved-configuration
Comware Related ProVision
Displays contents of the configuration file saved for the next startup of the
switch.
HP Switch# display saved-configuration
; J8697A Configuration Editor; Created on release #K.15.09.0000x
; Ver #03:01.1f.ef:f2
hostname "HP-5406zl"
module 1 type J9536A
module 6 type J9534A
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged A1-A22,F1-F24
ip address dhcp-bootp
exit
2-291
Common-CLI-Phase-3-Sept-2012.book Page 292 Sunday, September 9, 2012 6:00 PM
Display Commands
display saved-configuration
exit
interface A5
rate-limit all in percent 200
exit
interface A6
rate-limit icmp percent 60
rate-limit mcast in percent 60
exit
For more information, see the latest Management and Configuration Guide
for your switch.
2-292
Common-CLI-Phase-3-Sept-2012.book Page 293 Sunday, September 9, 2012 6:00 PM
Display Commands
display saved-configuration by-linenum
Displays the saved configuration of the switch with the line number. This
command adds the line number to the output of display saved-configuration. This
command is available only in manager mode.
HP Switch# display saved-configuration by-linenum
; J8692A Configuration Editor; Created on release #K.15.09.0000x
; Ver #03:01.1f.ef:f2
1: hostname "HP-E3500yl-24G"
2: module 1 type J86xxA
3: snmp-server community "public" Unrestricted
4: vlan 1
5: name "DEFAULT_VLAN"
6: untagged 1-24
7: ip address dhcp-bootp
8: exit
2-293
Common-CLI-Phase-3-Sept-2012.book Page 294 Sunday, September 9, 2012 6:00 PM
Display Commands
display saved-configuration by-linenum
exit
interface A6
rate-limit icmp percent 60
rate-limit mcast in percent 60
exit
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-294
Common-CLI-Phase-3-Sept-2012.book Page 295 Sunday, September 9, 2012 6:00 PM
Display Commands
display schedule reboot
Displays the user-configured switch reboot (reload) time. For example, if the current
date and time is March 21, 2012 at 1:05 PM (13:05), and the switch is configured to
reboot (reload) at 5:00 PM (17:00) on the same date, then you would see the following
output when executing this command:
HP Switch(config)# display schedule reboot
System will reboot at 17:00 03/21/2012 (in 3 hours and 55
minutes).
Operating Notes
To configure a reboot time on the switch, use the following command:
[no] reload [ after | at ]
For more on using the reload command, refer to the “Switch Memory and
Configuration” chapter in the latest Basic Operation Guide for your switch.
2-295
Common-CLI-Phase-3-Sept-2012.book Page 296 Sunday, September 9, 2012 6:00 PM
Display Commands
display sflow display sflow slot <slot-number>
display sflow
display sflow slot <slot-number>
2-296
Common-CLI-Phase-3-Sept-2012.book Page 297 Sunday, September 9, 2012 6:00 PM
Display Commands
display sflow display sflow slot <slot-number>
2-297
Common-CLI-Phase-3-Sept-2012.book Page 298 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent community
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-298
Common-CLI-Phase-3-Sept-2012.book Page 299 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent group
Displays information for the SNMPv3 agent group, including group name,
security model, MIB view, and storage type. Absence of the group-name
parameter indicates that information for all groups is displayed.
HP Switch# display snmp-agent group
Group name: ComManagerR
Security model: v1 noAuthnoPriv
Readview: ManagerReadView
Writeview: DiscoverView
Notifyview: ManagerReadView
Storage-type: ReadOnly
Group name: ComManagerR
Security model: v2 noAuthnoPriv
Readview: ManagerReadView
Writeview: DiscoverView
Notifyview: ManagerReadView
Storage-type: ReadOnly
Group name: ManagerAuth
Security model: v3 AuthnoPriv
Readview: ManagerReadView
Writeview: ManagerWriteView
Notifyview: ManagerReadView
Storage-type: ReadOnly
Group name: ManagerPriv
Security model: v3 AuthPriv
Readview: ManagerReadView
Writeview: ManagerWriteView
Notifyview: ManagerReadView
Storage-type: ReadOnly
Group name: ComManagerRW
Security model: v1 noAuthnoPriv
Readview: ManagerReadView
Writeview: ManagerWriteView
Notifyview: ManagerReadView
Storage-type: ReadOnly
Group name: ComManagerRW
Security model: v2 noAuthnoPriv
Readview: ManagerReadView
Writeview: ManagerWriteView
Notifyview: ManagerReadView
Storage-type: ReadOnly
Group name: ComOperatorR
2-299
Common-CLI-Phase-3-Sept-2012.book Page 300 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent group
2-300
Common-CLI-Phase-3-Sept-2012.book Page 301 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent group
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-301
Common-CLI-Phase-3-Sept-2012.book Page 302 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent local-engineid
Field Descriptions
SNMP local EngineID: Identifies an SNMP entity uniquely within an SNMP domain.
Operating Notes
There is no specific user configuration command for SNMP agent local engine
ID.
For more on switch SNMP operation, refer to the “Configuring for Network
Management Applications” chapter in the latest Management and Configu-
ration Guide for your switch.
EngineId: 00:00:00:0b:00:00:00:18:71:c4:2f:00
2-302
Common-CLI-Phase-3-Sept-2012.book Page 303 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent mib-view
Displays the View name, MIB Subtree, Subtree mask, Storage-type, View Type
and View status. This command is available only in manager mode.
HP Switch# display snmp-agent mib-view
View name: DiscoverView
MIB Subtree: 1.3.6.1.6.3.15.1.2.2.1.7
Subtree mask:
Storage-type: readOnly
View Type: included
View status: notInService
Storage-type: readOnly
View name: DiscoverView
MIB Subtree: 1.3.6.1.6.3.15.1.2.2.1.10
Subtree mask:
Storage-type: readOnly
View Type: included
View status: notInService
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-303
Common-CLI-Phase-3-Sept-2012.book Page 304 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent statistics
2-304
Common-CLI-Phase-3-Sept-2012.book Page 305 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent sys-info
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
Minimum Software Version: 15.10.
2-305
Common-CLI-Phase-3-Sept-2012.book Page 306 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent trap-list
Displays modules that can generate traps and whether or not their trap
function is enabled. This command is available only in manager mode.
HP Switch# display snmp-agent trap-list
snmp Authentication trap extended
password change trap enable
login failures trap enable
port security trap enable
authorization server contact trap enable
dhcp-snooping trap enable
dynamic arp protection trap enable
dynamic ip lockdown trap enable
startup config change trap disable
running config change trap disable
mac address table changes trap disable
mac address count trap disable
2-306
Common-CLI-Phase-3-Sept-2012.book Page 307 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent trap-list
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-307
Common-CLI-Phase-3-Sept-2012.book Page 308 Sunday, September 9, 2012 6:00 PM
Display Commands
display snmp-agent usm-user
Displays the snmp users configured in the system. This command is available
only in manager mode.
HP Switch# display snmp-agent usm-user
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-308
Common-CLI-Phase-3-Sept-2012.book Page 309 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssh client source
Displays the source IP address or source interface currently set for the SSH
client. If neither source IP address nor source interface is specified for the
SSH client, the system will prompt you to specify the source information.
HP Switch# display ssh client source
2-309
Common-CLI-Phase-3-Sept-2012.book Page 310 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssh server session
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
Minimum Software Version: 15.10.
2-310
Common-CLI-Phase-3-Sept-2012.book Page 311 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssh server-info
Displays mappings between SSH servers and their host public keys saved on
the client.
HP Switch# display ssh server-info
Server Name(IP) Server public key name
---------------- -----------------------
120.85.212.127 n/a
2-311
Common-CLI-Phase-3-Sept-2012.book Page 312 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssh server status
Field Descriptions:
SSH server: Whether the SSH server function is enabled
SSH version: SSH protocol version. When the SSH supports SSH1, the protocol
version is 1.99. Otherwise, the protocol version is 2.0.
SSH server key generating interval: SSH server key pair update interval
Ciphers : aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc,
[email protected],aes128-ctr,aes192-ctr,aes256-ctr
2-312
Common-CLI-Phase-3-Sept-2012.book Page 313 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssh server status
MACs : hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
For more information, see the latest Basic Operation Guide for your switch.
2-313
Common-CLI-Phase-3-Sept-2012.book Page 314 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssl client-policy
Displays information about all SSL client policies. This command is available
only in manager mode.
HP Switch# display ssl client-policy
SSL Client Policy: n/a
SSL Version: TLS 1.0
PKI Domain: n/a
Prefer Ciphersuite:
aes256-ctr
aes256-cbc
[email protected]
aes192-ctr
aes192-cbc
aes128-ctr
aes128-cbc
3des-cbc
hmac-sha1-96
hmac-md5
hmac-sha1
hmac-md5-96
aes192-ctr
aes192-cbc
aes128-ctr
aes128-cbc
3des-cbc
Server-verify: n/a
Total 1 SSL client policy(s).
2-314
Common-CLI-Phase-3-Sept-2012.book Page 315 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssl client-policy
6 inactive |
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
Minimum Software Version: 15.10.
2-315
Common-CLI-Phase-3-Sept-2012.book Page 316 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssl server-policy
Displays information about all SSL client policies. This command is available
only in manager mode.
HP Switch# display ssl server-policy
SSL Server Policy: n/a
PKI Domain: n/a
Ciphersuite:
aes256-ctr
aes256-cbc
[email protected]
aes192-ctr
aes192-cbc
aes128-ctr
aes128-cbc
3des-cbc
hmac-sha1-96
hmac-md5
hmac-sha1
hmac-md5-96
aes192-ctr
aes192-cbc
aes128-ctr
aes128-cbc
3des-cbc
Handshake Timeout: 120
Close-mode: n/a
Session Timeout: n/a
Session Cachesize: n/a
Client-verify: n/a
Client-verify weaken: n/a
2-316
Common-CLI-Phase-3-Sept-2012.book Page 317 Sunday, September 9, 2012 6:00 PM
Display Commands
display ssl server-policy
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
Minimum Software Version: 15.10.
2-317
Common-CLI-Phase-3-Sept-2012.book Page 318 Sunday, September 9, 2012 6:00 PM
Display Commands
display startup
display startup
Comware Related ProVision
Displays the configuration file used at the current system startup and the
configuration file(s) to be used at the next system startup.
HP Switch# display startup
Current startup saved-configuration file: flash:/svt-1.cfg
Next startup saved-configuration file for primary image: flash:/
svt-1.cfg
Next startup saved-configuration file for secondary image:
flash:/svt-2.cfg
2-318
Common-CLI-Phase-3-Sept-2012.book Page 319 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp
display stp
Displays the MSTP status and statistics. Based on the MSTP status and
statistics, you can analyze and maintain the network topology or check
whether MSTP is working normally.
Spanning-tree protocol is enabled
HP Switch# display stp
-------[CIST Global Info][Mode STP]-------
CIST Bridge :32768.3ce5-a674-b433
Bridge Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.3ce5-a674-b433 / 0
CIST RegRoot/IRPC :32768.3ce5-a674-b433 / 0
CIST RootPortId :0.0
BPDU-Protection :disabled
Bridge Config-
Digest-Snooping :disabled
TC or TCN received :0
Time since last TC :1 days 22h:48m:24s
----[PortA1(A1)][DOWN]----
Port Protocol :0
Port Role :CIST Disabled Port
Port Priority :128
Port Cost(Legacy) :0
Desg. Bridge/Port :32768.3ce5-a674-b433 / 128.1
Port Edged :Config=disabled / Active=disabled
Point-to-point :Config=auto / Active=false
Transmit Limit :10 packets/hello-time
Protection Type :None
MST BPDU Format :0
Port Config-
Digest-Snooping :0
Num of Vlans Mapped :1
PortTimes :Hello 2s MaxAge 20s FwDly 15s
MsgAge 0s RemHop 20
BPDU Sent :0
TCN: 0, Config: 0, RST: 0, MST: 0
BPDU Received :0
TCN: 0, Config: 0, RST: 0, MST: 0
2-319
Common-CLI-Phase-3-Sept-2012.book Page 320 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp
----[PortA2(A2)][DOWN]----
.
.
.
----[PortA3(A3)][DOWN]----
.
.
.
.
Example of Related ProVision Software Command Output.
HP Switch# show spanning-tree
Multiple Spanning Tree (MST) Information
STP Enabled : Yes
Force Version : MSTP-operation
IST Mapped VLANs : 1-4094
Switch MAC Address : 0024a8-d13a40
Switch Priority : 32768
Max Age : 20
Max Hops : 20
Forward Delay : 15
Topology Change Count : 1
Time Since Last Change : 20 mins
CST Root MAC Address : 001083-847000
CST Root Priority : 0
CST Root Path Cost : 60000
CST Root Port : 1
IST Regional Root MAC Address : 0024a8-d13a40
IST Regional Root Priority : 32768
IST Regional Root Path Cost : 0
IST Remaining Hops : 20
Root Guard Ports :
Loop Guard Ports : 2
TCN Guard Ports :
BPDU Protected Ports :
BPDU Filtered Ports :
PVST Protected Ports :
PVST Filtered Ports :
Prio | Designated Hello
Port Type | Cost rity State | Bridge Time PtP Edge
---- ----- ----- ----- ------ ----------- ---- --- -----
1 100/1000T | 20000 128 Forwarding |001871-cdea00 2 Yes No
2 100/1000T | Auto 128 Inconsistent |
3 100/1000T | Auto 128 Disabled |
4 100/1000T | Auto 128 Disabled |
5 100/1000T | Auto 128 Disabled |
6 100/1000T | Auto 128 Disabled |
7 100/1000T | Auto 128 Disabled |
8 100/1000T | Auto 128 Disabled |
2-320
Common-CLI-Phase-3-Sept-2012.book Page 321 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp
2-321
Common-CLI-Phase-3-Sept-2012.book Page 322 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp abnormal-port
2-322
Common-CLI-Phase-3-Sept-2012.book Page 323 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp abnormal-port
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-323
Common-CLI-Phase-3-Sept-2012.book Page 324 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp bpdu-statistics display stp bpdu-statistics interface GigabitEthernet <port-num> display stp bpdu-statistics
In MSTP mode :
• If MSTI or port is not specified, this command displays the BPDU
statistics of all MSTIs on all ports. The displayed information is sorted
by port name and by MSTI ID on each port.
• If a port is specified but not an MSTI, this command displays the
BPDU statistics of all MSTIs on the port. The displayed information
is sorted by MSTI ID.
• If both an MSTI ID and a port are specified, this command displays
the BPDU statistics of the specified MSTI on the port.
Port: 2
Instance-independent:
2-324
Common-CLI-Phase-3-Sept-2012.book Page 325 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp bpdu-statistics display stp bpdu-statistics interface GigabitEthernet <port-num> display stp bpdu-statistics
Invalid BPDUs 0
Looped-back BPDUs 0
MAX-aged BPDUs 0
TCN sent 0
TCN received 0
TCA sent 0
TCA received 0
Config sent 0
Config received 0
RST sent 0
RST received 0
MST sent 0
MST received 0
Instance 2:
2-325
Common-CLI-Phase-3-Sept-2012.book Page 326 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp bpdu-statistics display stp bpdu-statistics interface GigabitEthernet <port-num> display stp bpdu-statistics
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-326
Common-CLI-Phase-3-Sept-2012.book Page 327 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp brief display stp instance <instance-id> brief display stp instance <instance-id> interface GigabitEthernet
2-327
Common-CLI-Phase-3-Sept-2012.book Page 328 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp brief display stp instance <instance-id> brief display stp instance <instance-id> interface GigabitEthernet
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-328
Common-CLI-Phase-3-Sept-2012.book Page 329 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp down-port
Operating Notes
ProVision does not support Format-Frequency.
Minimum Software Version: 15.09.
2-329
Common-CLI-Phase-3-Sept-2012.book Page 330 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp history display stp history slot <slot-number> display stp instance <instance-id> history slot <slot-no> display
display stp history displays the historical port role calculation information of all
MSTIs.
display stp history slot slot-number displays the statistics of the port’s history
information of all the MSTIs of a given slot when stp protocol is enabled.
display stp instance instance-id history displays the historical port role information
of the specified MSTI when stp protocol is enabled.
display stp instance instance-id history slot slot-number displays the statistics of the
port’s history information of the specified MSTI of a given slot when stp
protocol is enabled.
HP Switch# display stp history
display stp history
--------------- STP slot 1 history trace ---------------
------------------- Instance 0 -------------------
Port 1
Role change :Disa->Desi
Time :2012/05/28 09:47:23
Port priority :32768.002347-b4cb80 0 32768.002347-b4cb80 0
32768.002347-b4cb80 128.1
------------------- Instance 1 -------------------
Port 1
Role change :Disa->Desi
Time :2012/05/28 09:47:23
Port priority :32768.002347-b4cb80 0 32768.002347-b4cb80 48.1
2-330
Common-CLI-Phase-3-Sept-2012.book Page 331 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp history display stp history slot <slot-number> display stp instance <instance-id> history slot <slot-no> display
2-331
Common-CLI-Phase-3-Sept-2012.book Page 332 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp
display stp
display stp instance <instance-id>
interface GigabitEthernet 1/0/1/
display stp slot <slot-num>
2-332
Common-CLI-Phase-3-Sept-2012.book Page 333 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp slot <slot-num>
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-333
Common-CLI-Phase-3-Sept-2012.book Page 334 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp instance <instanceid> tc display stp instance <instanceid> tc slot <slot-no> display stp tc
Displays the STP information of a port under a particular instance when STP
is enabled.
HP Switch# display stp instance 0 tc
2-334
Common-CLI-Phase-3-Sept-2012.book Page 335 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp region-configuration
2-335
Common-CLI-Phase-3-Sept-2012.book Page 336 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp region-configuration
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-336
Common-CLI-Phase-3-Sept-2012.book Page 337 Sunday, September 9, 2012 6:00 PM
Display Commands
display stp root
For more information, see the latest Advanced Traffic Management Guide
for your switch.
2-337
Common-CLI-Phase-3-Sept-2012.book Page 338 Sunday, September 9, 2012 6:00 PM
Display Commands
display switchover state
Displays the backup state of the specified main board. This command displays
the backup state on the AMB or the standby main board (SMB) depending on
the slot number specified. The backup state of the AMB is displayed if no slot
number is specified.
Field Descriptions
Master HA State to Slot: Backup state between the active main board (AMB)
and the standby main board (SMB).
Slave HA State: Indicates that the output information is generated by the SMB
and describes the switchover state of the SMB.
Operating Notes
In Comware, either 0 or 1 displays for the slot, depending on which board is
active (master or slave).
For more information about redundancy, see the “Chassis Redundancy (8200zl
Switches)” chapter in the latest Management and Configuration Guide for
your switch.
2-338
Common-CLI-Phase-3-Sept-2012.book Page 339 Sunday, September 9, 2012 6:00 PM
Display Commands
display switchover state
Statistics
----------
Failovers : 0
Last Failover :
2-339
Common-CLI-Phase-3-Sept-2012.book Page 340 Sunday, September 9, 2012 6:00 PM
Display Commands
display system-failure
display system-failure
Comware Related ProVision
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
Minimum Software Version: 15.10.
2-340
Common-CLI-Phase-3-Sept-2012.book Page 341 Sunday, September 9, 2012 6:00 PM
Display Commands
display this
display this
Comware Related ProVision
Displays valid configuration information under the current view. Use this
command to check whether your configuration has taken effect. Valid config-
uration that is the same as the default is not displayed. Invalid configuration
is not displayed. Execution of this command in any user interface view
displays the valid configuration in all the user interfaces. Execution of this
command in any VLAN view displays the configurations of all the created
VLANs.
HP Switch# display this
vlan 1
name "DEFAULT_VLAN"
no untagged 1-2,48
untagged 3-47
ip address dhcp-bootp
exit
vlan 10
name "VLAN10"
untagged 1,48
ip address 10.10.10.3 255.255.255.0
ip igmp
exit
vlan 30
name "VLAN30"
untagged 2
ip address 30.30.30.2 255.255.255.0
ip igmp
ip rip 30.30.30.2
ip pim-sparse
ip-addr any
exit
exit
Minimum Software Version: 15.10.
2-341
Common-CLI-Phase-3-Sept-2012.book Page 342 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver alarm interface
Field Descriptions
RX loss of signal: Incoming (RX) signal is lost.
TX bias low: TX bias current is low. TX bias high: TX bias current is high.
Transceiver info I/O error: Transceiver information read and write error
Transceiver type and port configuration mismatch: Transceiver type does not
match port configuration.
Transceiver type not supported by port hardware: Transceiver type is not sup-
ported on the port.
2-342
Common-CLI-Phase-3-Sept-2012.book Page 343 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver alarm interface
TX fault: TX fault
Transceiver info I/O error: Transceiver information read and write error
Transceiver type and port configuration mismatch: Transceiver type does not
match port configuration.
Transceiver type not supported by port hardware: Transceiver type is not sup-
ported on the port.
2-343
Common-CLI-Phase-3-Sept-2012.book Page 344 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver alarm interface
Operating Notes
Possible values for HPN and H3C alarms/errors are not the same.
The following alarms/errors are not supported in H3C devices, and they will
be displayed in HPN output, if present:
• WIS local fault
• Receive optical power fault
• PMA/PMD receiver local fault
• PMA/PMD transmitter local fault
• PCS receive local fault
• PCS transmit local fault
• PHY XS receive local fault
• Laser bias current fault
• Laser temperature fault
• Laser output power fault
HPN does not support the following alarms/errors, and they are not displayed
in the display command output:
• RX not ready
• RX CDR loss of lock
• TX not ready
• TX CDR loss of lock
• Module not ready
• APD supply fault
• TEC fault
• Wavelength unlocked
The following values are supported on both HPN and H3C devices:
• Temp high
• Temp low
• Voltage high
• Voltage low
• TX bias high
• TX bias low
• TX power high
• TX power low
• RX power high
2-344
Common-CLI-Phase-3-Sept-2012.book Page 345 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver alarm interface
• RX power low
• Transceiver info I/O error
• Transceiver info checksum error
• Transceiver type and port configuration mismatch
• Transceiver type not supported by port hardware
• RX loss of signal
• TX fault
Transceiver in 23
Interface Index : 24
Type : 10GbE-LR
Model : J8437A
Connector type : SC
Wavelength : Channel #0: 1310nm, #1:0nm, #2:0nm, #3:0nm
Transfer distance : 10000m (SM)
Diagnostic support : DOM
Serial number : ED456SS987
Status
Temperature : 32.754C
TX Bias : 42.700mA
TX Power : 0.5192mW, -2.847dBm
RX Power : 0.0040mW, -23.979dBm
Recent Alarms:
Recent errors:
Receive optical power fault
PMA/PMD receiver local fault
PMA/PMD transmitter local fault
PCS receive local fault
PHY XS transmit local fault
2-345
Common-CLI-Phase-3-Sept-2012.book Page 346 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver alarm interface
TX fault TX fault
2-346
Common-CLI-Phase-3-Sept-2012.book Page 347 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver diagnosis interface
Field Descriptions
transceiver diagnostic information: Digital diagnosis information of the trans-
ceiver plugged in the interface.
2-347
Common-CLI-Phase-3-Sept-2012.book Page 348 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver diagnosis interface
Operating Notes
For more information on transceivers, see the “Troubleshooting” chapter in
the latest Management and Configuration Guide for your switch.
Status
Temperature : 35.148C
Voltage : 3.2348V
Tx Bias : 41.952mA
Tx Power : 0.4047mW, -3.929dBm
Rx Power : 0.0006mW, -32.218dBm
Recent Alarms :
Rx power low alarm
Rx power low warning
Recent Errors :
Rx loss of signal
Voltage(V) Voltage
Bias(mA) TX Bias
2-348
Common-CLI-Phase-3-Sept-2012.book Page 349 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver diagnosis interface
RX power(dBM) RX Power
TX power(dBM) TX Power
2-349
Common-CLI-Phase-3-Sept-2012.book Page 350 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver interface
Field Descriptions
transceiver information: Pluggable transceiver information
Wavelength(nm):
• Optical transceiver: Central wavelength of the laser sent, in nm. If the
transceiver supports multiple wavelengths, every two wavelength
values are separated by a comma.
• Electrical transceiver: Displayed as N/A.
2-350
Common-CLI-Phase-3-Sept-2012.book Page 351 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver interface
Vendor Name: Vendor name or name of the vendor who customizes the trans-
ceiver:
• H3C anti-spoofing transceiver (customized): H3C is displayed.
• Other transceivers: The vendor name is displayed; if the vendor is
unknown or illegal, unknown is displayed.
Ordering Name:
• H3C devices: Switch model is displayed
• Other devices: N/A is displayed.
Operating Notes
For more information on transceivers, see the “Troubleshooting” chapter in
the latest Management and Configuration Guide for your switch.
2-351
Common-CLI-Phase-3-Sept-2012.book Page 352 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver interface
Status
Temperature : 35.148C
Voltage : 3.2348V
Tx Bias : 41.952mA
Tx Power : 0.4047mW, -3.929dBm
Rx Power : 0.0006mW, -32.218dBm
Recent Alarms :
Rx power low alarm
Rx power low warning
Recent Errors :
Rx loss of signal
Wavelength(nm) Wavelength
2-352
Common-CLI-Phase-3-Sept-2012.book Page 353 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver manuinfo interface
Field Descriptions
Manu. Serial Number: Serial number of the transceiver, generated during device
commissioning
Operating Notes
The manufacturing date is displayed in the following formats:
• Older transceivers—displayed in yyyymmdd format
• Newer transceivers—displayed in yymmddll or yymmdd format.
2-353
Common-CLI-Phase-3-Sept-2012.book Page 354 Sunday, September 9, 2012 6:00 PM
Display Commands
display transceiver manuinfo interface
Status
Temperature : 35.148C
Voltage : 3.2348V
Tx Bias : 41.952mA
Tx Power : 0.4047mW, -3.929dBm
Rx Power : 0.0006mW, -32.218dBm
Recent Alarms :
Rx power low alarm
Rx power low warning
Recent Errors :
Rx loss of signal
2-354
Common-CLI-Phase-3-Sept-2012.book Page 355 Sunday, September 9, 2012 6:00 PM
Display Commands
display user-bind
display user-bind
Comware Related ProVision
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
Minimum Software Version: 15.10.
2-355
Common-CLI-Phase-3-Sept-2012.book Page 356 Sunday, September 9, 2012 6:00 PM
Display Commands
display vlan
display vlan
Comware Related ProVision
2-356
Common-CLI-Phase-3-Sept-2012.book Page 357 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp
display vrrp
Displays vrrp details like VLAN, status, priority, and router ip address.
HP Switch# display vrrp
Field Descriptions:
Run Mode: Current VRRP working mode, including:
• Standard: Standard protocol mode
• Load Balance: Load balancing mode
Run Pri: Running priority of the router, or in other words, the current priority
of the router. With VRRP tracking configured, when the state of the monitored
interface or track entry changes, the priority of the router changes.
2-357
Common-CLI-Phase-3-Sept-2012.book Page 358 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp
Vlan ID : 10
Virtual Router ID : 1
2-358
Common-CLI-Phase-3-Sept-2012.book Page 359 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp interface <interface-type> vrid <virtual routerid>
2-359
Common-CLI-Phase-3-Sept-2012.book Page 360 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp statistics
Displays vrrp counters like invalid type packets received, priority zero packets
received and sent on each vrrp router configured.
HP Switch# display vrrp statistics
Interface : Vlan-interface3
VRID : 2
CheckSum Errors : 0 Version Errors : 0
Invalid Type Pkts Rcvd : 0 Advertisement Interval Errors : 0
IP TTL Errors : 0 Auth Failures : n/a
Invalid Auth Type : n/a Auth Type Mismatch : 0
Packet Length Errors : 0 Address List Errors : 0
Become Master : 0 Priority Zero Pkts Rcvd : 0
Adver Rcvd : 0 Priority Zero Pkts Sent : 0
Adver Sent : n/a
Field Descriptions:
Interface: Interface to which the VRRP group belongs
Invalid Type Pkts Rcvd: Number of packets with incorrect packet type
Invalid Auth Type: Number of packets with authentication failures due to invalid
authentication types
2-360
Common-CLI-Phase-3-Sept-2012.book Page 361 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp statistics
Packet Length Errors: Number of packets with VRRP packet length errors
Address List Errors: Number of packets with virtual IP address list errors
Become Master: Number of times that the router worked as the master
Priority Zero Pkts Rcvd: Number of received advertisements with the priority of
0
Priority Zero Pkts Sent: Number of advertisements with the priority of 0 sent
For more information, see the the latest Multicast and Routing Guide for
your switch.
2-361
Common-CLI-Phase-3-Sept-2012.book Page 362 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp statistics interface <interface-type> vrid <virtual router-id>
Displays statistics about VRRP group(s). If you specify both an interface and
a VRRP group, only the statistics about the specified VRRP group on the
interface are displayed. If you only specify an interface, the statistics about all
the VRRP groups on the interface are displayed. If you specify neither, the
statistics about all the VRRP groups on the router are displayed.
HP Switch# display vrrp statistics interface Vlan 3
Interface : Vlan-interface3
VRID : 2
CheckSum Errors : 0 Version Errors : 0
Invalid Type Pkts Rcvd :0 Advertisement Interval Errors : 0
IP TTL Errors : 0 Auth Failures : n/a
Invalid Auth Type : n/a Auth Type Mismatch : 0
Packet Length Errors : 0 Address List Errors : 0
Become Master : 0 Priority Zero Pkts Rcvd : 0
Adver Rcvd : 0 Priority Zero Pkts Sent : 0
Adver Sent : n/a
Example of Related ProVision Software Command Output.
2-362
Common-CLI-Phase-3-Sept-2012.book Page 363 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp verbose
Interface Vlan-interface4
VRID : 4 Adver Timer : 1
Admin Status : UP State : Initialize
Config Pri : 144 Running Pri : None
Preempt Mode : YES Delay Time : 0
Auth Type : None Key :
Virtual IP : 14.4.1.1
Virtual MAC : 00005e-000104
Master IP :
Interface Vlan-interface4
VRID : 5 Adver Timer : 1
Admin Status : UP State : Initialize
Config Pri : 154 Running Pri : None
Preempt Mode : YES Delay Time : 0
Auth Type : None Key :
Virtual IP : 14.4.2.1
Virtual MAC : 00005e-000105
Master IP :
2-363
Common-CLI-Phase-3-Sept-2012.book Page 364 Sunday, September 9, 2012 6:00 PM
Display Commands
display vrrp verbose
2-364
Common-CLI-Phase-3-Sept-2012.book Page 1 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
backup startup-configuration
3
Fundamental Commands
backup startup-configuration
Comware Related ProVision
backup startup-configuration copy startup-config tftp <ip-address> <file
name>
Used to backup the startup configuration file (used at the next system startup)
to a specified TFTP server and to a specified filename.
HP Switch# backup startup-configuration to 120.93.49.9 test_new
TFTP download in progress.
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-1
Common-CLI-Phase-3-Sept-2012.book Page 2 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
clock datetime
clock datetime
Comware Related ProVision
Used to set the current time and date of the device. You can leave the ss field
blank when you specify the time parameters. This command accepts any input
for the YYYY value. It displays the current time once the value is set. It displays
a warning string if it is executed in Manager View. It is not available in Operator
View, it is only available in Configure context.
HP Switch# clock datetime 8:8:8 7/7/7
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
3-2
Common-CLI-Phase-3-Sept-2012.book Page 3 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
clock summer-time one-off
This command does not differ from the related ProVision software command.
HP Switch# clock summer-time
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
3-3
Common-CLI-Phase-3-Sept-2012.book Page 4 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
clock summer-time repeating
This command does not differ from the related ProVision software command.
HP Switch# clock summer-time
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
3-4
Common-CLI-Phase-3-Sept-2012.book Page 5 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
clock timezone
clock timezone
Comware Related ProVision
This command does not differ from the related ProVision software command.
HP Switch# clock timezone
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
3-5
Common-CLI-Phase-3-Sept-2012.book Page 6 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
command accounting
command accounting
Comware Related ProVision
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
3-6
Common-CLI-Phase-3-Sept-2012.book Page 7 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
command authorization
command authorization
Comware Related ProVision
Operating Notes
For more information, refer to the latest Access Security Guide for your
switch.
3-7
Common-CLI-Phase-3-Sept-2012.book Page 8 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
command-alias enable
command-alias enable
Comware Related ProVision
Used to enable the command keyword alias function. By default, the command
keyword alias function is enabled.
HP Switch# command-alias enable
3-8
Common-CLI-Phase-3-Sept-2012.book Page 9 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
command-alias mapping
command-alias mapping
Comware Related ProVision
3-9
Common-CLI-Phase-3-Sept-2012.book Page 10 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
copy
copy
Comware Related ProVision
This command does not differ from the related ProVision software command.
HP Switch# copy config SOURCE_CONFIG_FILE_ON_SWITCH config
DESTINATION_CONFIG_FILE_ON_SWITCH
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-10
Common-CLI-Phase-3-Sept-2012.book Page 11 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
delete <startup-config>
delete <startup-config>
Comware Related ProVision
Used to delete config file from the system directory. This command can be
executed from any context. The keyword 'delete' tab help text lists the config
files which can be deleted. The command allows only deletion of config files
and not other files. It does not support wildcards (like *.txt) and file names
with URL’s. Deleted files cannot be restored.
HP Switch# delete config1
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-11
Common-CLI-Phase-3-Sept-2012.book Page 12 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
flow-control
flow-control
Comware Related ProVision
flow-control flow-control
This command does not differ from the related ProVision software command.
HP Switch# flow-control
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-12
Common-CLI-Phase-3-Sept-2012.book Page 13 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
idle-timeout
idle-timeout
Comware Related ProVision
Used to set the idle-timeout timer. When it expires, user sessions are termi-
nated. By default idle-timeout is disabled. The command supports only min-
utes. And these minutes are the predefined set 0,1,5,10,15,20,30,60,120. The
command is available in configure context. The default inactivity timer is 0
and means it is disabled.
HP Switch# idle-timeout 120
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-13
Common-CLI-Phase-3-Sept-2012.book Page 14 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
quit
quit
Comware Related ProVision
quit exit
Used to return to a lower-level view. If the current view is operator mode, this
command terminates the current connection and quits the system.
HP Switch# quit
Do you want to log out [y/n]?
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-14
Common-CLI-Phase-3-Sept-2012.book Page 15 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
reboot
reboot
Comware Related ProVision
Used to reboot a module. If the slot keyword is not provided, the whole system
reboots.
HP Switch# reboot slot A
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-15
Common-CLI-Phase-3-Sept-2012.book Page 16 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
reset saved-configuration
reset saved-configuration
Comware Related ProVision
Used to delete the startup configuration file saved on the storage medium of
the switch. The command can be executed in manager mode.
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-16
Common-CLI-Phase-3-Sept-2012.book Page 17 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
restore startup-configuration
restore startup-configuration
Comware Related ProVision
Used to download a configuration file from the specified TFTP server to the
switch and specify the configuration file as the startup configuration file to be
used at the next startup of the switch. The command is supported in manager
mode. When you download a config file from a remote server which has same
name as current active startup config file name (but both are not identical)
then after downloading the file the switch reboots itself. In this case, the
command triggers the download of the config file from the remote server but
the next startup-configuration file is not configured.
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-17
Common-CLI-Phase-3-Sept-2012.book Page 18 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
return
return
Comware Related ProVision
return end
Used to return to user view from current view (non user view), as with the hot
key ctrl+Z.
HP Switch# return
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-18
Common-CLI-Phase-3-Sept-2012.book Page 19 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
save
save
Comware Related ProVision
Used to save the current configuration to the current startup config file. By
default, the current configuration gets saved in the current start-up configu-
ration file.
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-19
Common-CLI-Phase-3-Sept-2012.book Page 20 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
schedule reboot at
schedule reboot at
Comware Related ProVision
Used to enable the scheduled reboot function of the whole system (including
all cards) at a specific time and date. The command can be executed in
manager mode. The supported date form is mm/dd[/[yy]yy]. The command
cannot be executed if the date is not specified and specified reboot time is
earlier than the current time.
HP Switch# schedule reboot at 14:00 04/13/2012
Reload scheduled at 14:00:10 04/13/2012
(in 0 days, 0 hours, 49 minutes)
System will be rebooted at the scheduled time from secondary
image.
Do you want to continue [y/n]?
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-20
Common-CLI-Phase-3-Sept-2012.book Page 21 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
schedule reboot delay
Used to enable the scheduled reboot function of the whole system (including
all cards) and to set a reboot waiting time. The command can be executed in
manager mode and accepts input in [[dd:]hh:]mmformat
HP Switch# schedule reboot delay 01:20
Reload scheduled in 0 days, 1 hours, 20 minutes
System will be rebooted at the scheduled time from secondary
image.
Do you want to continue [y/n]?
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-21
Common-CLI-Phase-3-Sept-2012.book Page 22 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
screen-length
screen-length
Comware Related ProVision
Used to set the number of lines on the next screen. This command is executed
in manager mode. The range for the number of lines supported is 2-1000.
HP Switch# screen-length
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-22
Common-CLI-Phase-3-Sept-2012.book Page 23 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
set authentication password
This command does not differ from the related ProVision software command.
HP Switch# set authentication password
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
3-23
Common-CLI-Phase-3-Sept-2012.book Page 24 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
speed
speed
Comware Related ProVision
Used to set the transmission rate on the user interface. This command can be
executed from configure mode. There is no default value. The lowest sup-
ported value is 1200 bps. The configuration has to be saved and the switch has
to be rebooted to make the configuration effective.
HP Switch# speed 9600
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-24
Common-CLI-Phase-3-Sept-2012.book Page 25 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
startup saved-configuration
startup saved-configuration
Comware Related ProVision
Used to specify the configuration file to be used at the next system startup.
This command can be executed in manager mode.
HP Switch# startup saved-configuration test
Operating Notes
For more information, refer to the latest Basic Configuration Guide for your
switch.
3-25
Common-CLI-Phase-3-Sept-2012.book Page 26 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
sysname
sysname
Comware Related ProVision
Used to set the name of the device. Changing device name affects the prompt
of the CLI. For example, if the device name is Sysname, the prompt of the user
view is <Sysname>. Special characters are not allowed.
HP Switch# sysname
Operating Notes
For more information, refer to the latest Basic Operation Guide for your
switch.
3-26
Common-CLI-Phase-3-Sept-2012.book Page 27 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
system-view
system-view
Comware Related ProVision
Operating Notes
For more information, refer to the latest Basic Configuration Guide for your
switch.
3-27
Common-CLI-Phase-3-Sept-2012.book Page 28 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
telnet
telnet
Comware Related ProVision
telnet telnet
This command does not differ from the related ProVision software command.
HP Switch# telnet
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-28
Common-CLI-Phase-3-Sept-2012.book Page 29 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
telnet ipv6
telnet ipv6
Comware Related ProVision
Used to telnet to a remote IPv6 host. To stop the current Telnet login, press
Ctrl+K or use the quit command. This command supports both ipv6 and ipv4
formats with the given string name.
HP Switch# telnet ipv6 hostname
Operating Notes
For more information, refer to the latest Basic Configuration Guide for your
switch.
3-29
Common-CLI-Phase-3-Sept-2012.book Page 30 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
telnet server enable
Used to enable the Telnet server. The Telnet server is enabled by default. This
command is executed in manager mode.
HP Switch# telnet server enable
Operating Notes
For more information, refer to the latest Basic Configuration Guide for your
switch.
3-30
Common-CLI-Phase-3-Sept-2012.book Page 31 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
terminal type
terminal type
Comware Related ProVision
Used to configure the type of terminal display under the current user interface.
By default, the terminal display type is VT100. This command can be executed
in manager mode. The configuration becomes effective after it is saved and
the system is rebooted.
HP Switch# terminal type ansi
Operating Notes
For more information, refer to the latest Basic Configuration Guide for your
switch.
3-31
Common-CLI-Phase-3-Sept-2012.book Page 32 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
tftp
tftp
Comware Related ProVision
tftp copy
Used to download a specified file from the TFTP server to the local device or
upload a specified local file to the TFTP server in an IPv4 network. This
command can be executed only from config context. Downloading a file from
the tftp server to any user given file or uploading any file to the tftp server is
supported only for specific type of files. Comware command allows . In
ProVision this functionality is supported only for specific type of files. The
destination file parameter is mandatory.
HP Switch# tftp 120.93.49.9 put config tftp_test
TFTP download in progress.
HP Switch# tftp 120.93.49.9 get config2 tftp_test
HP Switch# tftp 120.93.49.9 sget test tftp_test
Enter [email protected]'s password:
Attempting username/password authentication...
00000K
File transfer terminated by user request.
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-32
Common-CLI-Phase-3-Sept-2012.book Page 33 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
tftp ipv6
tftp ipv6
Comware Related ProVision
Operating Notes
For more information, refer to the latest Management and Configuration
Guide for your switch.
3-33
Common-CLI-Phase-3-Sept-2012.book Page 34 Sunday, September 9, 2012 6:00 PM
Fundamental Commands
undo
undo
Comware Related ProVision
Operating Notes
For more information, refer to the latest Command Line Interface Reference
Guide for your switch.
3-34
Common-CLI-Phase-3-Sept-2012.book Page 1 Sunday, September 9, 2012 6:00 PM
Index
A cpu-usage history, display … 2-17
cpu-usage, display … 2-16
aaa accounting commands … 3-6, 3-7
crypto host-public-key, show … 2-274
accounting, show … 2-277
current-configuration by-linenum,
alias, show … 2-9
display … 2-19
arp detection statistics, display … 2-4
current-configuration configuration,
arp detection statistics, show … 2-4
display … 2-20
arp detection, display … 2-3
current-configuration interface, display … 2-21
arp ip-address, display … 2-5
current-configuration, display … 2-18, 2-71
arp, display … 2-1
arp, show … 2-1
arp-protect, show … 2-3 D
debug, show … 2-23
B debugging, display … 2-23
default-configuration, display … 2-25
backup startup-configuration … 3-1
delete … 3-11
BGP … 2-105, 2-108
device, display … 2-26
boot set-default flash … 2-7
dhcp relay information all, display … 2-28
boot system … 2-7
dhcp relay information interface Vlan-interface
boot-history, show … 2-340
, display … 2-29
boot-loader, display … 2-6
dhcp relay statistics, display … 2-30
dhcp-relay, show … 2-30
C dhcp-snooping binding database, display … 2-34
dhcp-snooping binding, show … 2-36
CLI context levels … 1-4
dhcp-snooping bindings, show … 2-106
CLI prompts … 1-4
dhcp-snooping information, display … 2-35
clock datetime … 3-2
dhcp-snooping packet statistics, display … 2-37
clock summer-time one-off … 3-3
dhcp-snooping trust, display … 2-38
clock summer-time repeating … 3-4
dhcp-snooping, display … 2-36
clock timezone … 3-5
dhcp-snooping, show … 2-34, 2-38
clock, display … 2-8
dhcpv6-relay, show … 2-117
command accounting … 3-6
diagnostic-information, display … 2-40
command authorization … 3-7
display command listing … 1-2
command-alias enable … 3-8
dns domain dynamic, display … 2-41, 2-42
command-alias mapping … 3-9
dns ipv6 server, display … 2-45
command-alias, display … 2-9
dns, display … 2-43
commands, listing … 1-4
documentation
Comware software … 1-1
latest versions … 1-xv
HPN switches … 1-1
release notes … 1-xv
config, show … 2-291, 2-293
domain name … 2-43
context level … 1-4
dot1x sessions, display … 2-56
copy … 3-10
dot1x statistics, display … 2-56
counters rate, display … 2-15
dot1x, display … 2-47, 2-56
counters, display … 2-11
cpu, show … 2-16
Index – 1
Common-CLI-Phase-3-Sept-2012.book Page 2 Sunday, September 9, 2012 6:00 PM
2 – Index
Common-CLI-Phase-3-Sept-2012.book Page 3 Sunday, September 9, 2012 6:00 PM
ipv6 dhcp relay server-address all … 2-113 lldp tlv-config interface interface-type inter-
ipv6 dhcp relay server-address interface, face-number, display … 2-151
display … 2-115 load-balancing … 2-127
ipv6 dhcp relay statistics, display … 2-117 logfile buffer, display … 2-152
ipv6 helper-address, show … 2-113, 2-115 logging, debug … 2-23
ipv6 mld vlan , show … 2-177, 2-183, 2-184, 2-187 logging, show … 2-152
ipv6 mld vlan, show … 2-173, 2-174, 2-179, 2-181, loopback-detection, display … 2-155
2-186
ipv6 mld, show … 2-169
ipv6 ospf3 interface, show … 2-221
M
ipv6 ospf3 neighbor detail, show … 2-216 mac-address aging-time, display … 2-157
ipv6 ospf3 neighbor detail, show … 2-234 mac-address multicast, display … 2-159
ipv6 ospf3 neighbor router-id, show … 2-230 mac-address, display … 2-156
ipv6 ospf3 neighbor, show … 2-228 mac-address, show … 2-156
ipv6 ospf3 statistics, show … 2-237 mac-authentication, display … 2-160, 2-165
ipv6 ospf3 virtual-link, show … 2-240 Management Information Base
ipv6 route, show … 2-120, 2-122, 2-124 See MIB.
ipv6 routing-table ipv6-address, display … 2-122 manual set, link … 1-5
ipv6 routing-table protocol, display … 2-124 memory, display … 2-167
ipv6 routing-table, display … 2-120 MIB
mld group interface vlan-interface verbose,
display … 2-174
L mld group interface vlan-interface,
lacp local, show … 2-125 display … 2-173
lacp system-id, display … 2-125 mld group port-info, display … 2-176
latest manual set … 1-5 mld group verbose, display … 2-177
link, manual set … 1-5 mld group x.x.x.x verbose, display … 2-181
link-aggregation member-port, display … 2-128 mld group x.x.x.x, display … 2-179
link-aggregation summary, display … 2-130 mld group, display … 2-169
link-aggregation verbose, display … 2-132 mld interface verbose, display … 2-184
link-aggregation, display … 2-127 mld interface vlan-interface verbose,
listing commands … 1-4 display … 2-187
lldp local-information global, display … 2-138 mld interface vlan-interface, display … 2-186
lldp local-information interface interface-type mld interface, display … 2-183
interface-number, display … 2-139 mld routing-table, display … 2-189
lldp local-information, display … 2-135 monitor-link group, display … 2-190
lldp neighbor-information brief, display … 2-141 multicast forwarding-table, display … 2-192
lldp neighbor-information list system-name, Multicast Listener Discovery
display … 2-143 See MLD.
lldp neighbor-information list, display … 2-143 multicast routing-table static, display … 2-195
lldp statistics global, display … 2-146 multicast routing-table, display … 2-193
lldp statistics interface interface-type inter- multicast rpf-info, display … 2-197
face-number, display … 2-147
lldp statistics, display … 2-144
lldp stats, show … 2-144, 2-146, 2-147
O
lldp status interface interface-type interface osfp lsdb, display … 2-204
number, display … 2-150 ospf cumulative, display … 2-198
lldp status, display … 2-149 ospf interface, display … 2-201
Index – 3
Common-CLI-Phase-3-Sept-2012.book Page 4 Sunday, September 9, 2012 6:00 PM
4 – Index
Common-CLI-Phase-3-Sept-2012.book Page 5 Sunday, September 9, 2012 6:00 PM
Index – 5
Common-CLI-Phase-3-Sept-2012.book Page 2 Sunday, September 9, 2012 6:00 PM
The information contained herein is subject to change without notice. The only
warranties for HP products and services are set forth in the express warranty
statements accompanying such products and services. Nothing herein should be
construed as constituting an additional warranty. HP will not be liable for
technical or editorial errors or omissions contained herein. September 2012
5998-3593