Вы находитесь на странице: 1из 56

HP Switch Software

HP 3500
HP 3500yl
HP 5400zl
HP 6200yl
HP 6600
HP 8200zl
February 2012
Comware CLI Commands in ProVision Software
Common-CLI-Phase-1-Feb-2012.book Page 1 Thursday, March 1, 2012 6:35 AM
K.15.08
Common-CLI-Phase-1-Feb-2012.book Page 2 Thursday, March 1, 2012 6:35 AM
HP Networking
Comware CLI Commands in
ProVision Software
HP 3500
HP 3500yl
HP 5400zl
HP 6200yl
HP 6600
HP 8200zl
February 2012
Common-CLI-Phase-1-Feb-2012.book Page i Thursday, March 1, 2012 6:35 AM
Hewlett-Packard Company
8000 Foothills Boulevard, m/s 5551
Roseville, California 95747-5551
http://www.hp.com/networking/support
Copyright 2012 Hewlett-Packard Development Company,
L.P. The information contained herein is subject to change with-
out notice. All Rights Reserved.
This document contains proprietary information, which is
protected by copyright. No part of this document may be
photocopied, reproduced, or translated into another
language without the prior written consent of Hewlett-
Packard.
Publication Number
5998-3181
February 2012
Applicable Products
HP 3500 Switches (J9470A, J9471A, J9472A,
J9473A)
HP 3500yl Switches (J8692A, J8693A)
HP 5400zl Switches (J8697A, J8698A, J9447A,
J9448A)
HP 6200yl Switch (J8992A)
HP 8200zl Switches (J9475A, J8715A/B )
HP 6600 Switches (J9263A, J9264A, J9265A,
J9451A, J9452A)
Trademark Credits
Microsoft, Windows, and Microsoft Windows NT are US
registered trademarks of Microsoft Corporation. Java is a
US trademark of Sun Microsystems, Inc.
Disclaimer
The information contained in this document is subject to
change without notice.
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY
OF ANY KIND WITH REGARD TO THIS MATERIAL,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not
be liable for errors contained herein or for incidental or
consequential damages in connection with the furnishing,
performance, or use of this material.
The only warranties for HP products and services are set
forth in the express warranty statements accompanying
such products and services. Nothing herein should be
construed as constituting an additional warranty. HP shall
not be liable for technical or editorial errors or omissions
contained herein.
Hewlett-Packard assumes no responsibility for the use or
reliability of its software on equipment that is not furnished
by Hewlett-Packard.
Software End User License Agreement and
Hardware Limited Warranty
For the software end user license agreement and the
hardware limited warranty information for HP Networking
products, visit www.hp.com/networking/support.
Common-CLI-Phase-1-Feb-2012.book Page ii Thursday, March 1, 2012 6:35 AM
iii
Contents
Introduction To the ProVision CLI
Comware Command Support in ProVision Software . . . . . . . . . . . . . 2-1
Listing Display Commands in the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
CLI Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Comparing Comware and ProVision Commands . . . . . . . . . . . . . . . . . 2-3
Using CLI Context Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Empty Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Further CLI Operating Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Display Commands
display boot-loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
display clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
display command-alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
display debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
display dns < domain | server > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
display gvrp status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
display history-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
display igmp group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
display ip as-path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
display ip community-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
display lacp system-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
display link-aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
display memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
display mld group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
display ospf interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
display ospf routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30
display ospf vlink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
Common-CLI-Phase-1-Feb-2012.book Page iii Thursday, March 1, 2012 6:35 AM
iv
display ospf3 vlink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
display schedule reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
display snmp-agent local-engineid . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
Common-CLI-Phase-1-Feb-2012.book Page iv Thursday, March 1, 2012 6:35 AM
v
Product Documentation
About Your Switch Manual Set
Not e 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 GuideExplains how to prepare for
and perform the physical installation and connect the switch to your
network.
Basic Operation GuideDescribes how to use the switch interfaces and
introduces basic operations.
Management and Configuration GuideDescribes how to configure,
manage, and monitor basic switch operation.
Advanced Traffic Management GuideExplains how to configure traffic
management features such as VLANs, MSTP, QoS, and Meshing.
Multicast and Routing GuideExplains how to configure IGMP, PIM, IP
routing, and VRRP features.
Access Security GuideExplains how to configure access security fea-
tures and user authentication on the switch.
IPv6 Configuration GuideDescribes the IPv6 protocol operations that
are supported on the switch.
Command Line Interface Reference GuideProvides a comprehensive
description of CLI commands, syntax, and operations.
Event Log Message Reference GuideProvides 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 NotesDescribe new features, fixes, and enhancements that
become available between revisions of the main product guide.
Common-CLI-Phase-1-Feb-2012.book Page v Thursday, March 1, 2012 6:35 AM
vi
Common-CLI-Phase-1-Feb-2012.book Page vi Thursday, March 1, 2012 6:35 AM
1-1
Introduction To the ProVision CLI
Comware Command Support in ProVision Software
1
Introduction To the ProVision CLI
Comware Command Support in
ProVision Software
The selected Comware CLI commands described in this guide are included in
the ProVision software CLI to help Comware-experienced network manage-
ment staff learn to use the ProVision software CLI with a minimum of effort.
Not e The 21display commands in the K.15.08 software release will be augmented by
additional Comware commands in later releases of the K.15.xx software.
This edition of Comware CLI Commands in ProVision Software describes
the operation and output of selected Comware display commands added to
the ProVision software in release K.15.08. Included are related ProVision
software commands and references to further information on configuring the
features reflected in the display command output.
HP Networking Switches Running Comware Software HP Networking Switches Running
ProVision Software with Comware
CLI Commands Included*
3100
3300
3600
3610
4200G
4210
4210G
4500G
4510G
4800G
5120 El
5120 Sl
5500
5500 E
5500 Hl
5500 SL
5500G
5800
5810
5820
5830
5900
6120XG
6120G/XG
7500
9500
10500
12500
3500
3500 yl
5400 zl
6200 yl
6600
8200 zl
*As of March, 2012.
Common-CLI-Phase-1-Feb-2012.book Page 1 Thursday, March 1, 2012 6:35 AM
1-2
Introduction To the ProVision CLI
Listing Display Commands in the CLI
The following table shows the ProVision software version and switch models
that support the Comware commands described in this guide. For updates to
this guide, see the latest manual set for your switch model.
Listing Display Commands in the CLI
Use this command: display ?
For example:
ProVision
Software Release
Release Date Supported
Switch Models
K.15.08 March 2012 3500/3500yl, 5400zl, 6200yl, 6600, 8200zl
HP Swi t ch> di spl ay ?
boot - l oader Di spl ay boot l oader i nf or mat i on
cl ock Cl ock st at us and conf i gur at i on i nf or mat i on.
command- al i as Di spl ay command al i as
debuggi ng Cur r ent set t i ng of debuggi ng swi t ches.
dns DNS st at us and conf i gur at i on i nf or mat i on
gvr p GARP VLAN Regi st r at i on Pr ot ocol
hi st or y- command The hi st or i cal command i nf or mat i on.
i gmp I GMP st at us and conf i gur at i on i nf or mat i on
i p Speci f y I P( I nt er net Pr ot ocol ) conf i gur at i on i nf or mat i on.
l acp Di spl ay LACP pr ot ocol i nf or mat i on
l i nk- aggr egat i on Di spl ay Li nk- aggr egat i on i nf or mat i on
memor y Di spl ay memor y i nf or mat i on.
ml d MLD st at us and conf i gur at i on i nf or mat i on.
ospf Open Shor t est Pat h Fi r st ( OSPF)
ospf v3 Open Shor t est Pat h Fi r st f or I Pv6 ( OSPFv3)
schedul e Schedul e syst emt ask
snmp- agent SNMP st at us and conf i gur at i on i nf or mat i on
HP Swi t ch> di spl ay
Common-CLI-Phase-1-Feb-2012.book Page 2 Thursday, March 1, 2012 6:35 AM
1-3
Introduction To the ProVision CLI
CLI Operation
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.
Output Differences Between Display and Show commands
The output fields from display commands and their show command counter-
parts include differences in the names, numbers and types of information
fields. For example the results for the following commands have two
instances where there is not a comparable mapping between Comware and
ProVision:
DNS Field Mappings.
Comware Related ProVision
display dns < domain | server > show ip dns
show ip
Comware Related ProVision
No. n/a
DNS Server Priority
Type DNS Mode
Domain-name Domain Suffix
IP Address DNS Server Addresses
n/a DNS Servers Configured
Common-CLI-Phase-1-Feb-2012.book Page 3 Thursday, March 1, 2012 6:35 AM
1-4
Introduction To the ProVision CLI
CLI Operation
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.
In some cases, a field populated in Comware display output is not populated
in the corresponding display output in ProVision software. This is often due to
MIB (Management Information Base) differences between Comware and
ProVision software. Also, in rare cases, the Comware display output in ProVi-
sion software includes fields that are not included in the same display command
output in Comware software.
Using CLI Context Levels
ProVision software operates in these CLI context levels:
Use exit to return to the next-highest context level.
Listing Commands Available at Any Context Level. At a given context
level you can list and execute the commands that level offers, plus all of the
commands available at preceding levels. To list available commands, use the
[?] key. For example:
Level Prompt Context Keyword
Operator HP Switch>
Manager HP Switch# enable
Global Configuration HP Switch(config)# config
Context Configuration HP Switch(vlan-1)#
HP Switch(eth-A1-A6)#
vlan n
interface << portx >[-portn] >
HP Swi t ch# show vl ans ?
cust om Show vl an par amet er s i n cust omi zed or der .
por t s Show VLANs t hat have at l east one por t f r omt he
' PORT- LI ST' as a member .
VLAN- I D Show det ai l ed VLAN i nf or mat i on f or t he VLAN
wi t h t he I D suppl i ed.
<cr >
Common-CLI-Phase-1-Feb-2012.book Page 4 Thursday, March 1, 2012 6:35 AM
1-5
Introduction To the ProVision CLI
CLI Operation
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:
HP Swi t ch( conf i g) # show i p a[Tab]
aspat h- l i st
aut hor i zed- manager s
HP Swi t ch( conf i g) # show i p au[?]
HP Swi t ch( conf i g) # show i p aut hor i zed- manager s [Enter]
I PV4 Aut hor i zed Manager s
- - - - - - - - - - - - - - - - - - - - - - - -
Addr ess : 10. 10. 123. 39
Mask : 255. 255. 255. 255
Access : Manager
Access Met hod : al l
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 Swi t ch# di spl ay i gmp gr oup
HP Swi t ch#
Further CLI Operating Information
For more information on using the CLI, refer to the chapter titled Using the
Command Line Interface (CLI) in the latest Basic Operation Guide for your
switch.
To access the latest software manual set for your switch, visit
www.hp.com/support/manuals
Common-CLI-Phase-1-Feb-2012.book Page 5 Thursday, March 1, 2012 6:35 AM
1-6
Introduction To the ProVision CLI
CLI Operation
Common-CLI-Phase-1-Feb-2012.book Page 6 Thursday, March 1, 2012 6:35 AM
2-1
Display Commands
2
Display Commands
The Comware commands available in ProVision software as of March, 2012,
include:
Command Page
display boot-loader 2-2
display clock 2-4
display command-alias 2-5
display debugging 2-7
display dns domain 2-9
display dns server 2-9
display gvrp status 2-11
display history-command 2-13
display igmp group 2-14
display ip as-path 2-16
display ip community-list 2-17
display lacp system-id 2-18
display link-aggregation load-sharing mode 2-20
display memory 2-21
display mld group 2-23
display ospf interface 2-27
display ospf routing 2-30
display ospf vlink 2-32
display ospfv3 vlink 2-34
display schedule reboot 2-36
display snmp-agent local-engineid 2-37
Common-CLI-Phase-1-Feb-2012.book Page 1 Thursday, March 1, 2012 6:35 AM
2-2
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:
bt m. swi is the primary flash memory.
secondar y. 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 (bt m. swi ):
HP Swi t ch# di spl ay boot - l oader
The next pr i mar y boot f i l e of MM i s: f l ash: / cf a0/ bt m. swi
The next backup boot f i l e of MM i s: f l ash: / cf a0/ secondar y. swi
The cur r ent boot f i l e of MM i s: f l ash: / cf a0/ bt m. 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 (secondar y. swi ):
HP Swi t ch# di spl ay boot - l oader
The next pr i mar y boot f i l e of MMi s: f l ash: / cf a0/ secondar y. swi
The next backup boot f i l e of MM i s: f l ash: / cf a0/ bt m. swi
The cur r ent boot f i l e of MM i s: f l ash: / cf a0/ secondar y. 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.
Comware Related ProVision
display boot-loader show flash
Common-CLI-Phase-1-Feb-2012.book Page 2 Thursday, March 1, 2012 6:35 AM
2-3
Display Commands
display boot-loader
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.
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 ]
To change the flash memory default, use this command:
boot set-default flash < primary | secondary >
For more on switch memory operation, refer to the Switch Memory and
Configuration chapter in the latest Basic Operation Guide for your switch.
Example of Related ProVision software Command Output.
HP Swi t ch# show f l ash
I mage Si ze ( byt es) Dat e Ver si on
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Pr i mar y I mage : 14995368 12/ 20/ 11 K. 15. 07. 0003
Secondar y I mage : 14995368 12/ 20/ 11 K. 15. 08. 0001
Boot ROM Ver si on : K. 15. 26
Def aul t Boot : Pr i mar y
Boot-Loader Field Mappings.
Comware ProVision software
bt m. swi Pr i mar y I mage
secondar y. swi Secondar y I mage
n/a Boot ROM Ver si on
cur r ent boot f i l e Def aul t Boot
Common-CLI-Phase-1-Feb-2012.book Page 3 Thursday, March 1, 2012 6:35 AM
2-4
Display Commands
display clock
display clock
Displays the current time, time zone, day, and date setting on the switch.
HP Swi t ch# di spl ay cl ock
16: 07: 27 GMT Mon 03/ 16/ 2012
Field Descriptions:
Time: Current time in HH:MM:SS format on the switch.
Time Zone: GMT (default) or the configured time zone.
Day: Mon, Tue, Wed, thu, Fri, Sat, Sun
Date: MM/DD/YYYY format
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 ?
Example of Related ProVision Software Command Output.
HP Swi t ch# show t i me
Mon Mar 16 16: 07: 56 2012
The output of the ProVision software show system information command includes
the switchs 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.
Comware Related ProVision
display clock show time
show system information
Common-CLI-Phase-1-Feb-2012.book Page 4 Thursday, March 1, 2012 6:35 AM
2-5
Display Commands
display command-alias
display command-alias
Displays any defined command aliases and their corresponding command
assignments configured on the switch. For example, suppose the following
aliases are configured:
Alias Full Command
sst show startup-config
srun show running-config
With the above alias configuration, the display output would be as follows:
HP Swi t ch( conf i g) # di spl ay command- al i as
i ndex al i as command key
1 sst show st ar t up- conf i g
2 sr un show r unnni ng- conf i g
Field Descriptions
index: The sequence number for each alias.
alias: The character string.
command key: The command called by the 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.
Comware Related ProVision
display command-alias show alias
Common-CLI-Phase-1-Feb-2012.book Page 5 Thursday, March 1, 2012 6:35 AM
2-6
Display Commands
display command-alias
Example of Related ProVision software Command Output.
HP Swi t ch( conf i g) # show al i as
Name Command
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sst show st ar t up- conf i g
sr un show r unnni ng- conf i g
Alias Field Mappings.
Comware ProVision Software
index n/a
alias Name
command key Command
Common-CLI-Phase-1-Feb-2012.book Page 6 Thursday, March 1, 2012 6:35 AM
2-7
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 Swi t ch# di spl ay debuggi ng
i p ospf spf debuggi ng i s on
acl l og debuggi ng i s on
l l dp l og debuggi ng i s on
pol i cy r out e- map debuggi ng i s on
HP Swi t ch#
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 Swi t ch# di spl ay debuggi ng
acl l og debuggi ng i s on
HP Swi t ch# di spl ay debuggi ng vr r p
HP Swi t ch#
Comware Related ProVision
display debugging [ option ] show debug
[buffer [-c < count > | -r | option-str ]]
acl distributed-trunking ip lldp snmp
arp-protect dynamic-ip-lockdown ipv6 policy vrrp
cdp event lacp security
Common-CLI-Phase-1-Feb-2012.book Page 7 Thursday, March 1, 2012 6:35 AM
2-8
Display Commands
display debugging
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.
Example of Related ProVision Software Command Output.
HP Swi t ch# show debug
Debug Loggi ng
Sour ce I P Sel ect i on: Out goi ng I nt er f ace
Dest i nat i on:
Memor y buf f er
Enabl ed debug t ypes:
i p ospf spf
acl l og
l l dp l og
pol i cy r out e- map
Debug Field Mappings.
Comware ProVision Software
n/a Source IP Selection
n/a Destination
debug types listed Enabled debug types
Common-CLI-Phase-1-Feb-2012.book Page 8 Thursday, March 1, 2012 6:35 AM
2-9
Display Commands
display dns < domain | server >
display dns < domain | server >
Displays the current IPv4 DNS domain name suffixes and server configuration.
HP Swi t ch# di spl ay dns domai n
Type:
D: Dynami c S: St at i c
No. Type Domai n- name
1 S at l ant i c. wi dget cor p. net
HP Swi t ch# di spl ay dns ser ver
Type:
D: Dynami c S: St at i c
DNS Ser ver Type I P Addr ess
1 S 10. 110. 34. 51
2 S 10. 110. 34. 101
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.
Domain-name: The domain name suffix.
DNS Server: The sequence number of the DNS server.
IP Address: The IPv4 address of the DNS server(s).
Comware Related ProVision
display dns < domain | server > show ip dns
show ip
Common-CLI-Phase-1-Feb-2012.book Page 9 Thursday, March 1, 2012 6:35 AM
2-10
Display Commands
display dns < domain | server >
Operating Notes
The switch supports one domain suffix entry and two DNS server IP address entries.
To configure DNS operation in ProVision software, use one of the following
commands.
ip dns dhcp
ip dns domain-name < name-str >
ip dns server-address priority < 1 | 2 > < ip-addr | ipv6-addr >
For more on configuring dns, refer to the Troubleshooting chapter in the
latest Management and Configuration Guide for your switch.
Example of Related ProVision Software Command Output.
HP Swi t ch# show i p dns
DNS Mode : DHCP
Domai n Suf f i x : amer i cas. hpqcor p. net
DNS Ser ver s Conf i gur ed:
- - - - - - - - - - - - - - - - - - - - - -
Pr i or i t y DNS Ser ver Addr esses
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
1. 16. 110. 135. 52
2. 16. 110. 135. 51
DNS Field Mappings.
Comware ProVision Software
No. n/a
DNS Server Priority
Type DNS Mode
Domain-name Domain Suffix
IP Address DNS Server Addresses
n/a DNS Servers Configured
Common-CLI-Phase-1-Feb-2012.book Page 10 Thursday, March 1, 2012 6:35 AM
2-11
Display Commands
display gvrp status
display gvrp status
Displays the global enable/disable state of GVRP.
HP Swi t ch# di spl ay gvr p st at us
GVRP i s enabl ed
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 >
ProVision software also supports GVRP configuration and status monitoring
by using the Menu interface. For more on GVRP operation, refer to the chapter
titled GVRP in the latest Advanced Traffic Management Guide for your
switch.
Example of Related ProVision Software Command Output.
GVRP disabled:
HP Swi t ch# show gvr p
GVRP suppor t
Maxi mumVLANs t o suppor t [ 256] : 256
Pr i mar y VLAN : DEFAULT_VLAN
GVRP Enabl ed [ No] : No
Comware Related ProVision
display gvrp status show gvrp
Common-CLI-Phase-1-Feb-2012.book Page 11 Thursday, March 1, 2012 6:35 AM
2-12
Display Commands
display gvrp status
GVRP enabled:
HP Swi t ch# show gvr p
GVRP suppor t
Maxi mumVLANs t o suppor t [ 256] : 256
Pr i mar y VLAN : DEFAULT_VLAN
GVRP Enabl ed [ No] : Yes
Por t Type | Unknown VLAN J oi n Leave Leaveal l
- - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
A1 100/ 1000T | Lear n 20 300 1000
A2 100/ 1000T | Lear n 20 300 1000
A3 100/ 1000T | Lear n 20 300 1000
.
.
.
A24 100/ 1000T | Lear n 20 300 1000
Common-CLI-Phase-1-Feb-2012.book Page 12 Thursday, March 1, 2012 6:35 AM
2-13
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).
HP Swi t ch# di spl ay hi st or y- command
25 di spl ay dns domai n
24 di spl ay gvr p st at us
23 di spl ay gvr p st at us
22 gvr p hel pp
21 gvr p hel p
20 gvr p
19 di spl ay gvr p st at us
.
.
.
2 di spl ay i p communi t y- l i st
1 di spl ay i p as- pat h
Operating Notes
The ProVision software show history command output is identical to the Com-
ware display history-command output.
Comware Related ProVision
display history-command show history
Common-CLI-Phase-1-Feb-2012.book Page 13 Thursday, March 1, 2012 6:35 AM
2-14
Display Commands
display igmp group
display igmp group
Displays IGMP group address, uptime, and expiry information. If no IGMP groups
are detected, returns the system prompt.
HP Swi t ch# di spl ay i gmp gr oup
Tot al 1 I GMP Gr oup( s) .
I nt er f ace gr oup r epor t i nf or mat i on
Vl an- i nt er f ace1( 15. 255. 134. 111) :
Tot al 1 I GMP Gr oup r epor t ed
Gr oup Addr ess Last Repor t er UpTi me Expi r es
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.
Group Address: 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, 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.
Comware Related ProVision
display igmp group show ip igmp groups
Common-CLI-Phase-1-Feb-2012.book Page 14 Thursday, March 1, 2012 6:35 AM
2-15
Display Commands
display igmp group
Example of Related ProVision Software Command Output.
IGMP Field Mappings.
HP Swi t ch# show i p i gmp gr oups
I GMP Gr oup Addr ess I nf or mat i on
VLAN I D Gr oup Addr ess Expi r es UpTi me Last Repor t er | Type
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - -
1 10. 255. 215. 190 0h 0m27s 1h 22m37s 10. 125. 103. 197 | Fi l t er
Comware ProVision Software
Vlan-interfaceN VLAN ID
Group Address Group Address
Expires Expires
Uptime UpTime
Last Reporter Last Reporter
n/a Type
Common-CLI-Phase-1-Feb-2012.book Page 15 Thursday, March 1, 2012 6:35 AM
2-16
Display Commands
display ip as-path
display ip as-path
Displays BGP AS-Path list information
HP Swi t ch# di spl ay i p as- pat h
Li st I D Mode Expr essi on
t est 1 per mi t $25
Field Descriptions
ListID: AS path list ID.
Mode: Match mode permit or deny.
Expression: Regular expression for matching.
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.
Example of Related ProVision Software Command Output.
HP Swi t ch# show i p aspat h- l i st
Rout e Pol i cy AS- pat h Li st t est 1: 1 ent r i es
seq 5 per mi t " $25" i p as- pat h Fi el d Mappi ngs
Comware Related ProVision
display ip as-path show ip aspath-list
Comware ProVision Software
ListID as-path name
Mode per mi t or deny
Expression $ expression
Common-CLI-Phase-1-Feb-2012.book Page 16 Thursday, March 1, 2012 6:35 AM
2-17
Display Commands
display ip community-list
display ip community-list
Displays BGP community list information
HP Swi t ch# di spl ay i p communi t y- l i st
Communi t y Li st Number communi t y- 1
per mi t 10
deny 50
Field Descriptions
Community List Number < community-name >: Specifies the community being
reported.
permit: Permitted routes that belong to the community .
deny: Denied routes that belong to the community.
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.
Example of Related ProVision Software Command Output.
HP Swi t ch# show i p communi t y- l i st
i p communi t y l i st communi t y- 1 st andar d
per mi t 10
deny 50
ip as-path Field Mappings.
Comware Related ProVision
display ip community-list show ip community-list
Comware ProVision Software
Community List Number ip community list
permit permit
deny deny
Common-CLI-Phase-1-Feb-2012.book Page 17 Thursday, March 1, 2012 6:35 AM
2-18
Display Commands
display lacp system-id
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 Swi t ch# di spl ay l acp syst em- i d
Act or Syst emI D: 0x2f 00, 001871- c42f 00
Field Descriptions
Actor System ID: The local system ID, including system LACP priority and system
MAC address. In the above example:
0x2f 00 = System LACP Priority
001871- c42f 00 = 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
For more on LACP operation in ProVision software, refer to the Port
Trunking chapter in the latest Management and Configuration Guide for
your switch.
Comware Related ProVision
display lacp system-id show lacp local
Common-CLI-Phase-1-Feb-2012.book Page 18 Thursday, March 1, 2012 6:35 AM
2-19
Display Commands
display lacp system-id
Example of Related ProVision Software Command Output. The ProVi-
sion software includes a list of ports configured for LACP operation, along
with some additional data fields.
HP Swi t ch( et h- A13- A14) # show l acp l ocal
LACP Local I nf or mat i on.
Syst emI D: 001871- c42f 00
LACP Tx Rx Ti mer
Por t Tr unk Mode Aggr egat ed Ti mer Expi r ed
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
A13 A13 Act i ve Yes Fast No
A14 A14 Act i ve Yes Fast No
lacp system-id Field Mappings.
Comware ProVision Software
Actor System ID System ID
n/a Port
n/a Trunk
n/a LACP Mode
n/a Aggregated
n/a Tx Timer
n/a Rx Timer Expired
Common-CLI-Phase-1-Feb-2012.book Page 19 Thursday, March 1, 2012 6:35 AM
2-20
Display Commands
display link-aggregation
display link-aggregation
Displays the load-sharing criteria for load-sharing link-aggregation (trunk)
groups.
Not e Link-aggregation in ProVision software is termed port trunking. Load-shar-
ing is termed load-balancing.
When load-balancing is configured as L4-based, the load-sharing mode
includes source and destination MAC address, source and destination IP
address, and source and destination TCP/UDP port number, as shown below.
HP Swi t ch( conf i g) # di spl ay l i nk- aggr egat i on l oad- shar i ng mode
Layer 4 t r af f i c: dest i nat i on- mac addr ess, sour ce- mac addr ess,
dest i nat i on- i p addr ess, sour ce- i p addr ess,
dest i nat i on- por t , sour ce- por t
When load-balancing is configured as L3-based, the load-sharing mode
includes source and destination MAC address, and source and destination IP
address, as shown below.
HP Swi t ch( conf i g) # di spl ay l i nk- aggr egat i on l oad- shar i ng mode
Layer 3 t r af f i c: dest i nat i on- mac addr ess, sour ce- mac addr ess
dest i nat i on- i p addr ess, sour ce- i p addr ess
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.
Comware Related ProVision
display link-aggregation load-sharing mode n/a
Common-CLI-Phase-1-Feb-2012.book Page 20 Thursday, March 1, 2012 6:35 AM
2-21
Display Commands
display memory
display memory
Displays the current memory usage on the switch.
HP Swi t ch( conf i g) # di spl ay memor y
Syst emTot al Memor y( byt es) : 128090112
Tot al Used Memor y( byt es) : 47385504
Used Rat e: 36%
Field Descriptions
System Total Memory (bytes): Total system memory in the switch.
Total Used Memory (bytes): Total system memory in use.
Used Rate: Percentage of system memory in use.
Operating Notes
To display memory usage in ProVision Software, use the following command:
HP Swi t ch# show syst emi nf or mat i on
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.
Comware Related ProVision
display memory
show system information
Common-CLI-Phase-1-Feb-2012.book Page 21 Thursday, March 1, 2012 6:35 AM
2-22
Display Commands
display memory
Example of Related ProVision Software Command Output.
HP Swi t ch# show syst emi nf or mat i on
St at us and Count er s - Gener al Syst emI nf or mat i on
Syst emName : HP Swi t ch
Syst emCont act :
Syst emLocat i on :
MAC Age Ti me ( sec) : 300
Ti me Zone : - 480
Dayl i ght Ti me Rul e : Cont i nent al - US- and- Canada
Sof t war e r evi si on : K. 15. 08. 0003 Base MAC Addr : 001871- c42f 00
ROM Ver si on : K. 15. 27 Ser i al Number : SG641SU00L
Al l ow V1 Modul es : Yes Opaci t y Shi el ds : Not I nst al l ed
Up Ti me : 3 hour s Memor y - Tot al : 128, 040, 960
CPU Ut i l ( %) : 0 Fr ee : 80, 694, 816
I P Mgmt - Pkt s Rx : 126, 890 Packet - Tot al : 6750
Pkt s Tx : 5123 Buf f er s Fr ee : 5086
Lowest : 5051
Mi ssed : 0
Common-CLI-Phase-1-Feb-2012.book Page 22 Thursday, March 1, 2012 6:35 AM
2-23
Display Commands
display mld group
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 Swi t ch# di spl ay ml d gr oup
Tot al 4 MLD Gr oup( s) .
I nt er f ace gr oup r epor t i nf or mat i on
Vl an- I nt er f ace1( 1234: 1: : 5) :
Tot al 1 MLD Gr oups r epor t ed
Gr oup Addr ess : f f 1e: : 1
Last Repor t er : f e80: : 200: f 7f f : f e95: 4f 5d
Upt i me : 00: 45: 00
Expi r es : 00: 03: 20
Vl an- I nt er f ace2( 1234: 3: : 5) :
Tot al 2 MLD Gr oups r epor t ed
Gr oup Addr ess : f f 1e: : 3
Last Repor t er : f e80: : 200: f 7f f : f e95: da95
Upt i me : 00: 43: 28
Expi r es : 00: 03: 16
Gr oup Addr ess : f f 1e: : 4
Last Repor t er : f e80: : 200: f 7f f : f e95: da95
Upt i me : 00: 43: 28
Expi r es : 00: 03: 16
Vl an- I nt er f ace10( 1234: 2: : 5) :
Tot al 1 MLD Gr oups r epor t ed
Gr oup Addr ess : f f 1e: : 5
Last Repor t er : f e80: : 200: f 7f f : f e95: 9c92
Upt i me : 00: 43: 41
Expi r es : 00: 03: 20
Comware Related ProVision
display mld group show ipv6 mld
Common-CLI-Phase-1-Feb-2012.book Page 23 Thursday, March 1, 2012 6:35 AM
2-24
Display Commands
display mld group
Field Descriptions
Total n MLD Groups: The total number of MLD groups detected on the switch.
VLAN-interface< id > ( < ipv6-addr > ): A specific VLAN interface
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.
The switch supports MLDv1 and MLDv2.
To enable MLD operation in ProVision software, use the following command
in a VLAN configuration context:
ipv6 mld < enable | disable >
For example:
HP Swi t ch( vl an- 10) # i pv6 ml d enabl e
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.
Common-CLI-Phase-1-Feb-2012.book Page 24 Thursday, March 1, 2012 6:35 AM
2-25
Display Commands
display mld group
Example of Related ProVision Software Command Output.
HP Swi t ch( conf i g) # show i pv6 ml d
MLD Ser vi ce Pr ot ocol I nf o
Tot al vl ans wi t h MLD enabl ed : 2
Cur r ent count of mul t i cast gr oups j oi ned : 2
VLAN I D : 1 NAME : DEFAULT_VLAN
MLD Ver si on : 2
MLD I nt er f ace St at e : Quer i er
Quer i er Addr ess : f e80: : 218: 71f f : f ec4: 2f 00 [ t hi s swi t ch]
Ver si on : 2
Upt i me : 11m55s
Expi r es : 1m5s
Por t s wi t h mul t i cast r out er s :
Act i ve Gr oup Addr esses Tr acki ng Ver s Mode Upt i me Expi r es
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
f f 3e: 30: 2001: db8: 8: 0: 7: 101 Fi l t er ed 2 EXC 20h 55m 22h 50m

