Professional Documents
Culture Documents
OAA
Command Reference
Copyright 2011, Hangzhou H3C Technologies Co., Ltd. and its licensors
All rights reserved
No part of this manual may be reproduced or transmitted in any form or by any means without prior
written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
, Aolynk,
, H3Care,
, TOP G,
, IRF, NetPilot, Neocean, NeoVTL,
H3C,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V2G, VnG, PSPT,
XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co.,
Ltd.
All other trademarks that may be mentioned in this manual are the property of their respective owners
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Preface
The H3C S7500E documentation set includes 12 command references, which describe the commands
and command syntax options available for the H3C S7500E Release 6620 & 6630 Series and the H3C
S7508E-X Release 6820 & 6830 Series.
The OAA Command Reference describes OAA configuration commands.
This preface includes:
Audience
Conventions
Obtaining documentation
Technical support
Documentation feedback
Audience
This documentation is intended for:
Network planners
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention
Description
Boldface
Bold text represents commands and keywords that you enter literally as shown.
Italic
Italic text represents arguments that you replace with actual values.
[]
Square brackets enclose syntax choices (keywords or arguments) that are optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from which
you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical bars, from
which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by vertical
bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by vertical
bars, from which you select one choice, multiple choices, or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&) sign can
be entered 1 to n times.
Convention
Description
GUI conventions
Convention
Description
Boldface
Window names, button names, field names, and menu items are in Boldface. For
example, the New User window appears; click OK.
>
Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Convention
Description
<>
Button names are inside angle brackets. For example, click <OK>.
[]
Window names, menu items, data table and field names are inside square brackets. For
example, pop up the [New User] window.
Convention
Description
Symbols
WARNING
An alert that calls attention to important information that if not understood or followed can
result in personal injury.
CAUTION
An alert that calls attention to important information that if not understood or followed can
result in data loss, data corruption, or damage to hardware or software.
IMPORTANT
NOTE
TIP
Documents
Purposes
Marketing brochures
Card datasheets
Installation guide
Configuration guides
Command references
Configuration examples
Operations and
maintenance
Release notes
Power configuration
H3C PSR320-A[PSR320-D]
Power Module User Manual
H3C PSR650-A[PSR650-D]
Power Module User Manual
H3C
PSR1400-A[PSR1400-D]
Power Module User Manual
Product description
and specifications
Hardware installation
Software
configuration
Category
Documents
Purposes
Optional cards
Card manuals
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web at
http://www.h3c.com.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Technical Documents] Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions] Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Download] Provides the documentation released with the
software version.
Technical support
customer_service@h3c.com
http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to info@h3c.com.
We appreciate your comments.
Contents
OAP card configuration commands 1
oap connect 1
oap reboot 1
Index 18
View
User view
Default level
1: Monitor level
Parameters
slot slot-number: Specifies the number of the slot where an OAP card resides. (In standalone mode)
chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-number
argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of
the slot where the card resides. (In IRF mode)
Description
Use the oap connect command to redirect from the device to the OAP card.
NOTE:
To return from the system on the OAP card to the CLI on the device, press Ctrl+K.
ACG cards and IPS cards do not support this command.
Examples
# In standalone mode, redirect from the device to the OAP card in slot 3.
<Sysname> oap connect slot 3
Press CTRL+K to quit.
Connected to OAP!
# In IRF mode, redirect from the device to the OAP card in slot 5 of the device with the member ID of 2.
<Sysname> oap connect chassis 2 slot 5
Press CTRL+K to quit.
Connected to OAP!
oap reboot
Syntax
In standalone mode:
View
User view
Default level
2: System level
Parameters
slot slot-number: Specifies the number of the slot where an OAP system resides. (In standalone mode)
chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-number
argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of
the slot where the card resides. (In IRF mode)
Description
Use the oap reboot command to reset the system on an OAP card.
Examples
# In standalone mode, reset the system on the OAP card in slot 3.
<Sysname> oap reboot slot 3
This command will recover the OAP from shutdown or other failed state.
Warning: This command may lose the data on the hard disk if the OAP is not being shut down!
Continue? [Y/N]:y
Reboot OAP by command.
# In IRF mode, reset the system on the OAP card in slot 5 of the device with the member ID of 2.
<Sysname> oap reboot chassis 2 slot 5
This command will recover the OAP from shutdown or other failed state.
Warning: This command may lose the data on the hard disk if the OAP is not being shut down!
Continue? [Y/N]:y
Reboot OAP by command.
View
System view
Default level
2: System level
Parameters
None
Description
Use the acfp server enable command to enable the ACFP server.
Use the undo acfp server enable command to disable the ACFP server.
By default, the ACFP server is disabled.
In case that the ACSEI server is enabled on the device, when you first disable and then enable the ACFP
server, to ensure that the ACFP collaboration rules can be resent to the ACFP server, you must also disable
and then enable the ACSEI server.
Related commands: acsei server enable.
Examples
# Enable the ACFP server.
<Sysname> system-view
[Sysname] acfp server enable
View
Any view
Default level
1: Monitor level
Parameters
client-id: Displays information of the specified ACFP client, where client-id is the ACFP client identifier, in
the range of 1 to 2147483647.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display acfp client-info command to display the information about the specified ACFP client(s).
Note that if no ACFP client ID is specified, the information about all the ACFP clients is displayed.
Examples
# Display the information about all the ACFP clients.
<Sysname> display acfp client-info
ACFP client total number: 1
ClientID:
2.0
OS-Info:
App-Info:
Ess 2110P01
Client IP:
10.1.1.1
mirror
Description
ClientID
Description
Hw-Info
OS-Info
App-Info
Client IP
Client Mode
View
Any view
Default level
1: Monitor level
Parameters
client client-id: Displays the policy sent by the specified ACFP client, where client-id is the ACFP client ID,
in the range of 1 to 2147483647.
policy-index: Policy index, in the range of 1 to 2147483647.
dest-interface interface-type interface-number: Displays all the policies that use the specified interface
(destination interface) for connecting to the ACFP client, where interface-type interface-number is the
interface type and interface number.
in-interface interface-type interface-number: Displays all the policies that use the specified interface as
the inbound interface, where interface-type interface-number is the interface type and interface number..
out-interface interface-type interface-number: Displays all the policies that use the specified interface as
the outbound interface, where interface-type interface-number is the interface type and interface
number.
active: Displays active policies only.
inactive: Displays inactive policies only.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display acfp policy-info command to display the ACFP policy information.
Note that:
When you use this command to display the policy information sent by the specified ACFP client, if
you specify the policy-index argument, the command displays the information about the policy
whose number is policy-index applied by the ACFP client with an ID of client-id. Otherwise, the
command displays the information about all the policies sent by the ACFP client with an ID of
client-id.
If neither the active nor inactive keyword is specified, the command displays all the active or
inactive policies.
If no argument is specified, the command displays the information about all the policies.
Examples
# Display the information about the effective policies for all the packets that use GigabitEthernet1/0/1
as the inbound interface.
<Sysname> display acfp policy-info in-interface gigabitethernet 1/0/1 active
ACFP policy total number: 1
ClientID:
Policy-Index:
Rule-Num:
Exist-Time:
61500
ContextID:
128
Life-Time:
2147483647(s)
Start-Time:
Admin-Status:
00:00:00
End-Time:
24:00:00
enable
Effect-Status: active
DstIfFailAction: delete
(s)
Priority:
In-Interface:
GigabitEthernet1/0/1
Out-Interface:
GigabitEthernet1/0/2
Dest-Interface:
Ten-GigabitEthernet3/0/1
Description
ClientID
Policy-Index
Policy index
Rule-Num
ContextID
Context ID
Exist-Time
Life-Time
Start-Time
End-Time
Admin-Status
Effect-Status
DestIfFailAction
In-Interface
Out-Interface
Dest-Interface
View
Any view
Default level
1: Monitor level
Parameters
in-interface: Displays ACFP rule information in order of inbound interface. The ACFP rule information
which does not include the inbound interface is not displayed.
out-interface: Displays ACFP rule information in order of outbound interface. The ACFP rule information
which does not include the outbound interface is not displayed.
interface-type interface-number: Specifies an interface by its type and number.
policy: Displays the ACFP rule information in order of policy.
client-id: ACFP client ID, in the range of 1 to 2147483647.
policy-index: Policy index, in the range of 1 to 2147483647.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display acfp rule-info command to display ACFP rule information.
Note that:
When you use this command to display ACFP rule information in order of policy, if you specify
neither client ID nor policy index, the rule information of all the policies is displayed.
When you use this command to display ACFP rule information in order of outbound/inbound
interface, if you specify no interface, the rule information for all the inbound interfaces or outbound
interfaces is displayed.
Examples
# Display ACFP rule information in order of inbound interface.
<Sysname> display acfp rule-info in-interface gigabitethernet 1/0/1
In-Interface:
GigabitEthernet1/0/1
ClientID:1
Policy-Index:1
SIP:192.168.1.1
SMask:0.0.0.255
Rule-Index:1
Action:redirect
Status:active
OperationStatus:succeeded
ClientID:1
Policy-Index:1
Rule-Index:1
SIP:192.168.1.1
SMask:0.0.0.255
SPort:65500 to 65535
DIP:192.168.2.1
DMask:0.0.0.255
DPort:65500 to 65535
Protocol:ip
Fragment:false
DSCP:AF11
Action:redirect
Status:active
OperationStatus:succeeded
Description
In-Interface
ClientID
Policy-Index
Policy index
Rule-Index
Rule index
SMAC
DMAC
StartVLAN
EndVLAN
PackRate
SIP
Source IP address
SMask
SPort
DIP
Destination IP address
DMask
DPort
Protocol
Protocol of the packet: GRE, ICMP, IGMP, IPinIP, OSPF, TCP, UDP, IP,
and so on.
Whether the packet is a fragment:
Fragment
ToS
Pre
DSCP
TCPFlag
The value is six bits, which represents URG, ACK, PSH, RST, SYN, and
FIN respectively from low to high.
TCPMask
The value is six bits, which represents URG mask, ACK mask, PSH
mask, RST mask, SYN mask, and FIN mask respectively from low to
high.
For each bit, the value 1 indicates that this bit is concerned, and the
value 0 indicates that this bit is not concerned.
Field
Description
Action, including:
Action
permit
deny
mirror
redirect
rate: rate limit
Status
OperationStatus
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display acfp server-info command to display ACFP server information.
Examples
# Display ACFP server information.
<Sysname> display acfp server-info
Server-Info:
ipserver
redirect
Max Life-Time:
2147483647(s)
PersistentRules:
false
ContextType:
HGPlus-context
mirror
Description
ACFP client working mode supported by the ACFP server:
Server-Info
Field
Description
Max Life-Time
PersistentRules
ContextType
The S7500E & S7508E-X swtiches support carrying the preamble HGPlus as
the context ID (the HGPlus-context) only.
10
View
ACSEI server view
Default level
2: System level
Parameters
client-id: ID of the ACSEI client to be closed. An ACSEI client ID is assigned by the ACSEI server, which
ranges from 1 to 10.
Description
Use the acsei client close command to close the specified ACSEI client.
After the command is executed, the ACSEI server sends an inform packet for the close operation to the
specified ACSEI client, who will execute the close operation after receiving this packet.
This command is available only for an ACSEI client supporting Linux operating system.
Examples
# Close ACSEI client 1.
<Sysname> system-view
[Sysname] acsei server
[Sysname-acsei-server] acsei client close 1
View
ACSEI server view
Default level
2: System level
Parameters
client-id: ID of the ACSEI client to be restarted, , which ranges from 1 to 10.
Description
Use the acsei client reboot command to restart the specified ACSEI client.
Examples
# Restart ACSEI client 1.
11
<Sysname> system-view
[Sysname] acsei server
[Sysname-acsei-server] acsei client reboot 1
acsei server
Syntax
acsei server
View
System view
Default level
2: System level
Parameters
None
Description
Use the acsei server command to enter ACSEI server view.
Examples
# Enter ACSEI server view.
<Sysname> system-view
[Sysname] acsei server
[Sysname-acsei-server]
View
System view
Default level
2: System level
Parameters
None
Description
Use the acsei server enable command to enable ACSEI server.
Use the undo acsei server enable command to disable ACSEI server.
By default, ACSEI server is disabled.
Examples
# Enable ACSEI server.
<Sysname> system-view
12
View
ACSEI server view
Default level
2: System level
Parameters
minutes: Value of the synchronization timer that is used for clock synchronization from ACSEI server to
ACSEI client. It ranges from 0 to 1440 (in minutes), where value 0 specifies to disable the clock
synchronization from ACSEI server to ACSEI client.
Description
Use the acsei timer clock-sync command to set the synchronization timer that is used for clock
synchronization from ACSEI server to ACSEI client.
Use the undo acsei timer clock-sync command to restore the default.
By default, the clock sychronization timer is set to five minutes.
Examples
# Set the clock synchronization timer from ACSEI server to ACSEI client to 20 minutes.
<Sysname> system-view
[Sysname] acsei server
[Sysname-acsei-server] acsei timer clock-sync 20
View
ACSEI server view
Default level
2: System level
Parameters
seconds: Value of the monitoring timer that is used for ACSEI server to monitor ACSEI clients. It ranges
from 0 to 10 (in seconds), where 0 specifies to disable ACSEI server from monitoring ACSEI client.
Description
Use the acsei timer monitor command to set the monitoring timer for ACSEI server to monitor ACSEI
client.
13
Use the undo acsei timer monitor command to restore the default.
By default, the monitoring timer is set to 5 seconds.
Examples
# Set the monitor timer for ACSEI server to monitor ACSEI client to 6 seconds.
<Sysname> system-view
[Sysname] acsei server
[Sysname-acsei-server] acsei timer monitor 6
View
Any view
Default level
1: Monitor level
Parameters
client-id: ID of an ACSEI client, , which ranges from 1 to 10.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display acsei client info command to display the ACSEI client information. The client information
is retrieved from the advertisement packet sent by the ACSEI client, so that when there is no ACSEI client
information, the command displays the information keywords only.
If executed without the client-id argument, the command displays information about all the ACSEI clients
in order of registration time.
Examples
# Display information about ACSEI client 1.
<Sysname> display acsei client info 1
Total Client Number: 1
Client ID: 1
Client Description:
Hardware:
System Software:
Application Software:
CPU: Intel(R) Pentium(R) M processor 1.40GHz
PCB Version: 3.00
14
Client ID: 1
Client Description:
Hardware:
System Software:
Application Software:
CPU: Intel(R) Pentium(R) M processor 1.40GHz
PCB Version: 3.00
CPLD Version: 1.00
Bootrom Version: 1.12
CF card: 256 MB
Memory: 512 MB
Harddisk: 40.0 GB
Client ID: 2
Client Description:
Hardware:
System Software:
Application Software:
CPU: Intel(R) Pentium(R) M processor 1.40GHz
PCB Version: 3.00
CPLD Version: 1.00
Bootrom Version: 1.12
CF card: 256 MB
Memory: 512 MB
Harddisk: 40.0 GB
Description
Client ID
Client Description
Hardware
System Software
Application Software
CPU
PCB Version
CPLD Version
15
Field
Description
Bootrom Version
CF card
Memory
Harddisk
View
Any view
Default level
1: Monitor level
Parameters
client-id: ID of an ACSEI client whose summary is to be displayed, which ranges from 1 to 10.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display acsei client summary command to display ACSEI client summary information. Summary
information of multiple ACSEI clients is displayed in order of registration time.
If executed without the client-id argument, the command displays summary information about all the
ACSEI clients.
Examples
# Display the summary of ACSEI client 1.
<Sysname> display acsei client summary 1
Total Client Number: 1
Client ID: 1
Status: Open
MAC Address: 00e0-fc0a-c3ef
Interface: GigabitEthernet1/0/5
Last registered: 02/08/2007 12:00:00
16
Client ID: 1
Status: Open
MAC Address: 00e0-fc0a-c3ef
Interface: GigabitEthernet1/0/5
Last registered: 02/08/2007 12:00:00
Client ID: 2
Status: Open
MAC Address: 00e0-fa1e-03da
Interface: GigabitEthernet1/0/6
Last registered: 02/08/2007 13:00:00
Description
Client ID
Status
MAC Address
Interface
Last registered
17
Index
ADO
acsei server,12
oap connect,1
oap reboot,1
18