VLAN I D : 2 NAME : VLAN2
MLD Ver si on : 2
MLD I nt er f ace St at e : Non- Quer i er
Quer i er Addr ess : : :
Ver si on : -
Upt i me : -
Expi r es : -
Por t s wi t h mul t i cast r out er s :
Act i ve Gr oup Addr esses Tr acki ng Ver s Mode Upt i me Expi r es
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
f f 33: 30: 2001: db8: 8: 0: 7: 102 Fi l t er ed 2 I NC 10m40s 12m17s
Common-CLI-Phase-1-Feb-2012.book Page 25 Thursday, March 1, 2012 6:35 AM
2-26
Display Commands
display mld group
mld group Field Mappings.
Comware ProVision
n/a Total vlans with MLD enabled
Total n mld Group(s) Current count of multicast groups
joined
Vlan Interfacen(ipv6-addr) VLAN ID
Active Group Addresses
Total n MLD Groups reported n/a
n/a NAME
n/a MLD Version
n/a MLD Interface State
n/a Tracking
Vers
Mode
Uptime
Expires
Common-CLI-Phase-1-Feb-2012.book Page 26 Thursday, March 1, 2012 6:35 AM
2-27
Display Commands
display ospf interface
display ospf interface
Displays OSPF interface information for all OSPF processes.
Field Descriptions
Area: Area ID of the interface.
IP Address: Interface IP address.
Type: Interface network type (PTP, PTMP, Broadcast, or NBMA.
State: Interface state:
Down: No protocol traffic will be sent or received on the interface.
Waiting: The interface starts sending and receiving Hello packets and
the router is trying to determine the identity of the backup designated
router for the network.
p-2-p: The interface will send Hello packets at the interval of HelloIn-
terval, and try to establish an adjacency with the neighbor.
DR: The router itself is the designated router on the attached network.
BDR: The router itself is the backup designated router on the attached
network.
Comware Related ProVision
display ospf interface show ip ospf interface
HP Swi t ch( conf i g) # di spl ay ospf i nt er f ace
OSPF Pr ocess 1 wi t h Rout er I D : 192. 168. 1. 1
Ar ea : 0. 0. 0. 0
I P Addr ess Type St at e Cost Pr i DR BDR
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
192. 168. 1. 1 PTP P- 2- P 1562 1 0. 0. 0. 0 0. 0. 0. 0
Ar ea : 0. 0. 0. 1
I P Addr ess Type St at e Cost Pr i DR BDR
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
172. 16. 0. 1 BROADCAST DR 1562 1 172. 16. 0. 1 0. 0. 0. 0
Common-CLI-Phase-1-Feb-2012.book Page 27 Thursday, March 1, 2012 6:35 AM
2-28
Display Commands
display ospf interface
DROther: The interface is on a network on which another router is the
designated router.
Cost: Interface cost.
Pri: Router priority.
DR: The DR on the interfaces network segment.
BDR: The BDR on the interfaces network segment.
Operating Notes
To enable OSPF operation in ProVision software, use the following command
in the global configuration context:
router ospf enable
For more on configuring OSPF, including additional OSPF configuration
commands, see the Configuring OSPF chapter in the latest Multicast and
Routing Guide for your switch.
Example of Related ProVision Software Command Output.
OSPF Interface Field Mappings.
HP Swi t ch( conf i g) # show i p ospf i nt er f ace
OSPF I nt er f ace St at us
I P Addr ess St at us Ar ea I D St at e Aut h- t ype Cost Pr i Passi ve
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
172. 16. 0. 1 enabl ed backbone DR none 1562 1 no
Comware ProVision Software
Area Area ID
IP Address IP Address
n/a Status
Type n/a
State State
n/a Auth-Type
Cost Cost
Common-CLI-Phase-1-Feb-2012.book Page 28 Thursday, March 1, 2012 6:35 AM
2-29
Display Commands
display ospf interface
PRI PRI
n/a Passive
DR n/a
BDR n/a
Comware ProVision Software
Common-CLI-Phase-1-Feb-2012.book Page 29 Thursday, March 1, 2012 6:35 AM
2-30
Display Commands
display ospf routing
display ospf routing
Displays OSPF routing information for all OSPF processes.
Field Descriptions
Destination: Destination network.
Cost: Cost to destination.
Type: Route type (intra-area, transit, stub, inter-area, type 1 external, type 2
external.
NextHop: Next hop address.
AdvRouter: Advertising router.
Area: Area ID.
Total Nets: Total networks.
Intra Area: Total intra-area routes.
Inter Area: Total inter-area routes.
ASE: Total ASE routes.
NSSA: Total NSSA routes.
Comware Related ProVision
display ospf routing show ip ospf
HP Swi t ch( conf i g) # di spl ay ospf r out i ng
OSPF Pr ocess 1 wi t h Rout er I D 192. 168. 1. 2
Rout i ng Tabl es
Rout i ng f or Net wor k
Dest i nat i on Cost Type Next Hop AdvRout er Ar ea
192. 168. 1. 0/ 24 1562 St ub 192. 168. 1. 2 192. 168. 1. 2 0. 0. 0. 0
172. 16. 0. 0/ 16 1563 I nt er 192. 168. 1. 1 192. 168. 1. 1 0. 0. 0. 0
Tot al Net s: 2
I nt r a Ar ea: 1 I nt er Ar ea: 1 ASE: 0 NSSA: 0
Common-CLI-Phase-1-Feb-2012.book Page 30 Thursday, March 1, 2012 6:35 AM
2-31
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
For more on configuring OSPF, including additional OSPF configuration
commands, see the Configuring OSPF chapter in the latest Multicast and
Routing Guide for your switch.
Common-CLI-Phase-1-Feb-2012.book Page 31 Thursday, March 1, 2012 6:35 AM
2-32
Display Commands
display ospf vlink
display ospf vlink
Displays OSPF virtual link information.
HP Swi t ch# di spl ay ospf vl i nk
OSPF Pr ocess 1 wi t h Rout er I D 3. 3. 3. 3
Vi r t ual Li nks
Vi r t ual - l i nk Nei ghbor - I D - > 2. 2. 2. 2, Nei ghbor - St at e: Ful l
I nt er f ace: 10. 1. 2. 1 ( Vl an- i nt er f ace11)
Cost : 1562 St at e: P- 2- P Type: Vi r t ual
Tr ansi t Ar ea: 0. 0. 0. 1
Ti mer s: Hel l o 10 , Dead 40 , Ret r ansmi t 5 , Tr ansmi t Del ay 1
Field Descriptions
Virtual-link Neighbor-ID: ID of the neighbor connected to the router via the
virtual link.
Neighbor-State: Neighbors operating state (Down, Init, 2-Way, ExStart, Exchange,
Loading Full).
Interface: Local interfaces IP address and name of the virtual link.
Cost: Interface route cost.
State: Interface state.
Type: Link type (virtual link).
Transit Area: Transit area ID.
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
Comware Related ProVision Software
display ospf vlink show ip ospf virtual-link
Common-CLI-Phase-1-Feb-2012.book Page 32 Thursday, March 1, 2012 6:35 AM
2-33
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.
Example of Related ProVision Software Command Output.
ospf vlink Field Mappings.
HP Swi t ch( conf i g) # show i p ospf vi r t ual - l i nk
OSPF Vi r t ual I nt er f ace St at us
Tr ansi t Ar eaI D Nei ghbor Rout er Aut hent i cat i on I nt er f ace St at e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0. 0. 0. 1 2. 2. 2. 2 none P2P
Comware ProVision Software
Virtual-link Neighbor ID Neighbor Router
Neighbor-State Interface State
Interface n/a
Cost n/a
State n/a
Transit Area Transit AreaID
Timers n/a
n/a Authentication
Common-CLI-Phase-1-Feb-2012.book Page 33 Thursday, March 1, 2012 6:35 AM
2-34
Display Commands
display ospf3 vlink
display ospf3 vlink
Displays OSPFv3 virtual link information.
Field Descriptions
Virtual Link: The virtual link name and destination router ID.
Transit area: The VLAN interface ID and transit area.
Instance ID: Instance identity.
Local address: The local router IPv6 address.
Remote address: The remote router IPv6 address.
Transmit Delay: The transmit delay for sending LSAs.
State: The state of the interface, such as P-To-P.
Timer intervals: The configured timer intervals for Hello, Dead, Wait, and
Retransmit.
Hello due in: The interval until the next Hello packet is sent.
Adjacency state: The current virtual neighbor adjacency state
Comware Related ProVision
display ospfv3 vlink show ipv6 ospf3 virtual-link ?
HP Swi t ch# di spl ay ospf v3 vl i nk
Vi r t ual Li nk VLI NK1 t o r out er 1. 1. 1. 1 i s up
Tr ansi t ar ea : 0. 0. 0. 1 vi a i nt er f ace Vl an- i nt er f ace11, i nst ance I D: 0
Local addr ess: 2000: 1: : 1
Remot e addr ess: 2001: 1: 1: : 1
Tr ansmi t Del ay i s 1 sec, St at e: P- To- P,
Ti mer i nt er val s conf i gur ed, Hel l o: 10, Dead: 40, Wai t : 40, Ret r ansmi t : 5
Hel l o due i n 00: 00: 02
Adj acency st at e : Ful l
Common-CLI-Phase-1-Feb-2012.book Page 34 Thursday, March 1, 2012 6:35 AM
2-35
Display Commands
display ospf3 vlink
Operating Notes
To configure OSPFv3 operation in ProVision software, see the OSPFv3
Routing chapter in the latest IPv6 Configuration Guide for your switch.
Example of Related ProVision Software Command Output.
HP Swi t ch( conf i g) # show i pv6 ospf 3 vi r t ual - l i nk
OSPFv3 Vi r t ual I nt er f ace St at us
Tr ansi t Ar eaI D Nei ghbor Rout er I nt er f ace St at e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0. 0. 0. 1 1. 1. 1. 1 P2P
ospfv3 vlink Field Mappings.
Comware ProVision Software
Virtual Link Neighbor Router
Transit area Transit AreaID
Local address n/a
Remote address n/a
Transmit Delay n/a
State Interface State
Timer intervals n/a
Hello due n/a
Adjacency state n/a
Common-CLI-Phase-1-Feb-2012.book Page 35 Thursday, March 1, 2012 6:35 AM
2-36
Display Commands
display schedule reboot
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 Swi t ch( conf i g) # di spl ay schedul e r eboot
Syst emwi l l r eboot at 17: 00 03/ 21/ 2012 ( i n 3 hour s and 55
mi nut es) .
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.
Example of Related ProVision Software Command Output.
HP Swi t ch( conf i g) # show r el oad at
Rel oad schedul ed f or 17: 00: 52 02/ 21/ 2012
( i n 0 days, 3 hour s, 55 mi nut es)
Comware Related ProVision
display schedule reboot show reload < after | at >
Common-CLI-Phase-1-Feb-2012.book Page 36 Thursday, March 1, 2012 6:35 AM
2-37
Display Commands
display snmp-agent local-engineid
display snmp-agent local-engineid
Displays the SNMP agent local engine ID.
HP Swi t ch# di spl ay snmp- agent l ocal - engi nei d
SNMP l ocal Engi neI D: 0000000b0000001871c42f 00
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.
Example of Related ProVision Software Command Output.
HP Swi t ch# HP Swi t ch# show snmpv3 engi nei d
St at us and Count er s - SNMP v3 Engi neI d I nf or mat i on
Engi neI d: 00: 00: 00: 0b: 00: 00: 00: 18: 71: c4: 2f : 00
snmp-agent local-engineid Field Mappings.
Comware Related ProVision
display snmp-agent local-engineid show snmpv3 engineid
Comware ProVision Software
SNMP local EngineID EngineID
Common-CLI-Phase-1-Feb-2012.book Page 37 Thursday, March 1, 2012 6:35 AM
2-38
Display Commands
display snmp-agent local-engineid
Common-CLI-Phase-1-Feb-2012.book Page 38 Thursday, March 1, 2012 6:35 AM
Index 1
Index
A
alias, show 3-5
B
BGP 3-16, 3-17
boot set-default flash 3-3
boot system3-3
boot-loader, display 3-2
C
CLI context levels 2-4
CLI prompts 2-4
clock, display 3-4
command index 3-1
command-alias, display 3-5
commands, listing 2-4
Comware software 2-1
HPN switches 2-1
context level 2-4
D
debug, show 3-7
debugging, display 3-7
display command listing 2-2
dns, display 3-9
documentation
latest versions 1-v
release notes 1-v
domain name 3-9
E
empty output 2-5
event log
Event Log Message Reference Guide 1-v
F
field mappings 2-3
fields, not populated 2-4
flash, show 3-2
G
gvrp status, display 3-11
gvrp, show 3-11
H
history, show 3-13
history-command, display 3-13
HP Networking
switch documentation 1-v
I
igmp group, display 3-14
interface command 3-11
ip
as-path, display 3-16
aspath-list, show 3-16
community-list, display 3-17
community-list, show 3-17
dns, show 3-9
igmp group, show 3-14
igmp groups, show 3-14
ospf interface, show 3-27
ospf virtual-link, show 3-32
ospf, show 3-30
ip, show 3-9
ipv6 mld, show 3-23
ipv6 ospf3 virtual-link, show 3-34
K
K.15.08 software release 2-1
L
lacp local, show 3-18
lacp system-id, display 3-18
latest manual set 2-5
link, manual set 2-5
link-aggregation, display 3-20
listing commands 2-4
load-balancing 3-20
logging, debug 3-7
Common-CLI-Phase-1-Feb-2012.book Page 1 Thursday, March 1, 2012 6:35 AM
2 Index
M
Management Information Base
See MIB.
manual set, link 2-5
memory, display 3-21
MIB
mld group, display 3-23
Multicast Listener Discovery
See MLD.
O
ospf interface, display 3-27
ospf routing, display 3-30
ospf vlink, display 3-32
ospfv3 vlink, display 3-34
output differences 2-3
output, empty 2-5
P
port trunking 3-20
prompts, CLI 2-4
ProVision Software 2-1
ProVision software
Comware support 2-1, 2-2
HPN switches 2-1
R
reload 3-3
reload , show 3-36
S
schedule reboot, display 3-36
snmp-agent local-engineid, display 3-37
snmpv3 engineid, show 3-37
system information, show 3-21
system, show 3-4
T
Tab key 2-5
time 3-4
time, show 3-4
trunking, port 3-20
trunks load-balance interface, show 3-20
W
warranty 0-ii
Common-CLI-Phase-1-Feb-2012.book Page 2 Thursday, March 1, 2012 6:35 AM
Common-CLI-Phase-1-Feb-2012.book Page 1 Thursday, March 1, 2012 6:35 AM
Technology for better business outcomes
To learn more, visit www.hp.com/networking
Copyright 2012 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. The only
warranties for HP products and services are set forth in the express warranty
statements accompanying such products and services. Nothing herein should be
construed as constituting an additional warranty. HP will not be liable for
technical or editorial errors or omissions contained herein.
February 2012
Manual Part Number

5998-3181
Common-CLI-Phase-1-Feb-2012.book Page 2 Thursday, March 1, 2012 6:35 AM

Вам также может понравиться